:root {
      --ink: #111111;
      --paper: #f4f2ec;
      --white: #ffffff;
      --soft: #e8e5de;
      --muted: #66645f;
      --line: rgba(17,17,17,.18);
      --accent: #d9ff43;
      --section-pad: clamp(72px, 9vw, 150px);
      --page-pad: clamp(20px, 4vw, 64px);
      --max: 1440px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--paper);
      color: var(--ink);
      font-family: "DM Sans", Arial, sans-serif;
      line-height: 1.45;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    img, video { max-width: 100%; }
    a { color: inherit; }
    button, input, textarea { font: inherit; }

    .shell {
      width: min(100%, var(--max));
      margin-inline: auto;
      padding-inline: var(--page-pad);
    }

    /* ---------- Header ---------- */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(244,242,236,.94);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line);
    }

    .nav-wrap {
      min-height: 82px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      flex: 0 0 auto;
    }

    .brand img {
      width: auto;
      height: 48px;
      display: block;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: clamp(18px, 2.6vw, 42px);
      list-style: none;
    }

    .nav-links a {
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      letter-spacing: .01em;
    }

    .nav-links a:not(.nav-cta) { border-bottom: 1px solid transparent; }
    .nav-links a:not(.nav-cta):hover { border-color: currentColor; }

    .nav-cta,
    .button-dark,
    .button-light {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 48px;
      padding: 0 22px;
      border: 1px solid var(--ink);
      background: var(--ink);
      color: var(--white);
      text-decoration: none;
      font-size: 14px;
      font-weight: 600;
      transition: transform .2s ease, background .2s ease, color .2s ease;
    }

    .nav-cta:hover,
    .button-dark:hover { background: transparent; color: var(--ink); }
    .button-light { background: var(--white); color: var(--ink); border-color: var(--white); }
    .button-light:hover { background: transparent; color: var(--white); }

    .menu-button {
      display: none;
      background: transparent;
      border: 0;
      width: 42px;
      height: 42px;
      cursor: pointer;
    }

    .menu-button span {
      width: 24px;
      height: 1px;
      background: var(--ink);
      display: block;
      margin: 6px auto;
    }

    /* ---------- Hero ---------- */
    .hero {
      padding: clamp(72px, 8vw, 120px) 0 var(--section-pad);
      border-bottom: 1px solid var(--line);
    }

    .eyebrow {
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .14em;
      margin-bottom: 28px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
      gap: clamp(48px, 8vw, 140px);
      align-items: end;
    }

    .hero h1 {
      font-family: "Manrope", Arial, sans-serif;
      font-size: clamp(58px, 8.4vw, 132px);
      font-weight: 500;
      line-height: .9;
      letter-spacing: -.065em;
      max-width: 1080px;
    }

    .hero-side {
      padding-bottom: 8px;
    }

    .hero-side p {
      font-size: clamp(18px, 1.55vw, 24px);
      line-height: 1.35;
      margin-bottom: 32px;
      max-width: 430px;
    }

    .hero-media {
      margin-top: clamp(58px, 7vw, 104px);
      position: relative;
      width: 100%;
      height: clamp(360px, 55vw, 760px);
      overflow: hidden;
      background: #cac8c0;
    }

    .hero-media img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center;
      filter: saturate(.84) contrast(.98);
      transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
    }

    .hero-media:hover img { transform: scale(1.025); }

    .hero-note {
      position: absolute;
      left: 22px;
      bottom: 22px;
      background: var(--paper);
      color: var(--ink);
      padding: 12px 16px;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    /* ---------- Capability ticker ---------- */
    .capability-strip {
      border-bottom: 1px solid var(--line);
      overflow: hidden;
    }

    .capability-track {
      display: flex;
      align-items: center;
      gap: 24px;
      min-height: 78px;
      white-space: nowrap;
      font-size: clamp(17px, 1.7vw, 24px);
      font-weight: 500;
    }

    .dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--ink);
      flex: 0 0 auto;
    }

    /* ---------- Generic editorial sections ---------- */
    .section {
      padding-block: var(--section-pad);
      border-bottom: 1px solid var(--line);
    }

    .section-heading-grid {
      display: grid;
      grid-template-columns: minmax(220px, .7fr) minmax(0, 1.7fr);
      gap: clamp(42px, 8vw, 140px);
      align-items: start;
      margin-bottom: clamp(64px, 8vw, 120px);
    }

    .kicker {
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: .14em;
      font-weight: 600;
    }

    .section-heading-grid h2,
    .about-copy h2,
    .contact-intro h2 {
      font-family: "Manrope", Arial, sans-serif;
      font-size: clamp(42px, 5.6vw, 86px);
      line-height: .98;
      letter-spacing: -.045em;
      font-weight: 500;
    }

    .section-heading-grid p {
      max-width: 720px;
      margin-top: 30px;
      font-size: clamp(17px, 1.45vw, 22px);
      color: #31302d;
    }

    /* ---------- Featured capability blocks ---------- */
    .feature-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      border-top: 1px solid var(--line);
    }

    .feature-card {
      padding: clamp(28px, 4vw, 56px) 0;
      border-bottom: 1px solid var(--line);
      min-height: 300px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 58px;
    }

    .feature-card:nth-child(odd) {
      padding-right: clamp(24px, 4vw, 60px);
      border-right: 1px solid var(--line);
    }

    .feature-card:nth-child(even) { padding-left: clamp(24px, 4vw, 60px); }

    .feature-number {
      font-size: 12px;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .feature-card h3 {
      font-family: "Manrope", Arial, sans-serif;
      font-size: clamp(27px, 3vw, 46px);
      line-height: 1.04;
      letter-spacing: -.035em;
      font-weight: 500;
      margin-bottom: 14px;
    }

    .feature-card p {
      max-width: 520px;
      font-size: 16px;
      color: var(--muted);
    }

    /* ---------- Services ---------- */
    .services-section { background: var(--white); }

    .service-category {
      padding-top: clamp(58px, 7vw, 110px);
      margin-top: clamp(58px, 7vw, 110px);
      border-top: 1px solid rgba(17,17,17,.2);
    }

    .service-category:first-of-type {
      padding-top: 0;
      margin-top: 0;
      border-top: 0;
    }

    .category-header {
      display: grid;
      grid-template-columns: minmax(220px, .8fr) minmax(0, 1.7fr);
      gap: clamp(40px, 7vw, 120px);
      margin-bottom: 48px;
      align-items: baseline;
    }

    .category-index {
      font-size: 12px;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .category-header h3 {
      font-family: "Manrope", Arial, sans-serif;
      font-size: clamp(34px, 4.3vw, 64px);
      line-height: 1;
      letter-spacing: -.04em;
      font-weight: 500;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1px;
      background: rgba(17,17,17,.17);
      border: 1px solid rgba(17,17,17,.17);
    }

    .service-item {
      background: var(--white);
      min-width: 0;
      display: flex;
      flex-direction: column;
      transition: background .25s ease;
    }

    .service-item:hover { background: #f7f6f2; }

    .service-media {
      position: relative;
      width: 100%;
      aspect-ratio: 4 / 3;
      overflow: hidden;
      background: #dedcd5;
    }

    .service-media img,
    .service-media video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .7s cubic-bezier(.2,.7,.2,1);
    }

    .service-item:hover .service-media img,
    .service-item:hover .service-media video { transform: scale(1.025); }

    .media-placeholder {
      width: 100%;
      height: 100%;
      display: grid;
      place-items: center;
      padding: 30px;
      text-align: center;
      background:
        linear-gradient(135deg, rgba(17,17,17,.03) 25%, transparent 25%) -12px 0/24px 24px,
        linear-gradient(225deg, rgba(17,17,17,.03) 25%, transparent 25%) -12px 0/24px 24px,
        linear-gradient(315deg, rgba(17,17,17,.03) 25%, transparent 25%) 0 0/24px 24px,
        linear-gradient(45deg, rgba(17,17,17,.03) 25%, #ebe9e3 25%) 0 0/24px 24px;
    }

    .placeholder-label {
      max-width: 220px;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 600;
      letter-spacing: .08em;
      text-transform: uppercase;
      background: var(--paper);
      border: 1px solid var(--line);
      padding: 12px 14px;
    }

    .service-copy {
      padding: clamp(24px, 3vw, 38px);
      min-height: 260px;
      display: flex;
      flex-direction: column;
    }

    .service-copy h4 {
      font-family: "Manrope", Arial, sans-serif;
      font-size: clamp(24px, 2.2vw, 34px);
      font-weight: 500;
      letter-spacing: -.035em;
      line-height: 1.05;
      margin-bottom: 18px;
    }

    .service-copy p {
      font-size: 15px;
      color: var(--muted);
      margin-top: auto;
    }

    /* ---------- Gallery ---------- */
    .gallery-section { background: var(--ink); color: var(--white); }
    .gallery-section .kicker { color: #b9b7b0; }
    .gallery-section .section-heading-grid { margin-bottom: 70px; }

    .gallery-grid {
      display: grid;
      grid-template-columns: 1.45fr .85fr .85fr;
      grid-auto-rows: minmax(260px, 34vw);
      gap: 12px;
    }

    .gallery-item {
      overflow: hidden;
      background: #242424;
    }

    .gallery-item:first-child { grid-row: span 2; }
    .gallery-item:nth-child(4) { grid-column: span 2; }

    .gallery-item img,
    .gallery-item video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      filter: saturate(.86);
      transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .3s ease;
    }

    .gallery-item:hover img,
    .gallery-item:hover video { transform: scale(1.03); filter: saturate(1); }

    /* ---------- About ---------- */
    .about-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
      gap: clamp(50px, 8vw, 130px);
      align-items: center;
    }

    .about-media {
      height: clamp(480px, 60vw, 780px);
      overflow: hidden;
      background: #d3d1cb;
    }

    .about-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      filter: saturate(.78);
    }

    .about-copy .kicker { margin-bottom: 26px; }
    .about-copy h2 { margin-bottom: 34px; }
    .about-copy p {
      max-width: 580px;
      font-size: clamp(17px, 1.35vw, 21px);
      color: #34332f;
      margin-bottom: 18px;
    }

    .about-list {
      list-style: none;
      margin-top: 42px;
      border-top: 1px solid var(--line);
    }

    .about-list li {
      padding: 16px 0;
      border-bottom: 1px solid var(--line);
      display: flex;
      justify-content: space-between;
      gap: 20px;
      font-size: 14px;
    }

    .about-list span:first-child { color: var(--muted); }

    /* ---------- CTA band ---------- */
    .cta-band {
      background: var(--accent);
      color: var(--ink);
      border-bottom: 1px solid var(--ink);
    }

    .cta-inner {
      min-height: 260px;
      padding-block: 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 50px;
    }

    .cta-inner h2 {
      font-family: "Manrope", Arial, sans-serif;
      font-size: clamp(40px, 5vw, 78px);
      line-height: .96;
      letter-spacing: -.045em;
      font-weight: 500;
      max-width: 900px;
    }

    /* ---------- Contact ---------- */
    .contact-section { background: var(--ink); color: var(--white); }

    .contact-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
      gap: clamp(60px, 9vw, 150px);
      align-items: start;
    }

    .contact-intro .kicker { color: #b9b7b0; margin-bottom: 26px; }
    .contact-intro h2 { margin-bottom: 30px; }
    .contact-intro p { color: #b9b7b0; font-size: 18px; max-width: 560px; }

    .contact-details {
      display: grid;
      gap: 12px;
      margin-top: 46px;
      font-size: 15px;
    }

    .contact-details a { text-decoration-thickness: 1px; text-underline-offset: 4px; }

    .contact-form {
      border-top: 1px solid rgba(255,255,255,.35);
      padding-top: 10px;
    }

    .field {
      display: grid;
      grid-template-columns: 110px 1fr;
      gap: 20px;
      align-items: start;
      padding: 22px 0;
      border-bottom: 1px solid rgba(255,255,255,.25);
    }

    .field label {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: .11em;
      padding-top: 10px;
      color: #b9b7b0;
    }

    .field input,
    .field textarea {
      width: 100%;
      border: 0;
      outline: 0;
      background: transparent;
      color: var(--white);
      font-size: 20px;
      padding: 6px 0;
      resize: vertical;
    }

    .field textarea { min-height: 120px; }
    .field input::placeholder, .field textarea::placeholder { color: #777; }

    .form-actions { margin-top: 28px; }
    .contact-form button { cursor: pointer; }

    /* ---------- Footer ---------- */
    footer {
      background: var(--ink);
      color: var(--white);
      border-top: 1px solid rgba(255,255,255,.2);
      padding: 40px 0;
    }

    .footer-grid {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 30px;
    }

    .footer-brand {
      font-family: "Manrope", Arial, sans-serif;
      font-size: clamp(28px, 4vw, 60px);
      letter-spacing: -.045em;
      line-height: 1;
    }

    .footer-meta {
      font-size: 12px;
      color: #aaa;
      text-align: right;
    }

    .back-top {
      position: fixed;
      right: 20px;
      bottom: 20px;
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      border: 1px solid var(--ink);
      background: var(--paper);
      color: var(--ink);
      text-decoration: none;
      opacity: 0;
      pointer-events: none;
      transform: translateY(8px);
      transition: .25s ease;
      z-index: 900;
    }

    .back-top.visible { opacity: 1; pointer-events: auto; transform: none; }

    /* ---------- Reveal motion ---------- */
    .reveal {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity .7s ease, transform .7s ease;
    }
    .reveal.visible { opacity: 1; transform: none; }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
      .reveal { opacity: 1; transform: none; }
    }

    /* ---------- Responsive ---------- */
    @media (max-width: 1050px) {
      .hero-grid,
      .section-heading-grid,
      .category-header,
      .about-grid,
      .contact-grid {
        grid-template-columns: 1fr;
      }

      .hero-side { max-width: 620px; }
      .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .gallery-grid { grid-template-columns: 1fr 1fr; }
      .gallery-item:first-child { grid-row: auto; }
      .gallery-item:nth-child(4) { grid-column: auto; }
      .about-copy { max-width: 760px; }
    }

    @media (max-width: 760px) {
      .nav-wrap { min-height: 70px; }
      .brand img { height: 40px; }
      .menu-button { display: block; }

      .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 26px var(--page-pad) 34px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
      }

      .nav-links.open { display: flex; }
      .nav-links li { border-bottom: 1px solid var(--line); }
      .nav-links li:last-child { border-bottom: 0; margin-top: 18px; }
      .nav-links a:not(.nav-cta) { display: block; padding: 15px 0; font-size: 16px; }
      .nav-cta { width: 100%; }

      .hero { padding-top: 56px; }
      .hero h1 { font-size: clamp(52px, 15vw, 84px); }
      .hero-media { height: 58vh; min-height: 420px; }

      .feature-grid { grid-template-columns: 1fr; }
      .feature-card:nth-child(odd),
      .feature-card:nth-child(even) {
        border-right: 0;
        padding-left: 0;
        padding-right: 0;
      }

      .services-grid { grid-template-columns: 1fr; }
      .service-copy { min-height: 0; }

      .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 72vw; }
      .gallery-item:first-child, .gallery-item:nth-child(4) { grid-row: auto; grid-column: auto; }

      .cta-inner { align-items: flex-start; flex-direction: column; }
      .field { grid-template-columns: 1fr; gap: 4px; }
      .field label { padding-top: 0; }

      .footer-grid { align-items: flex-start; flex-direction: column; }
      .footer-meta { text-align: left; }
    }

