:root{
  --cream:#F6F1E9; --stone:#EFE7DB; --ink:#26231F; --muted:#6B645B; --line:#DDD3C4;
  --serif:"Newsreader", Georgia, serif;
  --sans:"Albert Sans", system-ui, sans-serif;
  --ease:cubic-bezier(.33,0,.2,1);
  --dur:550ms;
  --gutter:clamp(22px,5vw,72px);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--cream);color:var(--ink);font:400 17px/1.6 var(--sans);-webkit-font-smoothing:antialiased;overflow-x:clip}
#dots{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.top,main{position:relative;z-index:1}
ul{list-style:none}
a{color:inherit}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.wrap{width:min(1240px,100% - 2 * var(--gutter));margin-inline:auto}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;left:12px;top:-80px;z-index:10;background:var(--ink);color:var(--cream);padding:10px 16px;border-radius:8px}
.skip:focus{top:12px}
.top{padding-top:26px;height:76px}
.mark{font-weight:600;font-size:17px;letter-spacing:-.005em}

/* ============ HERO ============ */
.hero{
  min-height:calc(100svh - 76px);
  display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);grid-template-rows:1fr auto;
  column-gap:clamp(36px,6vw,104px);
}
.hero-copy{align-self:center;padding:32px 0 48px}
h1{font-family:var(--serif);font-weight:500;font-optical-sizing:auto;font-size:clamp(42px,4.6vw,70px);line-height:1.06;letter-spacing:-.022em;max-width:12.5em}
h1 span{display:block;text-wrap:balance}
.sub{margin-top:28px;max-width:32em;color:var(--muted);font-size:17px;line-height:1.65}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 30px;margin-top:38px}
.btn{display:inline-flex;align-items:center;min-height:52px;padding:0 28px;border-radius:999px;background:var(--ink);color:var(--cream);font-weight:600;font-size:16px;text-decoration:none;transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}
.btn:hover,.btn:focus-visible,.btn:active{transform:translateY(-2px);box-shadow:0 14px 26px -16px rgba(38,35,31,.7)}
.link,.smb a{font-weight:500;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;text-decoration-color:rgba(38,35,31,.35);transition:text-decoration-color var(--dur) var(--ease)}
.link{display:inline-flex;align-items:center;min-height:44px}
.link:hover,.link:focus-visible,.link:active,.smb a:hover,.smb a:focus-visible,.smb a:active{text-decoration-color:var(--ink)}
.smb{margin-top:30px;font-size:15px;color:var(--muted)}
.smb a{color:var(--ink);display:inline-block;padding-block:6px}
.proof{grid-column:1/-1;display:flex;flex-wrap:wrap;column-gap:14px;row-gap:4px;border-top:1px solid var(--line);padding:22px 0 28px;font-size:14px;font-weight:500;color:var(--muted)}
.proof li+li::before{content:"·";margin-right:14px}

/* ---------- Motion A: raw screen → considered screen ----------
   --p = whole card progress (0 raw, 1 finished). --t = one element's own progress. */
