  :root {
  --white: #ffffff;
  --mist: #f4f4f1;
  --line: #e3e3de;
  --ink: #0d0f10;
  --ink-2: #5d6266;
  --ink-3: #8b9094;
  --night: #0b0d0e;
  --night-2: #141719;
  --night-3: #1d2124;
  --on-night: #f2f2ee;
  --on-night-2: #a3a8ab;
  --line-night: rgba(255,255,255,.1);
  --copper: #d9915f;
  --copper-deep: #a8643a;
  --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  --pad: clamp(20px, 5vw, 64px);
  --max: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--copper); color: var(--night); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; border-radius: 4px; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(36px, 5.4vw, 72px); }
.kicker { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 22px; display: flex; gap: 10px; align-items: center; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 34em; margin: 0; }

/* Buttons */
.btn { --b: var(--ink); --f: #fff; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; background: var(--b); color: var(--f); text-decoration: none; font-weight: 500; font-size: 15px; border: 1px solid var(--b); transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s; }
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px; display: flex; align-items: center; background: rgba(255,255,255,.72); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgba(0,0,0,.06); transition: background .4s, border-color .4s, color .4s; }
.nav.on-dark { background: rgba(11,13,14,.72); border-color: var(--line-night); color: var(--on-night); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 26px; height: 26px; }
.logo .ring { transform-origin: 16px 16px; animation: spin 14s linear infinite; }
.logo .dot { fill: var(--ink); transition: fill .4s; }
.nav.on-dark .logo .dot, footer .logo .dot { fill: var(--on-night); }
.logo span { font: 400 21px/1 Fraunces, Georgia, serif; letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.nav-links > a { text-decoration: none; opacity: .75; transition: opacity .2s; }
.nav-links > a:hover { opacity: 1; }
.nav-links .btn { height: 36px; padding: 0 16px; font-size: 13.5px; opacity: 1; }
.nav.on-dark .nav-links .btn { --b: var(--on-night); --f: var(--night); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero */
.hero { padding: calc(64px + clamp(48px, 9vw, 120px)) 0 0; }
.hero-top { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); }
.hero h1 { font-size: clamp(46px, 8.6vw, 128px); letter-spacing: -0.045em; line-height: .96; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 em { font-style: normal; color: var(--ink-3); }
@keyframes rise { to { transform: none; } }
.hero-side { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; opacity: 0; animation: fade 1s .45s var(--ease) forwards; }
.hero-side .lead { max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 28px; opacity: 0; animation: fade .9s .05s var(--ease) forwards; }

.stage { margin-top: clamp(48px, 7vw, 96px); padding: 0 var(--pad); }
.frame { position: relative; max-width: 1480px; margin: 0 auto; aspect-ratio: 3 / 2; border-radius: 28px; overflow: hidden; background: #c9cbc8; transform-origin: 50% 0; will-change: transform; }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: settle 1.8s .2s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.tag { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.frame.ready .tag { opacity: 1; transform: none; }
.frame.ready .tag:nth-of-type(2) { transition-delay: .25s; }
.frame.ready .tag:nth-of-type(3) { transition-delay: .5s; }
.tag i { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.35); flex: none; margin-left: -7px; }
.tag i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #fff; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.tag span { background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 9px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; white-space: nowrap; box-shadow: 0 10px 30px -12px rgba(0,0,0,.35); }
.tag span b { font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--copper-deep); margin-right: 8px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 72px); }
.facts div { padding: 22px 22px 0 0; font-size: 15px; color: var(--ink-2); }
.facts div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.facts b { display: block; font: 600 15px/1.3 var(--display); color: var(--ink); letter-spacing: -0.01em; margin-bottom: 4px; }

/* Sections */
section { position: relative; }
.block { padding: clamp(96px, 13vw, 168px) 0; }
.dark { background: var(--night); color: var(--on-night); }
.dark .kicker { color: var(--on-night-2); }
.dark .lead { color: var(--on-night-2); }
.tint { background: var(--mist); }
.head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }

/* Commitments */
.commit { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-night); }
.commit article { padding: 34px 28px 8px 0; position: relative; }
.commit article + article { padding-left: 28px; border-left: 1px solid var(--line-night); }
.commit .n { font: 500 12px/1 var(--mono); color: var(--copper); letter-spacing: .1em; }
.commit svg { display: block; width: 30px; height: 30px; stroke: var(--on-night); margin: 30px 0 26px; }
.commit h3 { font-size: 23px; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px; }
.commit p { margin: 0; color: var(--on-night-2); font-size: 15.5px; }
.commit article::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.commit article.in::before { transform: scaleX(1); }

