﻿@import url('lang-switch.css');

    /* ============================================================
       CSS CUSTOM PROPERTIES
    ============================================================ */
    :root {
      --olive:       #595434;
      --graphite:    #1C1C1C;
      --cream:       #FFFFFF;
      --cream-pale:  #F5F5F5;
      --sand:        #C8BFA4;
      --bone:        #EFEFEF;
      --sage:        #9DA89E;
      --ink:         #1A1A1A;
      --muted:       #6B6B6B;
      --line:        #E0E0E0;
      --error:       #B85450;

      --font-display: 'Cormorant Garamond', Georgia, serif;
      --font-body:    'Nunito', sans-serif;
      --font-mono:    'IBM Plex Mono', monospace;
    }

    /* ============================================================
       RESET & BASE
    ============================================================ */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }

    body {
      font-family: var(--font-body);
      font-weight: 300;
      color: var(--ink);
      background: var(--cream);
      line-height: 1.65;
      overflow-x: hidden;
      -webkit-tap-highlight-color: transparent;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      min-height: 100vh;
      min-height: 100dvh;
    }

    @supports (padding: max(0px)) {
      body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
        padding-bottom: env(safe-area-inset-bottom);
      }
    }

    img { display: block; max-width: 100%; }

    a {
      color: inherit;
      text-decoration: none;
    }

    button, input, textarea, select {
      font-family: var(--font-body);
      font-size: 1rem;
    }

    /* ============================================================
       TYPOGRAPHY HELPERS
    ============================================================ */
    .eyebrow {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--sage);
    }

    .label-mono {
      font-family: var(--font-mono);
      font-size: 0.65rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    /* ============================================================
       LAYOUT UTILITIES
    ============================================================ */
    .container {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    @media (min-width: 900px) {
      .container { padding: 0 3rem; }
    }

    @media (min-width: 1200px) {
      .container { padding: 0 5rem; }
    }

    /* ============================================================
       SCROLL REVEAL
    ============================================================ */
    .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity 0.65s ease, transform 0.65s ease;
    }

    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }

    .reveal-d1 { transition-delay: 0.08s; }
    .reveal-d2 { transition-delay: 0.18s; }
    .reveal-d3 { transition-delay: 0.28s; }
    .reveal-d4 { transition-delay: 0.38s; }
    .reveal-d5 { transition-delay: 0.48s; }

    /* ============================================================
       HEADER / NAVIGATION
    ============================================================ */
    #site-header {
      position: fixed;
      top: 1.5rem;
      left: 0.75rem;
      right: 0.75rem;
      z-index: 1000;
      padding: 0 1.5rem;
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: var(--cream);
      border-radius: 6px;
      box-shadow: 0 2px 16px rgba(0,0,0,0.08);
      transition: box-shadow 0.35s ease;
    }

    #site-header.scrolled {
      box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    }

    @media (min-width: 900px) {
      #site-header { top: 2rem; left: 1.25rem; right: 1.25rem; }
    }
    @media (min-width: 1200px) {
      #site-header { left: 2rem; right: 2rem; }
    }

    @media (min-width: 900px) {
      #site-header { padding: 0 3rem; }
    }
    @media (min-width: 1200px) {
      #site-header { padding: 0 5rem; }
    }

    .header-wordmark {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      display: flex;
      align-items: center;
      flex-shrink: 0;
      z-index: 3;
      transition: opacity 0.2s;
    }

    .header-wordmark:hover { opacity: 0.8; }

    .logo-svg { display: block; height: 28px; width: auto; }

    /* Header is always white, so the logo is always the dark/olive mark */
    .logo-olive { display: block; }
    .logo-white { display: none; }

    .header-nav {
      display: none;
      gap: 0.25rem;
      list-style: none;
    }

    .header-nav-left,
    .header-nav-right {
      position: relative;
      z-index: 2;
      flex: 1;
      pointer-events: none;
    }

    .header-nav-left .header-nav,
    .header-nav-right .header-nav,
    .header-nav-left a,
    .header-nav-right a {
      pointer-events: auto;
    }

    .header-nav-right {
      margin-left: auto;
      display: flex;
      justify-content: flex-end;
    }

    @media (min-width: 768px) {
      .header-nav { display: flex; align-items: center; }
    }

    @media (min-width: 768px) and (max-width: 1024px) {
      .header-nav a {
        font-size: 0.72rem;
        padding: 0.45rem 0.65rem;
        letter-spacing: 0.08em;
      }
    }

    .header-nav a {
      display: inline-block;
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.82rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink);
      padding: 0.5rem 1rem;
      border-radius: 999px;
      transition: background 0.25s ease, color 0.25s ease;
    }

    .header-nav a:hover,
    .header-nav a:focus-visible,
    .header-nav a[aria-current="page"] {
      background: rgba(89,84,52,0.12);
      color: var(--olive);
    }

    .header-right {
      display: flex;
      align-items: center;
      gap: 1.2rem;
      position: relative;
      z-index: 3;
    }

    .btn-ghost-sm {
      display: none;
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.78rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--olive);
      border: 1px solid var(--olive);
      background: transparent;
      padding: 0.45rem 1.1rem;
      cursor: pointer;
      transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }

    @media (min-width: 900px) {
      .btn-ghost-sm { display: block; }
    }

    .btn-ghost-sm:hover {
      background: var(--olive);
      color: var(--cream);
      border-color: var(--olive);
    }

    /* Hamburger */
    .hamburger {
      display: flex;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 6px;
    }

    @media (min-width: 768px) {
      .hamburger { display: none; }
    }

    .hamburger span {
      display: block;
      width: 24px;
      height: 1px;
      background: var(--ink);
      transition: background 0.35s ease, transform 0.3s ease;
    }

    .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

    /* Mobile overlay menu */
    .mobile-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: min(340px, 100%);
      height: 100vh;
      height: 100dvh;
      background: var(--graphite);
      z-index: 999;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 4rem 3rem;
      transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .mobile-menu.open { right: 0; }

    .mobile-menu-overlay {
      position: fixed;
      top: 0; right: 0; bottom: 0; left: 0;
      background: rgba(42,39,22,0.55);
      z-index: 998;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s;
    }

    .mobile-menu-overlay.open {
      opacity: 1;
      pointer-events: all;
    }

    .mobile-menu ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .mobile-menu a {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 2rem;
      color: var(--cream);
      letter-spacing: 0.02em;
    }

    .mobile-menu a:hover { color: var(--sand); }

    .mobile-menu .menu-footer {
      margin-top: 3rem;
      padding-top: 2rem;
      border-top: 1px solid rgba(200,191,164,0.2);
    }

    .mobile-menu .menu-footer a {
      font-family: var(--font-body);
      font-size: 0.82rem;
      font-weight: 300;
      color: var(--sand);
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    /* ============================================================
       HERO SECTION
    ============================================================ */
    #hero {
      position: relative;
      height: 100vh;
      height: 100dvh;
      min-height: 600px;
      background: var(--graphite);
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding-bottom: 5.25rem;
      overflow: hidden;
    }

    @media (min-width: 900px) {
      #hero { padding-bottom: 7.75rem; }
    }

    @media (max-width: 600px) {
      #hero {
        height: 75vh;
        height: 75dvh;
        min-height: 480px;
      }
    }

    .hero-photo {
      position: absolute;
      top: 0; right: 0; bottom: 0; left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      opacity: 0;
      transition: opacity 1.2s ease;
      z-index: 0;
    }

    .hero-photo.is-active { opacity: 1; }

    #hero::after {
      content: '';
      position: absolute;
      top: 0; right: 0; bottom: 0; left: 0;
      background: linear-gradient(180deg, rgba(20,18,12,0.45) 0%, rgba(20,18,12,0.2) 45%, rgba(20,18,12,0.6) 100%);
      z-index: 1;
    }

    .hero-content .hero-wordmark { color: var(--cream); }
    .hero-content .hero-divider { background: var(--cream); margin-left: auto; margin-right: auto; }
    .hero-content .hero-arrow-link { color: var(--cream); }

    .hero-eyebrow-tl {
      position: absolute;
      top: 100px;
      left: 1.5rem;
      font-family: var(--font-mono);
      font-size: 0.65rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--sand);
      opacity: 0;
      animation: fadeInUp 1s ease 0.3s forwards;
    }

    @media (min-width: 900px) {
      .hero-eyebrow-tl { left: 3rem; }
    }

    @media (min-width: 1200px) {
      .hero-eyebrow-tl { left: 5rem; }
    }

    .hero-content {
      text-align: center;
      padding: 0 1.5rem;
      max-width: 860px;
      z-index: 2;
    }

    .hero-content .eyebrow {
      color: var(--sage);
      margin-bottom: 1.6rem;
      opacity: 0;
      animation: fadeInUp 1s ease 0.5s forwards;
    }

    .hero-headline {
      font-family: var(--font-display);
      font-style: italic;
      font-weight: 500;
      font-size: clamp(2.4rem, 5vw, 4.2rem);
      color: var(--cream);
      line-height: 1.22;
      margin-bottom: 1.6rem;
      opacity: 0;
      animation: fadeInUp 1.1s ease 0.7s forwards;
    }

    .hero-sub {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 1rem;
      color: var(--sand);
      margin-bottom: 2.8rem;
      opacity: 0;
      animation: fadeInUp 1s ease 0.9s forwards;
    }

    .hero-ctas {
      display: flex;
      gap: 1.1rem;
      justify-content: center;
      flex-wrap: wrap;
      opacity: 0;
      animation: fadeInUp 1s ease 1.1s forwards;
    }

    .btn-primary {
      font-family: var(--font-body);
      font-weight: 400;
      font-size: 0.82rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      background: var(--olive);
      color: var(--cream);
      border: 1px solid var(--olive);
      padding: 0.75rem 1.8rem;
      cursor: pointer;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .btn-primary:hover {
      background: var(--graphite);
      border-color: var(--sand);
    }

    .btn-ghost {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.82rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      background: transparent;
      color: var(--cream);
      border: 1px solid rgba(241,233,215,0.5);
      padding: 0.75rem 1.8rem;
      cursor: pointer;
      transition: border-color 0.2s ease, background 0.2s ease;
    }

    .btn-ghost:hover {
      border-color: var(--cream);
      background: rgba(241,233,215,0.06);
    }

    /* Hero SVG door animation */
    .hero-svg-container {
      position: absolute;
      top: 0; right: 0; bottom: 0; left: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      opacity: 0.15;
    }

    .door-svg {
      width: min(560px, 80vw);
      height: min(480px, 70vh);
    }

    /* Panel animation */
    .door-panel-left-1 {
      transform-origin: left center;
      animation: openPanelLeft1 4s ease 1.5s both;
    }
    .door-panel-left-2 {
      transform-origin: left center;
      animation: openPanelLeft2 4s ease 1.8s both;
    }
    .door-panel-right-1 {
      transform-origin: right center;
      animation: openPanelRight1 4s ease 1.5s both;
    }
    .door-panel-right-2 {
      transform-origin: right center;
      animation: openPanelRight2 4s ease 1.8s both;
    }

    @keyframes openPanelLeft1 {
      0%   { transform: perspective(600px) rotateY(0deg); }
      100% { transform: perspective(600px) rotateY(-55deg); }
    }
    @keyframes openPanelLeft2 {
      0%   { transform: perspective(600px) rotateY(0deg); }
      100% { transform: perspective(600px) rotateY(50deg); }
    }
    @keyframes openPanelRight1 {
      0%   { transform: perspective(600px) rotateY(0deg); }
      100% { transform: perspective(600px) rotateY(55deg); }
    }
    @keyframes openPanelRight2 {
      0%   { transform: perspective(600px) rotateY(0deg); }
      100% { transform: perspective(600px) rotateY(-50deg); }
    }

    .scroll-indicator {
      position: absolute;
      bottom: 2.5rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      opacity: 0;
      animation: fadeIn 1s ease 2.5s forwards;
    }

    .scroll-indicator span {
      font-family: var(--font-mono);
      font-size: 0.6rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--sand);
    }

    .scroll-line {
      width: 1px;
      height: 40px;
      background: linear-gradient(to bottom, var(--sand), transparent);
      animation: scrollBounce 2s ease-in-out 3s infinite;
    }

    @keyframes scrollBounce {
      0%, 100% { transform: scaleY(1); opacity: 0.6; }
      50% { transform: scaleY(0.6); opacity: 1; }
    }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 0.7; }
    }

    /* ============================================================
       HERO — split layout
    ============================================================ */
    #hero.hero-split {
      height: auto;
      min-height: auto;
      background: var(--cream-pale);
      display: flex;
      flex-direction: column;
    }

    @media (min-width: 900px) {
      #hero.hero-split { flex-direction: row; height: 100vh; height: 100dvh; min-height: 100vh; min-height: 100dvh; }
    }

    .hero-left {
      flex: 1;
      display: flex;
      align-items: center;
      padding: calc(68px + 4rem) 1.5rem 4rem;
    }

    @media (min-width: 900px) {
      .hero-left { padding: 0 3rem; }
    }
    @media (min-width: 1200px) {
      .hero-left { padding: 0 5rem; }
    }

    .hero-left-inner { max-width: 420px; }

    .hero-wordmark {
      font-family: 'Jost', 'Nunito', sans-serif;
      font-weight: 400;
      font-size: clamp(2.6rem, 5vw, 3.6rem);
      color: var(--olive);
      letter-spacing: 0.01em;
      margin-bottom: 2.4rem;
    }

    .hero-divider {
      display: block;
      width: 32px;
      height: 1px;
      background: var(--olive);
      margin-bottom: 1.6rem;
    }

    .hero-left .hero-headline {
      font-family: var(--font-body);
      font-style: normal;
      font-weight: 400;
      font-size: clamp(1.8rem, 3vw, 2.4rem);
      color: var(--ink);
      line-height: 1.25;
      margin-bottom: 1.2rem;
      animation: none;
      opacity: 1;
    }

    .hero-left .hero-sub {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.92rem;
      color: var(--muted);
      line-height: 1.65;
      margin-bottom: 0;
      animation: none;
      opacity: 1;
    }

    .hero-arrow-link {
      display: inline-flex;
      margin-top: 2.6rem;
      color: var(--olive);
      font-size: 1.2rem;
      transition: transform 0.2s ease;
    }

    .hero-arrow-link:hover { transform: translateY(4px); }

    .hero-right {
      flex: 1;
      position: relative;
      min-height: 100vh;
      min-height: 100dvh;
      overflow: hidden;
      width: 100%;
    }

    @media (min-width: 900px) {
      .hero-right { min-height: auto; height: 100%; width: auto; }
    }

    .hero-photo-split {
      position: absolute;
      top: 0; right: 0; bottom: 0; left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      opacity: 0;
      transition: opacity 1.2s ease;
    }

    .hero-photo-split.is-active { opacity: 1; }

    @media (min-width: 900px) {
      .hero-photo-split { min-height: 100%; }
    }

    /* ============================================================
       SYSTEMS TEASER
    ============================================================ */
    #systems {
      background: var(--cream-pale);
      padding: 5rem 0;
    }

    .systems-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 3rem;
    }

    .systems-header h2 {
      font-family: var(--font-body);
      font-weight: 400;
      font-size: clamp(1.5rem, 2.6vw, 2rem);
      color: var(--ink);
      line-height: 1.3;
    }

    .systems-explore {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--olive);
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      flex-shrink: 0;
    }

    .systems-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.4rem 1.2rem;
    }

    @media (min-width: 900px) {
      .systems-grid { grid-template-columns: repeat(4, 1fr); }
    }

    .systems-item { display: block; }

    .systems-item img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      display: block;
      margin-bottom: 1rem;
      transition: transform 0.6s cubic-bezier(0.25,0.8,0.25,1);
    }

    .systems-item:hover img { transform: scale(1.04); }

    .systems-item-label {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: var(--font-mono);
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink);
    }

    /* ============================================================
       DOWNLOAD LIST (sustainability reports etc.)
    ============================================================ */
    .download-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0;
      margin-top: 2rem;
    }

    .download-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      padding: 1.1rem 0;
      border-bottom: 1px solid var(--line);
    }

    .download-item:first-child { border-top: 1px solid var(--line); }

    .download-name {
      font-family: var(--font-body);
      font-weight: 400;
      font-size: 0.92rem;
      color: var(--ink);
    }

    .download-action {
      font-family: var(--font-mono);
      font-size: 0.66rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--olive);
      flex-shrink: 0;
    }

    /* ============================================================
       VARIANT PICKER (category page -> named system pages)
    ============================================================ */
    .variant-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.4rem;
      margin-top: 3.5rem;
    }

    @media (min-width: 700px) {
      .variant-grid { grid-template-columns: repeat(3, 1fr); }
    }

    .variant-card {
      display: block;
      border: 1px solid var(--line);
    }

    .variant-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      transition: transform 0.6s cubic-bezier(0.25,0.8,0.25,1);
    }

    .variant-card:hover img { transform: scale(1.04); }

    .variant-card-body { padding: 1.4rem 1.5rem 1.6rem; }

    .variant-card-name {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 1.15rem;
      color: var(--ink);
      margin-bottom: 0.4rem;
    }

    .variant-card-desc {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.82rem;
      color: var(--muted);
      line-height: 1.55;
      margin-bottom: 1rem;
    }

    .variant-card-link {
      font-family: var(--font-mono);
      font-size: 0.66rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--olive);
    }

    /* ============================================================
       PRODUCT GALLERY (minimal frames)
    ============================================================ */
    .product-gallery {
      margin-top: 3rem;
      display: grid;
      grid-template-columns: 1fr;
      gap: 1px;
    }

    @media (min-width: 700px) {
      .product-gallery { grid-template-columns: repeat(3, 1fr); }
    }

    .product-gallery figure {
      margin: 0;
      background: var(--cream);
      border: 1px solid var(--line);
    }

    .product-gallery img {
      width: 100%;
      height: 280px;
      object-fit: cover;
      display: block;
    }

    .product-gallery figcaption {
      font-family: var(--font-mono);
      font-size: 0.66rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
      padding: 0.8rem 0;
    }

    /* ============================================================
       PROOF BAR
    ============================================================ */
    #proof-bar {
      background: var(--cream);
      border-bottom: 1px solid var(--line);
      padding: 3rem 0;
    }

    .proof-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0;
    }

    @media (min-width: 640px) {
      .proof-grid { grid-template-columns: repeat(4, 1fr); }
    }

    .proof-item {
      padding: 1.5rem 2rem;
      border-right: 1px solid var(--line);
      text-align: center;
    }

    .proof-item:last-child { border-right: none; }

    @media (max-width: 639px) {
      .proof-item:nth-child(2) { border-right: none; }
      .proof-item:nth-child(3) { border-right: 1px solid var(--line); }
      .proof-item:nth-child(1), .proof-item:nth-child(2) {
        border-bottom: 1px solid var(--line);
      }
    }

    .proof-figure {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 2.2rem;
      color: var(--olive);
      line-height: 1.1;
      margin-bottom: 0.3rem;
    }

    .proof-label {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.78rem;
      color: var(--muted);
      line-height: 1.45;
      margin-bottom: 0.35rem;
    }

    .proof-ref {
      font-family: var(--font-mono);
      font-size: 0.6rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--sage);
    }

    /* ============================================================
       CERTIFICATIONS GRID
    ============================================================ */
    #certifications {
      background: var(--cream-pale);
      padding: 0;
      border-top: 1px solid #D8D2C4;
      border-bottom: 1px solid #D8D2C4;
    }

    .cert-container {
      max-width: 100%;
      padding: 0;
    }

    .cert-grid {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      border-left: 1px solid #D8D2C4;
      border-right: 1px solid #D8D2C4;
    }

    .cert-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.55rem;
      min-height: 168px;
      padding: 1.75rem 0.85rem;
      background: transparent;
      border: none;
      border-right: 1px solid #D8D2C4;
      cursor: pointer;
      text-align: center;
      color: var(--olive);
      transition: background 0.25s ease, color 0.25s ease;
    }

    .cert-item:last-child { border-right: none; }

    .cert-item:hover,
    .cert-item:focus-visible {
      background: rgba(89, 84, 52, 0.06);
      outline: none;
    }

    .cert-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      flex-shrink: 0;
      color: var(--olive);
    }

    .cert-icon svg {
      width: 100%;
      height: 100%;
    }

    .cert-title {
      font-family: var(--font-mono);
      font-size: clamp(0.52rem, 0.72vw, 0.62rem);
      font-weight: 400;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      line-height: 1.4;
      max-width: 14ch;
    }

    .cert-sub {
      font-family: var(--font-body);
      font-size: clamp(0.7rem, 0.9vw, 0.8rem);
      font-weight: 300;
      color: var(--muted);
      line-height: 1.35;
      max-width: 16ch;
    }

    .cert-modal {
      position: fixed;
      inset: 0;
      z-index: 10000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
    }

    .cert-modal[hidden] { display: none; }

    .cert-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(26, 26, 26, 0.55);
      backdrop-filter: blur(4px);
    }

    .cert-modal-panel {
      position: relative;
      width: min(100%, 520px);
      max-height: min(85vh, 640px);
      overflow-y: auto;
      background: var(--cream);
      padding: 2.25rem 2rem 2rem;
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
    }

    .cert-modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      width: 2rem;
      height: 2rem;
      border: none;
      background: transparent;
      color: var(--muted);
      font-size: 1.1rem;
      cursor: pointer;
      line-height: 1;
    }

    .cert-modal-close:hover { color: var(--ink); }

    .cert-modal-eyebrow {
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--sage);
      margin-bottom: 0.75rem;
    }

    .cert-modal-title {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: clamp(1.5rem, 3vw, 1.9rem);
      color: var(--ink);
      line-height: 1.2;
      margin-bottom: 1.25rem;
      padding-right: 1.5rem;
    }

    .cert-modal-body {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.95rem;
      color: var(--muted);
      line-height: 1.75;
    }

    .cert-modal-body p { margin-bottom: 1rem; }
    .cert-modal-body p:last-child { margin-bottom: 0; }

    .cert-modal-body ul {
      margin: 0.75rem 0 0;
      padding-left: 1.1rem;
    }

    .cert-modal-body li { margin-bottom: 0.45rem; }

    .cert-modal-link {
      display: inline-block;
      margin-top: 1.5rem;
      font-family: var(--font-mono);
      font-size: 0.68rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--olive);
      text-decoration: none;
      border-bottom: 1px solid var(--olive);
      padding-bottom: 0.15rem;
    }

    .cert-modal-link:hover { color: var(--ink); border-color: var(--ink); }

    @media (max-width: 1024px) {
      .cert-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }

      .cert-grid::-webkit-scrollbar { display: none; }

      .cert-item {
        flex: 0 0 clamp(150px, 28vw, 200px);
        scroll-snap-align: start;
        min-height: 156px;
        padding: 1.5rem 0.75rem;
      }

      .cert-title { max-width: none; font-size: 0.58rem; }
      .cert-sub { max-width: none; font-size: 0.76rem; }
    }

    /* ============================================================
       STATEMENT SECTION
    ============================================================ */
    #statement {
      background: var(--cream);
      padding: 7rem 0;
      text-align: left;
    }

    .statement-inner {
      max-width: 820px;
      margin: 0;
    }

    .statement-title {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: clamp(2.4rem, 5vw, 3.6rem);
      color: var(--ink);
      line-height: 1.15;
      margin: 0 0 1.75rem;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }

    .statement-title span {
      color: var(--olive);
    }

    .statement-divider {
      display: block;
      width: 32px;
      height: 1px;
      background: var(--olive);
      margin-bottom: 1.6rem;
    }

    .statement-quote {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: clamp(1.75rem, 3.5vw, 2.5rem);
      color: var(--ink);
      line-height: 1.35;
      margin-bottom: 2rem;
    }

    .statement-body {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: clamp(1rem, 1.5vw, 1.08rem);
      color: var(--muted);
      line-height: 1.75;
      margin-bottom: 1.25rem;
    }

    .statement-body:first-of-type {
      color: var(--ink);
      font-size: clamp(1.05rem, 1.6vw, 1.12rem);
    }

    .statement-body:last-of-type {
      margin-bottom: 0;
    }

    .statement-closing {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: clamp(1.1rem, 1.8vw, 1.25rem);
      color: var(--ink);
      line-height: 1.5;
      margin-top: 2rem;
      margin-bottom: 0.75rem;
    }

    .statement-sig {
      font-family: var(--font-display);
      font-weight: 500;
      font-style: italic;
      font-size: clamp(1.1rem, 1.8vw, 1.25rem);
      color: var(--ink);
      margin-bottom: 0;
    }

    /* ============================================================
       BUILT AROUND LIGHT — dark full-bleed banner
    ============================================================ */
    #built-around-light {
      position: relative;
      min-height: 70vh;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
    }

    .balight-slideshow {
      position: absolute;
      top: 0; right: 0; bottom: 0; left: 0;
      z-index: 0;
    }

    .balight-photo {
      position: absolute;
      top: 0; right: 0; bottom: 0; left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 1.2s ease;
    }

    .balight-photo.is-active {
      opacity: 1;
    }

    #built-around-light::after {
      content: '';
      position: absolute;
      top: 0; right: 0; bottom: 0; left: 0;
      background: linear-gradient(100deg, rgba(20,18,12,0.75) 0%, rgba(20,18,12,0.35) 45%, rgba(20,18,12,0.05) 75%);
      z-index: 1;
    }

    .balight-content {
      position: relative;
      z-index: 2;
      padding: 3.5rem 1.5rem;
    }

    @media (min-width: 900px) {
      .balight-content { padding: 4.5rem 3rem; }
    }

    @media (min-width: 1200px) {
      .balight-content { padding: 4.5rem 5rem; }
    }

    .balight-headline {
      font-family: var(--font-body);
      font-weight: 400;
      font-size: clamp(2rem, 4.5vw, 3.2rem);
      line-height: 1.18;
      color: var(--cream);
      margin-bottom: 1.4rem;
    }

    .balight-link {
      font-family: var(--font-mono);
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--cream);
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: opacity 0.2s;
    }

    .balight-link:hover { opacity: 0.7; }

    /* ============================================================
       AUDIENCE SPLIT
    ============================================================ */
    #audience-split {
      display: grid;
      grid-template-columns: 1fr;
    }

    @media (min-width: 700px) {
      #audience-split { grid-template-columns: 1fr 1fr; }
    }

    .audience-panel {
      position: relative;
      min-height: 40vh;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
    }

    .audience-photo {
      position: absolute;
      top: 0; right: 0; bottom: 0; left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }

    .audience-panel::after {
      content: '';
      position: absolute;
      top: 0; right: 0; bottom: 0; left: 0;
      background: linear-gradient(180deg, rgba(20,18,12,0.05) 40%, rgba(20,18,12,0.78) 100%);
      z-index: 1;
    }

    .audience-content {
      position: relative;
      z-index: 2;
      padding: 2.5rem 1.5rem;
    }

    @media (min-width: 900px) {
      .audience-content { padding: 3rem; }
    }

    .audience-title {
      font-family: var(--font-body);
      font-weight: 400;
      font-size: clamp(1.3rem, 2.2vw, 1.7rem);
      line-height: 1.3;
      color: var(--cream);
      margin-bottom: 1rem;
      max-width: 320px;
    }

    .audience-link {
      font-family: var(--font-mono);
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--cream);
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: opacity 0.2s;
    }

    .audience-link:hover { opacity: 0.7; }

    /* ============================================================
       PRODUCTS SECTION
    ============================================================ */
    #products {
      background: var(--cream);
    }

    .section-header {
      margin-bottom: 4rem;
    }

    .section-header .eyebrow {
      margin-bottom: 0.9rem;
    }

    #challenges .eyebrow {
      font-size: 1.6rem;
      letter-spacing: 0.04em;
      color: var(--olive);
    }

    .section-header h2 {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: clamp(2.25rem, 4vw, 3.4rem);
      color: var(--olive);
      line-height: 1.15;
    }

    .products-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.2rem;
    }

    @media (min-width: 640px) {
      .products-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (min-width: 900px) {
      .products-grid { grid-template-columns: repeat(3, 1fr); }
    }

    @media (min-width: 1200px) {
      .products-grid { grid-template-columns: repeat(4, 1fr); }
    }

    .product-card {
      background: var(--cream-pale);
      border: 1px solid var(--line);
      padding: 1.6rem 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      transition: border-color 0.2s ease, transform 0.2s ease;
      cursor: pointer;
    }

    .product-card:hover {
      border-color: var(--olive);
      transform: translateY(-3px);
    }

    .card-number {
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .card-svg {
      width: 80px;
      height: 64px;
      flex-shrink: 0;
    }

    .card-name {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 1.15rem;
      color: var(--olive);
      line-height: 1.2;
    }

    .card-desc {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.82rem;
      color: var(--ink);
      line-height: 1.55;
      flex: 1;
    }

    .card-specs {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      padding-top: 0.75rem;
      border-top: 1px solid var(--line);
      font-family: var(--font-mono);
      font-size: 0.6rem;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: var(--sage);
    }

    .card-specs-divider {
      width: 1px;
      height: 10px;
      background: var(--line);
      flex-shrink: 0;
    }

    /* ── ITLAS-style product layout (products page only) ── */
    .products-page {
      padding-top: 9rem;
    }

    .product-category {
      padding: 4rem 0 5rem;
    }

    .product-category--intro {
      padding: 0 0 2rem;
    }

    .product-category--alt {
      background: var(--cream-pale);
    }

    #products .products-intro {
      max-width: 38rem;
      margin: 0 auto 3.5rem;
      text-align: center;
    }

    .product-category--intro .products-intro {
      max-width: 44rem;
      margin-bottom: 0;
    }

    #products .products-intro h1,
    #products .products-intro h2 {
      font-family: var(--font-body);
      font-weight: 400;
      font-size: clamp(1.85rem, 3.2vw, 2.5rem);
      color: var(--ink);
      line-height: 1.2;
      margin-bottom: 1.1rem;
    }

    #products .products-intro p {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: clamp(1rem, 1.35vw, 1.125rem);
      color: var(--muted);
      line-height: 1.7;
    }

    #products .products-grid-itlas {
      display: grid;
      grid-template-columns: 1fr;
      gap: 3rem 1.5rem;
    }

    @media (min-width: 640px) {
      #products .products-grid-itlas {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 900px) {
      #products .products-grid-itlas {
        grid-template-columns: repeat(3, 1fr);
        gap: 3.5rem 2rem;
      }
    }

    @media (min-width: 1200px) {
      #products .products-grid-itlas--four {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    #products .product-card-itlas {
      display: flex;
      flex-direction: column;
      cursor: pointer;
      position: relative;
      text-decoration: none;
      color: inherit;
    }

    #products .product-card-image {
      overflow: hidden;
      margin-bottom: 1.25rem;
      background: var(--bone);
    }

    #products .product-card-image img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      display: block;
      transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    #products .product-card-itlas:hover .product-card-image img {
      transform: scale(1.06);
    }

    #products .product-card-title {
      font-family: var(--font-body);
      font-weight: 400;
      font-size: clamp(1.1rem, 1.6vw, 1.35rem);
      color: var(--ink);
      line-height: 1.3;
      margin-bottom: 0.65rem;
    }

    #products .product-card-desc {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.92rem;
      color: var(--ink);
      opacity: 0.72;
      line-height: 1.65;
      margin-bottom: 1.25rem;
      flex: 1;
    }

    #products .product-card-link {
      display: inline-flex;
      align-items: center;
      align-self: flex-start;
      gap: 0.5rem;
      font-family: var(--font-body);
      font-size: 0.82rem;
      letter-spacing: 0.02em;
      color: var(--ink);
      border: 1px solid var(--ink);
      padding: 0.6rem 1.25rem;
      transition: background 0.25s ease, color 0.25s ease;
    }

    #products .product-card-link::after {
      content: '↗';
      font-size: 0.75rem;
      line-height: 1;
    }

    #products .product-card-itlas:hover .product-card-link {
      background: var(--ink);
      color: var(--cream);
    }

    /* ============================================================
       WHY VALERO
    ============================================================ */
    #why-valero {
      background: var(--cream);
      padding: 8rem 0 6rem;
    }

    #why-valero > .container {
      padding-right: clamp(2rem, 10vw, 14rem);
    }

    .about-hero-inner {
      max-width: 780px;
      margin-right: auto;
      margin-left: 6mm;
    }

    #why-valero .statement-divider {
      margin-bottom: 1.6rem;
    }

    #why-valero .eyebrow {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--sage);
      margin-bottom: 1rem;
    }

    .about-hero-title {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: clamp(2.4rem, 5vw, 3.75rem);
      line-height: 1.12;
      color: var(--ink);
      margin: 0;
      max-width: 20ch;
    }

    .about-hero-body {
      display: flex;
      flex-direction: column;
      gap: 1.35rem;
      margin-top: 2.75rem;
      padding-top: 2.25rem;
      border-top: 1px solid var(--line);
      max-width: 62ch;
    }

    .about-intro {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: clamp(1.02rem, 1.5vw, 1.12rem);
      color: var(--muted);
      line-height: 1.85;
      margin: 0;
    }

    .why-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 3rem;
      margin-top: 4rem;
    }

    @media (min-width: 640px) {
      .why-grid { grid-template-columns: repeat(3, 1fr); }
    }

    .why-item {}

    .why-icon {
      width: 44px;
      height: 44px;
      margin-bottom: 1.4rem;
    }

    .why-heading {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 1.4rem;
      color: var(--olive);
      margin-bottom: 0.85rem;
    }

    .why-body {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.9rem;
      color: var(--muted);
      line-height: 1.7;
    }

    /* ============================================================
       CAREERS PAGE
    ============================================================ */
    #careers-hero {
      padding: 9rem 0 5rem;
      background: var(--cream);
    }

    #careers-hero .section-header h2,
    #careers-why .section-header h2,
    #careers-offer .section-header h2,
    #open-roles .section-header h2 {
      font-size: clamp(2.5rem, 5vw, 3.75rem);
      line-height: 1.1;
      letter-spacing: -0.01em;
    }

    #careers-hero .eyebrow,
    #careers-why .eyebrow,
    #careers-offer .eyebrow,
    #open-roles .eyebrow,
    #hiring-process .eyebrow {
      font-size: 0.76rem;
      letter-spacing: 0.14em;
    }

    #careers-why {
      padding: 5rem 0 6rem;
      background: var(--cream);
    }

    #careers-offer {
      padding: 6rem 0;
      background: var(--cream-pale);
    }

    #open-roles {
      padding: 6rem 0;
      background: var(--cream);
    }

    #careers-why .section-header,
    #careers-offer .section-header,
    #open-roles .section-header {
      margin-bottom: 1.75rem;
      max-width: 720px;
    }

    #careers-why .contact-lead {
      max-width: 640px;
      margin-bottom: 3.5rem;
    }

    #careers-why .why-grid,
    #careers-offer .why-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
      margin-top: 0;
      align-items: stretch;
    }

    @media (min-width: 600px) {
      #careers-why .why-grid,
      #careers-offer .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 2rem;
      }
    }

    @media (min-width: 992px) {
      #careers-why .why-grid,
      #careers-offer .why-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2.5rem 2rem;
      }
    }

    #careers-why .why-item,
    #careers-offer .why-item {
      display: flex;
      flex-direction: column;
      height: 100%;
      padding-top: 1.35rem;
      border-top: 1px solid var(--line);
    }

    #careers-offer .why-item {
      border-top-color: rgba(0, 0, 0, 0.1);
    }

    #careers-why .why-heading,
    #careers-offer .why-heading {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: clamp(1.55rem, 2.4vw, 2rem);
      color: var(--olive);
      margin-bottom: 0.85rem;
      line-height: 1.2;
    }

    #careers-why .why-body,
    #careers-offer .why-body {
      font-size: 1rem;
      line-height: 1.7;
      flex: 1;
    }

    #careers-why .contact-lead,
    #careers-offer .contact-lead,
    #open-roles .contact-lead,
    #careers-hero .careers-hero-lead,
    .careers-intro,
    .careers-roles-lead {
      font-size: 1.05rem;
      line-height: 1.75;
    }

    .careers-roles-grid .card-name {
      font-size: clamp(1.4rem, 2.2vw, 1.7rem);
      line-height: 1.25;
    }

    .careers-roles-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.5rem;
      margin-top: 2.5rem;
      align-items: stretch;
    }

    @media (min-width: 700px) {
      .careers-roles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (min-width: 1100px) {
      .careers-roles-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    .careers-roles-grid .product-card {
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .card-apply-link {
      margin-top: auto;
      padding-top: 0.75rem;
    }

    #careers-cta {
      background: var(--cream);
      padding: 6rem 0;
      text-align: left;
    }

    #careers-cta .statement-quote {
      font-size: clamp(2rem, 4vw, 2.75rem);
      line-height: 1.15;
    }

    #careers-hero .careers-hero-lead {
      max-width: 560px;
    }

    .careers-hero-cta {
      display: inline-flex;
      margin-top: 1.8rem;
    }

    .careers-intro {
      max-width: 640px;
      margin-bottom: 0;
    }

    .careers-roles-lead {
      margin-bottom: 0;
    }

    #hiring-process {
      padding: 7rem 0;
      background: var(--olive);
    }

    #hiring-process .eyebrow {
      color: var(--sand);
      margin-bottom: 0.9rem;
    }

    #hiring-process h2 {
      color: var(--cream);
      margin-bottom: 1.2rem;
      font-size: clamp(2.35rem, 4.5vw, 3.5rem);
      line-height: 1.1;
    }

    #hiring-process .audience-heading {
      font-size: clamp(1.4rem, 2.2vw, 1.75rem);
      line-height: 1.25;
    }

    #hiring-process .audience-body {
      font-size: 1rem;
      line-height: 1.7;
    }

    #hiring-process .hiring-intro {
      color: var(--sand);
      max-width: 560px;
      font-size: 0.92rem;
      line-height: 1.65;
      margin-bottom: 3rem;
    }

    #hiring-process .audience-grid {
      margin-bottom: 0;
    }

    /* ============================================================
       AUDIENCES
    ============================================================ */
    #audiences {
      background: var(--olive);
      padding: 7rem 0;
    }

    #audiences .eyebrow { color: var(--sand); margin-bottom: 0.9rem; }

    #audiences h2 {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: clamp(2rem, 3.5vw, 3rem);
      color: var(--cream);
      margin-bottom: 4rem;
    }

    .audience-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 3rem;
      margin-bottom: 4rem;
    }

    @media (min-width: 640px) {
      .audience-grid { grid-template-columns: repeat(3, 1fr); }
    }

    .audience-item {}

    .audience-num {
      font-family: var(--font-mono);
      font-size: 0.65rem;
      letter-spacing: 0.12em;
      color: var(--sand);
      margin-bottom: 1rem;
    }

    .audience-heading {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 1.5rem;
      color: var(--cream);
      margin-bottom: 0.75rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid rgba(200,191,164,0.3);
    }

    .audience-body {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.9rem;
      color: var(--sand);
      line-height: 1.7;
      margin-top: 0.9rem;
    }

    .audience-ctas {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .btn-primary-dark {
      font-family: var(--font-body);
      font-weight: 400;
      font-size: 0.82rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      background: var(--cream);
      color: var(--olive);
      border: 1px solid var(--cream);
      padding: 0.75rem 1.8rem;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }

    .btn-primary-dark:hover {
      background: transparent;
      color: var(--cream);
    }

    .btn-ghost-dark {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.82rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      background: transparent;
      color: var(--cream);
      border: 1px solid rgba(241,233,215,0.45);
      padding: 0.75rem 1.8rem;
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
    }

    .btn-ghost-dark:hover {
      border-color: var(--cream);
      background: rgba(241,233,215,0.07);
    }

    /* ============================================================
       PERFORMANCE & WARRANTY
    ============================================================ */
    #performance {
      background: var(--cream);
      padding: 7rem 0;
    }

    .perf-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 4rem;
    }

    @media (min-width: 900px) {
      .perf-grid { grid-template-columns: 1fr 1fr; gap: 6rem; }
    }

    #performance h2 {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: clamp(1.8rem, 2.5vw, 2.4rem);
      color: var(--olive);
      margin-bottom: 2rem;
    }

    .perf-table {
      width: 100%;
      border-collapse: collapse;
    }

    .perf-table tr {
      border-bottom: 1px solid var(--line);
    }

    .perf-table td {
      padding: 0.85rem 0;
      font-size: 0.85rem;
      vertical-align: top;
    }

    .perf-table td:first-child {
      font-family: var(--font-body);
      font-weight: 300;
      color: var(--muted);
      width: 45%;
      padding-right: 1rem;
    }

    .perf-table td:last-child {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      letter-spacing: 0.06em;
      color: var(--olive);
    }

    .warranty-card {
      background: var(--cream-pale);
      border: 1px solid var(--line);
      padding: 2rem 2.2rem;
    }

    .warranty-card h3 {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 1.4rem;
      color: var(--olive);
      margin-bottom: 1.5rem;
    }

    .warranty-table {
      width: 100%;
      border-collapse: collapse;
    }

    .warranty-table tr {
      border-bottom: 1px solid var(--line);
    }

    .warranty-table td {
      padding: 0.75rem 0;
      font-size: 0.85rem;
    }

    .warranty-table td:first-child {
      font-family: var(--font-body);
      font-weight: 300;
      color: var(--muted);
    }

    .warranty-table td:last-child {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 1.1rem;
      color: var(--olive);
      text-align: right;
    }

    .warranty-footnote {
      margin-top: 1.4rem;
      font-family: var(--font-mono);
      font-size: 0.6rem;
      letter-spacing: 0.07em;
      color: var(--sage);
      line-height: 1.6;
    }

    /* ============================================================
       FINISHES
    ============================================================ */
    #finishes {
      background: var(--cream-pale);
      padding: 7rem 0;
    }

    .finishes-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 4rem;
    }

    @media (min-width: 900px) {
      .finishes-grid { grid-template-columns: 1fr 1fr; gap: 6rem; }
    }

    #finishes h2 {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: clamp(1.8rem, 2.5vw, 2.4rem);
      color: var(--olive);
      margin-bottom: 2rem;
    }

    .finish-type {
      margin-bottom: 1.4rem;
      padding-bottom: 1.4rem;
      border-bottom: 1px solid var(--line);
    }

    .finish-type:last-child { border-bottom: none; }

    .finish-type-name {
      font-family: var(--font-body);
      font-weight: 400;
      font-size: 0.9rem;
      color: var(--olive);
      margin-bottom: 0.35rem;
    }

    .finish-type-desc {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.83rem;
      color: var(--muted);
      line-height: 1.55;
    }

    .swatch-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }

    .swatch-item {}

    .swatch-block {
      height: 72px;
      margin-bottom: 0.6rem;
    }

    .swatch-label {
      font-family: var(--font-mono);
      font-size: 0.6rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
      line-height: 1.4;
    }

    /* ============================================================
       CONTACT
    ============================================================ */
    #contact {
      background: var(--cream);
      padding: 7rem 0;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 4rem;
    }

    @media (min-width: 900px) {
      .contact-grid { grid-template-columns: 3fr 2fr; gap: 6rem; }
    }

    #contact .eyebrow { margin-bottom: 0.9rem; }

    #contact h2 {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: clamp(2.2rem, 3.5vw, 3.2rem);
      color: var(--olive);
      margin-bottom: 0.8rem;
    }

    .contact-lead {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 1rem;
      color: var(--muted);
      margin-bottom: 2.5rem;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.2rem;
      margin-bottom: 1.2rem;
    }

    @media (min-width: 640px) {
      .form-row { grid-template-columns: 1fr 1fr; }
    }

    .form-field {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .form-field label {
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
      background: transparent;
      border: 1px solid var(--line);
      padding: 0.65rem 0.85rem;
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.9rem;
      color: var(--ink);
      outline: none;
      transition: border-color 0.2s;
      -webkit-appearance: none;
      border-radius: 0;
    }

    .form-field input:focus,
    .form-field select:focus,
    .form-field textarea:focus {
      border-color: var(--olive);
    }

    .form-field textarea { resize: vertical; min-height: 120px; }

    /* iOS Safari auto-zooms on input focus when font-size < 16px */
    @media (max-width: 899px) {
      .form-field input,
      .form-field select,
      .form-field textarea {
        font-size: 1rem;
      }
    }

    .form-field.full { grid-column: 1 / -1; }

    .consent-row {
      display: flex;
      gap: 0.8rem;
      align-items: flex-start;
      margin-bottom: 1.8rem;
    }

    .consent-row input[type="checkbox"] {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
      margin-top: 2px;
      accent-color: var(--olive);
    }

    .consent-row label {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.8rem;
      color: var(--muted);
      line-height: 1.5;
      cursor: pointer;
    }

    .btn-submit {
      font-family: var(--font-body);
      font-weight: 400;
      font-size: 0.85rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      background: var(--olive);
      color: var(--cream);
      border: 1px solid var(--olive);
      padding: 0.9rem 2.2rem;
      cursor: pointer;
      transition: background 0.2s ease;
    }

    .btn-submit:hover { background: var(--graphite); border-color: var(--graphite); }

    .contact-sidebar h3 {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 1.4rem;
      color: var(--olive);
      margin-bottom: 1.5rem;
    }

    .contact-link-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .contact-link-item {
      padding: 1.1rem 0;
      border-bottom: 1px solid var(--line);
    }

    .contact-link-item:first-child { border-top: 1px solid var(--line); }

    .contact-link-email {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      letter-spacing: 0.06em;
      color: var(--olive);
      display: block;
      margin-bottom: 0.2rem;
      transition: color 0.2s;
    }

    .contact-link-email:hover { color: var(--muted); }

    .contact-link-label {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.78rem;
      color: var(--muted);
    }

    .contact-link-desc {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.72rem;
      color: var(--sage);
    }

    /* ============================================================
       FOOTER
    ============================================================ */
    #footer {
      background: var(--graphite);
      padding: 5rem 0 3rem;
    }

    .footer-top {
      border-bottom: 1px solid rgba(200,191,164,0.15);
      padding-bottom: 3rem;
      margin-bottom: 2.5rem;
    }

    .footer-wordmark {
      display: block;
      margin-bottom: 0.8rem;
    }

    .footer-wordmark .logo-svg { height: 42px; }

    .footer-tagline {
      font-family: var(--font-mono);
      font-size: 0.65rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--sage);
    }

    .footer-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem 3rem;
      margin-top: 2.5rem;
    }

    .footer-nav a {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.82rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--sand);
      transition: color 0.2s;
    }

    .footer-nav a:hover { color: var(--cream); }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .footer-copy {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.76rem;
      color: var(--muted);
    }

    .footer-privacy a {
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
      transition: color 0.2s;
    }

    .footer-privacy a:hover { color: var(--sand); }


    /* ============================================================
       SHOWCASE SECTION
    ============================================================ */
    #showcase {
      background: #1A1910;
      padding: 5rem 0 3rem;
    }
    #showcase .section-header {
      padding: 0 var(--container-pad, 1.5rem);
      margin-bottom: 2rem;
    }
    @media (min-width: 900px) {
      #showcase .section-header { padding: 0 3rem; }
    }
    @media (min-width: 1200px) {
      #showcase .section-header { padding: 0 5rem; }
    }
    #showcase h2 { color: var(--cream); }
    #showcase .eyebrow { color: var(--sage); }

    .showcase-scroll {
      display: flex;
      gap: 3px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .showcase-scroll::-webkit-scrollbar { display: none; }

    .showcase-panel {
      min-width: 420px;
      height: 480px;
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
    }
    @media (max-width: 640px) {
      .showcase-panel { min-width: 300px; height: 300px; }
    }

    .showcase-label {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(transparent, rgba(26,25,16,0.85));
      color: #C8BFA4;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.65rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 2rem 1.5rem 1.2rem;
    }

    /* Product card SVG */
    .card-svg {
      width: 100%;
      height: 160px;
      display: block;
      margin-bottom: 1rem;
      flex-shrink: 0;
    }

    /* Featured projects */
    #featured-projects {
      background: var(--graphite);
      padding: 5rem 0;
    }
    #featured-projects .section-header { padding: 0 1.5rem; }
    @media (min-width: 900px) {
      #featured-projects .section-header { padding: 0 3rem; }
    }
    @media (min-width: 1200px) {
      #featured-projects .section-header { padding: 0 5rem; }
    }
    #featured-projects .section-header h2 { color: var(--cream); }
    #featured-projects .eyebrow { color: var(--sage); }
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 3px;
      margin-top: 2.5rem;
    }
    @media (max-width: 900px) {
      .projects-grid { grid-template-columns: 1fr; }
    }
    .project-scene {
      height: 360px;
      position: relative;
      overflow: hidden;
    }
    .project-caption {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      background: linear-gradient(transparent, rgba(26,25,16,0.9));
      padding: 2.5rem 1.5rem 1.5rem;
    }
    .project-caption h3 {
      font-family: var(--font-display);
      font-size: 1.3rem;
      color: var(--cream);
      font-weight: 500;
      margin-bottom: 0.3rem;
    }
    .project-caption p {
      font-family: var(--font-mono);
      font-size: 0.6rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--sage);
    }

    /* ── Scroll progress bar ── */
    #scroll-progress {
      position: fixed; top: 0; left: 0; height: 2px;
      background: #595434; width: 0%; z-index: 9999;
      transition: width 0.1s linear;
    }

    /* ── Custom cursor ── */
    #cursor-dot {
      position: fixed; width: 8px; height: 8px;
      background: #595434; border-radius: 50%;
      pointer-events: none; z-index: 9998;
      transform: translate(-50%, -50%);
      opacity: 0;
      transition: transform 0.1s ease, opacity 0.3s ease, width 0.25s ease, height 0.25s ease, background 0.25s ease;
    }
    #cursor-dot.is-visible { opacity: 1; }
    #cursor-ring {
      position: fixed; width: 36px; height: 36px;
      border: 1px solid rgba(89,84,52,0.45); border-radius: 50%;
      pointer-events: none; z-index: 9997;
      transform: translate(-50%, -50%);
      opacity: 0;
      transition: transform 0.18s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
    }
    #cursor-ring.is-visible { opacity: 1; }
    body:has(a:hover) #cursor-ring,
    body:has(button:hover) #cursor-ring,
    body.cursor-hover #cursor-ring {
      width: 56px; height: 56px;
      border-color: rgba(89,84,52,0.7);
    }
    body:has(a:hover) #cursor-dot,
    body:has(button:hover) #cursor-dot,
    body.cursor-hover #cursor-dot {
      width: 4px; height: 4px;
    }
    @media (hover: none), (pointer: coarse) { #cursor-dot, #cursor-ring { display: none !important; } }
    @media (hover: none) {
      .btn-primary:active, .btn-ghost:active, .btn-ghost-sm:active, .btn-submit:active {
        transform: scale(0.96);
      }
    }

    /* ── Intro loader ── */
    #intro-loader {
      position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: #1C1C1C;
      display: flex; align-items: center; justify-content: center;
      z-index: 99999; transition: opacity 0.7s ease, visibility 0.7s ease;
    }
    #intro-loader.out { opacity: 0; visibility: hidden; pointer-events: none; }
    .loader-wordmark {
      width: clamp(140px, 16vw, 220px);
      height: auto;
      opacity: 0; transform: translateY(18px);
      animation: loaderReveal 0.8s ease 0.3s forwards;
    }
    .loader-line {
      position: absolute; bottom: -18px; left: 0; height: 2px;
      background: #595434; width: 0%;
      animation: loaderBar 1.1s ease 0.2s forwards;
    }
    @keyframes loaderReveal {
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes loaderBar {
      to { width: 100%; }
    }

    /* ── Hero word-split animation ── */
    .hero-headline .word {
      display: inline-block; overflow: hidden;
      vertical-align: bottom;
    }
    .hero-headline .word span {
      display: inline-block;
      transform: translateY(110%); opacity: 0;
      animation: wordUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
    }
    @keyframes wordUp {
      to { transform: translateY(0); opacity: 1; }
    }

    /* ── Parallax hero photo ── */
    .hero-photo { will-change: transform; }

    /* ── Product card hover ── */
    .product-card:not(.product-card-itlas) {
      transition: transform 0.35s cubic-bezier(0.25,0.8,0.25,1),
                  box-shadow 0.35s ease, border-color 0.35s ease;
    }
    .product-card:not(.product-card-itlas):hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 48px rgba(89,84,52,0.13);
      border-color: #595434;
    }
    .product-card:not(.product-card-itlas) img {
      transition: transform 0.6s cubic-bezier(0.25,0.8,0.25,1);
      overflow: hidden;
    }
    .product-card:not(.product-card-itlas):hover img { transform: scale(1.05); }

    /* ── Showcase auto-scroll ── */
    .showcase-scroll { scroll-behavior: smooth; }

    /* ── Magnetic button style ── */
    .btn-primary, .btn-ghost, .btn-ghost-sm {
      transition: transform 0.2s ease, background 0.2s ease,
                  color 0.2s ease, box-shadow 0.2s ease;
    }
    .btn-primary:hover {
      box-shadow: 0 8px 24px rgba(89,84,52,0.28);
    }

    /* ── Proof bar counter ── */
    .proof-figure { display: inline-block; }

    /* ── Featured project scene hover ── */
    .project-scene { overflow: hidden; cursor: pointer; }
    .project-scene img {
      transition: transform 0.8s cubic-bezier(0.25,0.8,0.25,1);
    }
    .project-scene:hover img { transform: scale(1.07); }
    .project-caption {
      transition: transform 0.4s ease;
      transform: translateY(8px);
    }
    .project-scene:hover .project-caption { transform: translateY(0); }

    /* ── Showcase panel hover ── */
    .showcase-panel img {
      transition: transform 0.7s cubic-bezier(0.25,0.8,0.25,1);
    }
    .showcase-panel:hover img { transform: scale(1.04); }

    /* ── Section heading line-wipe (only when .reveal is used) ── */
    .section-header h2.reveal {
      background: linear-gradient(90deg, #595434 0%, #595434 50%, transparent 50%);
      background-size: 200% 100%;
      background-position: 100% 0;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      transition: background-position 0.9s cubic-bezier(0.16,1,0.3,1);
    }
    .section-header h2.reveal.revealed {
      background-position: 0% 0;
    }

    /* ── Ripple effect on buttons ── */
    .btn-primary, .btn-ghost { position: relative; overflow: hidden; }
    .ripple {
      position: absolute; border-radius: 50%;
      background: rgba(255,255,255,0.3);
      transform: scale(0); animation: rippleAnim 0.55s linear;
      pointer-events: none;
    }
    @keyframes rippleAnim {
      to { transform: scale(4); opacity: 0; }
    }

    /* ── Scroll-triggered number count ── */
    .count-done { transition: transform 0.5s ease; }

    /* ============================================================
       PRODUCT DETAIL PAGE
    ============================================================ */
    .product-breadcrumb {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      flex-wrap: wrap;
      margin-bottom: 1.4rem;
    }
    .product-breadcrumb a,
    .product-breadcrumb span {
      font-family: var(--font-mono);
      font-size: 0.65rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--sand);
    }
    .product-breadcrumb a:hover { color: var(--cream); }
    .product-breadcrumb .crumb-current { color: var(--cream); }

    .product-hero {
      position: relative;
      height: 56vh;
      min-height: 360px;
      max-height: 560px;
      overflow: hidden;
      background: var(--graphite);
    }
    .product-hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.75;
    }
    .product-hero-overlay {
      position: absolute;
      top: 0; right: 0; bottom: 0; left: 0;
      background: linear-gradient(to top, rgba(28,28,28,0.85), rgba(28,28,28,0.15));
      display: flex;
      align-items: flex-end;
      padding: 3rem 1.5rem;
    }
    @media (min-width: 900px) {
      .product-hero-overlay { padding: 3rem; }
    }
    @media (min-width: 1200px) {
      .product-hero-overlay { padding: 3rem 5rem; }
    }
    .product-hero-content { max-width: 900px; }
    .product-hero-content .card-number {
      color: var(--sand);
      display: block;
      margin-bottom: 0.8rem;
    }
    .product-hero-content h1 {
      font-family: var(--font-display);
      font-style: italic;
      font-weight: 500;
      font-size: clamp(2.2rem, 4.5vw, 3.6rem);
      color: var(--cream);
      line-height: 1.18;
    }

    .product-body {
      background: var(--cream);
      padding: 5rem 0;
    }
    .product-body-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 3.5rem;
    }
    @media (min-width: 900px) {
      .product-body-grid { grid-template-columns: 3fr 2fr; gap: 5rem; }
    }
    .product-lead {
      font-family: var(--font-display);
      font-style: italic;
      font-weight: 500;
      font-size: clamp(1.3rem, 2vw, 1.7rem);
      color: var(--olive);
      line-height: 1.45;
      margin-bottom: 1.8rem;
    }
    .product-body-text p {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.95rem;
      color: var(--ink);
      line-height: 1.75;
      margin-bottom: 1.2rem;
    }
    .product-features {
      list-style: none;
      margin-top: 2rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .product-features li {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.9rem;
      color: var(--muted);
      line-height: 1.6;
      padding-left: 1.3rem;
      position: relative;
    }
    .product-features li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0.55rem;
      width: 6px;
      height: 1px;
      background: var(--olive);
    }
    .product-sidebar .warranty-card { margin-bottom: 2rem; }
    .product-sidebar .btn-primary,
    .product-sidebar .btn-ghost {
      width: 100%;
      text-align: center;
      display: block;
      margin-bottom: 1rem;
      box-sizing: border-box;
    }
    .product-sidebar .btn-ghost { color: var(--olive); border-color: var(--olive); }
    .product-sidebar .btn-ghost:hover { background: var(--olive); color: var(--cream); }

    .related-products {
      background: var(--cream-pale);
      padding: 5rem 0;
    }

    /* ── Cross-platform accessibility ── */
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      .reveal {
        opacity: 1;
        transform: none;
      }
    }