/* ==========================================================
   POLISH LAYER â€” UI motion / CodePen interaction helpers
   ========================================================== */
.site-header {
  transition: min-height .3s ease, background-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.site-header.is-scrolled {
  background: rgba(244,242,236,.985);
  box-shadow: 0 10px 30px rgba(17,17,17,.06);
}

.site-header.is-scrolled .nav-wrap {
  min-height: 68px;
}

.site-header.is-scrolled .brand img {
  height: 41px;
}

.brand img,
.nav-wrap {
  transition: height .3s ease, min-height .3s ease;
}

.menu-button span {
  transition: transform .28s ease, opacity .2s ease;
  transform-origin: center;
}

.menu-button.active span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button.active span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-links a.active:not(.nav-cta) {
  border-color: currentColor;
}

.button-dark,
.button-light,
.nav-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button-dark::after,
.button-light::after,
.nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: currentColor;
  opacity: .08;
  transform: translateX(-102%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}

.button-dark:hover::after,
.button-light:hover::after,
.nav-cta:hover::after {
  transform: translateX(0);
}

.service-media::after,
.gallery-item::after,
.about-media::after,
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.08), transparent 45%);
  opacity: 0;
  transition: opacity .35s ease;
}

.service-media,
.gallery-item,
.about-media,
.hero-media {
  position: relative;
}

.service-item:hover .service-media::after,
.gallery-item:hover::after,
.about-media:hover::after,
.hero-media:hover::after {
  opacity: 1;
}

.reveal {
  transition-delay: var(--reveal-delay, 0ms);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .nav-links {
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}