/* Range (horizontal gallery) */
.range { padding: clamp(96px, 13vw, 168px) 0 0; }
.range-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 64px; }
.range > .wrap .head { margin-bottom: 0; }
.range .head { margin-bottom: clamp(24px, 3.4vw, 44px); }
.track { display: flex; gap: 20px; padding: 0 var(--pad); will-change: transform; }
.tile { flex: 0 0 clamp(240px, min(27vw, calc((100vh - 230px) * .8)), 400px); position: relative; }
.tile .pic { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--mist); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 4px 0; }
.tile h3 { font-size: 22px; letter-spacing: -0.02em; }
.tile .code { font: 500 11.5px/1 var(--mono); color: var(--ink-3); letter-spacing: .08em; white-space: nowrap; }
.tile p { margin: 6px 4px 0; font-size: 15px; color: var(--ink-2); }
.tile-more { text-decoration: none; color: var(--on-night); }
.tile-more .pic { background: var(--night); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; gap: 12px; transition: background .4s; }
.tile-more:hover .pic { background: var(--night-3); }
.more-plus { font: 300 64px/1 var(--display); color: var(--copper); margin-bottom: auto; transition: transform .6s var(--ease); }
.tile-more:hover .more-plus { transform: rotate(90deg); }
.more-text { font: 600 28px/1.1 var(--display); letter-spacing: -0.03em; }
.more-sub { color: var(--on-night-2); font-size: 15px; }
.more-cta { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--copper); margin-top: 8px; }
.range-bar { margin: clamp(22px, 3vw, 36px) var(--pad) 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; max-width: 320px; }
.range-bar i { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.range.static .range-pin { position: static; height: auto; padding: clamp(36px, 5vw, 56px) 0 clamp(96px, 13vw, 168px); }
.range.static .track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; padding-bottom: 6px; }
.range.static .track::-webkit-scrollbar { display: none; }
.range.static .tile { scroll-snap-align: start; }
.range.static .range-bar { display: none; }

/* Path (sticky story) */
.path-intro { padding-top: clamp(96px, 13vw, 168px); }
.path-intro .head { margin-bottom: 0; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); }
.path-media { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-top: 64px; }
.stack { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 78vh; border-radius: 26px; overflow: hidden; background: var(--night-3); }
.stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.stack img.on { opacity: 1; transform: scale(1); }
.stack .count { position: absolute; left: 20px; bottom: 20px; font: 500 12px/1 var(--mono); letter-spacing: .1em; color: #fff; background: rgba(11,13,14,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 10px 14px; border-radius: 999px; }
.steps { padding: 26vh 0 26vh; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
.step.on { opacity: 1; }
.step .n { font: 500 12px/1 var(--mono); color: var(--copper); letter-spacing: .1em; margin-bottom: 18px; text-transform: uppercase; }
.step h3 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.035em; margin-bottom: 18px; }
.step p { margin: 0; color: var(--on-night-2); font-size: 18px; max-width: 26em; }
.step .m-pic { display: none; }

/* Company sheet */
.sheet { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 110px); }
.sheet dl { margin: 0; border-top: 1px solid var(--ink); }
.sheet .row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sheet dt { font: 500 12px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.sheet dd { margin: 0; font-size: 18px; }
.sheet dd a { text-underline-offset: .2em; }
.sheet .lead { margin-top: 26px; }
.work-title { font-size: clamp(28px, 3vw, 40px); margin-top: clamp(80px, 10vw, 130px); }
.work { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 36px; counter-reset: w; }
.work div { padding: 26px 26px 0 0; border-top: 1px solid var(--line); }
.work div + div { padding-left: 26px; }
.work div::before { counter-increment: w; content: "0" counter(w); display: block; font: 500 12px/1 var(--mono); color: var(--copper-deep); letter-spacing: .1em; margin-bottom: 18px; }
.work h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 8px; }
.work p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* Contact */
.contact { text-align: center; overflow: hidden; }
.contact h2 { font-size: clamp(56px, 11vw, 168px); letter-spacing: -0.05em; line-height: .92; }
.contact .lead { margin: 30px auto 44px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 26px; border-radius: 999px; background: var(--night-2); border: 1px solid var(--line-night); }
.pill a { font: 500 clamp(17px, 2vw, 22px)/1 var(--display); text-decoration: none; letter-spacing: -0.01em; }
.pill button { height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--on-night); color: var(--night); font: 500 14px var(--sans); cursor: pointer; transition: background .3s; }
.pill button:hover { background: var(--copper); }
.meta-row { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; font-size: 14px; color: var(--on-night-2); }
.glow { position: absolute; left: 50%; bottom: -40%; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(217,145,95,.22), transparent); pointer-events: none; }
.contact .wrap { position: relative; }

