/* ============================================================
   lucasmoraca.com: Swiss/technical system, painted color only
   ============================================================ */

:root{
  --ink:#202020;
  --gray:#6b6b6b;
  --gray-3:#767676;
  --paper:#fafafa;
  --white:#ffffff;
  --hair:rgba(0,0,0,.1);
  --hair-strong:#e0e0e0;
  --blue:#006bbf;
  --blue-bg:#e9f5ff;
  --ice:#bde9ff;
  --link:#0077b5;
  --amber:#96591f;
  --cream:#fff8df;
  --dark:#121212;
  --d-hair:rgba(255,255,255,.12);
  --d-text:rgba(255,255,255,.62);
  --d-label:rgba(255,255,255,.64);
  --sans:'Instrument Sans','Inter','Helvetica Neue',Arial,sans-serif;
  --mono:'Geist Mono','Fragment Mono',ui-monospace,'SFMono-Regular',Menlo,monospace;
  --ease-spring:cubic-bezier(.22,1,.36,1);
  --noise:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:92px;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  font-family:var(--sans);
  font-size:16px;
  line-height:1.35;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{font:inherit;border:0;background:none;cursor:pointer}

::selection{background:var(--ice);color:var(--ink)}

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:200;
  background:#000;color:#fff;padding:10px 16px;font-size:14px;
}
.skip-link:focus{left:12px;top:12px}

.sr-only{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;
  clip-path:inset(50%);overflow:hidden;white-space:nowrap;
}

/* consistent focus rings everywhere, tuned per surface */
:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.dark :focus-visible,.footer :focus-visible,.cta-paint :focus-visible{outline-color:var(--ice)}
main:focus{outline:none}

/* ---------- shells & paper ---------- */
.shell{max-width:1440px;margin:0 auto;padding-left:52px;padding-right:52px}

.dotted{
  background-color:var(--paper);
  background-image:radial-gradient(rgba(0,0,0,.08) 1px,transparent 1px);
  background-size:20px 20px;
}

/* rhythm: no seam between adjacent content blocks exceeds ~160px */
.section{padding:112px 0}
.section + .section{padding-top:72px}
.marquee + .section{padding-top:88px}
.section.dark{padding-top:120px;padding-bottom:120px}
.dark + .section{padding-top:96px}

.dark{
  position:relative;
  background:var(--dark);
  color:#fff;
}
.dark::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:var(--noise);
  opacity:.05;
}
.dark > *{position:relative}