.hero-art{align-self:center;justify-self:end;width:100%;max-width:468px;padding:24px 0 40px;will-change:transform}
.demo{
  --p:1;
  --k:calc(var(--p) * 100%);
  position:relative;min-height:500px;
  background:color-mix(in srgb,#FFFCF7 var(--k),#D6D6D4);
  border:1px solid color-mix(in srgb,#E7DECF var(--k),#8B8B89);
  border-radius:calc(2px + 20px * var(--p));
  padding:calc(10px + 24px * var(--p)) calc(10px + 24px * var(--p));
  box-shadow:0 calc(34px * var(--p)) calc(64px * var(--p)) calc(-34px * var(--p)) rgba(72,56,32,.38);
  display:flex;flex-direction:column;
}
.demo [data-at]{--t:var(--p);--tk:calc(var(--t) * 100%);--old:clamp(0, 1 - var(--t) * 2, 1);--new:clamp(0, var(--t) * 2 - 1, 1)}
.swap{display:grid}
.swap>span{grid-area:1/1;min-width:0}
.swap>.a{opacity:var(--old,0);font-family:Arial,Helvetica,sans-serif}
.swap>.b{opacity:var(--new,1);transform:translateY(calc((1 - var(--new,1)) * 6px))}

.d-head{
  margin:calc(-10px * (1 - var(--t))) calc(-10px * (1 - var(--t))) calc(8px + 14px * var(--t));
  padding:calc(7px * (1 - var(--t))) calc(10px * (1 - var(--t))) 0;
}
.d-title{font-weight:600;font-size:calc(12px + 12px * var(--t));line-height:1.25;letter-spacing:calc(-.015em * var(--t));color:#262626;background:color-mix(in srgb,transparent var(--tk),#BBBBB9);margin-inline:calc(-10px * (1 - var(--t)));padding:calc(5px * (1 - var(--t))) calc(10px * (1 - var(--t)))}
/* raw wording keeps its own small size, so it never stretches the finished layout */
.d-title>.a{align-self:center;font-size:12px;letter-spacing:0}
.d-intro>.a{font-size:10.5px}
.calm .demo-before{min-height:0}
.d-intro{margin-top:calc(3px + 4px * var(--t));font-size:calc(10.5px + 3.5px * var(--t));line-height:1.45;color:color-mix(in srgb,#6B645B var(--tk),#454545)}

.d-field{margin-bottom:calc(4px + 14px * var(--t, 0));padding-left:calc(14px * (1 - var(--t, 0)) * var(--skew,0))}
.f2{--skew:1}
.f3{--skew:.4}
.d-label{font-size:calc(10px + 3px * var(--t, 0));font-weight:600;line-height:1.5;color:#2F2C28;margin-bottom:calc(1px + 5px * var(--t, 0))}
.d-input{
  display:flex;align-items:center;
  height:calc(23px + 21px * var(--t, 0));
  width:calc(100% - (1 - var(--t, 0)) * var(--short, 0%));
  padding:0 calc(5px + 9px * var(--t, 0));
  background:color-mix(in srgb,#FFFFFF var(--tk, 0%),#EDEDEB);
  border:1px solid color-mix(in srgb,#D9CFBF var(--tk, 0%),#7E7E7C);
  border-radius:calc(10px * var(--t, 0));
  font-size:14.5px;color:#26231F;
}
.f1 .d-input{--short:12%}
.f3 .d-input{--short:24%}
.f2 .d-input{border-color:color-mix(in srgb,#5E9E55 var(--tk),#4A4A4A)}
.d-help{margin-top:calc(2px + 5px * var(--t));font-size:calc(10px + 3px * var(--t));line-height:1.5;color:color-mix(in srgb,#2F6B2C var(--tk),#3A3A3A);font-weight:500}
.d-help>.a{font-weight:700}
.tick{display:inline-block;width:9px;height:5px;margin:0 7px 2px 2px;border:solid currentColor;border-width:0 0 2px 2px;transform:rotate(-45deg)}

/* fields nobody needs fold away */
.d-extra{display:grid;grid-template-rows:minmax(0,calc((1 - var(--t)) * 1fr));opacity:var(--old);height:calc(46px * (1 - var(--t)));overflow:hidden}
.d-extra .d-field{--t:0;--tk:0%;min-height:0}
.d-extra .raw{font-family:Arial,Helvetica,sans-serif}
.d-extra .d-input{font-size:11px}
.d-extra.tall{height:calc(142px * (1 - var(--t)))}
.d-extra .d-input.area{height:46px}

.d-actions{margin-top:calc(6px + 8px * var(--t));display:flex;gap:calc(4px + 8px * var(--t));align-items:center}
.d-btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:calc(24px + 22px * var(--t));
  padding:0 calc(10px + 10px * var(--t));
  border:1px solid #6F6F6D;border-radius:calc(2px + 22px * var(--t));
  font-size:calc(10.5px + 3.5px * var(--t));font-weight:600;white-space:nowrap;background:#C4C4C2;color:#1F1F1F;
}
.d-btn .swap{justify-items:center}
.d-btn.primary{background:color-mix(in srgb,#2F6B2C var(--tk),#C4C4C2);border-color:color-mix(in srgb,#2F6B2C var(--tk),#6F6F6D);color:color-mix(in srgb,#FFFFFF clamp(0%, (var(--t) - .45) * 1000%, 100%),#1F1F1F)}
.d-btn.second{background:color-mix(in srgb,transparent var(--tk),#C4C4C2);border-color:color-mix(in srgb,transparent var(--tk),#6F6F6D)}

/* ============ SELECTED WORK ============ */
.green {--card:#CDE9BC;--on:#1B2E17;--soft:#3C5234;--edge:rgba(27,46,23,.28);--ui:#2F6B2C;--uibg:#E7F4DF}
.navy  {--card:#1C2A4A;--on:#F6F1E9;--soft:#C3CADB;--edge:rgba(246,241,233,.34);--ui:#1C2A4A;--uibg:#E6EAF4}
.orange{--card:#F7C797;--on:#3A1F08;--soft:#5E3814;--edge:rgba(58,31,8,.28);--ui:#8F4308;--uibg:#FDEBDA}
.teal  {--card:#3D5F63;--on:#F8F4EC;--soft:#DCE6E4;--edge:rgba(248,244,236,.38);--ui:#2F5054;--uibg:#E2EDEC}

.work{--steps:4;height:calc(100svh + var(--steps) * 85svh);scroll-margin-top:0}
.pin{position:sticky;top:0;height:100svh;overflow:hidden;overflow:clip;/* clip: an anchor or focus jump can never scroll it sideways */display:flex;flex-direction:column;align-items:center;justify-content:center}
.work-h{font:600 15px/1.4 var(--sans);text-align:center}
.stage{
  --w:min(1060px, 84vw);--h:480px;--head:124px;
  position:relative;width:100%;height:calc(var(--h) + var(--head));
  perspective:1700px;perspective-origin:50% 60%;
  transform:scale(var(--fit,1));
  margin-block:calc((var(--h) + var(--head)) * (var(--fit,1) - 1) / 2);
}
.card{position:absolute;left:50%;top:var(--head);width:var(--w);height:var(--h);margin-left:calc(var(--w) / -2);transform-style:preserve-3d}
.face{
  position:relative;height:100%;border-radius:28px;background:var(--card);color:var(--on);
  display:grid;grid-template-columns:320px;align-items:center;padding:48px 44px;
  box-shadow:0 40px 60px -42px rgba(50,38,20,.55);
  transition:translate var(--dur) var(--ease),box-shadow var(--dur) var(--ease);
}
/* dims cards that are turned away, without making text translucent on the front card */
.face::after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--cream);opacity:var(--veil,0);pointer-events:none}
.card.open .face{translate:0 8px;box-shadow:0 50px 70px -42px rgba(50,38,20,.6)}
.hit{display:block;position:absolute;inset:0;z-index:2;width:100%;border:0;background:transparent;border-radius:28px;cursor:pointer;color:inherit}
.hit:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
/* pictures and text never swallow a click meant for the card link */
.info,.shots{pointer-events:none}
.plus{position:absolute;z-index:3;right:18px;top:18px;width:44px;height:44px;padding:0;border-radius:50%;border:1px solid var(--edge);background:transparent;cursor:pointer;transition:transform var(--dur) var(--ease),opacity var(--dur) var(--ease)}
.plus::before,.plus::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:1.5px;background:var(--on);translate:-50% -50%}
.plus::after{rotate:90deg}
.plus:focus-visible{outline:2px solid var(--on);outline-offset:3px}
.card.open .plus{transform:rotate(45deg)}
.card:not(.front) .plus{opacity:0;pointer-events:none}
.go{display:flex;align-self:flex-start;margin-top:22px;font-size:15px;font-weight:600}
.go svg{width:10px;height:10px;margin:3px 0 0 5px;fill:none;stroke:currentColor;stroke-width:1.8;transition:translate var(--dur) var(--ease)}
.card.front .hit:hover~.info .go,.card.front .hit:focus-visible~.info .go{text-decoration:underline;text-underline-offset:5px}
.card.front .hit:hover~.info .go svg{translate:2px -2px}

.info{align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-width:0}
.name{font-weight:600;font-size:15px;color:var(--soft);margin-bottom:14px}
.info h3{font-family:var(--serif);font-weight:500;font-optical-sizing:auto;font-size:clamp(28px,2.65vw,38px);line-height:1.14;letter-spacing:-.016em;text-wrap:balance}
.stat{margin-top:22px;font-weight:600;font-size:68px;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.stat+.tags{margin-top:20px}
.tags li{font-size:13px;font-weight:500;line-height:1.3;padding:6px 12px;border:1px solid var(--edge);border-radius:999px}

/* decision line: sits above the card */
.decision{
  position:absolute;left:50%;bottom:calc(100% + 14px);width:min(560px,100%);
  translate:-50% 10px;opacity:0;visibility:hidden;
  background:#FFFCF7;color:var(--ink);border:1px solid var(--line);border-radius:18px;
  padding:16px 24px;text-align:center;font-size:16.5px;font-weight:500;line-height:1.5;
  box-shadow:0 20px 34px -24px rgba(50,38,20,.5);
  transition:opacity var(--dur) var(--ease),translate var(--dur) var(--ease),visibility 0s linear var(--dur);
}
/* invisible bridge so the pointer can travel from card to line */
.decision::after{content:"";position:absolute;left:0;right:0;top:100%;height:24px}
.card.open .decision{opacity:1;visibility:visible;translate:-50% 0;transition-delay:0s}

/* real screens from each case study.
   A .shot is a window onto a screenshot: --iw is the source width, --cx/--cy the top-left
   of the visible region and --cw how many source pixels fit across the window. */
.shots{position:absolute;left:408px;right:0;top:76px;bottom:0;overflow:hidden;border-radius:0 0 28px 0}
.shot{position:absolute;overflow:hidden;background:#F7F8F8;box-shadow:0 22px 44px -20px rgba(20,16,8,.55)}
.shot img{display:block;max-width:none;width:calc(var(--iw) / var(--cw) * 100%);height:auto;transform:translate(calc(var(--cx,0) / var(--iw) * -100%),calc(var(--cy,0) / var(--ih) * -100%))}
.s-trust{--iw:1920;--ih:1350;--cx:186;--cw:1548;inset:0 0 0 0;border-radius:16px 0 0 0}
.s-beacon{--iw:1920;--ih:1350;--cx:324;--cw:1596;inset:0 0 0 0;border-radius:16px 0 0 0}
/* the real Reject / Approve buttons, lifted forward so the checker's decision stays in view */
.s-decide{--iw:1920;--ih:1350;--cx:1556;--cy:1264;--cw:346;right:20px;bottom:20px;width:46%;aspect-ratio:346/88;border-radius:12px;background:#fff}
.phone{--cx:0;border:6px solid #17181B;border-bottom:0;border-radius:30px 30px 0 0;background:#17181B}
.phone img{border-radius:24px 24px 0 0}
.s-lw1{--iw:780;--ih:3166;--cw:780;left:4%;width:42%;top:34px;bottom:0}
.s-lw2{--iw:780;--ih:3502;--cw:780;left:51%;width:42%;top:0;bottom:0}
.s-tt-desk{--iw:1920;--ih:1080;--cx:110;--cw:1700;inset:0 0 0 0;border-radius:16px 0 0 0;background:#243B5A}
.s-tt-mob{display:none}

.progress{display:flex;gap:6px;margin-top:34px}
.progress button{
  position:relative;width:56px;height:44px;border:0;background:transparent;cursor:pointer;
  font:500 13px var(--sans);color:var(--muted);padding-top:12px;transition:color var(--dur) var(--ease);
}
.progress button::before{content:"";position:absolute;left:4px;right:4px;top:8px;height:3px;border-radius:3px;background:#D8CDBC;transition:background var(--dur) var(--ease)}
.progress button:hover,.progress button:focus-visible{color:var(--ink)}
.progress button[aria-current]{color:var(--ink);font-weight:600}
.progress button[aria-current]::before{background:var(--ink)}

/* ============ SERVICES · ABOUT · WAYS TO WORK · CLOSING ============
   Albert Sans throughout, neutrals only: colour stays with the project cards. */
.band{padding-block:clamp(80px,10vw,144px)}
.label{font:600 15px/1.4 var(--sans);margin-bottom:18px}
.intro{max-width:760px;margin:0 auto clamp(40px,5vw,64px);text-align:center}
.lead{font-size:clamp(23px,2.5vw,32px);font-weight:500;line-height:1.35;letter-spacing:-.015em;text-wrap:balance}
.title{font-family:var(--sans);font-weight:500;font-size:clamp(30px,3.4vw,46px);line-height:1.18;letter-spacing:-.022em;text-wrap:balance}
.sub-h{font:600 18px/1.4 var(--sans)}

/* asymmetric bento: one tall tile, one wide, two small of unequal width */
.bento{display:grid;gap:18px;grid-template-columns:minmax(0,5fr) minmax(0,3.25fr) minmax(0,3.75fr);grid-template-areas:"audit product product" "audit system web"}
.tile-audit{grid-area:audit}
.tile-product{grid-area:product}
.tile-system{grid-area:system}
.tile-web{grid-area:web}
.tile{
  position:relative;display:flex;flex-direction:column;
  border-radius:28px;padding:clamp(24px,2.6vw,38px);
  background:rgba(255,252,247,.46);
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  box-shadow:0 30px 50px -44px rgba(72,56,32,.5);
  transition:background var(--dur) var(--ease);
}
.tile:hover,.tile:focus{background:rgba(255,252,247,.66)}
/* contrast is eased back so the chrome sits quietly beside the text.
   The float is always set but paused, so it holds its pose instead of snapping back. */
.obj{display:block;pointer-events:none;height:auto;object-fit:contain;filter:contrast(.88) brightness(1.05);animation:float 6s ease-in-out infinite paused}
.tile:hover .obj,.tile:focus .obj{animation-play-state:running}
@keyframes float{
  0%,100%{transform:perspective(700px) translateY(0) rotateY(0deg) rotate(0deg)}
  25%{transform:perspective(700px) translateY(-5px) rotateY(18deg) rotate(3deg)}
  50%{transform:perspective(700px) translateY(-8px) rotateY(0deg) rotate(0deg)}
  75%{transform:perspective(700px) translateY(-4px) rotateY(-18deg) rotate(-3deg)}
}
.copy{position:relative}
.tile-audit .obj{width:min(100%,420px);margin:auto}
.tile-product{flex-direction:row-reverse;align-items:center;gap:12px}
.tile-product .obj{width:42%;max-width:270px;flex:none;margin:-12px -10px -12px 0}
.tile-system .obj,.tile-web .obj{width:min(66%,176px);margin:-10px 0 6px -12px}
.tile-system .copy,.tile-web .copy{margin-top:auto}

/* outline: a quiet rim at rest. On hover, tap or focus a light runs round it clockwise.
   Each piece of the beam ends at the same point (the head), so --len only sets how far its tail reaches.
   The path length is 100, so one lap is an offset change of 100. */
.trace{position:absolute;left:.75px;top:.75px;width:calc(100% - 1.5px);height:calc(100% - 1.5px);overflow:visible;pointer-events:none;fill:none}
.trace .rim{stroke:rgba(38,35,31,.17);stroke-width:1;transition:stroke var(--dur) var(--ease)}
.beam{opacity:0;filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 4px rgba(218,192,156,.8)) drop-shadow(0 0 8px rgba(250,238,216,.9));transition:opacity var(--dur) var(--ease)}
.beam rect{stroke-linecap:butt;stroke-dasharray:calc(var(--len) * 1px) calc((100 - var(--len)) * 1px);animation:lap 3.6s linear infinite paused}
.beam .tail{stroke:rgba(255,255,255,.14);stroke-width:2.5}
.beam .core{stroke:rgba(255,243,226,.24);stroke-width:2.5}
/* the resting rim darkens a touch, so a white light has something to show against on cream */
.tile:hover .rim,.tile:focus .rim{stroke:rgba(142,122,98,.27)}
.tile:hover .beam,.tile:focus .beam{opacity:1}
.tile:hover .beam rect,.tile:focus .beam rect{animation-play-state:running}
@keyframes lap{from{stroke-dashoffset:calc(var(--len) * 1px)}to{stroke-dashoffset:calc((var(--len) - 100) * 1px)}}
/* reduced motion: nothing travels; the whole rim lights up instead */
.calm .beam{display:none}
.calm .tile:hover .rim,.calm .tile:focus .rim{stroke:#FFF3E2;stroke-width:2;filter:drop-shadow(0 0 3px rgba(200,174,140,.85))}
.calm .tile .obj{animation:none}

.services h3{font:600 clamp(20px,1.8vw,24px)/1.3 var(--sans);letter-spacing:-.012em;text-wrap:balance}
.services .tile-audit h3{font-size:clamp(23px,2.2vw,30px)}
.services .for{margin-top:10px;font-weight:500;line-height:1.5}
.services .get{margin-top:18px;padding-top:16px;border-top:1px solid rgba(38,35,31,.14);font-size:15.5px;color:#5C554C}
.services b{font-weight:600;color:var(--ink)}

@media (min-width:901px) and (max-width:1100px){
  .bento{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"audit product" "system web"}
  .tile-audit .obj{width:min(100%,260px)}
  .tile-product{flex-direction:column;align-items:stretch;gap:0}
  .tile-product .obj{width:min(100%,260px);margin:auto}
}

/* desktop: section title and all four cards share one screen.
   Text keeps its size; the objects take whatever height is left over. */
@media (min-width:1101px){
  #services{height:100svh;min-height:620px;padding-block:clamp(18px,4vh,56px);display:flex;flex-direction:column;justify-content:center}
  #services .intro{flex:none;margin-bottom:clamp(16px,3.2vh,40px)}
  #services .label{margin-bottom:clamp(6px,1.2vh,16px)}
  #services .lead{font-size:clamp(21px,3.4vh,30px)}
  .bento{flex:0 1 660px;min-height:0;gap:16px;grid-template-columns:minmax(0,3.4fr) minmax(0,3.6fr) minmax(0,4fr);grid-template-rows:auto minmax(0,1fr)}
  .tile{padding:clamp(18px,2.8vh,32px) clamp(22px,2.2vw,32px);border-radius:28px;min-height:0}
  .services h3,.services .tile-audit h3{font-size:clamp(19px,2.6vh,24px)}
  .services .for{margin-top:6px;font-size:clamp(14.5px,1.9vh,16px)}
  .services .get{margin-top:clamp(10px,1.6vh,16px);padding-top:clamp(10px,1.4vh,14px);font-size:clamp(14px,1.75vh,15px);line-height:1.5}
  .tile-audit .obj,.tile-system .obj,.tile-web .obj{flex:1 1 0;min-height:0;width:100%;margin:0 0 8px}
  .tile-audit .obj{max-height:230px;margin-block:auto}
  .tile-system .obj,.tile-web .obj{max-height:170px;margin-block:auto 8px}
  .tile-system .copy,.tile-web .copy{margin-top:0}
  .tile-product{gap:20px}
  .tile-product .obj{width:clamp(112px,19vh,180px);margin:-14px 0}
  .tile-product .copy{flex:1}
}
/* short laptop screens: the intro runs on one line, giving its height back to the cards */
@media (min-width:1101px) and (max-height:760px){
  #services .intro{max-width:none}
  #services .lead{font-size:20px}
  /* the globe picture has empty space above and below, so it can grow into it.
     "scale" leaves the float animation's transform free */
  .tile-web .obj{scale:1.75;width:56%;align-self:center}
}

.about{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1fr);gap:clamp(40px,7vw,112px);align-items:start}
.portrait{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 40%;border-radius:28px}
.about .body{margin-top:24px;max-width:34em;color:var(--muted)}
.about .title+.body{margin-top:30px}
.about .sub-h{margin-top:44px;margin-bottom:14px}
.principles{max-width:36em}
.principles li{padding-block:16px;border-top:1px solid var(--line);color:var(--muted)}
.principles b{display:block;font-weight:600;color:var(--ink)}

/* glass pricing cards. Soft neutral light sits behind them, giving the glass something to blur */
.plans-wrap{position:relative;isolation:isolate;scroll-margin-top:32px}
.plans-wrap::before{
  content:"";position:absolute;z-index:-1;inset:-60px calc(-1 * var(--gutter));pointer-events:none;
  background:
    radial-gradient(closest-side at 16% 24%,rgba(214,194,164,.75),transparent),
    radial-gradient(closest-side at 52% 78%,rgba(255,255,255,.95),transparent),
    radial-gradient(closest-side at 84% 26%,rgba(190,183,172,.6),transparent),
    radial-gradient(closest-side at 90% 88%,rgba(222,204,176,.65),transparent),
    radial-gradient(closest-side at 10% 90%,rgba(196,188,176,.45),transparent);
}
.plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.plan{
  display:flex;flex-direction:column;padding:clamp(24px,2.4vw,34px);border-radius:26px;
  background:linear-gradient(145deg,rgba(255,255,255,.62),rgba(255,255,255,.22) 55%,rgba(255,255,255,.36));
  -webkit-backdrop-filter:blur(16px) saturate(1.25);backdrop-filter:blur(16px) saturate(1.25);
  border:1px solid rgba(255,255,255,.75);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 0 0 1px rgba(38,35,31,.07),0 28px 48px -34px rgba(72,56,32,.45);
}
.kind{font-size:13px;font-weight:600;color:#5C554C}
.plan h3{margin-top:10px;font:600 20px/1.35 var(--sans);letter-spacing:-.01em;text-wrap:balance}
.price{margin-top:18px;padding-bottom:18px;border-bottom:1px solid rgba(38,35,31,.13);font-size:14px;font-weight:500;color:#5C554C}
.price b{font-size:30px;font-weight:600;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums}
.desc{margin-top:16px;font-size:15.5px;line-height:1.6;color:#4F4941}
/* on wide screens, line up the prices across a row whatever the title length */
@media (min-width:901px){.plan h3{min-height:2.7em}}
@media (min-width:641px) and (max-width:900px){.plans{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:901px) and (max-width:1100px){.plans{grid-template-columns:repeat(2,minmax(0,1fr))}}

.how-h{margin-top:clamp(64px,7vw,96px);text-align:center}
.steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,4vw,56px);margin-top:32px}
.steps li{border-top:1px solid #CFC3B0;padding-top:22px}
.steps span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--ink);color:var(--cream);font-weight:600;font-size:15px}
.steps h4{margin-top:18px;font:600 18px/1.4 var(--sans)}
.steps p{margin-top:6px;color:var(--muted)}

.closing{display:flex;flex-direction:column;align-items:center;text-align:center;padding-block:clamp(96px,12vw,168px);border-top:1px solid var(--line)}
.closing .title{max-width:16em}
.closing .btn{margin-top:40px;justify-content:center;text-align:center}
/* stacked links with a small raised arrow */
.contact{margin-top:28px;display:flex;flex-direction:column;align-items:flex-start;text-align:left}
.out{display:inline-flex;align-items:center;min-height:44px;font-size:18px;text-decoration:none}
.out svg{width:10px;height:10px;margin-left:5px;align-self:flex-start;margin-top:11px;fill:none;stroke:currentColor;stroke-width:1.8;transition:translate var(--dur) var(--ease)}
.out:hover,.out:focus-visible,.out:active{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.out:hover svg,.out:focus-visible svg,.out:active svg{translate:2px -2px}

/* entrance for the sections below the hero (not the pinned work stage): a short rise and fade; the portrait also settles from slightly larger */
.reveal{opacity:0;translate:0 22px}
.about .portrait.reveal{scale:1.035}
.reveal.in,.about .portrait.reveal.in{opacity:1;translate:0 0;scale:1;transition:opacity 700ms var(--ease),translate 700ms var(--ease),scale 700ms var(--ease)}
@media print{.reveal,.about .portrait.reveal{opacity:1;translate:none;scale:1}}

/* the name, as wide as the page and cropped by its bottom edge */
.signoff{position:relative;z-index:1;padding-inline:clamp(10px,1.6vw,28px);user-select:none}
.signoff svg{display:block;width:100%;height:auto;overflow:hidden}
.signoff text{font:600 200px var(--sans);letter-spacing:-9px;fill:#D5C8B4}

/* ============ TABLET + MOBILE ============ */
@media (max-width:640px){.plans{grid-template-columns:minmax(0,1fr);gap:14px}}
@media (max-width:900px){
  .top{height:64px;padding-top:20px}
  .hero{display:flex;flex-direction:column;min-height:0}
  .hero-copy{padding:28px 0 20px;align-self:stretch}
  h1{font-size:clamp(34px,9.5vw,64px);line-height:1.1}
  .sub{margin-top:20px;font-size:16.5px}
  .actions{margin-top:28px;gap:10px 24px}
  .btn{width:100%;max-width:360px;justify-content:center}
  .smb{margin-top:16px}
  .hero-art{order:2;align-self:center;justify-self:auto;max-width:440px;padding:24px 0 40px}
  .demo{min-height:524px;padding:calc(10px + 14px * var(--p))}
  .d-title{font-size:calc(11px + 11px * var(--t))}
  .proof{order:3;align-self:stretch;flex-direction:column;row-gap:10px;padding:20px 0 24px}
  .proof li+li::before{content:none}

  .pin{justify-content:flex-start;padding-top:22px}
  .stage{--w:min(420px, 100vw - 44px);--h:600px;--head:132px;perspective:1200px;transform-origin:50% 0;margin-block:0 calc((var(--h) + var(--head)) * (var(--fit,1) - 1))}
  .face{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:22px 20px 20px;border-radius:22px}
  .hit{border-radius:22px}
  .info{align-self:auto;display:block}
  .name{margin-bottom:8px;padding-right:48px;min-height:22px}
  .plus{right:12px;top:10px}
  .go{margin-top:12px;font-size:14px}
  .info h3{font-size:24px;line-height:1.18}
  .stat{margin-top:10px;font-size:44px}
  .tags{gap:6px;margin-top:12px}
  .stat+.tags{margin-top:10px}
  .tags li{font-size:12px;padding:4px 10px}
  .shots{position:relative;inset:auto;flex:1;min-height:0;margin:4px -20px -20px;border-radius:0 0 22px 22px}
  .s-trust{--cx:976;--cy:412;--cw:728;inset:12px 14px auto;aspect-ratio:728/532;border-radius:14px;background:#fff}
  .s-beacon{--cx:344;--cy:90;--cw:1112;inset:0 0 0 20px;border-radius:14px 0 0 0}
  .s-decide{width:68%;right:14px;bottom:14px}
  .s-lw1{left:20px;width:calc(50% - 26px);top:18px}
  .s-lw2{left:calc(50% + 6px);width:calc(50% - 26px)}
  .s-tt-desk{display:none}
  .s-tt-mob{display:block;--iw:780;--ih:1688;--cw:780;left:50%;translate:-50% 0;width:min(230px,100% - 56px);top:0;bottom:0}
  .decision{width:100%;font-size:15px;padding:12px 16px;bottom:calc(100% + 10px)}
  .progress{margin-top:12px}
  .about,.steps{grid-template-columns:minmax(0,1fr)}
  .bento{grid-template-columns:minmax(0,1fr);grid-template-areas:"audit" "product" "system" "web";gap:14px}
  .tile-product{flex-direction:column;align-items:stretch;gap:0}
  .bento .tile .obj{width:min(66%,240px);max-width:none;margin:-6px auto 8px}
  .portrait{max-width:440px;margin-inline:auto;aspect-ratio:1}
  .closing .btn{min-height:56px;padding:10px 24px;line-height:1.35}
}

/* ============ STATIC FALLBACK (reduced motion, or no script) ============ */
html:not(.js) .work,.calm .work,.flat .work{height:auto;padding:96px 0}
html:not(.js) .pin,.calm .pin,.flat .pin{position:static;height:auto;overflow:visible}
html:not(.js) .stage,.calm .stage,.flat .stage{height:auto;transform:none;margin:0;perspective:none;display:flex;flex-direction:column;align-items:center}
html:not(.js) .card,.calm .card,.flat .card{position:relative;left:auto;top:auto;margin:var(--head) 0 0;height:auto;min-height:var(--h)}
html:not(.js) .face,.calm .face,.flat .face{min-height:var(--h);height:auto}
html:not(.js) .plus,.calm .plus,.flat .plus{opacity:1}
html:not(.js) .progress,.calm .progress,.flat .progress{display:none}
html:not(.js) .decision{position:static;translate:none;opacity:1;visibility:visible;width:100%;margin-bottom:12px}
@media (max-width:900px){
  .calm .card,.flat .card,html:not(.js) .card{--h:auto}
  .calm .shots,.flat .shots,html:not(.js) .shots{flex:none;height:300px;margin-top:8px}
}

/* hero fallback: the two states held side by side, no labels */
.calm .hero-art{transform:none!important}
.calm .demo-before{--p:0;position:absolute;inset:0;transform:translate(-44px,-18px) rotate(-3deg);transform-origin:50% 50%}
.calm .hero-art{position:relative}
.calm .hero-art #demo{--p:1;transform:translate(26px,26px);margin-right:26px}
@media (max-width:900px){
  .calm .hero-art{display:flex;flex-direction:column;gap:20px}
  .calm .demo-before{position:relative;inset:auto;transform:none;order:-1}
  .calm .hero-art #demo{transform:none;margin:0}
}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.calm *,.calm *::before,.calm *::after{transition-duration:0s!important;transition-delay:0s!important}