footer { background: var(--night); color: var(--on-night-2); border-top: 1px solid var(--line-night); font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; flex-wrap: wrap; }
footer .logo { color: var(--on-night); }
footer .logo svg { width: 22px; height: 22px; }
footer .logo span { font-size: 18px; }
footer details summary { cursor: pointer; list-style: none; }
footer details summary::-webkit-details-marker { display: none; }
footer details[open] { flex-basis: 100%; }
footer details p { margin: 12px 0 0; line-height: 1.8; }
footer details a { color: var(--on-night); }

/* Reveal */
.r { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.r.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-top, .head, .sheet, .path-grid { grid-template-columns: 1fr; }
  .head { gap: 22px; }
  .commit, .work, .facts { grid-template-columns: 1fr 1fr; }
  .commit article:nth-child(3), .work div:nth-child(3), .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div { padding-bottom: 18px; }
  .path-media { display: none; }
  .steps { padding: 56px 0 clamp(48px, 8vw, 96px); }
  .step { min-height: 0; opacity: 1; padding-bottom: 64px; }
  .step .m-pic { display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; margin-bottom: 26px; }
  .step .m-pic img { width: 100%; height: 100%; object-fit: cover; }
}
@media (max-width: 700px) {
  .nav-links > a:not(.btn) { display: none; }
  .nav-links { gap: 10px; }
  .tag { display: none; }
  .frame { aspect-ratio: 4 / 5; border-radius: 20px; }
  .frame img { object-position: 46% 50%; }
  .commit, .work, .facts { grid-template-columns: 1fr; }
  .commit article, .commit article + article, .work div, .work div + div, .facts div, .facts div + div { padding-left: 0; border-left: 0; }
  .commit article + article { border-top: 1px solid var(--line-night); }
  .facts div + div { border-top: 1px solid var(--line); }
  .sheet .row { grid-template-columns: 1fr; gap: 6px; }
  .pill { padding-left: 20px; }
  .tile { flex-basis: 78vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .r { opacity: 1; transform: none; }
  .hero h1 .line > span, .hero-side, .eyebrow { transform: none; opacity: 1; }
  .frame img { transform: none; }
  .logo .ring { animation: none; }
}

/* Language switch, crossfade and suggestion */
html { transition: opacity .26s ease; }
html.leaving { opacity: 0; }
body { animation: pagein .5s ease both; }
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(0,0,0,.12); gap: 2px; }
.nav.on-dark .lang { border-color: var(--line-night); }
.lang a { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-decoration: none; padding: 7px 9px; border-radius: 999px; opacity: .6; transition: opacity .2s, background .3s; }
.lang a:hover { opacity: 1; }
.lang a[aria-current] { opacity: 1; background: rgba(0,0,0,.07); }
.nav.on-dark .lang a[aria-current] { background: rgba(255,255,255,.12); }
.see-lang { display: inline-flex; gap: 6px; margin-top: 16px; font-size: 14.5px; color: var(--copper); text-decoration: none; border-bottom: 1px solid rgba(217,145,95,.4); padding-bottom: 2px; }
.see-lang:hover { border-color: var(--copper); }
.lang-toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 20px; border-radius: 999px; background: rgba(11,13,14,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--on-night); font-size: 14.5px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); transition: opacity .5s var(--ease), transform .5s var(--ease); max-width: calc(100% - 32px); }
.lang-toast.show { opacity: 1; transform: translate(-50%, 0); }
.lang-toast a { color: var(--copper); text-decoration: none; font-weight: 500; white-space: nowrap; }
.lang-toast button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: inherit; font-size: 18px; line-height: 1; cursor: pointer; flex: none; }
@media (max-width: 700px) {
  .lang-toast { flex-wrap: wrap; border-radius: 18px; gap: 8px 14px; bottom: 16px; width: calc(100% - 32px); }
  .lang-toast span { flex-basis: calc(100% - 50px); }
}
@media (prefers-reduced-motion: reduce) { body { animation: none; } html { transition: none; } }
