  :root{
    --bg:#000000; --ink:#f4efe4; --muted:#8a877e;
    --gold:#d9a856; --gold-soft:#f0c988; --ember:#c8453a;
    --line: rgba(255,255,255,0.1); --maxw:1180px;
    --ease: cubic-bezier(.16,.84,.44,1);
  }
  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; background:#000; }
  body{ margin:0; background:var(--bg); color:var(--ink); font-family:'Manrope', sans-serif; overflow-x:hidden; position:relative; cursor:none; }
  @media (pointer:coarse){ body{ cursor:auto; } }
  ::selection{ background:var(--gold); color:#140d07; }
  h1,h2,h3{ font-family:'Fraunces', serif; font-weight:460; line-height:1.05; letter-spacing:-0.01em; margin:0; }
  em{ font-style:italic; font-weight:420; color:var(--gold); }
  p{ margin:0; }
  a{ color:inherit; }

  /* loader */
  #loader{ position:fixed; inset:0; z-index:200; background:#000; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:20px; transition:opacity .8s var(--ease), visibility .8s; }
  #loader.hide{ opacity:0; visibility:hidden; pointer-events:none; }
  #loader svg{ width:30px; height:30px; }
  #loader-pct{ font-family:'Manrope'; font-weight:700; font-size:11px; letter-spacing:0.18em; color:var(--muted); font-variant-numeric:tabular-nums; }
  #loader-pct b{ color:var(--gold-soft); font-weight:800; }
  #loader-bar{ width:140px; height:1px; background:var(--line); position:relative; overflow:hidden; }
  #loader-bar i{ position:absolute; left:0; top:0; bottom:0; width:0%; background:var(--gold); }

  #progress{ position:fixed; top:0; left:0; height:2px; width:0%; background:var(--gold); z-index:60; }

  #cursor{ position:fixed; top:0; left:0; width:7px; height:7px; border-radius:50%; background:var(--gold); pointer-events:none; z-index:99; transform:translate(-50%,-50%); transition:width .25s var(--ease), height .25s var(--ease); mix-blend-mode:difference; }
  #cursor.grow{ width:34px; height:34px; background:var(--gold-soft); }
  @media (pointer:coarse){ #cursor{ display:none; } }

  #webgl-canvas{ position:fixed; inset:0; width:100%; height:100%; z-index:0; display:block; background:#000; }
  .grain{ position:fixed; inset:0; z-index:2; pointer-events:none; opacity:0.04; mix-blend-mode:overlay;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

  /* nav — clean, minimal, no heavy glass */
  .nav{ position:fixed; top:0; left:0; right:0; z-index:80; display:flex; align-items:center; justify-content:space-between;
    padding:24px clamp(20px,4vw,56px); background:linear-gradient(to bottom, rgba(0,0,0,0.65), transparent); }
  .nav__brand{ display:flex; align-items:center; gap:10px; }
  .nav__brand svg{ width:20px; height:20px; }
  .nav__word{ font-family:'Manrope'; font-weight:800; letter-spacing:0.06em; font-size:13px; }
  .nav__links{ display:flex; gap:clamp(16px,2.4vw,34px); }
  .nav__links a{ position:relative; text-decoration:none; font-size:12.5px; letter-spacing:0.04em; text-transform:uppercase; color:var(--muted); font-weight:600; cursor:none; transition:color .25s ease; padding-bottom:3px; }
  .nav__links a::after{ content:''; position:absolute; left:0; right:100%; bottom:0; height:1px; background:var(--gold); transition:right .3s var(--ease); }
  .nav__links a:hover{ color:var(--ink); }
  .nav__links a.active{ color:var(--gold-soft); }
  .nav__links a.active::after{ right:0; }
  .nav__cta{ font-size:12.5px; letter-spacing:0.04em; text-transform:uppercase; font-weight:700; color:var(--gold-soft); text-decoration:none; border-bottom:1px solid var(--gold); padding-bottom:3px; cursor:none; }
  .nav__burger{ display:none; width:28px; height:28px; border:none; background:none; cursor:none; position:relative; }
  .nav__burger span{ position:absolute; left:3px; right:3px; height:1.5px; background:var(--ink); transition:transform .3s var(--ease), opacity .3s ease; }
  .nav__burger span:nth-child(1){ top:9px; } .nav__burger span:nth-child(2){ top:14px; } .nav__burger span:nth-child(3){ top:19px; }
  .nav__burger.open span:nth-child(1){ transform:translateY(5px) rotate(45deg); }
  .nav__burger.open span:nth-child(2){ opacity:0; }
  .nav__burger.open span:nth-child(3){ transform:translateY(-5px) rotate(-45deg); }
  @media (max-width:780px){ .nav__links, .nav__cta{ display:none; } .nav__burger{ display:block; } }

  #mobileMenu{ position:fixed; inset:0; z-index:70; background:rgba(0,0,0,0.98); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:24px; opacity:0; visibility:hidden; transition:opacity .4s var(--ease), visibility .4s; }
  #mobileMenu.open{ opacity:1; visibility:visible; }
  #mobileMenu a{ font-family:'Fraunces'; font-size:28px; font-style:italic; font-weight:460; text-decoration:none; color:var(--ink); }
  #mobileMenu a:hover{ color:var(--gold-soft); }

  .rail{ position:fixed; right:clamp(14px,3vw,36px); top:50%; transform:translateY(-50%); z-index:20; display:flex; flex-direction:column; gap:16px; align-items:flex-end; }
  .rail-dot{ background:none; border:none; cursor:none; padding:4px 0; display:flex; align-items:center; gap:10px; color:var(--muted); }
  .rail-dot__label{ font-size:9.5px; letter-spacing:0.1em; text-transform:uppercase; font-weight:700; opacity:0; transform:translateX(6px); transition:opacity .25s ease, transform .25s ease; white-space:nowrap; }
  .rail-dot__mark{ width:5px; height:5px; border-radius:50%; background:var(--line); flex-shrink:0; transition:background .3s ease, box-shadow .3s ease, transform .3s ease; }
  .rail-dot:hover .rail-dot__label{ opacity:1; transform:translateX(0); color:var(--ink); }
  .rail-dot.active .rail-dot__mark{ background:var(--gold); box-shadow:0 0 10px 2px rgba(217,168,86,0.65); transform:scale(1.5); }
  @media (max-width:780px){ .rail{ display:none; } }

  #toTop{ position:fixed; right:clamp(14px,3vw,36px); bottom:26px; z-index:20; width:38px; height:38px; border-radius:50%; border:1px solid var(--line);
    background:rgba(0,0,0,0.5); display:flex; align-items:center; justify-content:center; cursor:none;
    opacity:0; transform:translateY(10px); transition:opacity .3s ease, transform .3s ease, border-color .3s ease; }
  #toTop.show{ opacity:1; transform:translateY(0); }
  #toTop:hover{ border-color:var(--gold); }
  #toTop svg{ width:14px; height:14px; stroke:var(--gold-soft); }

  .eyebrow{ display:inline-flex; align-items:center; gap:9px; font-size:11px; letter-spacing:0.22em; text-transform:uppercase; color:var(--gold); font-weight:700;
    opacity:0; transform:translateY(14px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
  .eyebrow::before{ content:''; width:16px; height:1px; background:var(--gold); }

  main{ position:relative; z-index:10; }
  .section{ min-height:100vh; display:flex; flex-direction:column; justify-content:center; padding:130px clamp(20px,6vw,90px); max-width:var(--maxw); margin:0 auto; }
  .section--about, .section--culture, .section--leadership, .section--locations, .section--work, .section--testimonials{ min-height:auto; padding:100px clamp(20px,6vw,90px); }

  .section h1, .section h2{ margin-top:18px; clip-path:inset(0 0 100% 0); transform:translateY(14px); transition:clip-path .95s var(--ease) .1s, transform .95s var(--ease) .1s; }
  .section.is-visible h1, .section.is-visible h2{ clip-path:inset(0 0 0% 0); transform:translateY(0); }
  .lede{ opacity:0; transform:translateY(18px); transition:opacity .8s var(--ease) .3s, transform .8s var(--ease) .3s; max-width:560px; margin-top:22px; font-size:16.5px; line-height:1.7; color:#c4bfb3; }
  .section.is-visible .eyebrow, .section.is-visible .lede{ opacity:1; transform:translateY(0); }

  .section--hero .eyebrow{ transition-delay:1.0s; } .section--hero h1{ transition-delay:1.15s; }
  .section--hero .lede{ transition-delay:1.5s; } .section--hero .scroll-cue{ transition-delay:1.75s; }
  .section--hero h1{ font-size:clamp(40px, 6.6vw, 86px); max-width:780px; }

  .scroll-cue{ margin-top:64px; display:flex; align-items:center; gap:10px; font-size:11px; letter-spacing:0.18em; text-transform:uppercase; color:var(--muted); opacity:0; transition:opacity 1s ease; }
  .section.is-visible .scroll-cue{ opacity:1; }
  .scroll-cue__line{ width:1px; height:34px; background:linear-gradient(var(--gold), transparent); animation:cueFall 2.2s ease-in-out infinite; }
  @keyframes cueFall{ 0%{ opacity:0.2; } 50%{ opacity:1; } 100%{ opacity:0.2; } }

  .section h2{ font-size:clamp(30px, 4.4vw, 50px); max-width:760px; }

  /* trusted-by marquee */
  .marquee-wrap{ position:relative; z-index:10; padding:32px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); overflow:hidden;
    -webkit-mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .marquee-label{ text-align:center; font-size:10.5px; letter-spacing:0.16em; text-transform:uppercase; color:var(--muted); margin-bottom:20px; }
  .marquee{ display:flex; gap:60px; width:max-content; animation:marqueeScroll 34s linear infinite; }
  .marquee-wrap:hover .marquee{ animation-play-state:paused; }
  .marquee span{ font-family:'Fraunces'; font-style:italic; font-size:19px; color:#4a4740; white-space:nowrap; transition:color .3s ease; }
  .marquee span:hover{ color:var(--gold-soft); }
  @keyframes marqueeScroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

  /* clean panel style — thin border, no blur, used everywhere instead of glassmorphism */
  .panel{ border:1px solid var(--line); border-radius:4px; padding:26px 22px; transition:border-color .3s ease, transform .3s var(--ease); background:rgba(255,255,255,0.012); }
  .panel:hover{ border-color:rgba(217,168,86,0.5); transform:translateY(-3px); }

  .about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; margin-top:36px; }
  .about-grid .lede{ max-width:none; font-size:18px; opacity:1; transform:none; }
  .about-stats{ display:flex; flex-direction:column; gap:20px; }
  .about-stats div{ display:flex; align-items:baseline; gap:14px; border-bottom:1px solid var(--line); padding-bottom:16px; }
  .about-stats strong{ font-family:'Fraunces'; font-size:22px; color:var(--gold-soft); font-weight:500; white-space:nowrap; }
  .about-stats span{ font-size:12.5px; color:var(--muted); }
  @media (max-width:820px){ .about-grid{ grid-template-columns:1fr; } }

  .culture-grid, .pillars, .stats, .leaders{ opacity:0; transform:translateY(24px); transition:opacity .8s var(--ease) .32s, transform .8s var(--ease) .32s; margin-top:48px; display:grid; gap:1px; background:var(--line); border:1px solid var(--line); }
  .section.is-visible .culture-grid, .section.is-visible .pillars, .section.is-visible .stats, .section.is-visible .leaders{ opacity:1; transform:translateY(0); }
  .culture-grid{ grid-template-columns:repeat(3,1fr); }
  .pillars{ grid-template-columns:repeat(5,1fr); }
  .stats{ grid-template-columns:repeat(5,1fr); }
  .leaders{ grid-template-columns:repeat(3,1fr); }
  .locations-grid{ opacity:0; transform:translateY(24px); transition:opacity .8s var(--ease) .32s, transform .8s var(--ease) .32s; margin-top:48px; display:grid; gap:1px; background:var(--line); border:1px solid var(--line); grid-template-columns:repeat(3,1fr); }
  .section.is-visible .locations-grid{ opacity:1; transform:translateY(0); }
  .locations-grid .cell{ display:flex; flex-direction:column; gap:6px; }
  .locations-grid .cell h3{ font-family:'Fraunces'; font-style:italic; font-weight:500; font-size:19px; }
  .locations-grid .cell span{ font-size:12px; color:var(--muted); }
  @media (max-width:960px){ .pillars, .stats{ grid-template-columns:repeat(2,1fr); } .culture-grid, .leaders{ grid-template-columns:1fr; } .locations-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:560px){ .pillars{ grid-template-columns:1fr; } .locations-grid{ grid-template-columns:1fr; } }

  .cell{ background:#000; padding:26px 22px; transition:background .3s ease; min-height:100%; }
  .cell:hover{ background:rgba(217,168,86,0.05); }
  .culture-grid .cell h3{ font-size:18px; font-style:italic; margin-bottom:12px; }
  .culture-grid .cell p{ font-size:13.5px; line-height:1.75; color:var(--muted); }

  .pillar-icon{ width:20px; height:20px; margin-bottom:20px; }
  .pillar-icon svg{ width:100%; height:100%; stroke:var(--gold); }
  .cell h3.svc{ font-family:'Manrope'; font-weight:700; font-size:14px; letter-spacing:0.01em; margin-bottom:14px; text-transform:none; }
  .cell ul{ list-style:none; margin:0; padding:0; }
  .cell li{ font-size:12.5px; line-height:1.8; color:var(--muted); padding-left:13px; position:relative; }
  .cell li::before{ content:'—'; position:absolute; left:0; color:var(--gold); opacity:0.6; }

  .approach-steps{ margin-top:52px; display:flex; flex-direction:column; opacity:0; transform:translateY(24px); transition:opacity .8s var(--ease) .32s, transform .8s var(--ease) .32s; }
  .section.is-visible .approach-steps{ opacity:1; transform:translateY(0); }
  .astep{ display:grid; grid-template-columns:60px 1fr; gap:26px; padding:28px 0; border-top:1px solid var(--line); }
  .approach-steps .astep:last-child{ border-bottom:1px solid var(--line); }
  .astep__num{ font-family:'Fraunces'; font-style:italic; color:var(--gold); font-size:22px; }
  .astep h3{ font-family:'Manrope'; font-weight:700; font-size:16px; font-style:normal; margin-bottom:8px; letter-spacing:0.01em; }
  .astep p{ font-size:14px; line-height:1.75; color:var(--muted); max-width:520px; }

  .stat-num{ font-family:'Fraunces'; font-weight:500; font-size:clamp(30px,3.4vw,42px); color:var(--ink); display:block; font-variant-numeric:tabular-nums; }
  .stat-num .suffix{ color:var(--gold); }
  .stat-label{ font-size:11.5px; letter-spacing:0.02em; color:var(--muted); margin-top:10px; display:block; line-height:1.6; }

  .leader{ display:flex; align-items:center; gap:16px; }
  .leader__avatar{ width:48px; height:48px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-family:'Fraunces'; font-weight:500; font-size:15px; color:#000; background:var(--gold-soft); }
  .leader h3{ font-family:'Manrope'; font-weight:700; font-size:14.5px; font-style:normal; }
  .leader span{ font-size:12px; color:var(--muted); display:block; margin-top:3px; }

  .contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:70px; margin-top:20px; }
  .cta-btn{ display:inline-flex; align-items:center; gap:10px; margin-top:30px; padding:15px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--gold);
    text-decoration:none; font-weight:600; font-size:14.5px; color:var(--ink); width:fit-content; background:none; cursor:none; font-family:'Manrope';
    opacity:0; transform:translateY(14px); transition:opacity .8s var(--ease) .4s, color .3s ease; }
  .section.is-visible .cta-btn{ opacity:1; transform:translateY(0); }
  .cta-btn:hover{ color:var(--gold-soft); }
  .contact-meta{ margin-top:48px; display:flex; flex-wrap:wrap; gap:10px 28px; font-size:12.5px; color:var(--muted); border-top:1px solid var(--line); padding-top:22px;
    opacity:0; transform:translateY(14px); transition:opacity .8s var(--ease) .5s, transform .8s var(--ease) .5s; }
  .section.is-visible .contact-meta{ opacity:1; transform:translateY(0); }
  .form-wrap{ opacity:0; transform:translateY(18px); transition:opacity .8s var(--ease) .35s, transform .8s var(--ease) .35s; }
  .section.is-visible .form-wrap{ opacity:1; transform:translateY(0); }
  .field{ margin-bottom:18px; }
  .field label{ display:block; font-size:10.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
  .field input, .field textarea{ width:100%; background:none; border:none; border-bottom:1px solid var(--line); padding:8px 0; color:var(--ink); font-size:14px; outline:none; transition:border-color .25s ease; resize:vertical; cursor:auto; font-family:'Manrope'; }
  .field input:focus, .field textarea:focus{ border-color:var(--gold); }
  #formNote{ margin-top:14px; font-size:11.5px; color:var(--muted); }
  @media (max-width:820px){ .contact-grid{ grid-template-columns:1fr; } }

  footer{ position:relative; z-index:10; border-top:1px solid var(--line); padding:60px clamp(20px,6vw,90px) 34px; max-width:var(--maxw); margin:0 auto; }
  .footer-top{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; }
  .footer-brand{ max-width:280px; }
  .footer-brand p{ margin-top:14px; font-size:13px; color:var(--muted); line-height:1.7; font-family:'Manrope'; }
  .footer-cols{ display:flex; gap:64px; flex-wrap:wrap; }
  .footer-col h4{ font-size:10.5px; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted); margin-bottom:16px; font-weight:700; }
  .footer-col a, .footer-col span{ display:block; text-decoration:none; font-size:13.5px; color:#c9c5ba; margin-bottom:10px; }
  .footer-col a:hover{ color:var(--gold-soft); }
  .footer-bottom{ margin-top:50px; padding-top:22px; border-top:1px solid var(--line); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:11px; color:var(--muted); }

  @media (prefers-reduced-motion: reduce){ *{ transition-duration:0.01ms !important; animation-duration:0.01ms !important; } }

  /* custom themed scrollbar */
  ::-webkit-scrollbar{ width:9px; }
  ::-webkit-scrollbar-track{ background:#000; }
  ::-webkit-scrollbar-thumb{ background:linear-gradient(var(--gold), #6b5327); border-radius:0; border:2px solid #000; }
  ::-webkit-scrollbar-thumb:hover{ background:var(--gold-soft); }
  html{ scrollbar-color: var(--gold) #000; scrollbar-width: thin; }

  /* section index — small "03 / 09" style marker beside the rail, gives orientation */
  #railIndex{ position:fixed; right:clamp(14px,3vw,36px); top:calc(50% - 96px); transform:translateY(-50%); z-index:20; text-align:right; font-size:10px; letter-spacing:0.14em; color:var(--muted); font-weight:700; opacity:0.85; }
  #railIndex b{ color:var(--gold-soft); font-family:'Fraunces'; font-style:italic; font-size:13px; font-weight:500; letter-spacing:0; display:block; }
  @media (max-width:780px){ #railIndex{ display:none; } }

  /* cursor label — small contextual word riding beside the dot on key hover targets */
  #cursor .curs-label{ position:absolute; left:16px; top:50%; transform:translateY(-50%); font-family:'Manrope'; font-weight:800; font-size:10px; letter-spacing:0.08em; text-transform:uppercase; color:#140d07; white-space:nowrap; opacity:0; transition:opacity .2s ease; }
  #cursor.grow .curs-label.show{ opacity:1; }

  /* 3D tilt cards — perspective on the grid parents, preserve-3d + transition on each cell */
  .culture-grid, .pillars, .leaders, .locations-grid, .work-grid{ perspective:1200px; }
  .culture-grid .cell, .pillars .cell, .leaders .cell, .locations-grid .cell, .work-card{ transform-style:preserve-3d; transition:transform .25s var(--ease), background .3s ease; will-change:transform; }

  /* icon draw-in animation for pillar SVGs */
  .pillar-icon svg path, .pillar-icon svg rect, .pillar-icon svg circle{ stroke-dasharray:140; stroke-dashoffset:140; transition:stroke-dashoffset 1.3s var(--ease); }
  .section.is-visible .pillar-icon svg path,
  .section.is-visible .pillar-icon svg rect,
  .section.is-visible .pillar-icon svg circle{ stroke-dashoffset:0; }

  /* back-to-top progress ring */
  #toTop{ overflow:visible; }
  #toTop svg.ring{ position:absolute; inset:-1px; width:40px; height:40px; transform:rotate(-90deg); }
  #toTop svg.ring circle{ fill:none; stroke:var(--gold); stroke-width:1.4; stroke-linecap:round; }
  #toTop svg.arrow{ position:relative; width:14px; height:14px; stroke:var(--gold-soft); }

  /* Work / case-study section */
  .work-grid{ margin-top:48px; display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line);
    opacity:0; transform:translateY(24px); transition:opacity .8s var(--ease) .32s, transform .8s var(--ease) .32s; }
  .section.is-visible .work-grid{ opacity:1; transform:translateY(0); }
  .work-card{ position:relative; background:#000; aspect-ratio:4/5; padding:22px; display:flex; flex-direction:column; justify-content:flex-end; overflow:hidden; cursor:none; }
  .work-card__bg{ position:absolute; inset:0; opacity:0.65; transition:opacity .4s ease, transform .6s var(--ease); background:radial-gradient(circle at 30% 20%, var(--wc, #3a2c14), #000 72%); }
  .work-card:hover .work-card__bg{ opacity:0.95; transform:scale(1.06); }
  .work-card__tag{ position:relative; font-size:10px; letter-spacing:0.14em; text-transform:uppercase; color:var(--gold-soft); margin-bottom:10px; }
  .work-card__title{ position:relative; font-family:'Fraunces'; font-weight:500; font-size:19px; }
  .work-card__meta{ position:relative; font-size:12px; color:var(--muted); margin-top:8px; }
  @media (max-width:960px){ .work-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:560px){ .work-grid{ grid-template-columns:1fr; } }

  /* Testimonials */
  .testi-wrap{ margin-top:52px; position:relative; min-height:150px;
    opacity:0; transform:translateY(24px); transition:opacity .8s var(--ease) .32s, transform .8s var(--ease) .32s; }
  .section.is-visible .testi-wrap{ opacity:1; transform:translateY(0); }
  .testi{ position:absolute; inset:0; opacity:0; transition:opacity .7s ease; pointer-events:none; }
  .testi.active{ opacity:1; pointer-events:auto; }
  .testi p{ font-family:'Fraunces'; font-style:italic; font-size:clamp(19px,2.2vw,26px); font-weight:460; line-height:1.5; max-width:760px; color:var(--ink); }
  .testi cite{ display:block; font-style:normal; font-family:'Manrope'; font-size:12.5px; color:var(--muted); margin-top:20px; }
  .testi-dots{ display:flex; gap:8px; margin-top:34px; }
  .testi-dots button{ width:20px; height:2px; background:var(--line); border:none; cursor:none; padding:0; transition:background .3s ease; }
  .testi-dots button.active{ background:var(--gold); }
