*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --ink:    #0E0E0E;
    --paper:  #F5F2ED;
    --cream:  #EDE9E2;
    --stone:  #C8C2B8;
    --accent: #1A3A2A;
    --gold:   #B8975A;
    --mid:    #6B6560;
    --white:  #FFFFFF;

    --transparent: transparent;

    --code-dot-red: #FF5F57;
    --code-dot-yellow: #FEBC2E;
    --code-dot-green: #28C840;

    --code-gray: #6B7280;
    --code-mint: #86EFAC;
    --code-blue: #93C5FD;
    --code-gold: #FCD34D;
    --code-offwhite: #F9FAFB;
    --code-pink: #F9A8D4;

    --paper-92: rgba(245,242,237,0.92);
    --paper-50: rgba(245,242,237,0.5);
    --paper-60: rgba(245,242,237,0.6);
    --paper-55: rgba(245,242,237,0.55);
    --paper-45: rgba(245,242,237,0.45);

    --gold-grid-08: rgba(184,151,90,0.08);
    --gold-grid-07: rgba(184,151,90,0.07);
    --gold-line-03: rgba(184,151,90,0.3);

    --ink-85: rgba(14,14,14,0.85);
    --ink-70: rgba(14,14,14,0.7);

    --white-06: rgba(255,255,255,0.06);
    --white-05: rgba(255,255,255,0.05);
    --white-07: rgba(255,255,255,0.07);

    --accent-tag-07: rgba(26,58,42,0.07);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--paper);
    color: var(--ink);
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem 4rem;
    background: var(--transparent);
    transition: background 0.4s, backdrop-filter 0.4s;
  }
  nav.scrolled {
    background: var(--paper-92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stone);
  }
  .nav-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    color: var(--ink);
    letter-spacing: -0.02em;
  }
  .nav-logo span { color: var(--gold); }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--mid); text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta {
    font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--white);
    background: var(--accent); padding: 0.65rem 1.5rem;
    text-decoration: none; border-radius: 2px;
    transition: background 0.2s, transform 0.15s;
  }
  .nav-cta:hover { background: var(--gold); transform: translateY(-1px); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 6rem;
    overflow: hidden;
  }
  .hero-left {
    display: flex; flex-direction: column; justify-content: center;
    padding: 6rem 4rem 6rem 4rem;
    position: relative;
  }
  .hero-eyebrow {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem;
    opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
  }
  .hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(3rem, 5vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 2rem;
    opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
  }
  .hero-title em { font-style: italic; color: var(--accent); }
  .hero-sub {
    font-size: 1.05rem; line-height: 1.7; color: var(--mid);
    max-width: 420px; margin-bottom: 3rem;
    opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
  }
  .hero-actions {
    display: flex; gap: 1rem; align-items: center;
    opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
  }
  .btn-primary {
    font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--white);
    background: var(--accent); padding: 0.9rem 2rem;
    text-decoration: none; border-radius: 2px;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-primary:hover { background: var(--gold); transform: translateY(-2px); }
  .btn-ghost {
    font-size: 0.65rem; font-weight: 500; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--ink);
    text-decoration: none; border-bottom: 1px solid var(--stone);
    padding-bottom: 2px; transition: border-color 0.2s, color 0.2s;
  }
  .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

  .hero-right {
    position: relative; overflow: hidden;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
  }
  .hero-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(var(--gold-grid-08) 1px, var(--transparent) 1px),
      linear-gradient(90deg, var(--gold-grid-08) 1px, var(--transparent) 1px);
    background-size: 48px 48px;
  }
  .hero-float {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; gap: 1px;
    width: 320px;
    opacity: 0; animation: fadeIn 1s 1s forwards;
  }
  .code-window {
    background: var(--ink-85); border-radius: 8px;
    overflow: hidden; backdrop-filter: blur(8px);
    border: 1px solid var(--white-06);
  }
  .code-bar {
    background: var(--white-05); padding: 0.6rem 1rem;
    display: flex; gap: 6px; align-items: center;
  }
  .code-dot { width: 10px; height: 10px; border-radius: 50%; }
  .code-dot:nth-child(1) { background: var(--code-dot-red); }
  .code-dot:nth-child(2) { background: var(--code-dot-yellow); }
  .code-dot:nth-child(3) { background: var(--code-dot-green); }
  .code-body { padding: 1.2rem 1.2rem; font-family: 'Courier New', monospace; font-size: 0.72rem; line-height: 1.8; }
  .c-gray  { color: var(--code-gray); }
  .c-green { color: var(--code-mint); }
  .c-blue  { color: var(--code-blue); }
  .c-gold  { color: var(--code-gold); }
  .c-white { color: var(--code-offwhite); }
  .c-pink  { color: var(--code-pink); }

  .stat-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 1px;
  }
  .stat-card {
    background: var(--ink-70); padding: 1rem 1.2rem;
    backdrop-filter: blur(8px);
    border: 1px solid var(--white-06);
  }
  .stat-card:first-child { border-radius: 0 0 0 8px; }
  .stat-card:last-child { border-radius: 0 0 8px 0; }
  .stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem; color: var(--gold); line-height: 1;
    margin-bottom: 0.2rem;
  }
  .stat-label { font-size: 0.7rem; color: var(--code-gray); letter-spacing: 0.05em; text-transform: uppercase; }

  /* ── MARQUEE ── */
  .marquee-wrap {
    background: var(--accent); padding: 1rem 0; overflow: hidden;
    border-top: 1px solid var(--white-06);
    border-bottom: 1px solid var(--white-06);
  }
  .marquee-track {
    display: flex; gap: 3rem; width: max-content;
    animation: marquee 28s linear infinite;
  }
  .marquee-item {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--paper-50);
    white-space: nowrap; display: flex; align-items: center; gap: 1rem;
  }
  .marquee-item::after { content: "·"; color: var(--gold); }

  /* ── SERVICES ── */
  .services {
    padding: 7rem 4rem;
    max-width: 1200px; 
    margin: 0 auto;
  }
  .section-header {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2rem; align-items: end;
    margin-bottom: 5rem;
  }
  .section-eyebrow {
    font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 1rem;
  }
  .section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.1; letter-spacing: -0.02em; color: var(--ink);
  }
  .section-desc {
    font-size: 0.95rem; line-height: 1.75; color: var(--mid);
    align-self: end;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--stone);
    border: 1px solid var(--stone);
  }
  .service-card {
    background: var(--paper);
    padding: 2.5rem 2rem;
    transition: background 0.3s;
    cursor: default;
    position: relative; overflow: hidden;
  }
  .service-card::before {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; 
    background: var(--gold);
    transform: scaleX(0); 
    transform-origin: left;
    transition: transform 0.3s;
  }
  .service-card:hover { background: var(--cream); }
  .service-card:hover::before { transform: scaleX(1); }
  .service-num {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem; color: var(--cream);
    line-height: 1; margin-bottom: 1.2rem;
    transition: color 0.3s;
  }
  .service-card:hover .service-num { color: var(--stone); }
  .service-icon { font-size: 1.6rem; margin-bottom: 1rem; }
  .service-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem; color: var(--ink);
    margin-bottom: 0.8rem; line-height: 1.2;
  }
  .service-desc {
    font-size: 0.88rem; line-height: 1.7; color: var(--mid);
    margin-bottom: 1.2rem;
  }
  .service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .tag {
    font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--accent);
    background: var(--accent-tag-07);
    padding: 0.25rem 0.6rem; border-radius: 2px;
  }

  /* ── PROCESS ── */
  .process {
    background: var(--accent);
  }
  .process-inner {  padding: 7rem 4rem; max-width: 1200px; margin: 0 auto; }
  .process .section-title,
  .process .section-eyebrow { color: var(--paper-50); }
  .process .section-title { color: var(--paper); }
  .process .section-desc { color: var(--paper-60); }

  .process-steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; margin-top: 4rem;
    position: relative;
  }
  .process-steps::before {
    content: '';
    position: absolute; top: 2rem; left: 12.5%; right: 12.5%;
    height: 1px; background: var(--gold-line-03);
  }
  .step { padding: 0 1.5rem; text-align: center; }
  .step-num {
    width: 4rem; height: 4rem; border-radius: 50%;
    background: var(--gold); color: var(--accent);
    font-family: 'DM Serif Display', serif; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; position: relative; z-index: 1;
  }
  .step-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.05rem; color: var(--paper);
    margin-bottom: 0.6rem;
  }
  .step-desc { font-size: 0.83rem; line-height: 1.65; color: var(--paper-55); }

  /* ── WHY ME ── */
  .why {
    padding: 7rem 4rem;
    max-width: 1200px; 
    margin: 0 auto;
  }
  .why-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center; margin-top: 4rem;
  }
  .why-list { display: flex; flex-direction: column; gap: 0.5rem; }
  .why-item {
    display: flex; gap: 1.2rem; align-items: flex-start;
    padding: 1.2rem; border: 1px solid var(--transparent);
    border-radius: 4px; transition: border-color 0.2s, background 0.2s;
  }
  .why-item:hover { border-color: var(--stone); background: var(--cream); }
  .why-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
  .why-text-title { font-weight: 500; font-size: 0.95rem; margin-bottom: 0.3rem; color: var(--ink); }
  .why-text-body { font-size: 0.85rem; line-height: 1.6; color: var(--mid); }
  .why-visual {
    background: var(--accent); border-radius: 4px;
    padding: 3rem; position: relative; overflow: hidden;
  }
  .why-visual-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(var(--gold-grid-07) 1px, var(--transparent) 1px),
      linear-gradient(90deg, var(--gold-grid-07) 1px, var(--transparent) 1px);
    background-size: 32px 32px;
  }
  .why-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; position: relative; z-index: 1; }
  .why-stat { text-align: center; }
  .why-stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 2.8rem; color: var(--gold); line-height: 1;
  }
  .why-stat-label { font-size: 0.75rem; color: var(--paper-50); margin-top: 0.4rem; letter-spacing: 0.05em; text-transform: uppercase; }

  /* ── CTA & CONTACT FORM ── */
  .cta-section {
    background: var(--cream);
    border-top: 1px solid var(--stone);
  }
  .cta-inner {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 6rem; align-items: start;
    padding: 7rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  .cta-left .section-title { margin: 0.5rem 0 1.5rem; }
  .cta-sub { font-size: 0.95rem; color: var(--mid); margin-bottom: 2rem; line-height: 1.7; }

  /* Form */
  .contact-form { display: flex; flex-direction: column; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr;}
  .form-field {
    display: flex; flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--stone);
    margin: -1px 0 0 -1px;
    transition: border-color 0.2s, background 0.2s;
  }
  .form-field:focus-within {
    /* border-color: var(--accent); */
    background: var(--white);
    position: relative; z-index: 1;
  }
  .form-field.form-full { grid-column: 1 / -1; }
  .form-field label {
    font-size: 0.65rem; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--gold);
    padding: 0.85rem 1rem 0.2rem;
    font-family: 'DM Sans', sans-serif;
  }
  .form-field input,
  .form-field textarea,
  .form-field select {
    background: var(--transparent); 
    border: none; 
    outline: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem; color: var(--ink);
    padding: 0.2rem 1rem 0.85rem;
    resize: none; width: 100%;
  }
  .form-select {
    padding-right: 16px;
  }
  .form-field input::placeholder,
  .form-field textarea::placeholder { color: var(--stone); }
  .form-field textarea { min-height: 110px; }
  .form-field select { cursor: pointer; color: var(--ink); }
  .form-field select option { color: var(--ink); }

  .form-field select {
  color: var(--stone); /* placeholder colour by default */
}

