
  :root {
    /* Japandi system — warm, minimal, editorial */
    --ink:     #1F1F1D;   /* primary background, dark sections */
    --ink-2:   #191917;   /* footer / deepest */
    --stone:   #6B655E;   /* secondary background */
    --sage:    #A7A89D;   /* section background */
    --greige:  #C8C1B8;   /* primary accent — CTA fill */
    --ivory:   #E7E0D8;   /* secondary accent — card fills */
    --walnut:  #B89F87;   /* supporting neutral — fine detail, hairlines */
    --sand:    #D7D0C7;   /* light background */
    --white:   #F8F6F2;   /* primary text */

    /* tonal text on dark */
    --d-body:  rgba(231,224,216,0.82);
    --d-mut:   rgba(231,224,216,0.56);
    --d-line:  rgba(248,246,242,0.14);
    /* tonal text on light */
    --l-body:  rgba(31,31,29,0.74);
    --l-mut:   rgba(31,31,29,0.50);
    --l-line:  rgba(31,31,29,0.14);
    --walnut-line: rgba(184,159,135,0.42);

    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans:  'Jost', sans-serif;

    --maxw: 1280px;
    --gutter: clamp(24px, 5vw, 80px);
    --shadow: 0 26px 60px -36px rgba(31,31,29,0.45);
    --shadow-sm: 0 14px 34px -24px rgba(31,31,29,0.35);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--ink);
    color: var(--white);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  /* very fine warm grain */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  ::selection { background: var(--greige); color: var(--ink); }
  a { color: inherit; text-decoration: none; }

  /* ---------- tone helpers ---------- */
  .tone-dark { color: var(--white); }
  .tone-dark .label { color: var(--walnut); }
  .tone-dark .section-head, .tone-dark h1, .tone-dark h2, .tone-dark h3, .tone-dark h4 { color: var(--white); }
  .tone-dark .accent { color: var(--greige); font-style: italic; }

  .tone-light { color: var(--ink); }
  .tone-light .label { color: var(--walnut); }
  .tone-light .section-head, .tone-light h1, .tone-light h2, .tone-light h3, .tone-light h4 { color: var(--ink); }
  .tone-light .accent { color: var(--stone); font-style: italic; }

  /* sage-background sections need a darker label for contrast */
  .services .label, .why .label { color: var(--ink); }

  /* ---------- Shared type ---------- */
  .label {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
  }
  .section-head {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.005em;
    font-size: clamp(2.2rem, 4.6vw, 4rem);
  }
  .wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  section { position: relative; }

  /* ---------- Reveal animation ---------- */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
  }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: 0.08s; }
  .reveal.d2 { transition-delay: 0.16s; }
  .reveal.d3 { transition-delay: 0.24s; }
  .reveal.d4 { transition-delay: 0.32s; }
  .reveal.d5 { transition-delay: 0.40s; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
  }

  /* ======================================================= NAV */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px var(--gutter);
    transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 1px solid transparent;
  }
  .nav.scrolled {
    background: rgba(31, 31, 29, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--d-line);
    padding-top: 16px;
    padding-bottom: 16px;
    box-shadow: 0 14px 44px -30px rgba(0,0,0,0.8);
  }
  .nav__brand {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.12rem;
    letter-spacing: 0.3em;
    color: var(--white);
    padding-left: 0.3em;
    white-space: nowrap;
  }
  .nav__links {
    display: flex;
    gap: clamp(20px, 2.4vw, 42px);
    align-items: center;
  }
  .nav__links a {
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 4px 0;
    opacity: 0.74;
    transition: opacity 0.3s ease, color 0.3s ease;
  }
  .nav__links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 1px;
    background: var(--greige);
    transition: width 0.35s ease;
  }
  .nav__links a:hover { opacity: 1; color: var(--greige); }
  .nav__links a.active { opacity: 1; color: var(--greige); }
  .nav__links a.active::after { width: 100%; }
  @media (max-width: 760px) {
    .nav__links { gap: 16px; }
    .nav__links a { font-size: 0.6rem; letter-spacing: 0.12em; }
    .nav__brand { font-size: 0.92rem; letter-spacing: 0.22em; }
  }

  /* ======================================================= BUTTONS */
  .btn {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 17px 34px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  @media (max-width: 768px) {
    .btn {
      font-size: 0.70rem;
      padding: 13px 24px;
      letter-spacing: 0.12em;
    }
  }

  @media (max-width: 480px) {
    .btn {
      font-size: 0.68rem;
      padding: 12px 20px;
    }
  }
  .btn--primary {
    background: var(--greige);
    color: var(--ink);
    border-color: var(--greige);
  }
  .btn--primary:hover {
    background: var(--walnut);
    border-color: var(--walnut);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -18px rgba(184,159,135,0.7);
  }
  .btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(248,246,242,0.6);
  }
  .btn--ghost:hover {
    border-color: var(--white);
    background: rgba(248,246,242,0.06);
    transform: translateY(-2px);
  }

  /* ======================================================= HERO */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
    background: var(--ink) url('uploads/hero-flower.png') center right / cover no-repeat;
  }
  /* legibility + blend overlay over the photo */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(31,31,29,0.95) 0%, rgba(31,31,29,0.84) 38%, rgba(31,31,29,0.52) 70%, rgba(31,31,29,0.28) 100%),
      linear-gradient(0deg, var(--ink) 0%, rgba(31,31,29,0) 24%);
    pointer-events: none;
    z-index: 1;
  }
  .hero__grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
  }
  .hero__eyebrow {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .hero__eyebrow .dash { width: 46px; height: 1px; background: var(--walnut); display: inline-block; }
  .hero__eyebrow .label { color: var(--greige); }
  .hero h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.6rem, 5.1vw, 4.6rem);
    line-height: 1.07;
    letter-spacing: -0.015em;
    color: var(--white);
    margin-bottom: 34px;
  }
  .hero h1 em { font-style: italic; color: var(--greige); font-weight: 500; }
  .hero__sub {
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    max-width: 40em;
    color: var(--ivory);
    font-weight: 300;
    line-height: 1.78;
    margin-bottom: 44px;
    opacity: 0.92;
  }
  .hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

  /* SI monogram motif — quiet editorial mark */
  .hero__motif {
    position: relative;
    aspect-ratio: 1 / 1.12;
    display: none;
    align-items: center;
    justify-content: center;
  }
  .hero__motif .frame { position: absolute; inset: 0; border: 1px solid rgba(199,193,184,0.18); border-radius: 8px; }
  .hero__motif .frame.inner { inset: 18px; border-color: rgba(184,159,135,0.34); }
  .hero__motif .corner { position: absolute; width: 13px; height: 13px; border: 1px solid var(--walnut); }
  .hero__motif .corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
  .hero__motif .corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
  .hero__motif .corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
  .hero__motif .corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
  .hero__monogram {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(9rem, 20vw, 17rem);
    line-height: 0.8;
    color: var(--greige);
    letter-spacing: -0.04em;
    user-select: none;
    opacity: 0.95;
  }
  .hero__monogram span { color: var(--walnut); }
  .hero__motif .vline { position: absolute; top: 18px; bottom: 18px; width: 1px; background: rgba(248,246,242,0.07); }
  .hero__motif .vline.a { left: 33.33%; }
  .hero__motif .vline.b { left: 66.66%; }
  .hero__motif .cap {
    position: absolute;
    bottom: 30px; left: 0; right: 0;
    text-align: center;
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--d-mut);
    font-weight: 500;
  }
  @media (max-width: 880px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__motif { display: none; }
    .hero { padding-top: 130px; background-position: 72% center; }
    .hero::before { background: linear-gradient(180deg, rgba(31,31,29,0.80) 0%, rgba(31,31,29,0.9) 55%, var(--ink) 100%); }
  }

  /* hero stagger */
  .hero [data-stagger] { opacity: 0; transform: translateY(26px); }
  .hero.loaded [data-stagger] { animation: rise 0.85s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero.loaded [data-stagger="1"] { animation-delay: 0.10s; }
  .hero.loaded [data-stagger="2"] { animation-delay: 0.28s; }
  .hero.loaded [data-stagger="3"] { animation-delay: 0.46s; }
  .hero.loaded [data-stagger="4"] { animation-delay: 0.62s; }
  .hero.loaded [data-stagger="5"] { animation-delay: 0.78s; }
  .hero.loaded .hero__motif { animation: fadein 1.5s ease 0.5s forwards; opacity: 0; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes fadein { to { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) {
    .hero [data-stagger], .hero.loaded .hero__motif { opacity: 1 !important; transform: none !important; animation: none !important; }
  }

  /* ======================================================= CREDIBILITY BAR */
  .credbar {
    background: var(--stone);
    color: var(--white);
    padding: 26px var(--gutter);
  }
  .credbar__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 30px;
    text-align: center;
  }
  .credbar__item {
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 30px;
    color: rgba(248,246,242,0.92);
  }
  .credbar__item::after {
    content: "";
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--greige);
    display: inline-block;
  }
  .credbar__item:last-child::after { display: none; }

  /* ======================================================= ABOUT */
  .about { padding: clamp(62px, 8.5vw, 112px) 0; background: var(--sand); }
  .about__grid {
    display: grid;
    grid-template-columns: 0.55fr 1fr;
    gap: clamp(30px, 6vw, 90px);
    align-items: start;
  }
  .bignum {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(8rem, 18vw, 17rem);
    line-height: 0.78;
    color: var(--walnut);
    opacity: 0.28;
    letter-spacing: -0.04em;
  }
  .about__body h2 { margin-bottom: 30px; max-width: 16ch; }
  .about__body p {
    font-size: 1.12rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 56ch;
    color: var(--l-body);
  }
  .about__body p .strong { color: var(--ink); font-weight: 400; }
  .pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    margin-top: 60px;
  }
  .pillar { padding-top: 20px; border-top: 1px solid var(--walnut); }
  .pillar h4 { font-family: var(--serif); font-weight: 600; font-size: 1.42rem; margin-bottom: 8px; color: var(--ink); }
  .pillar p { font-size: 0.95rem; font-weight: 300; color: var(--l-body); line-height: 1.6; }
  @media (max-width: 820px) {
    .about__grid { grid-template-columns: 1fr; gap: 6px; }
    .bignum { font-size: 7rem; }
    .pillars { grid-template-columns: 1fr; gap: 26px; }
  }

  /* ======================================================= SERVICES */
  .services { padding: clamp(60px, 8vw, 108px) 0; background: var(--sage); }
  .sec-intro { max-width: 820px; margin-bottom: 44px; }
  .sec-intro .label { margin-bottom: 22px; display: inline-block; }
  .sec-intro h2 { max-width: 18ch; }
  .sec-intro .lead { margin-top: 22px; font-size: 1.08rem; font-weight: 300; max-width: 60ch; line-height: 1.7; }
  .tone-light .lead { color: var(--l-body); }
  .tone-dark .lead { color: var(--d-body); }

  .svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .svc-card {
    background: var(--ivory);
    border: 1px solid rgba(184,159,135,0.45);
    border-radius: 18px;
    padding: 42px 36px 44px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s ease, background 0.4s ease;
  }
  .svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
  .svc-card__num { font-family: var(--serif); font-size: 0.95rem; color: var(--walnut); letter-spacing: 0.1em; margin-bottom: 24px; }
  .svc-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; line-height: 1.1; margin-bottom: 14px; color: var(--ink); }
  .svc-card p { font-size: 0.96rem; font-weight: 300; color: var(--l-body); line-height: 1.62; }
  @media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

  /* ======================================================= INDUSTRIES */
  .industries { padding: clamp(60px, 8vw, 108px) 0; background: var(--ink); }
  .ind-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: end;
    margin-bottom: 56px;
  }
  .ind-top .lead { font-size: 1.08rem; font-weight: 300; color: var(--d-body); line-height: 1.75; max-width: 52ch; }
  .ind-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .ind-tile {
    background: var(--ivory);
    border-radius: 16px;
    padding: 30px 28px 32px;
    min-height: 184px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s ease;
  }
  .ind-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
  .ind-tile .ind-name { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.08; color: var(--ink); margin-bottom: 10px; }
  .ind-tile .ind-note { font-size: 0.82rem; font-weight: 300; color: var(--l-mut); line-height: 1.5; }
  .ind-tile.flagship { background: var(--walnut); }
  .ind-tile.flagship .ind-name { color: var(--ink); }
  .ind-tile.flagship .ind-note { color: rgba(31,31,29,0.66); }
  .ind-tile .flag { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(31,31,29,0.62); font-weight: 600; margin-bottom: 16px; }
  @media (max-width: 900px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } .ind-top { grid-template-columns: 1fr; gap: 24px; } }
  @media (max-width: 480px) { .ind-grid { grid-template-columns: 1fr; } }

  /* ======================================================= NUMBERS */
  .numbers { background: var(--stone); color: var(--white); padding: clamp(42px, 5vw, 70px) 0; }
  .numbers .label { color: var(--greige); }
  .num-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 30px; }
  .num-cell { padding: 10px clamp(20px, 3vw, 44px); border-left: 1px solid rgba(248,246,242,0.2); }
  .num-cell:first-child { border-left: 0; padding-left: 0; }
  .num-cell .stat {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.4rem, 3.8vw, 3.6rem);
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 0.14em;
  }
  .num-cell .stat .prefix { color: var(--greige); font-size: 0.42em; letter-spacing: 0.06em; font-weight: 500; }
  .num-cell .stat .suffix { color: var(--greige); font-size: 0.55em; margin-left: 0.08em; }
  .num-cell .cap {
    margin-top: 12px;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(248,246,242,0.66);
    font-weight: 400;
    line-height: 1.5;
  }
  @media (max-width: 860px) {
    .num-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
    .num-cell:nth-child(odd) { border-left: 0; padding-left: 0; }
    .num-cell:nth-child(even) { border-left: 1px solid rgba(248,246,242,0.2); }
  }
  @media (max-width: 460px) {
    .num-grid { grid-template-columns: 1fr; }
    .num-cell { border-left: 0 !important; padding-left: 0; }
  }

  /* ======================================================= WORK */
  .work { padding: clamp(60px, 8vw, 108px) 0; background: var(--ivory); }
  .work-list { display: flex; flex-direction: column; }
  .work-row {
    display: grid;
    grid-template-columns: 0.8fr 2fr 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 40px 6px;
    border-top: 1px solid var(--walnut-line);
    transition: padding 0.4s ease, background 0.4s ease;
    position: relative;
    border-radius: 10px;
  }
  .work-row:last-child { border-bottom: 1px solid var(--walnut-line); }
  .work-row:hover { padding-left: 24px; padding-right: 24px; background: var(--white); }
  .work-row .cat { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--walnut); font-weight: 600; }
  .work-row .outcome { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.14; color: var(--ink); }
  .work-row .tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .work-row .tag {
    font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--l-mut); border: 1px solid var(--l-line);
    padding: 5px 11px; border-radius: 100px;
  }
  .work-row .go { font-family: var(--serif); font-size: 1.6rem; color: var(--walnut); transition: transform 0.4s ease; justify-self: end; }
  .work-row:hover .go { transform: translateX(8px); }
  @media (max-width: 880px) {
    .work-row { grid-template-columns: 1fr; gap: 14px; padding: 32px 6px; }
    .work-row .go { justify-self: start; }
    .work-row:hover { padding-left: 6px; padding-right: 6px; }
  }

  /* ======================================================= WHY */
  .why { padding: clamp(60px, 8vw, 108px) 0; background: var(--sage); }
  .why-list { margin-top: 40px; display: flex; flex-direction: column; }
  .why-item {
    display: grid;
    grid-template-columns: clamp(90px, 12vw, 170px) 1fr;
    gap: clamp(24px, 5vw, 70px);
    align-items: baseline;
    padding: 42px 0;
    border-top: 1px solid rgba(31,31,29,0.16);
  }
  .why-item .wn { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 0.8; color: var(--ink); opacity: 0.34; letter-spacing: -0.03em; }
  .why-item h4 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 12px; color: var(--ink); line-height: 1.1; }
  .why-item p { font-size: 1.04rem; font-weight: 300; color: var(--l-body); max-width: 58ch; line-height: 1.65; }
  @media (max-width: 620px) { .why-item { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; } }

  /* ======================================================= PROCESS */
  .process { padding: clamp(60px, 8vw, 108px) 0; background: var(--ivory); }
  .proc-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .proc-step {
    padding: 36px 32px 40px;
    background: var(--sand);
    border: 1px solid rgba(184,159,135,0.4);
    border-radius: 16px;
    position: relative;
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s ease, background 0.4s ease;
  }
  .proc-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); background: var(--white); }
  .proc-step .pn { font-size: 0.74rem; letter-spacing: 0.2em; color: var(--walnut); font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
  .proc-step .pn::before { content: ""; width: 26px; height: 1px; background: var(--walnut); }
  .proc-step h4 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin-bottom: 12px; color: var(--ink); line-height: 1.1; }
  .proc-step p { font-size: 0.95rem; font-weight: 300; color: var(--l-body); line-height: 1.6; }
  @media (max-width: 900px) { .proc-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .proc-grid { grid-template-columns: 1fr; } }

  /* ======================================================= REVIEWS */
  .testi { padding: clamp(60px, 8vw, 108px) 0; background: var(--sand); }
  .testi-rating { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
  .testi-rating .score { font-family: var(--serif); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--ink); }
  .testi-rating .stars { color: var(--walnut); letter-spacing: 3px; font-size: 1.15rem; }
  .testi-rating .rmeta { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--l-mut); font-weight: 500; }
  .testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
  .rev-card {
    flex: 0 0 360px;
    width: 360px;
    background: var(--ivory);
    border: 1px solid rgba(184,159,135,0.45);
    border-radius: 18px;
    padding: 34px 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s ease;
  }
  .rev-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
  .rev-card .stars { color: var(--walnut); letter-spacing: 3px; font-size: 0.95rem; }
  .rev-card blockquote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.12rem; line-height: 1.5; color: var(--ink); }
  .rev-card .who { margin-top: auto; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--stone); }

  /* scrolling marquee of reviews */
  .marquee {
    margin-top: 48px;
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }
  .marquee__track {
    display: flex;
    gap: 22px;
    width: max-content;
    align-items: stretch;
    animation: marquee 95s linear infinite;
  }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
  @media (max-width: 560px) {
    .rev-card { flex-basis: 290px; width: 290px; padding: 30px 26px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .marquee { overflow-x: auto; }
    .marquee__track { animation: none; }
  }

  /* ======================================================= CTA */
  .cta { background: var(--ink); color: var(--white); padding: clamp(64px, 9vw, 116px) 0; text-align: center; position: relative; overflow: hidden; }
  .cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 50% 0%, rgba(184,159,135,0.14) 0%, transparent 60%); pointer-events: none; }
  .cta__inner { position: relative; z-index: 2; }
  .cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.05; letter-spacing: -0.01em; color: var(--white); max-width: 20ch; margin: 0 auto 26px; }
  .cta h2 .accent { color: var(--greige); font-style: italic; }
  .cta p { font-size: 1.12rem; font-weight: 300; color: var(--ivory); opacity: 0.9; max-width: 48ch; margin: 0 auto 44px; }
  .cta__actions { display: flex; flex-direction: column; align-items: center; gap: 24px; }
  .cta__dl { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory); border-bottom: 1px solid rgba(231,224,216,0.45); padding-bottom: 3px; transition: border-color 0.3s ease, color 0.3s ease; }
  .cta__dl:hover { border-color: var(--greige); color: var(--white); }

  /* ======================================================= FOOTER */
  .footer { background: var(--ink-2); color: var(--white); padding: clamp(60px, 8vw, 90px) 0 40px; border-top: 1px solid var(--d-line); }
  .footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  .footer__brand .mark { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.28em; margin-bottom: 16px; }
  .footer__brand p { font-size: 0.95rem; font-weight: 300; color: var(--d-mut); max-width: 34ch; line-height: 1.6; }
  .footer__col h5 { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--walnut); margin-bottom: 22px; font-weight: 600; }
  .footer__col a, .footer__col p { display: block; font-size: 0.95rem; font-weight: 300; color: var(--d-body); margin-bottom: 12px; transition: color 0.3s ease; }
  .footer__col a:hover { color: var(--white); }
  .footer__bottom {
    max-width: var(--maxw); margin: clamp(50px, 7vw, 80px) auto 0; padding: 30px var(--gutter) 0;
    border-top: 1px solid var(--d-line);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--d-mut);
  }
  /* ======================================================= TABLET (768px – 1024px) */
  @media (min-width: 768px) and (max-width: 1024px) {

    /* Nav */
    .nav { padding: 16px clamp(24px, 4vw, 48px); }
    .nav__brand { font-size: 0.82rem; letter-spacing: 0.22em; }
    .nav__links { gap: 14px; }
    .nav__links a { font-size: 0.6rem; letter-spacing: 0.13em; }

    /* Hero */
    .hero { min-height: 80vh; padding-bottom: 80px; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__motif { display: none; }
    .hero__name { font-size: clamp(3rem, 7vw, 5rem); }
    .hero__sub { max-width: 52ch; }

    /* About */
    .about__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .bignum { font-size: 8rem; }

    /* Services */
    .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    /* Industries */
    .ind-grid { grid-template-columns: repeat(3, 1fr); }
    .ind-top { grid-template-columns: 1fr; gap: 20px; }

    /* Numbers */
    .num-grid { grid-template-columns: repeat(4, 1fr); }

    /* Reviews */
    .rev-card { flex-basis: 360px; width: 360px; }

    /* Footer */
    .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }

    /* CTA */
    .cta h2 { font-size: clamp(2rem, 4vw, 3rem); }
  }

  @media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; } }


  /* ===================================================== PORTFOLIO PAGE */
  .page-hero {
    position: relative;
    background: var(--ink) url('uploads/work-cover.png') center / cover no-repeat;
    padding: clamp(150px, 22vh, 230px) 0 clamp(80px, 10vw, 120px);
    min-height: 78vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .page-hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgba(31,31,29,0.62) 0%, rgba(31,31,29,0.36) 52%, rgba(31,31,29,0.14) 100%),
      linear-gradient(180deg, rgba(31,31,29,0.20) 0%, rgba(31,31,29,0) 30%, rgba(31,31,29,0.34) 100%);
    pointer-events: none;
  }
  .page-hero .wrap { position: relative; z-index: 2; width: 100%; text-align: left; }
  .page-hero h1 {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 1.03;
    letter-spacing: -0.015em; color: var(--white);
    margin: 22px 0 26px; max-width: 16ch;
  }
  .page-hero h1 em { font-style: italic; color: var(--greige); font-weight: 500; }
  .page-hero .page-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 300;
    color: var(--ivory); opacity: 0.9; max-width: 60ch; line-height: 1.72;
  }

  /* reusable category section — duplicate per future category */
  .cat-section { padding: clamp(80px, 11vw, 150px) 0; }
  .cat-head { max-width: 820px; margin-bottom: 56px; }
  .cat-head .label { display: inline-block; margin-bottom: 20px; }
  .cat-head p { margin-top: 22px; font-size: 1.08rem; font-weight: 300; line-height: 1.72; max-width: 60ch; }
  .tone-light .cat-head p { color: var(--l-body); }
  .tone-dark .cat-head p { color: var(--d-body); }
  .cat-note {
    margin-top: 20px; font-family: var(--serif); font-style: italic;
    font-size: 1.2rem; line-height: 1.5; color: var(--stone);
  }
  .tone-dark .cat-note { color: var(--greige); }

  /* client logo wall — structured, minimal, divider grid */
  .logo-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    border-top: 1px solid var(--walnut-line);
    border-left: 1px solid var(--walnut-line);
  }
  .logo-cell {
    position: relative;
    aspect-ratio: 3 / 2;
    display: flex; align-items: center; justify-content: center;
    padding: 16px 18px;
    border-right: 1px solid var(--walnut-line);
    border-bottom: 1px solid var(--walnut-line);
    background: transparent;
    transition: background 0.4s ease;
  }
  .logo-cell img {
    max-width: 100%; max-height: 42px;
    width: auto; height: auto; object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: filter 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
  }
  .logo-cell:hover { background: var(--ivory); box-shadow: inset 0 0 0 1px var(--walnut); }
  .logo-cell:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.03); }
  /* staggered fade-up — column cascade */
  .logo-cell.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
  .logo-cell.reveal.in { opacity: 1; transform: none; }
  .logo-cell.reveal:nth-child(8n+1) { transition-delay: 0s; }
  .logo-cell.reveal:nth-child(8n+2) { transition-delay: 0.04s; }
  .logo-cell.reveal:nth-child(8n+3) { transition-delay: 0.08s; }
  .logo-cell.reveal:nth-child(8n+4) { transition-delay: 0.12s; }
  .logo-cell.reveal:nth-child(8n+5) { transition-delay: 0.16s; }
  .logo-cell.reveal:nth-child(8n+6) { transition-delay: 0.20s; }
  .logo-cell.reveal:nth-child(8n+7) { transition-delay: 0.24s; }
  .logo-cell.reveal:nth-child(8n) { transition-delay: 0.28s; }
  .logo-cell.ph { background: repeating-linear-gradient(135deg, rgba(184,159,135,0.10) 0 10px, rgba(184,159,135,0) 10px 20px); }
  .logo-cell.ph span { font-family: 'Courier New', monospace; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--l-mut); }
  @media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(5, 1fr); } }
  @media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } .logo-cell img { max-height: 34px; } }
  @media (prefers-reduced-motion: reduce) { .logo-cell.reveal { opacity: 1; transform: none; } }