/* ---------- type ---------- */
h1,h2,h3{font-weight:500;color:var(--ink)}
.h1{
  font-size:clamp(40px,5.6vw,72px);
  line-height:1.08;
  letter-spacing:-.02em;
  text-wrap:balance;
}
.h2{
  font-size:clamp(32px,3.6vw,50px);
  line-height:1.1;
  letter-spacing:-.02em;
  text-wrap:balance;
}
.h3{
  font-size:24px;line-height:1.2;letter-spacing:-.01em;
}
.lede{
  font-size:clamp(16px,1.4vw,19px);
  line-height:1.42;
  color:var(--gray);
}
.body{font-size:16px;line-height:1.5;color:var(--gray)}
.dark h2,.dark h3{color:#fff}
.dark .lede,.dark .body{color:var(--d-text)}

.mono{
  font-family:var(--mono);
  font-size:13px;
  letter-spacing:.04em;
  text-transform:uppercase;
  line-height:1.2;
}
.mono--xs{font-size:11px}

.tint{color:var(--ice)}

/* ---------- eyebrows ---------- */
.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-family:var(--mono);font-size:13px;letter-spacing:.05em;
  text-transform:uppercase;line-height:1;
  padding:9px 14px;border-radius:2px;
}
.eyebrow::before{content:"";width:5px;height:5px;flex:none;background:currentColor}
.eyebrow--blue{color:var(--blue);background:var(--blue-bg)}
.eyebrow--amber{color:var(--amber);background:var(--cream)}
.eyebrow--plain{color:var(--ink);background:var(--white);border:1px solid var(--hair)}
.eyebrow--dark{color:#f7edb8;background:rgba(255,255,255,.04);border:1px solid var(--d-hair)}

.section-head{max-width:820px;margin-bottom:56px}
.section-head .eyebrow{margin-bottom:24px}
.section-head .lede{margin-top:20px;max-width:640px}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:14px 24px;border-radius:2px;
  font-size:15px;font-weight:500;line-height:1;
  transition:background-color .15s ease-out,border-color .15s ease-out,color .15s ease-out;
}
.btn .arr{display:inline-block;transition:transform .15s ease-out}
.btn:hover .arr{transform:translateX(4px)}
.btn--primary{background:#000;color:#fff}
.btn--primary:hover{background:var(--ink)}
.btn--ghost{background:var(--white);color:var(--ink);border:1px solid rgba(0,0,0,.15)}
.btn--ghost:hover{border-color:rgba(0,0,0,.4)}
.btn--inverse{background:#fff;color:#000}
.btn--inverse:hover{background:#f2f2f2}

.dashed-link{
  color:var(--link);font-size:15px;
  text-decoration:underline;
  text-decoration-style:dashed;
  text-underline-offset:4px;
  text-decoration-thickness:1px;
  transition:opacity .15s ease-out;
}
.dashed-link:hover{opacity:.7}

/* ---------- tags / chips ---------- */
.tags{display:flex;flex-wrap:wrap;gap:8px}
.tag{
  font-family:var(--mono);font-size:11px;letter-spacing:.04em;
  text-transform:uppercase;line-height:1;
  padding:8px 12px;border-radius:2px;white-space:nowrap;
}
.tag--solid{background:#000;color:#fff}
.tag--line{border:1px solid var(--hair);color:var(--gray);background:var(--white)}
.tag--dark{border:1px solid var(--d-hair);color:var(--d-text);background:rgba(255,255,255,.03)}

/* ---------- nav ---------- */
.nav{
  position:sticky;top:0;z-index:100;
  background:var(--white);
  border-bottom:1px solid var(--hair);
}
.nav-row{
  height:80px;display:flex;align-items:center;gap:32px;
}
.brand{display:flex;align-items:center;gap:12px;flex:none}
.brand-mark{width:49px;height:18px;color:#000}
.brand-name{font-size:20px;font-weight:500;letter-spacing:-.01em}
.nav-links{
  display:flex;gap:32px;margin:0 auto;
}
.nav-links a{
  font-size:15px;color:var(--ink);
  transition:opacity .15s ease-out;
}
.nav-links a:hover{opacity:.55}
.nav-cta{display:flex;align-items:center;gap:24px;flex:none;margin-left:auto}
.nav-links + .nav-cta{margin-left:0}
.nav .btn{padding:12px 20px}
/* keep the checkbox focusable at mobile widths so keyboard/AT users can open the drawer */
.nav-toggle{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;
  clip-path:inset(50%);overflow:hidden;white-space:nowrap;appearance:none;
}
.nav-toggle:focus-visible ~ .nav-burger{outline:2px solid var(--ink);outline-offset:2px}
@media (min-width:961px){.nav-toggle{display:none}}
.nav-burger{display:none}

@media (max-width:960px){
  .nav-links,.nav-cta .dashed-link{display:none}
  .nav-row{gap:14px}
  .brand-name{font-size:18px}
  .nav .btn{padding:11px 14px;font-size:14px}
  .nav-burger{
    display:flex;flex-direction:column;justify-content:center;gap:5px;
    width:40px;height:40px;padding:8px;border:1px solid var(--hair);border-radius:2px;
    cursor:pointer;
  }
  .nav-burger span{display:block;height:1.5px;background:#000;transition:transform .15s ease-out,opacity .15s ease-out}
  .nav-toggle:checked ~ .nav-burger span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
  .nav-toggle:checked ~ .nav-burger span:nth-child(2){opacity:0}
  .nav-toggle:checked ~ .nav-burger span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
  /* escape the 68-80px flex row: pin the drawer full-width below the sticky bar */
  .nav-drawer{
    display:none;
    position:absolute;top:100%;left:0;right:0;
    background:var(--white);
    border-top:1px solid var(--hair);
    border-bottom:1px solid var(--hair);
    max-height:calc(100vh - 80px);overflow-y:auto;
    box-shadow:0 20px 32px rgba(0,0,0,.07);
  }
  .nav-toggle:checked ~ .nav-drawer{display:block}
  .nav-drawer a{
    display:block;padding:16px 52px;font-size:16px;color:var(--ink);
    border-bottom:1px solid var(--hair);
  }
  .nav-drawer a:last-child{border-bottom:0}
}
@media (min-width:961px){.nav-drawer{display:none}}
@media (max-width:412px){
  .nav-cta{display:none}
  .brand-name{font-size:17px}
}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden}
.hero-inner{
  position:relative;z-index:2;
  padding-top:96px;
  display:flex;flex-direction:column;align-items:center;text-align:center;
}
.hero-inner .eyebrow{margin-bottom:28px}
.hero-inner .h1{max-width:900px}
.hero-inner .lede{max-width:660px;margin-top:24px}
.hero-inner .lede strong{color:var(--ink);font-weight:500}
.hero-sub{font-size:clamp(17px,1.7vw,22px);color:var(--gray)}
.hero-actions{display:flex;gap:12px;margin-top:36px;flex-wrap:wrap;justify-content:center}

/* trusted-by band: contained strip, never edge to edge; the names run in a
   looping lane, left to right, matching the tech marquee further down */
.trustband{
  margin-top:44px;width:100%;max-width:880px;
  background:var(--white);
  border:1px solid var(--hair);border-radius:2px;
  padding:16px 0 18px;overflow:hidden;
  display:flex;flex-direction:column;align-items:center;
  gap:12px;
}
.trustband-label{
  font-family:var(--mono);font-size:11px;letter-spacing:.08em;
  text-transform:uppercase;color:var(--gray-3);line-height:1;
  flex:none;
}
.trustband-lane{
  width:100%;overflow:hidden;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 7%,#000 93%,transparent 100%);
  mask-image:linear-gradient(to right,transparent 0,#000 7%,#000 93%,transparent 100%);
}
.trustband-track{
  display:flex;width:max-content;
  animation:trustband-run 30s linear infinite;
}
.trustband:hover .trustband-track{animation-play-state:paused}
.trustband-seq{display:flex;align-items:center;flex:none}
/* every item carries its own trailing separator, so the rhythm holds across
   the seam between sequences too */
.trustband-seq li{
  display:flex;align-items:center;gap:24px;padding-right:24px;
  font-size:15px;font-weight:500;letter-spacing:-.01em;
  color:var(--ink);white-space:nowrap;
}
.trustband-seq li::after{
  content:"";width:4px;height:4px;flex:none;
  background:rgba(0,0,0,.25);
}
/* negative start → positive end: content travels left to right. one third of
   the track is exactly one sequence, so the reset is invisible */
@keyframes trustband-run{
  from{transform:translateX(calc(-100% / 3))}
  to{transform:translateX(0)}
}
@media (max-width:600px){
  .trustband{margin-top:36px}
  .trustband-seq li{font-size:14px;gap:18px;padding-right:18px}
}

/* painted canvas + signal chips */
.hero-canvas{
  position:relative;
  height:560px;
  margin-top:16px;
}
/* painted valley photograph: the sky dissolves into the dotted paper at the
   top and back out to paper at the foot, so the plate never shows a cut edge */
.hero-land{
  position:absolute;inset:0;width:100%;height:100%;
  background-image:url("assets/hero-valley.jpg");
  background-size:cover;
  background-position:50% 58%;
  background-repeat:no-repeat;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 20%,#000 84%,transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0,#000 20%,#000 84%,transparent 100%);
}
/* film grain, matching .cta-paint, so the plate keeps a painterly finish */
.hero-land::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:var(--noise);
  opacity:.07;mix-blend-mode:multiply;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 34%);
  mask-image:linear-gradient(to bottom,transparent 0,#000 34%);
}
.hero-wires{
  position:absolute;inset:0;width:100%;height:100%;
  overflow:visible;
}
.hero-wires line{
  stroke-width:1;fill:none;
  vector-effect:non-scaling-stroke;
}
.hero-wires .halo line{stroke:rgba(255,255,255,.66);stroke-width:3.5}
.hero-wires .ink line{stroke:rgba(28,34,28,.5)}
html.reveal-armed .hero-wires line{
  stroke-dasharray:1200;stroke-dashoffset:1200;
  transition:stroke-dashoffset .9s var(--ease-spring);
}
html.reveal-armed .hero-wires.in line{stroke-dashoffset:0}
html.reveal-armed .hero-wires g line:nth-child(2){transition-delay:.08s}
html.reveal-armed .hero-wires g line:nth-child(3){transition-delay:.16s}
html.reveal-armed .hero-wires g line:nth-child(4){transition-delay:.24s}
html.reveal-armed .hero-wires g line:nth-child(5){transition-delay:.32s}
html.reveal-armed .hero-wires g line:nth-child(6){transition-delay:.4s}
.chip{
  position:absolute;transform:translate(-50%,-50%);
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 14px;border-radius:2px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(0,0,0,.14);
  box-shadow:0 6px 16px rgba(45,45,35,.16);
  font-family:var(--mono);font-size:12px;letter-spacing:.05em;
  text-transform:uppercase;color:var(--ink);white-space:nowrap;
}
.chip::before{content:"";width:5px;height:5px;background:var(--ink);flex:none}
/* the one marked FAVORITE on the design page */
.chip--fav{background:var(--cream);border-color:rgba(150,89,31,.4);color:var(--amber)}
.chip--fav::before{background:var(--amber)}
.monotile{
  position:absolute;left:50%;bottom:48px;transform:translateX(-50%);
  width:104px;height:104px;border-radius:24px;
  background:var(--ink);
  /* app-icon tile, same shape and colour as the favicon; the soft white ring
     lifts it off the painted hills and covers the rays passing beneath it */
  box-shadow:0 0 0 7px rgba(255,255,255,.45),0 12px 30px rgba(45,45,35,.28);
  display:grid;place-items:center;color:#fff;
}
.monotile svg{width:62px;height:23px}

@media (max-width:820px){
  .hero-canvas{height:420px;margin-top:0}
  .hero-wires{display:none}
  .chip{position:static;transform:none;box-shadow:0 4px 12px rgba(45,45,35,.14)}
  .hero-chips{
    position:absolute;left:0;right:0;top:36px;z-index:3;
    display:flex;flex-wrap:wrap;gap:10px;justify-content:center;
    padding:0 20px;
  }
  .monotile{bottom:40px}
}
@media (min-width:821px){
  .hero-chips{position:absolute;inset:0}
}

/* ---------- proof bar ---------- */
.stat-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  background:var(--white);
  border:1px solid var(--hair);
}
.stat{
  padding:36px 32px 32px;
  border-right:1px solid var(--hair);
  border-bottom:1px solid var(--hair);
  position:relative;
  min-height:190px;
  display:flex;flex-direction:column;
}
.stat:nth-child(3n){border-right:0}
.stat:nth-child(n+4){border-bottom:0}
.stat-idx{
  position:absolute;top:16px;right:18px;
  font-family:var(--mono);font-size:11px;color:var(--gray-3);
}
.stat-num{
  font-size:clamp(30px,2.8vw,42px);
  font-weight:500;letter-spacing:-.02em;line-height:1.05;
  color:var(--ink);
}
.stat-label{
  margin-top:6px;font-size:15px;font-weight:500;color:var(--ink);
}
.stat-ctx{
  margin-top:auto;padding-top:16px;
  font-size:14px;line-height:1.45;color:var(--gray);
}
@media (max-width:960px){
  .stat-grid{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(3n){border-right:1px solid var(--hair)}
  .stat:nth-child(2n){border-right:0}
  .stat:nth-child(n+4){border-bottom:1px solid var(--hair)}
  .stat:nth-child(n+5){border-bottom:0}
}
@media (max-width:560px){
  .stat-grid{grid-template-columns:1fr}
  .stat{border-right:0 !important;border-bottom:1px solid var(--hair) !important;min-height:0}
  .stat:last-child{border-bottom:0 !important}
  .stat-ctx{margin-top:12px;padding-top:0}
}

/* ---------- marquee ---------- */
.marquee{
  border-top:1px solid var(--hair);
  border-bottom:1px solid var(--hair);
  background:var(--white);
  overflow:hidden;
  padding:18px 0;
}
.marquee-track{
  display:flex;gap:0;width:max-content;
  animation:marquee 46s linear infinite;
}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-seq{
  display:flex;align-items:center;flex:none;
  font-family:var(--mono);font-size:12px;letter-spacing:.08em;
  text-transform:uppercase;color:var(--gray);
}
.marquee-seq span{padding:0 18px;white-space:nowrap}
.marquee-seq i{font-style:normal;color:var(--ink)}
/* negative start → positive end: content travels left to right */
@keyframes marquee{from{transform:translateX(-50%)}to{transform:translateX(0)}}

/* ---------- work cards ---------- */
/* the work section runs narrower than the rest of the page: the cards read
   better at ~550px than at the 658px a full-width shell gives them */
#selected-work .shell{max-width:1224px}
.work-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:20px 20px;
}
.work-head{
  grid-column:1/-1;
  display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;
  padding-bottom:12px;border-bottom:1px solid var(--hair);
  margin-top:36px;
}
.work-head:first-child{margin-top:0}
.work-head h3{font-size:22px;font-weight:500;letter-spacing:-.01em;color:var(--ink)}
.work-head .mono{color:var(--gray-3)}
/* a card that is not a link (no case page yet) must not pretend to be one */
.card--static{cursor:default}
.card--static:hover{transform:none;border-color:var(--hair)}
.card{
  text-decoration:none;color:inherit;
  transition:border-color .2s var(--ease-spring), transform .2s var(--ease-spring);
  display:flex;flex-direction:column;
  background:var(--white);
  border:1px solid var(--hair);
  border-radius:8px;
  overflow:hidden;
  transition:transform .15s ease-out,border-color .15s ease-out;
}
.card:hover{transform:translateY(-3px);border-color:rgba(0,0,0,.28)}
.card-cover{
  position:relative;height:104px;flex:none;
  display:flex;align-items:flex-start;justify-content:space-between;
  padding:16px 18px;
  border-bottom:1px solid var(--hair);
}
.card-cover .mono{color:rgba(0,0,0,.72)}

/* The status badge replaces the old category label. What a client needs from
   a cover is not what kind of thing this is, the heading says that, but
   whether it is actually in somebody's hands. */
.card-live{
  display:inline-flex;align-items:center;gap:7px;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.05em;
  text-transform:uppercase;line-height:1;
  color:rgba(0,0,0,.78);
  background:rgba(255,255,255,.74);
  border:1px solid rgba(0,0,0,.09);
  padding:7px 11px;border-radius:2px;
}
.card-live::before{
  content:"";width:6px;height:6px;flex:none;
  background:#1c7a4a;
}
.card-live--wip::before{background:#b8860b}

.cover-num{
  position:absolute;right:14px;bottom:0;
  font-family:var(--mono);font-size:58px;font-weight:500;
  line-height:.92;letter-spacing:-.05em;color:rgba(0,0,0,.14);
  user-select:none;
}
.card-body{padding:24px 24px 28px;display:flex;flex-direction:column;flex:1}
.card:hover{border-color:var(--hair-strong);transform:translateY(-2px)}
.card:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.card-more{
  margin-top:18px;padding-top:14px;border-top:1px solid var(--hair);
  font-size:14px;font-weight:500;color:var(--link);
}
.card:hover .card-more .arr{transform:translateX(3px)}
.card-more .arr{display:inline-block;transition:transform .2s var(--ease-spring)}

.card-kicker{font-size:15px;font-weight:500;color:var(--ink);margin-top:8px}
.card-body .h3{letter-spacing:-.01em}
.card-text{margin-top:12px;font-size:15px;line-height:1.5;color:var(--gray)}
/* Stat tiles deliberately removed. A number belongs inside the sentence that
   earns it; a tile is a claim with no sentence around it, and a wall of them
   reads as decoration. See AUDIENCE-MAP.md section 7. */
.card-list{margin-top:14px;display:flex;flex-direction:column;gap:8px}
.card-list li{
  position:relative;padding-left:16px;
  font-size:13.5px;line-height:1.45;color:var(--gray);
}
.card-list li::before{
  content:"";position:absolute;left:0;top:7px;
  width:5px;height:5px;background:var(--ink);
}
.card-list b{color:var(--ink);font-weight:500}
.card .tags{margin-top:auto;padding-top:20px}
.card-src{
  margin-top:14px;padding-top:12px;border-top:1px solid var(--hair);
  font-family:var(--mono);font-size:11px;letter-spacing:.05em;
  text-transform:uppercase;color:var(--gray-3);
}
.card-src .dashed-link{
  font-family:var(--mono);font-size:11px;letter-spacing:.03em;
  text-transform:none;
}
#personal .shell,#building .shell,#education .shell{max-width:1224px}
@media (max-width:1080px){.work-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:680px){.work-grid{grid-template-columns:1fr}}

/* ---------- watercolor washes ---------- */
.wash{position:relative}
.wash::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:var(--noise);
  opacity:.14;mix-blend-mode:multiply;
}
.wash--coral{background:
  radial-gradient(120% 90% at 12% 8%,#e8896a 0%,rgba(232,137,106,0) 55%),
  radial-gradient(110% 100% at 85% 20%,#f6d9a0 0%,rgba(246,217,160,0) 60%),
  linear-gradient(120deg,#f2b279 0%,#f6d9a0 100%)}
.wash--sky{background:
  radial-gradient(110% 90% at 15% 10%,#bcd7e8 0%,rgba(188,215,232,0) 60%),
  radial-gradient(120% 100% at 90% 90%,#e8f0d8 0%,rgba(232,240,216,0) 62%),
  linear-gradient(120deg,#cfe8e2 0%,#e8f0d8 100%)}
.wash--field{background:
  radial-gradient(120% 90% at 10% 90%,#a8c48a 0%,rgba(168,196,138,0) 60%),
  radial-gradient(110% 90% at 88% 10%,#f2d98a 0%,rgba(242,217,138,0) 58%),
  linear-gradient(150deg,#f2d98a 0%,#c2c98e 100%)}
.wash--holo{background:
  radial-gradient(90% 80% at 12% 15%,#f6c9d8 0%,rgba(246,201,216,0) 55%),
  radial-gradient(90% 80% at 85% 20%,#f7edb8 0%,rgba(247,237,184,0) 55%),
  radial-gradient(110% 90% at 80% 90%,#c9d4f2 0%,rgba(201,212,242,0) 60%),
  linear-gradient(140deg,#c5ead9 0%,#c9d4f2 100%)}
.wash--pine{background:
  radial-gradient(120% 90% at 15% 12%,#8ba05e 0%,rgba(139,160,94,0) 60%),
  radial-gradient(120% 100% at 85% 85%,#3f5d5e 0%,rgba(63,93,94,0) 65%),
  linear-gradient(135deg,#c2c98e 0%,#5c7a52 100%)}
.wash--rose{background:
  radial-gradient(110% 90% at 18% 15%,#fccece 0%,rgba(252,206,206,0) 60%),
  radial-gradient(120% 90% at 85% 80%,#f6d9a0 0%,rgba(246,217,160,0) 60%),
  linear-gradient(130deg,#f6c9d8 0%,#f2b279 100%)}

/* ---------- currently building ----------
   Prose rather than cards, and unbranded on purpose. The disclosure risk on
   in-progress client work only exists when a name, a status and a date appear
   together; strip all three and what is left is the shape of the problem. */
#building{padding-top:76px;padding-bottom:92px}
.inflight{
  background:var(--white);
  border:1px solid var(--hair);
  border-left:3px solid var(--ink);
  border-radius:2px;
  padding:34px 40px 36px;
}
.inflight-head{
  display:flex;align-items:center;gap:18px;flex-wrap:wrap;
  margin-bottom:24px;
}
.inflight-head .mono{font-size:11px;color:var(--gray-3);letter-spacing:.06em}
.inflight-list{display:flex;flex-direction:column;gap:18px}
.inflight-list li{
  position:relative;padding-left:24px;
  font-size:16px;line-height:1.5;color:var(--gray);
  max-width:78ch;
}
.inflight-list li::before{
  content:"";position:absolute;left:0;top:10px;
  width:10px;height:1.5px;background:var(--ink);
}
@media (max-width:680px){
  .inflight{padding:26px 22px 28px}
  .inflight-list li{font-size:15px}
}

/* ---------- education panel (hiring view) ---------- */
.edu{
  display:grid;grid-template-columns:1.1fr .9fr;gap:52px;align-items:start;
  background:var(--white);
  border:1px solid var(--hair);border-radius:2px;
  padding:46px 48px 50px;
}
.edu-main .eyebrow{margin-bottom:24px}
.edu-main .lede{margin-top:18px;max-width:52ch}
.edu-main .btn{margin-top:28px}
.edu-list{display:flex;flex-direction:column;gap:16px;padding-top:6px}
.edu-list li{
  position:relative;padding-left:18px;
  font-size:15px;line-height:1.5;color:var(--gray);
}
.edu-list li::before{
  content:"";position:absolute;left:0;top:8px;
  width:5px;height:5px;background:var(--ink);
}
.edu-list b{color:var(--ink);font-weight:500}
@media (max-width:900px){
  .edu{grid-template-columns:1fr;gap:34px;padding:32px 26px 36px}
}

/* ---------- process (how I work) ---------- */
.statusbar{
  display:flex;justify-content:center;margin-bottom:56px;
}
.statusbar-box{
  display:block;
  border:1px solid rgba(0,0,0,.25);
  background:var(--white);
  padding:14px 20px;border-radius:2px;
  font-family:var(--mono);font-size:14px;letter-spacing:.05em;
  text-transform:uppercase;color:var(--ink);
  min-height:48px;line-height:20px;
  /* fixed width so the box never resizes or re-centers while typing */
  width:min(100%,480px);text-align:left;
}
.statusbar-box .cursor{
  display:inline-block;width:9px;height:15px;background:var(--ink);
  margin-left:7px;vertical-align:-2px;
}
html.anim .statusbar-box .cursor{animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}

.principle-grid{
  display:grid;grid-template-columns:1fr 1fr;
  background:var(--white);
  border:1px solid var(--hair);
}
.principle{
  padding:44px 44px 48px;
  border-right:1px solid var(--hair);
  border-bottom:1px solid var(--hair);
}
.principle:nth-child(2n){border-right:0}
.principle:nth-child(n+5){border-bottom:0}
.principle:last-child:nth-child(odd){grid-column:1/-1;border-right:0}
.principle--wide{
  grid-column:1/-1;border-right:0 !important;
  display:grid;grid-template-columns:minmax(300px,420px) 1fr;
  gap:52px;align-items:center;
}
.principle--wide p{max-width:520px}
.principle-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.principle-thumbs figure{
  border:1px solid var(--hair);border-radius:4px;overflow:hidden;
  background:var(--white);
  transition:border-color .15s ease-out;
}
.principle-thumbs figure:hover{border-color:rgba(0,0,0,.3)}
/* crop the mockups' browser chrome (client wordmark) out of frame */
.principle-thumbs img{
  width:100%;height:auto;display:block;border-bottom:1px solid var(--hair);
  aspect-ratio:760/492;object-fit:cover;object-position:50% 100%;
}
.principle-thumbs figcaption{padding:10px 12px;color:var(--gray-3)}
.principle .mono{color:var(--amber);margin-bottom:18px;display:block}
.principle h3{font-size:22px;letter-spacing:-.01em;line-height:1.2}
.principle p{margin-top:14px;font-size:15px;line-height:1.55;color:var(--gray)}
.principle p b{color:var(--ink);font-weight:500}
@media (max-width:1080px){
  .principle--wide{grid-template-columns:1fr;gap:28px;align-items:start}
}
@media (max-width:800px){
  .principle-grid{grid-template-columns:1fr}
  .principle{border-right:0 !important;border-bottom:1px solid var(--hair) !important;padding:32px 28px}
  .principle:last-child{border-bottom:0 !important}
}
@media (max-width:560px){
  /* stack the thumbs, three 90px tiles are unreadable at 360 */
  .principle-thumbs{grid-template-columns:1fr;gap:12px}
  .principle-thumbs figcaption{padding:10px 12px;font-size:11px}
  /* reserve two lines so the grid below never pumps while phrases wrap */
  .statusbar-box{min-height:66px;line-height:19px}
}

/* ---------- wayfarers (dark) ---------- */
.way-lede{
  margin-top:18px;
  font-family:var(--mono);font-size:13px;letter-spacing:.06em;
  text-transform:uppercase;color:var(--d-text);
}
.quote-panel{
  position:relative;overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  border-radius:8px;
  padding:72px 64px 56px;
  background:
    radial-gradient(120% 100% at 85% 0%,rgba(63,93,94,.9) 0%,rgba(63,93,94,0) 60%),
    radial-gradient(100% 90% at 10% 100%,rgba(92,122,82,.55) 0%,rgba(92,122,82,0) 60%),
    linear-gradient(135deg,#16232e 0%,#1e3438 55%,#2b4a44 100%);
}
.quote-panel::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:var(--noise);opacity:.07;
}
.quote-glyph{
  font-size:120px;line-height:.6;font-weight:500;color:#fff;
  opacity:.9;margin-bottom:8px;font-family:Georgia,serif;
}
.quote-text{
  font-size:clamp(24px,3vw,40px);
  font-weight:500;line-height:1.24;letter-spacing:-.015em;
  color:#fff;max-width:900px;
}
.quote-text em{font-style:normal}
.quote-text .w{transition:color .4s ease-out}
html.anim .quote-text .w{color:rgba(255,255,255,.35)}
html.anim .quote-text.lit .w,
html.anim .quote-text .w.w-in{color:#fff}
.quote-text .tint,
html.anim .quote-text .w.tint.w-in{color:var(--ice)}
html.anim .quote-text .w.tint{color:rgba(189,233,255,.4)}
html.anim .quote-text.lit .w.tint{color:var(--ice)}
.quote-attrib{
  margin-top:40px;
  font-family:var(--mono);font-size:12px;letter-spacing:.05em;
  text-transform:uppercase;color:rgba(255,255,255,.6);
}

.way-cols{
  display:grid;grid-template-columns:1.25fr 1fr;gap:64px;
  margin-top:88px;
}
.way-story p{font-size:17px;line-height:1.6;color:var(--d-text)}
.way-story p + p{margin-top:20px}
.way-story b{color:#fff;font-weight:500}
.way-spine{
  margin-top:28px;padding:20px 24px;
  border:1px solid var(--d-hair);border-radius:2px;
  background:rgba(255,255,255,.03);
  font-size:16px;line-height:1.5;color:#fff;
}
.way-spine .mono{color:#f7edb8;display:block;margin-bottom:10px}
/* the 67-color palette sheet: shipped artifact, shown pixel-perfect */
.way-palette{
  margin-top:24px;
  border:1px solid var(--d-hair);border-radius:2px;
  background:rgba(255,255,255,.03);overflow:hidden;
}
.way-palette figcaption{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  padding:14px 18px;
  font-size:13.5px;color:var(--d-text);
}
.way-palette .mono{color:#f7edb8}
.way-palette img{
  width:100%;height:auto;display:block;
  image-rendering:pixelated;
  border-top:1px solid var(--d-hair);
}
.way-facts{display:flex;flex-direction:column;gap:0;border:1px solid var(--d-hair)}
.way-fact{
  padding:24px 26px;border-bottom:1px solid var(--d-hair);
  /* rows share the column height evenly: ruled panel, no hollow bottom */
  flex:1;display:flex;flex-direction:column;justify-content:center;
}
.way-fact:last-child{border-bottom:0}
.way-fact .mono{color:var(--d-label);display:block;margin-bottom:12px}
.way-fact p{font-size:15px;line-height:1.55;color:var(--d-text)}
.way-fact p b{color:#fff;font-weight:500}
.pillars{display:flex;gap:10px;flex-wrap:wrap}
.pillar{
  flex:1;min-width:96px;
  border-radius:4px;padding:18px 14px 14px;
  border:1px solid rgba(0,0,0,.2);
  color:#202020;
  font-weight:500;font-size:15px;
}
.pillar .mono--xs{display:block;margin-top:20px;color:rgba(0,0,0,.62)}

/* slice-moment strip: real WIP game art, framed as devlog */
.way-slice{margin-top:88px}
.way-slice-head{margin-bottom:28px}
.slice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.slice{
  display:flex;flex-direction:column;
  border:1px solid rgba(255,255,255,.16);border-radius:8px;
  overflow:hidden;background:rgba(255,255,255,.03);
  transition:transform .15s ease-out,border-color .15s ease-out;
}
.slice:hover{transform:translateY(-3px);border-color:rgba(255,255,255,.32)}
.slice img{width:100%;height:auto;display:block}
.slice figcaption{
  padding:16px 18px 18px;
  font-size:13.5px;line-height:1.5;color:var(--d-text);
  border-top:1px solid var(--d-hair);flex:1;
}
.slice figcaption b{color:#fff;font-weight:500}
.slice-note{
  margin-top:18px;
  font-family:var(--mono);font-size:12px;letter-spacing:.04em;
  line-height:1.6;color:var(--d-label);
}
.slice-note::before{
  content:"";display:inline-block;width:5px;height:5px;
  background:#f7edb8;margin-right:10px;vertical-align:2px;
}
.slice-log{
  margin-top:20px;padding:18px 22px;
  border:1px solid var(--d-hair);border-radius:2px;
  background:rgba(255,255,255,.03);
  font-size:14.5px;line-height:1.55;color:var(--d-text);
}
.slice-log .mono{color:#f7edb8;display:block;margin-bottom:10px}

.way-rules{margin-top:88px}
.way-rules-head{margin-bottom:36px}
.rule-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  border:1px solid var(--d-hair);
}
.rule{
  padding:36px 32px 40px;
  border-right:1px solid var(--d-hair);
  background:rgba(255,255,255,.02);
}
.rule:last-child{border-right:0}
.rule .mono{color:var(--d-label);display:block;margin-bottom:18px}
.rule h4{font-size:19px;font-weight:500;line-height:1.3;letter-spacing:-.01em;color:#fff}
.rule p{margin-top:12px;font-size:14.5px;line-height:1.55;color:var(--d-text)}

.way-status{
  margin-top:64px;
  display:grid;grid-template-columns:1.4fr 1fr;gap:0;
  border:1px solid var(--d-hair);
}
.way-status-main{padding:32px 36px;border-right:1px solid var(--d-hair)}
.way-status-main .mono{color:#f7edb8;display:block;margin-bottom:14px}
.way-status-main p{font-size:15px;line-height:1.6;color:var(--d-text)}
.way-status-main p b{color:#fff;font-weight:500}
.way-status-side{padding:32px 36px;display:flex;flex-direction:column}
.way-status-side .mono{color:var(--d-label);display:block;margin-bottom:16px}
.way-status-side .tags{margin-top:2px}

@media (max-width:960px){
  .way-cols{grid-template-columns:1fr;gap:40px;margin-top:64px}
  .rule-grid{grid-template-columns:1fr}
  .rule{border-right:0;border-bottom:1px solid var(--d-hair)}
  .rule:last-child{border-bottom:0}
  .way-status{grid-template-columns:1fr;margin-top:44px}
  .way-status-main{border-right:0;border-bottom:1px solid var(--d-hair)}
  .way-rules{margin-top:64px}
  .quote-panel{padding:48px 32px 40px}
  .quote-glyph{font-size:84px}
  .slice-grid{grid-template-columns:1fr;gap:16px}
  .way-slice{margin-top:64px}
}

/* ---------- about + contact ---------- */
.about-grid{
  display:grid;grid-template-columns:1.3fr 1fr;gap:64px;align-items:start;
}
.about-grid .body{font-size:17px;line-height:1.65}
.about-grid .body b{color:var(--ink);font-weight:500}
.contact-table{border:1px solid var(--hair);background:var(--white)}
.contact-row{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:20px 24px;border-bottom:1px solid var(--hair);
}
.contact-row:last-child{border-bottom:0}
.contact-row .mono{color:var(--gray-3)}
.contact-row a,.contact-row span:last-child{
  font-size:15px;color:var(--ink);font-weight:500;
}
.contact-row a{transition:opacity .15s ease-out}
.contact-row a:hover{opacity:.6}
@media (max-width:880px){.about-grid{grid-template-columns:1fr;gap:36px}}

/* ---------- painted CTA ---------- */
.cta-paint{
  position:relative;overflow:hidden;
  min-height:520px;
  display:flex;align-items:center;justify-content:center;
  text-align:center;
}
.cta-sky{position:absolute;inset:0}
.cta-sky svg{width:100%;height:100%}
/* soft radial darkening behind the headline only, no full-bleed scrim */
.cta-paint::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(48% 56% at 50% 46%,rgba(46,24,10,.34) 0%,rgba(46,24,10,.14) 48%,rgba(46,24,10,0) 74%);
}
/* film grain over the painting, same recipe as the washes */
.cta-paint::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background-image:var(--noise);
  opacity:.1;mix-blend-mode:multiply;
}
.cta-content{position:relative;z-index:2;padding:96px 24px}
.cta-content h2{
  color:#fff;font-size:clamp(32px,4vw,52px);
  letter-spacing:-.02em;line-height:1.12;
  text-shadow:0 2px 24px rgba(0,0,0,.25);
}
.cta-content .btn{margin-top:36px}

/* ---------- footer ---------- */
.footer{
  position:relative;background:#0e0e0e;color:#fff;overflow:hidden;
}
.footer::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:var(--noise);opacity:.05;
}
.footer-top{
  position:relative;
  display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:48px;
  padding-top:88px;padding-bottom:64px;
}
.footer-id .brand-mark{color:#fff}
.footer-id .brand-name{color:#fff}
.footer-tag{margin-top:20px;max-width:360px;font-size:15px;line-height:1.55;color:var(--d-text)}
.footer-col h2{
  font-size:13px;font-weight:500;color:#fff;margin-bottom:20px;
  letter-spacing:.02em;
}
.footer-col ul{display:flex;flex-direction:column;gap:12px}
.footer-col a{
  font-size:14px;color:rgba(255,255,255,.6);
  transition:color .15s ease-out;
}
.footer-col a:hover{color:#fff}
.footer-legal{
  position:relative;
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding-top:24px;padding-bottom:12px;
  border-top:1px solid var(--d-hair);
  font-family:var(--mono);font-size:12px;letter-spacing:.05em;
  text-transform:uppercase;color:rgba(255,255,255,.55);
}
.footer-wordmark{
  position:relative;
  font-size:clamp(40px,12.4vw,182px);
  font-weight:500;letter-spacing:-.02em;line-height:.78;
  white-space:nowrap;text-align:center;
  color:transparent;
  -webkit-text-stroke:1px rgba(255,255,255,.16);
  user-select:none;pointer-events:none;
  margin-bottom:-.14em;
}
@supports not (-webkit-text-stroke:1px #fff){
  .footer-wordmark{color:rgba(255,255,255,.08)}
}
@media (max-width:880px){
  .footer-top{grid-template-columns:1fr;gap:40px;padding-top:64px}
}

/* ---------- scroll reveals ----------
   .reveal-armed is added by app.js ONLY after an IntersectionObserver is
   attached: if JS fails or IO is missing, nothing is ever hidden. */
html.reveal-armed [data-reveal]{
  opacity:0;transform:translateY(22px);
  transition:opacity .6s var(--ease-spring),transform .6s var(--ease-spring);
}
html.reveal-armed [data-reveal].in{opacity:1;transform:none}

/* hero entrance: pure CSS, runs on paint, JS not required */
@media (prefers-reduced-motion:no-preference){
  .hero-inner > *{animation:rise .7s var(--ease-spring) both}
  .hero-inner > *:nth-child(2){animation-delay:.06s}
  .hero-inner > *:nth-child(3){animation-delay:.12s}
  .hero-inner > *:nth-child(4){animation-delay:.18s}
  .hero-inner > *:nth-child(5){animation-delay:.24s}
  .chip{animation:pop .55s var(--ease-spring) both;animation-delay:calc(.35s + var(--d,0s))}
  .monotile{animation:pop .55s var(--ease-spring) both;animation-delay:.3s}
}
/* The canvas fan is gated on scroll, not on paint. The chips and the tile
   carry CSS animations, which otherwise finish within a second of load while
   the canvas is still below the fold, so the sequence is over before it is
   reached. Under html.reveal-armed they hold their first frame paused; app.js
   adds .in once the tile at the foot of the canvas is in frame, which releases
   them. Unarmed (no JS, no IntersectionObserver) they simply run on load. */
html.reveal-armed .hero-canvas .chip,
html.reveal-armed .hero-canvas .monotile{animation-play-state:paused}
html.reveal-armed .hero-canvas.in .chip,
html.reveal-armed .hero-canvas.in .monotile{animation-play-state:running}

@keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes pop{from{opacity:0;transform:translate(-50%,-50%) scale(.94)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@media (prefers-reduced-motion:no-preference) and (max-width:820px){
  @keyframes pop{from{opacity:0}to{opacity:1}}
  .chip{animation-name:pop;transform:none}
}
@media (prefers-reduced-motion:no-preference){
  .monotile{animation-name:pop-tile}
  @keyframes pop-tile{from{opacity:0;transform:translateX(-50%) scale(.94)}to{opacity:1;transform:translateX(-50%) scale(1)}}
}

@media (prefers-reduced-motion:reduce){
  .marquee-track{animation:none}
  /* still fallback: one centred sequence that wraps, and it must be allowed to
     shrink below max-content, or the names overflow the card and get clipped */
  .trustband{padding-left:24px;padding-right:24px}
  .trustband-track{animation:none;width:100%;justify-content:center}
  .trustband-lane{-webkit-mask-image:none;mask-image:none}
  .trustband-seq{
    flex:1 1 auto;min-width:0;
    flex-wrap:wrap;justify-content:center;row-gap:8px;
  }
  .trustband-seq[aria-hidden]{display:none}
  .trustband-seq li:last-child{padding-right:0}
  .trustband-seq li:last-child::after{display:none}
  html.reveal-armed [data-reveal]{opacity:1;transform:none;transition:none}
}

/* ---------- responsive shell ---------- */
@media (max-width:1100px){
  .shell{padding-left:36px;padding-right:36px}
  .nav-drawer a{padding:16px 36px}
}
@media (max-width:680px){
  .shell{padding-left:20px;padding-right:20px}
  .section{padding:64px 0 72px}
  .section + .section{padding-top:48px}
  .marquee + .section{padding-top:56px}
  .section.dark{padding-top:72px;padding-bottom:72px}
  .dark + .section{padding-top:64px}
  .section--tight{padding:64px 0}
  .section-head{margin-bottom:40px}
  .nav-row{height:68px}
  .nav-drawer a{padding:14px 20px}
  .hero-inner{padding-top:64px}
  .principle-grid,.stat-grid{border-left:1px solid var(--hair);border-right:1px solid var(--hair)}
  .statusbar-box{font-size:12px;padding:12px 14px}
  .quote-glyph{font-size:64px}
  .footer-wordmark{white-space:nowrap}
}