.form-field select:valid {
  color: var(--ink); /* switches to ink once a real option is chosen */
}

  .form-submit {
    background: var(--accent); 
    color: var(--white);
    border: none; cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em;
    text-transform: uppercase; padding: 1.1rem 1.5rem;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    transition: background 0.2s;
    margin: -1px 0 0 -1px;
  }
  .form-submit:hover { background: var(--gold); }
  .form-submit .arrow { transition: transform 0.2s; }
  .form-submit:hover .arrow { transform: translateX(4px); }
  .form-success {
    display: none;
    padding: 1rem 1rem;
    border: 1px solid var(--stone);
    background: var(--paper);
    font-size: 0.85rem; color: var(--mid);
    margin-top: 1px; line-height: 1.6;
  }

  /* ── FOOTER ── */
  footer {
    background: var(--ink); padding: 3rem 4rem;
    display: flex; align-items: center; justify-content: space-between;
  }
  .footer-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem; color: var(--paper);
  }
  .footer-logo span { color: var(--gold); }
  .footer-right { font-size: 0.78rem; color: var(--code-gray); }
  .footer-left {display: flex; flex-direction: row; gap: 3rem}

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }


  /* ── TESTIMONIALS ── */
.testimonials {
  margin-bottom: 2rem;
}

.testimonials-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 6rem; align-items: center;
}
 
