/* ==========================================================================
   design.css — VERBATIM copy of the <helmet><style> block from
   export-claude-design/Main.dc.html (Claude Design export, V02E).
   This file is the single source of truth for the look & motion.
   Do NOT restyle here. Site-level additions go to site.css.
   Only change made: the unused .avband background-image url (asset path).
   ========================================================================== */
body{margin:0;background:#f4f1ea}
a{color:#15171a}a:hover{color:#3a3d42}
.av{font-family:Montserrat,sans-serif;color:#15171a;background:#f4f1ea;-webkit-font-smoothing:antialiased;overflow-x:clip}
.av *{box-sizing:border-box}
.wrap{max-width:1360px;margin:0 auto;padding:0 64px}
.hdr{position:sticky;top:0;z-index:30;height:84px;display:flex;align-items:center;background:rgba(244,241,234,.9);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid rgba(21,23,26,.08)}
.hdr a{text-decoration:none}
.nav a{font-size:14px;font-weight:500;padding:12px 0}
.btn{display:inline-flex;align-items:center;gap:12px;min-height:52px;padding:0 28px;font-family:inherit;font-size:14px;font-weight:600;text-decoration:none;border:0;cursor:pointer;transition:background .3s,color .3s,gap .3s}
.btn:hover{gap:20px}
.btn-d{background:#15171a;color:#fff !important}.btn-d:hover{background:#34373c}
.btn-l{border:1.5px solid #15171a;color:#15171a !important;background:transparent}.btn-l:hover{background:#15171a;color:#fff !important}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:#5a564f}
.ph-img{display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;background:repeating-linear-gradient(135deg,#efe6d2 0 22px,#f6efe0 22px 44px);color:#6b5a33;font-size:14px;font-weight:600;letter-spacing:.06em;line-height:1.6}
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes rv{from{opacity:0;transform:translateY(60px)}to{opacity:1;transform:none}}

.stage{position:sticky;top:84px;height:860px;overflow:hidden;isolation:isolate}
.forest{position:absolute;inset:-6%;width:112%;height:112%;object-fit:cover;animation:drift 18s ease-in-out infinite alternate}
.cut{position:absolute;left:0;right:0;top:0;height:560px;background:#f4f1ea;mix-blend-mode:screen;display:flex;align-items:flex-end;justify-content:center;padding-bottom:10px;transform-origin:50% 72%}
.cut span{color:#000;font-weight:900;font-size:clamp(80px,17.5vw,252px);letter-spacing:-.03em;line-height:.82;animation:open 1.6s .1s cubic-bezier(.2,.75,.15,1) both}
.below{position:absolute;left:0;right:0;top:560px;bottom:0;background:#f4f1ea;z-index:2}
.below-in{height:100%;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:56px;align-items:center}
.below h1{margin:0;font-size:48px;line-height:1.08;font-weight:600;letter-spacing:-.025em;animation:fadeUp 1s .6s both}
.below p{margin:0;font-size:18px;line-height:1.7;color:#4f4b45;animation:fadeUp 1s .8s both}
.top{position:absolute;left:0;right:0;top:36px;z-index:3;animation:fadeUp 1s .3s both}
@keyframes drift{from{transform:translate(0,0) scale(1)}to{transform:translate(-3%,2%) scale(1.06)}}
@keyframes open{from{letter-spacing:.2em;opacity:0;transform:scale(.92)}to{letter-spacing:-.03em;opacity:1;transform:none}}
@keyframes zoom{to{transform:scale(14);opacity:0}}
@keyframes drop{to{transform:translateY(300px);opacity:0}}
@keyframes away{to{opacity:0}}

.hero{position:relative}
.stage{position:relative;top:0;height:860px;overflow:hidden;isolation:isolate;background:#1d2a1f;touch-action:pan-y}
.sl{position:absolute;inset:0;overflow:hidden;opacity:0;transition:opacity 1.2s ease}
.sl.on{opacity:1}
.sl>*{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;will-change:transform}
.sl{perspective:1000px}
.sl>*{transform:scale(1.42) rotateY(-12deg) rotateX(3deg) translateX(-5%)}
.sl.on>*,.sl.out>*{animation:orbR 5.5s cubic-bezier(.45,0,.55,1) forwards}
.sl.k0.on>*,.sl.k0.out>*{animation-duration:8s;animation-iteration-count:infinite;animation-direction:alternate;animation-timing-function:ease-in-out}
@keyframes orbR{from{transform:scale(1.42) rotateY(-12deg) rotateX(3deg) translateX(-5%)}to{transform:scale(1.42) rotateY(12deg) rotateX(-3deg) translateX(5%)}}
.sl.k1>*{transform:scale(1.42) rotateY(12deg) rotateX(-3deg) translateX(5%)}.sl.k1.on>*,.sl.k1.out>*{animation-name:orbL}
.sl.k3>*{transform:scale(1.42) rotateY(12deg) rotateX(-3deg) translateX(5%)}.sl.k3.on>*,.sl.k3.out>*{animation-name:orbL}
.sl.k5>*{transform:scale(1.42) rotateY(12deg) rotateX(-3deg) translateX(5%)}.sl.k5.on>*,.sl.k5.out>*{animation-name:orbL}
.sl.k7>*{transform:scale(1.42) rotateY(12deg) rotateX(-3deg) translateX(5%)}.sl.k7.on>*,.sl.k7.out>*{animation-name:orbL}
@keyframes orbL{from{transform:scale(1.42) rotateY(12deg) rotateX(-3deg) translateX(5%)}to{transform:scale(1.42) rotateY(-12deg) rotateX(3deg) translateX(-5%)}}

@keyframes k0d{from{transform:scale(1.04) translate(0,0)}to{transform:scale(1.16) translate(-2.5%,1.5%)}}
.cut{z-index:6;transition:opacity .7s ease .15s,transform 0s linear 0s}
.stage.open .cut{transform:scale(14);opacity:0;transition:transform 1.9s cubic-bezier(.65,0,.35,1),opacity .75s cubic-bezier(.45,0,.55,1) 1.15s}
.cut{bottom:0;height:auto;display:block;padding:0;transform-origin:50% calc(550px - .36 * clamp(80px, 17.5vw, 252px))}
.cut .cutin{height:560px;display:flex;align-items:flex-end;justify-content:center;padding-bottom:10px}
.below{z-index:7;background:none}
.top{animation:none}
.top .eyebrow{animation:fadeUp 1s .3s both}
.below-in{position:relative;transition:opacity .7s ease .15s}
.stage.open .below-in{opacity:0;transition:opacity .4s ease}
.stage.open .below{pointer-events:none}
.ghost{position:absolute;left:0;right:0;top:0;height:560px;z-index:5;display:flex;align-items:flex-end;justify-content:center;padding-bottom:10px;pointer-events:none;opacity:0;transition:opacity .5s ease}
.ghost span{color:#f4f1ea;filter:url(#avOutline);font-weight:900;font-size:clamp(80px,17.5vw,252px);letter-spacing:-.03em;line-height:.82}
.stage.f1 .ghost{opacity:1;transition:opacity 1.1s ease 1.8s}
.top{z-index:8;transition:opacity .7s ease .15s}
.stage.open .top{opacity:0;transition:opacity .3s}
.cov{position:absolute;inset:0;z-index:4;color:#fff;opacity:0;transition:opacity .5s;pointer-events:none}
.stage.open .cov{opacity:1;transition:opacity .8s ease 1.4s}
.cov .shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.12) 55%,rgba(0,0,0,.3) 100%)}
.cov .in{position:relative;height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:48px}
.cov .lead{font-size:30px;font-weight:500;letter-spacing:-.01em;margin:0 0 6px}
.big,.meta{display:grid}
.big{font-size:132px;font-weight:800;letter-spacing:-.045em;line-height:.95}
.meta{text-align:right;font-size:13px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
.big>span,.meta>span{grid-area:1/1;opacity:0;transform:translateY(.35em);transition:opacity .45s ease,transform .6s cubic-bezier(.3,.7,.2,1)}
.big>span.on,.meta>span.on{opacity:1;transform:none;transition-delay:.25s}
.big>span.was,.meta>span.was{opacity:0;transform:translateY(-.35em)}
.bars{display:flex;gap:6px;margin-top:22px;pointer-events:auto}
.bar{flex:1;height:24px;padding:0;border:0;background:none;cursor:pointer;display:flex;align-items:center}
.bar span{position:relative;display:block;width:100%;height:3px;background:rgba(255,255,255,.3);overflow:hidden}
.bar i{position:absolute;inset:0;background:#fff;transform-origin:left;transform:scaleX(0)}
.bar i.done{transform:scaleX(1)}
.bar i.on{animation:barFill 3.4s linear forwards}
@keyframes barFill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.skip{position:absolute;right:max(24px,calc((100% - 1360px) / 2 + 64px));top:28px;z-index:9;pointer-events:auto;color:#fff !important;font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;text-decoration:none;padding:12px 0;opacity:0;transition:opacity .5s}
.stage.open .skip{opacity:1;transition-delay:1s}
.hint{position:absolute;left:50%;bottom:18px;z-index:9;transform:translateX(-50%);font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#5a564f;transition:opacity .3s}
.stage.open .hint{opacity:0}

.burger{display:inline-flex;align-items:center;gap:14px;height:44px;padding:0 4px 0 12px;margin-right:-4px;background:none;border:0;cursor:pointer;font-family:inherit;color:#15171a}
.burger .bl{font-size:12px;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
.burger .bi{position:relative;display:block;width:30px;height:14px}
.burger .bi i{position:absolute;right:0;height:2px;background:#15171a;transition:transform .45s cubic-bezier(.65,0,.35,1),width .45s cubic-bezier(.65,0,.35,1),top .45s cubic-bezier(.65,0,.35,1)}
.burger .bi i:nth-child(1){top:2px;width:30px}
.burger .bi i:nth-child(2){top:10px;width:18px}
.burger:hover .bi i:nth-child(2){width:30px}
.burger.open .bi i:nth-child(1){top:6px;transform:rotate(45deg)}
.burger.open .bi i:nth-child(2){top:6px;width:30px;transform:rotate(-45deg)}
.menu{position:fixed;left:0;right:0;top:84px;bottom:0;z-index:29;background:#f4f1ea;opacity:0;visibility:hidden;transition:opacity .45s ease,visibility 0s linear .45s;overflow:auto}
.menu.open{opacity:1;visibility:visible;transition:opacity .45s ease}
.menu-in{min-height:100%;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:64px;align-items:center;padding-top:48px;padding-bottom:48px}
.mlinks{display:flex;flex-direction:column}
.mlinks a{display:flex;align-items:baseline;gap:20px;padding:6px 0;font-size:64px;font-weight:800;letter-spacing:-.035em;line-height:1.05;color:#15171a;text-decoration:none;opacity:0;transform:translateY(24px);transition:opacity .4s,transform .5s cubic-bezier(.2,.7,.2,1),color .2s}
.mlinks a small{font-size:12px;font-weight:600;letter-spacing:.16em;color:#5a564f}
.mlinks a:hover{color:#4f6b3a}
.menu.open .mlinks a{opacity:1;transform:none}
.menu.open .mlinks a:nth-child(2){transition-delay:.05s}.menu.open .mlinks a:nth-child(3){transition-delay:.1s}.menu.open .mlinks a:nth-child(4){transition-delay:.15s}.menu.open .mlinks a:nth-child(5){transition-delay:.2s}
.mside{display:flex;flex-direction:column;gap:14px;font-size:17px;line-height:1.6}
.mside a{color:#15171a;font-weight:600}
.mside p{margin:0;color:#4f4b45}
#next{scroll-margin-top:84px}
.mside{opacity:0;transform:translateY(16px);transition:opacity .25s ease,transform .25s ease}
.menu.open .mside{opacity:1;transform:none;transition:opacity .6s ease .75s,transform .7s cubic-bezier(.2,.7,.2,1) .75s}
@media (prefers-reduced-motion:reduce){.av *{transition:none !important}}

@media (prefers-reduced-motion:reduce){.av *{animation:none !important}.av .first{opacity:1 !important;clip-path:none !important}}
@media (max-width:960px){
  .menu-in{grid-template-columns:minmax(0,1fr);gap:40px;align-content:center}.mlinks a{font-size:40px}.burger .bl{display:none}
  .wrap{padding:0 20px}
  .nav{display:none !important}
  .stage{height:clamp(560px,calc(100svh - 84px),820px)}
  .cut .cutin,.ghost{height:300px}.cut{transform-origin:50% calc(290px - .36 * clamp(80px, 17.5vw, 252px))}.below{top:300px;padding-bottom:40px}
  .below-in{grid-template-columns:minmax(0,1fr);gap:16px;align-content:center}
  .below h1{font-size:30px}
  .big{font-size:52px}.cov .lead{font-size:18px}.meta{display:none}.cov .in{padding-bottom:20px}
  .skip{top:18px}
}
.muted{color:#4f4b45}
.body{font-size:16px;line-height:1.75;margin:0}
.h2{margin:0;font-size:52px;line-height:1.1;font-weight:600;letter-spacing:-.02em;color:#15171a}
.ph{background:#fff1b8;color:#4d3b00;border-radius:4px;padding:0 6px}
.btn{border-radius:999px}
.btn-g{background:#15171a;color:#fff !important}.btn-g:hover{background:#34373c}
.btn-w{background:#fff;color:#15171a !important}.btn-w:hover{background:#ebe6dc}
.nav a{font-weight:600;position:relative}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:2px;background:currentColor;transform:scaleX(0);transform-origin:right;transition:transform .4s}
.nav a:hover::after{transform:scaleX(1);transform-origin:left}
.lang{font-size:13px;font-weight:600}
.burger{display:none}
section[id]{scroll-margin-top:84px}
.spaces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.sp{display:flex;flex-direction:column;background:#fff;border-radius:16px;overflow:hidden;transition:transform .5s cubic-bezier(.2,.7,.2,1),box-shadow .5s}
.sp:hover{transform:translateY(-8px);box-shadow:0 30px 50px -30px rgba(21,23,26,.35)}
.sp-img{height:380px;overflow:hidden}
.sp-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 1.4s cubic-bezier(.2,.7,.2,1)}
.sp:hover .sp-img img{transform:scale(1.06)}
.sp-b{padding:28px;display:flex;flex-direction:column;gap:12px}
.ticks{list-style:none;margin:0;padding:14px 0 0;border-top:1px solid #e3dfd6;display:flex;flex-direction:column;gap:8px}
.ticks li{font-size:14px;line-height:1.5;display:flex;gap:10px;align-items:baseline}
.ticks li::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:#15171a;transform:translateY(-1px)}
.mini-h{font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#5a564f;margin-bottom:10px}
.chapter{position:relative}
.ch-open{position:sticky;top:84px;height:760px;overflow:hidden;color:#fff;z-index:0}
.ch-open img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ch-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.8) 0%,rgba(0,0,0,.2) 55%,rgba(0,0,0,.1) 100%)}
.ch-in{position:relative;height:100%;display:flex;flex-direction:column;justify-content:flex-end;gap:14px;padding-bottom:96px}
.ch-body{position:relative;z-index:1;background:#f4f1ea;border-radius:28px 28px 0 0;margin-top:-40px;padding:40px 0 60px}
.row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px;align-items:center;padding:56px 0;border-bottom:1px solid #e3dfd6}
.row:last-child{border-bottom:0}
.row.alt .row-img{order:2}
.row-img{height:480px;overflow:hidden;border-radius:16px}
.row-img img{width:100%;height:100%;object-fit:cover;display:block}
.row h4{margin:0;font-size:32px;font-weight:600;line-height:1.15;letter-spacing:-.01em;color:#15171a}
.work{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:72px;align-items:center}
.work.alt .w-img{order:2}
.w-img{height:560px;overflow:hidden;border-radius:16px}
.w-img img{width:100%;height:100%;object-fit:cover;display:block}
.wmeta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;padding-top:22px;border-top:1px solid #e3dfd6;margin:0}
.wmeta dt{font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#5a564f;margin-bottom:4px}
.wmeta dd{margin:0;font-size:15px;line-height:1.5}
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.mini{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:inherit}
.mini-img{aspect-ratio:4/3;overflow:hidden;border-radius:12px}
.mini-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 1s cubic-bezier(.2,.7,.2,1)}
.mini:hover .mini-img img{transform:scale(1.06)}
.sect{display:flex;gap:12px;height:420px}
.sec{position:relative;flex:1 1 0;min-width:0;overflow:hidden;color:#fff;text-decoration:none;border-radius:16px;transition:flex-grow .8s cubic-bezier(.2,.7,.2,1)}
.sect .sec:hover{flex-grow:2.2}
.sec img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sec-in{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:22px;background:linear-gradient(0deg,rgba(0,0,0,.78),rgba(0,0,0,0) 60%)}
.plogos{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:36px 24px;align-items:center}
.plogos img{width:100%;max-width:100px;height:48px;object-fit:contain;justify-self:center;filter:invert(1);opacity:.6;transition:opacity .3s}
.plogos img:hover{opacity:1}
.field{display:flex;flex-direction:column;gap:8px}
.field label{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#4f4b45}
.field input,.field textarea,.field select{font:inherit;font-size:16px;color:#15171a;background:#fff;border:1px solid #d8d3c8;padding:12px 16px;min-height:50px;border-radius:12px}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:#15171a;box-shadow:0 0 0 3px rgba(21,23,26,.12)}
.foot a{color:#4f4b45;text-decoration:none}.foot a:hover{color:#15171a}
.foot h4{margin:0 0 14px;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#15171a}
.foot li{font-size:15px;line-height:2}
@keyframes lineUp{from{transform:translateY(110%)}to{transform:none}}
@keyframes reveal{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes px{from{transform:translateY(-8%) scale(1.16)}to{transform:translateY(8%) scale(1.16)}}
@keyframes sink{to{transform:scale(.92);filter:brightness(.65)}}
@keyframes rv{from{opacity:0;transform:translateY(44px)}to{opacity:1;transform:none}}
@supports (animation-timeline: view()){
  .rv{animation:rv linear both;animation-timeline:view();animation-range:entry 0% entry 75%}
  .row-img{animation:reveal linear both;animation-timeline:view();animation-range:entry 0% entry 80%}
  .px{animation:px linear both;animation-timeline:view();animation-range:cover}
  .ch-open{animation:sink linear both;animation-timeline:view();animation-range:exit-crossing 0% exit-crossing 100%}
}
@media (prefers-reduced-motion:reduce){.av *,.av *::after{animation:none !important}}
@media (max-width:960px){

  .two,.work,.row,.spaces{grid-template-columns:minmax(0,1fr) !important;gap:24px !important}
  .sp-img{height:260px}
  .row.alt .row-img,.work.alt .w-img{order:0}
  .row-img,.w-img{height:280px}
  .ch-open{height:480px;position:relative}
  .ch-in{padding-bottom:64px}
  .grid4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sect{flex-direction:column;height:auto}
  .sec{min-height:170px}
  .plogos{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fcols{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .h2,.statement{font-size:30px !important}
  .op-h{font-size:40px !important}

  .burger{display:inline-flex}.hdr-r{display:none !important}
}
/* ---- page v2: middle-section motion ---- */

@keyframes softIn{from{opacity:0;translate:0 28px}to{opacity:1;translate:0 0}}
@keyframes logoIn{from{opacity:0;translate:0 20px}to{opacity:.6;translate:0 0}}
@keyframes settle{from{scale:1.16}to{scale:1}}
@keyframes blurIn{from{opacity:0;filter:blur(10px)}to{opacity:1;filter:blur(0)}}
@keyframes readFill{from{background-size:0% 100%,100% 100%}to{background-size:100% 100%,100% 100%}}
@keyframes cardIn{from{opacity:0;translate:0 110px;rotate:3deg}to{opacity:1;translate:0 0;rotate:0deg}}
@keyframes clipUp{from{clip-path:inset(100% 0 0 0 round 16px)}to{clip-path:inset(0 0 0 0 round 16px)}}
@keyframes slideL{from{opacity:0;translate:160px 0}to{opacity:1;translate:0 0}}
@keyframes floatUp{from{translate:0 80px}to{translate:0 -80px}}
@keyframes titleIn{from{scale:1.4;opacity:.15}to{scale:1;opacity:1}}
@keyframes zoomOut{from{scale:1.35}to{scale:1}}
@keyframes wipeL{from{clip-path:inset(0 100% 0 0 round 16px)}to{clip-path:inset(0 0 0 0 round 16px)}}
@keyframes wipeR{from{clip-path:inset(0 0 0 100% round 16px)}to{clip-path:inset(0 0 0 0 round 16px)}}
@keyframes cardScale{from{scale:.84;border-radius:90px}to{scale:1;border-radius:28px}}
@keyframes marq{to{transform:translateX(-50%)}}
@keyframes hmove{to{transform:translateX(calc(-100% + 100cqw))}}
@keyframes circ{from{clip-path:circle(16% at 50% 55%)}to{clip-path:circle(80% at 50% 50%)}}
@keyframes wsink{to{scale:.92;opacity:.5}}
@keyframes band{from{transform:translateX(5%)}to{transform:translateX(-45%)}}
@keyframes tilt{from{transform:rotateY(22deg) translateZ(-60px)}to{transform:rotateY(-22deg) translateZ(-60px)}}
@keyframes key{from{scale:1 .15;opacity:0}to{scale:1 1;opacity:1}}
@keyframes avZoom{from{scale:.6;letter-spacing:.25em}to{scale:1.2;letter-spacing:-.04em}}
@keyframes spread{from{letter-spacing:.3em;opacity:0;filter:blur(8px)}to{letter-spacing:-.02em;opacity:1;filter:blur(0)}}
@keyframes flyL{from{opacity:0;translate:-140px 50px;rotate:-7deg}to{opacity:1;translate:0 0;rotate:0deg}}
@keyframes flyR{from{opacity:0;translate:140px 50px;rotate:7deg}to{opacity:1;translate:0 0;rotate:0deg}}
@keyframes grow{from{scale:.7;border-radius:90px}to{scale:1;border-radius:16px}}
.drift{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:start}
.dcard{display:flex;flex-direction:column;gap:16px}
.dcard:nth-child(2){margin-top:120px}
.dcard-img{height:560px;overflow:hidden;border-radius:16px}
.dcard-img img{width:100%;height:100%;object-fit:cover;display:block;transition:scale 1.6s cubic-bezier(.2,.7,.2,1)}
.dcard:hover .dcard-img img{scale:1.05}
.sec,.sec:hover,.sec:focus{color:#fff !important}
.dcard-img{position:relative;display:block;cursor:pointer}
.dgo{position:absolute;left:20px;bottom:20px;display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border-radius:999px;background:#f4f1ea;color:#15171a;font-size:13px;font-weight:700;letter-spacing:.06em;opacity:0;translate:0 12px;transition:opacity .35s,translate .45s cubic-bezier(.2,.7,.2,1)}
.dgo b{display:inline-block;transition:translate .35s}
.dcard-img:hover .dgo,.dcard-img:focus-visible .dgo{opacity:1;translate:0 0}
.dcard-img:hover .dgo b{translate:4px 0}
.dcard-img::after{content:"";position:absolute;inset:0;background:#15171a;opacity:0;transition:opacity .4s;pointer-events:none}
.dcard.going .dcard-img img{scale:1.14;transition:scale .45s cubic-bezier(.6,0,.4,1)}
.dcard.going .dcard-img::after{opacity:.35}
.dcard.going .dgo{opacity:1;translate:0 0;background:#15171a;color:#fff}
.dcard.going .dgo b{translate:10px 0}
.row{position:relative;isolation:isolate;scroll-margin-top:140px}
.row.hl::before{content:"";position:absolute;inset:16px -28px;border-radius:28px;background:#fff;box-shadow:0 30px 70px -40px rgba(21,23,26,.35);z-index:-1;animation:hlIn 3.2s cubic-bezier(.2,.7,.2,1) .5s both}
.row.hl h4{background:linear-gradient(currentColor,currentColor) 0 100%/0 3px no-repeat;animation:hlLine 1s cubic-bezier(.2,.7,.2,1) .9s forwards}
@keyframes hlIn{0%{opacity:0;scale:.94}18%{opacity:1;scale:1}75%{opacity:1;scale:1}100%{opacity:0;scale:1}}
@keyframes hlLine{to{background-size:100% 3px}}
.cdirect{display:flex;flex-direction:column;gap:4px;padding:22px 0 24px;border-top:1px solid #d8d3c8;border-bottom:1px solid #d8d3c8}
.cdirect .eyebrow{margin-bottom:6px}
.cdirect a{font-size:30px;font-weight:700;letter-spacing:-.015em;line-height:1.3;color:#15171a;text-decoration:none;width:fit-content;background:linear-gradient(currentColor,currentColor) 0 100%/0 2px no-repeat;transition:background-size .4s}
.cdirect a:hover{background-size:100% 2px}
.avband{overflow:hidden;padding:40px 0 120px;text-align:center}
.avband span{display:inline-block;font-size:clamp(80px,19vw,280px);font-weight:900;letter-spacing:-.04em;line-height:.85;background:url(/assets/img/forest-aerial-1600.webp) center/cover;-webkit-background-clip:text;background-clip:text;color:transparent}
.band{overflow:hidden;padding:30px 0 110px}
.band-in{white-space:nowrap;font-size:150px;font-weight:800;letter-spacing:-.045em;line-height:1;color:#15171a}
.band-in span{color:#cdc6ba}

@keyframes fromL{from{opacity:0;translate:-170px 0;rotate:-7deg}to{opacity:1;translate:0 0;rotate:0deg}}
@keyframes fromR{from{opacity:0;translate:170px 0;rotate:7deg}to{opacity:1;translate:0 0;rotate:0deg}}
@keyframes fromB{from{opacity:0;translate:0 170px;scale:.88}to{opacity:1;translate:0 0;scale:1}}
@supports (animation-timeline: view()){
.dl{animation:fromL linear both;animation-timeline:view();animation-range:entry 0% entry 85%}.db{animation:fromB linear both;animation-timeline:view();animation-range:entry 0% entry 85%}.dr{animation:fromR linear both;animation-timeline:view();animation-range:entry 0% entry 85%}
.sp-img img,.mini-img img{animation:settle linear both;animation-timeline:view();animation-range:entry 0% cover 55%}
.ticks li{animation:softIn linear both;animation-timeline:view();animation-range:entry 0% entry 70%}
.read{color:transparent;background-image:linear-gradient(#15171a,#15171a),linear-gradient(#cdc6ba,#cdc6ba);background-repeat:no-repeat;background-size:0% 100%,100% 100%;-webkit-background-clip:text;background-clip:text;animation:readFill linear both;animation-timeline:view();animation-range:cover 18% cover 52%}
.ch-open img{animation:zoomOut linear both;animation-timeline:view();animation-range:entry 0% entry 100%}
.op-h{transform-origin:left bottom;animation:titleIn linear both;animation-timeline:view();animation-range:entry 30% entry 100%}
.row .row-img{animation:wipeL linear both;animation-timeline:view();animation-range:entry 0% entry 80%}.row.alt .row-img{animation-name:wipeR}
#contact .two{animation:cardScale linear both;animation-timeline:view();animation-range:entry 0% entry 70%}
.ch-open{animation:circ linear both,sink linear both;animation-timeline:view(),view();animation-range:entry 0% entry 100%,exit-crossing 0% exit-crossing 100%}
.band-in{animation:band linear both;animation-timeline:view();animation-range:cover}
.w-img{animation:grow linear both;animation-timeline:view();animation-range:entry 0% entry 85%}
.work .rv{animation:flyR linear both;animation-timeline:view();animation-range:entry 5% entry 90%}.work.alt .rv{animation-name:flyL}
.h2{animation:spread linear both;animation-timeline:view();animation-range:entry 10% entry 90%}
.grid4 .mini:nth-child(odd){animation:flyL linear both;animation-timeline:view();animation-range:entry 0% entry 95%}.grid4 .mini:nth-child(even){animation:flyR linear both;animation-timeline:view();animation-range:entry 0% entry 95%}
.sect .sec{transform-origin:bottom;animation:key linear both;animation-timeline:view();animation-range:entry 0% entry 100%}
}
@media (max-width:960px){
  .drift{grid-template-columns:minmax(0,1fr)}.dcard:nth-child(2){margin-top:0}.dcard-img{height:360px}
  .band-in{font-size:64px}.cdirect a{font-size:22px}
}
.statement .kw{color:#15171a;-webkit-text-fill-color:#15171a;font-weight:700;background:linear-gradient(#cfe0c0,#cfe0c0) no-repeat 0 86%/100% .34em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
@keyframes kwMark{from{background-size:0% .34em}to{background-size:100% .34em}}
@supports (animation-timeline: view()){.statement .kw{animation:kwMark cubic-bezier(.3,.7,.2,1) both;animation-timeline:view();animation-range:cover 22% cover 42%}}

/* ==========================================================================
   site.css — production additions on top of design.css.
   Reuse the design tokens below; never override the look of an existing
   design component here unless it is a bug fix (mark it "FIX:").
   Tokens (from the design):
     ink #15171a · ink-hover #34373c · text-muted #4f4b45 · eyebrow #5a564f
     cream #f4f1ea · sand #ebe6dc · line #e3dfd6 · field-line #d8d3c8
     marker #cfe0c0 · accent-green #4f6b3a · error #b3261e
   Breakpoint: 960px (single breakpoint used by the design) + 560px (small phones)
   ========================================================================== */

/* ---- Self-hosted Montserrat (variable 400–900): latin + a Polish-only subset ----
   montserrat-pl.woff2 = the 16 Polish letters outside latin (ą ć ę ł ń ś ź ż, both cases),
   cut from Google's latin-ext file (4.7 KB instead of 68 KB). Other latin-ext characters
   (e.g. Czech ř) are NOT included and fall back — regenerate the subset if content needs them
   (command in CLAUDE.md → "Fonty"). */
@font-face{font-family:Montserrat;font-style:normal;font-weight:400 900;font-display:swap;src:url(/assets/fonts/montserrat-pl.woff2) format('woff2');unicode-range:U+0104-0107,U+0118-0119,U+0141-0144,U+015A-015B,U+0179-017C}
@font-face{font-family:Montserrat;font-style:normal;font-weight:400 900;font-display:swap;src:url(/assets/fonts/montserrat-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{font-family:Montserrat,sans-serif}

/* ---- Accessibility ---- */
.skiplink{position:absolute;left:16px;top:-80px;z-index:100;padding:12px 20px;border-radius:999px;background:#15171a;color:#fff !important;font:600 14px/1 Montserrat,sans-serif;text-decoration:none;transition:top .2s}
.skiplink:focus{top:16px}
.av :focus-visible{outline:2px solid #15171a;outline-offset:3px}
.av .cov :focus-visible,.av .sec:focus-visible,.av .skip:focus-visible{outline-color:#fff}
/* Industry cards: white focus ring inside the photo (outside it sat on cream, 1.13:1).
   Drawn as ::after because an inset outline is painted under the absolutely positioned photo. */
.av .sec:focus-visible{outline:none}
.av .sec:focus-visible::after{content:"";position:absolute;inset:6px;z-index:2;border:2px solid #fff;border-radius:11px;pointer-events:none}
/* Form fields: design.css removes the outline on :focus — restore a visible ring for
   keyboard focus (incl. fields in the error state, where focus lands after a failed submit) */
.av .cform .field :is(input,textarea,select):focus-visible{outline:2px solid #15171a;outline-offset:2px}
main:focus{outline:none}

/* FIX (a11y, WCAG 1.4.3): with reduced motion design.css disables the readFill
   scroll animation, which left the About statement at #cdc6ba on cream (1.5:1).
   Show it fully filled instead. */
@media (prefers-reduced-motion:reduce){.read{background-size:100% 100%,100% 100%}}

/* FIX (design export bug): invisible decorative layers swallowed clicks/taps on the
   hero progress bars — the "AVIANTE" cut-out (.cut, z-index 6, scaled ×14 at opacity 0
   after the hero opens) on all screens, and the faded "Swipe" hint (.hint,
   z-index 9) over the middle bars on phones. Neither ever needs pointer events. */
.cut,.hint{pointer-events:none}

/* a11y (WCAG 1.4.3): small white chapter label ("03 — Practice") sits on a bright part of
   the photo in chapter 3 (3.2–3.6:1). A soft shadow lifts it; applied to all chapters. */
.ch-in>span:first-child{text-shadow:0 1px 10px rgba(0,0,0,.7),0 0 2px rgba(0,0,0,.35)}

/* a11y: footer column titles are h2 (h4 skipped a level after the page's h2s);
   same look as design.css `.foot h4`. */
.foot h2{margin:0 0 14px;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#15171a}

/* ---- Language switch inside the mobile menu and the footer ---- */
.lang a{text-decoration:none}
.lang a:hover{text-decoration:underline}
.mside .mlang{margin-top:10px;font-size:15px}
.mside .mlang a{font-weight:600}
.flinks{display:inline-flex;gap:24px;align-items:center;flex-wrap:wrap}
.foot .flinks a{color:#4f4b45}

/* ---- Contact form: states ---- */
/* FIX (a11y, WCAG 1.4.11): field borders #d8d3c8 were 1.2–1.5:1; #7d786f is 3.5:1 on the card.
   :where() keeps specificity low so the focus / error / ok border colours still win. */
.cform .field :where(input,textarea,select){border-color:#7d786f}
.field .ferr{font-size:13px;line-height:1.45;font-weight:500;color:#b3261e}
.field.is-err label{color:#b3261e}
.field.is-err input,.field.is-err textarea,.field.is-err select{border-color:#b3261e;background:#fffaf9}
.field.is-err input:focus,.field.is-err textarea:focus{box-shadow:0 0 0 3px rgba(179,38,30,.15);border-color:#b3261e}
.field.is-ok input,.field.is-ok textarea{border-color:#4f6b3a}
.fsum{margin:0;padding:12px 16px;border-radius:12px;background:#fbe9e7;color:#8c1d16;font-size:14px;font-weight:600;line-height:1.5}
.fnote{margin:0;font-size:13px;line-height:1.6;color:#4f4b45}
.fnote a{color:#15171a;font-weight:600}
.cform .hp{position:absolute !important;left:-10000px;width:1px;height:1px;overflow:hidden}
.cform{position:relative}
/* Two fields in one row (phone + type): when one label wraps to two lines, keep the inputs level. */
.cform>.field{justify-content:flex-end}
.cform .btn[disabled]{opacity:.6;cursor:progress}
/* Inline thank-you that replaces the form after a successful send (main.js). */
.fdone{display:flex;flex-direction:column;gap:12px;padding:28px;border-radius:20px;background:#f4f1ea;border-left:4px solid #4f6b3a}
.fdone[hidden]{display:none}
.cform[hidden],[data-form-label][hidden]{display:none !important} /* beats the form's inline display:grid */
.fdone h3{margin:0;font-size:32px;line-height:1.15;font-weight:600;letter-spacing:-.02em;color:#15171a}
.fdone p{margin:0}
.fdone:focus{outline:none}
.fdone:focus-visible{outline:2px solid #15171a;outline-offset:2px}

/* ---- Hero: previous / next arrows ----
   Near the screen edges (32px), so they stay off the photos' centre; on narrower screens they
   move in no further than the side margin of the .wrap content (1360px max, 64px padding), so
   neither the texts nor the bars move. Slides: the colour of the progress-bar track, white on
   hover. Intro frame (cream, before the hero opens): ink on cream, like .btn-d on hover.
   Phones, tablets and other touch-only screens have no arrows — the hero is swiped there. */
.hnav{position:absolute;top:50%;z-index:10;width:48px;height:48px;margin-top:-24px;padding:0;border:0;border-radius:50%;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  left:clamp(8px, calc((100% - 1360px) / 2 + 4px), 32px);
  color:#fff;background:rgba(255,255,255,.3);transition:background-color .3s,color .3s}
.hnav.next{left:auto;right:clamp(8px, calc((100% - 1360px) / 2 + 4px), 32px)}
.hnav[hidden]{display:none}
/* The hero reacts to taps (tap zones in main.js): no grey iOS tap flash over the photo. */
.stage[data-hero]{-webkit-tap-highlight-color:transparent}
.hnav:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.stage:not(.open) .hnav{color:#15171a;background:rgba(21,23,26,.08)}
@media (hover:hover){
  .stage.open .hnav:hover{background:#fff;color:#15171a}
  .stage:not(.open) .hnav:hover{background:#15171a;color:#f4f1ea}
}
@media (max-width:960px),(hover:none) and (pointer:coarse){
  .hnav{display:none}
}
/* Swipe hint under the intro (replaces the design's "Scroll or swipe" text): icon + word,
   the dot slides left and right (static under reduced motion — design.css stops .av animations). */
.hint{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.hint svg{flex:none}
.hint .sw-dot{animation:swipeDot 1.8s ease-in-out infinite}
@keyframes swipeDot{0%,100%{transform:translateX(-4px)}50%{transform:translateX(4px)}}

/* FIX (design): the desktop hero was a fixed 860px tall, so on laptops (1366×768, 1536×864:
   ~650–730px visible) the h1 under the wordmark and the slider bars ended up below the fold.
   Above 960px the stage now takes the visible height (540–860px; 1920×1080 keeps 860px). The
   cream part under the wordmark (.below) keeps its 300px; the wordmark area above it shrinks,
   and the wordmark only shrinks when that area gets too low for it. Phones keep their own
   rules (design.css ≤960px). 404 / thank-you (.xstage) are unchanged. */
@media (min-width:961px){
  .stage:not(.xstage){
    --hero-h:clamp(540px, calc(100svh - 84px), 860px);
    --cut-h:calc(var(--hero-h) - 300px);
    --mark:clamp(80px, min(17.5vw, calc((var(--cut-h) - 90px) / .82)), 252px);
    height:var(--hero-h);
  }
  .stage:not(.xstage) .cut .cutin,.stage:not(.xstage) .ghost{height:var(--cut-h)}
  .stage:not(.xstage) .below{top:var(--cut-h)}
  .stage:not(.xstage) .cut span,.stage:not(.xstage) .ghost span{font-size:var(--mark)}
  .stage:not(.xstage) .cut{transform-origin:50% calc(var(--cut-h) - 10px - .36 * var(--mark))}
}

/* ---- Secondary pages (404, thank you) — reuse of the hero stage ---- */
.xstage .below h1 .eyebrow{font-weight:600}
.xactions{display:flex;flex-wrap:wrap;gap:12px}
.legal a{color:#15171a;font-weight:600}

/* ---- Responsive fixes for content the design only showed at 1440px ---- */
@media (max-width:1200px){
  .plogos{grid-template-columns:repeat(6,minmax(0,1fr))}
  .big{font-size:104px}
}
@media (max-width:960px){
  /* Hero slider text on phones/tablets: the rotating word fills the width.
     --word-em = width of the longest word in em (measured at build time),
     so long Polish words shrink and short English ones grow. */
  .big{font-size:min(88px, calc((100vw - 40px) / (var(--word-em, 6) + .3)))}
  /* Header on phones/tablets: opaque — the 90% see-through, blurred bar turned grey over dark
     photos and no longer matched the browser's own bar (theme-color #f4f1ea) — and lower:
     60px instead of 84px (it only holds the wordmark and the menu button). Everything that
     used the 84px offset follows: menu panel, anchor offsets, hero / chapter heights. */
  .hdr{height:60px;background:#f4f1ea;-webkit-backdrop-filter:none;backdrop-filter:none}
  .menu{top:60px}
  section[id],#next{scroll-margin-top:60px}
  .stage{height:clamp(560px,calc(100svh - 60px),820px)}
  .cov .lead{font-size:clamp(18px, 5.4vw, 26px);line-height:1.3;margin-bottom:8px;text-wrap:balance}
  /* FIX: .ch-open keeps top:84px from its desktop sticky rule when it becomes
     position:relative on phones → the image shifted under .ch-body and its text was cut off */
  .ch-open{top:0}
  /* Chapter images on phones: almost a full screen (like the hero), so each
     practice reads as its own section. Desktop keeps 760px from design.css. */
  .ch-open{height:clamp(560px, calc(100svh - 60px), 760px)}
  /* FIX: contact card keeps 64px/48px inner padding from the desktop design */
  #contact .c-body{padding:36px 24px !important}
  #contact .c-quote .statement{padding:32px 24px !important;font-size:24px !important}
  #contact .c-quote{min-height:300px !important}
  /* FIX: chapter titles (76px) overflow on phones */
  .op-h{overflow-wrap:anywhere}
  .ch-in p{font-size:17px !important}
  .statement{font-size:28px !important}
  #about .statement{font-size:26px !important}
  .row h4{font-size:26px}
  .work h3{font-size:26px !important}
  .xstage .below h1{font-size:28px}
  /* FIX (WCAG 1.4.10): 404 / thank-you reuse the fixed-height hero stage, which clipped the
     second button on small phones. Let the stage grow with its content (same minimum height). */
  .xstage{height:auto;min-height:clamp(560px,calc(100svh - 60px),820px)}
  .xstage .below{position:relative;top:0;margin-top:300px;padding-bottom:40px}
}
/* FIX (design): the "AVIANTE" cut-out has a 80px minimum size = 376px wide, so it was
   clipped on screens narrower than ~392px (e.g. 360px Androids). Below 400px scale it to
   the screen width (8px margin each side); the zoom origin uses the same size. 4.7em =
   measured wordmark width (Montserrat 900, -.03em). Wider screens are unchanged. */
@media (max-width:400px){
  .cut span,.ghost span{font-size:min(80px,calc((100vw - 16px) / 4.7))}
  .cut{transform-origin:50% calc(290px - .36 * min(80px,calc((100vw - 16px) / 4.7)))}
}
@media (max-width:560px){
  .cform{grid-template-columns:minmax(0,1fr) !important}
  .cform>*{grid-column:auto !important}
  .cform .btn{width:100%;justify-content:center}
  .mlinks a{font-size:34px}
  .grid4{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
  .wmeta{grid-template-columns:minmax(0,1fr)}
  .wmeta>div{grid-column:auto !important}
  .cdirect a{font-size:19px}
  .h2,.statement{font-size:28px !important}
  .op-h{font-size:34px !important}
  .plogos{gap:28px 18px}
}