/* Photo */
.testimonials-left {
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 24px;
}

.testimonials-photo-wrap {
  position: relative;
  border-radius: 100%;
  overflow: hidden;
  aspect-ratio: 1;
}
.testimonials-photo {
  width: 100%;
  object-fit: cover; 
  object-position: top;
  display: block;
}
.testimonials-photo-tag {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--accent); padding: 1rem 1.2rem;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.testimonials-tag-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem; color: var(--paper);
}
.testimonials-tag-role {
  font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold);
}
 
/* Cards */
.testimonials-track-wrap {
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  min-width: 100%; padding-right: 0.5rem;
  display: flex; flex-direction: column; 
  gap: 1rem;
}
.testimonial-quote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6; color: var(--ink);
  font-style: italic;
  position: relative; 
}

.testimonial-author {
  display: flex; align-items: center; gap: 1rem;
  padding-top: 1.5rem; 
  /* border-top: 1px solid var(--stone); */
}

.testimonial-name {
  font-weight: 500; font-size: 0.9rem; color: var(--ink);
}
.testimonial-role {
  font-size: 0.78rem; color: var(--mid); margin-top: 0.1rem;
}
 
/* Nav */
.testimonials-nav {
  display: flex;
  align-items: center; 
  gap: 1rem; 
  margin-top: 2.5rem;
}
.t-btn {
  width: 2.8rem; height: 2.8rem;
  background: var(--transparent); border: 1px solid var(--stone);
  color: var(--ink); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  border-radius: 2px;
}
.t-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.t-btn:disabled { opacity: 0.2; cursor: default; }
.t-btn:disabled:hover { background: var(--transparent); border-color: var(--stone); color: var(--ink); }
.t-dots { display: flex; gap: 0.5rem; flex: 1; }
.t-dot {
  height: 2px; flex: 1; background: var(--stone);
  transition: background 0.3s;
  cursor: pointer;
}
.t-dot.active { background: var(--accent); }
 

/* ── EXPERIENCE BLOCK ── */
.experience-block {
  margin-top: 0;
}
.experience-list {
  display: flex; flex-direction: column;
}
.experience-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px solid var(--white-07);
}
.experience-item:first-child { padding-top: 0; }
.experience-item:last-child { border-bottom: none; padding-bottom: 0; }
.experience-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 0.45rem;
}
.experience-company {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem; color: var(--paper);
  margin-bottom: 0.2rem;
}
.experience-desc {
  font-size: 0.75rem; line-height: 1.5;
  color: var(--paper-45);
}
 
.worked-at-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1px;
  padding: 1px;
  margin-top: 16px;
  background-color: var(--stone);
}

.worked-at-name {
  font-size: 12px;
  font-weight: 400;
  color: var(--stone);
  letter-spacing: 0.03em;
}

.worked-at-logo {
  width: 100%;
}


.worked-at-card {
  background: var(--paper);
  padding: 1.5rem 5rem;
  transition: background 0.3s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative; 
  overflow: hidden;
  height: 180px;
}
.worked-at-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; 
  background: var(--gold);
  transform: scaleX(0); 
  transform-origin: left;
  transition: transform 0.3s;
}
.worked-at-card:hover { background: var(--cream); }
.worked-at-card:hover::before { transform: scaleX(1); }


  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { padding: 1.2rem 1.5rem; }
    .nav-links { display: none; }
    .hero { 
      grid-template-columns: 1fr;  
      padding-top: 3rem;
    }
    .hero-right { min-height: 320px; }
    .hero-left, .hero-right, .services, .why, .process{ padding: 4rem 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .section-header { 
      grid-template-columns: 1fr;
      margin-bottom: 2rem;
     }
    .process-inner {  padding: 0; }
    .process-steps { 
      grid-template-columns: 1fr 1fr; 
      gap: 3rem; 
      margin-top: 4rem;
      position: relative;
    }
    .process-steps::before { display: none; }
    .why-grid { 
      grid-template-columns: 1fr;
      margin-top: 2rem;
    }
    .why-list {
       display: none;
     }
    .cta-inner { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; }
    .worked-at-logos { grid-template-columns: 1fr; }
    .worked-at-card {height: 120px; gap: 8px; padding: 0.5rem 3rem;}
    footer { flex-direction: column; gap: 1rem; text-align: center; }
    .step {padding: 0;}
    .testimonials { padding: 4rem 1.5rem; }
    .testimonials-inner { grid-template-columns: 1fr; gap: 3rem; }
  }
