/* Concept site layout */

body { padding-bottom: 0; }
@media (max-width: 799.98px) { body { padding-bottom: calc(48px + env(safe-area-inset-bottom)); } }

/* ---------- Gate ---------- */
.gate {
  position: fixed; inset: 0; z-index: 900; background: var(--night);
  display: grid; place-items: center; padding: var(--gutter);
  overflow-y: auto;
}
.gate-seen .gate { display: none; }
.gate__grid { position: absolute; inset: 0; opacity: .8; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.gate__inner { position: relative; max-width: 34rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.gate__logo { width: min(260px, 70vw); height: auto; margin-bottom: 2.25rem; }
.gate__kicker { margin: 0 0 1rem; }
.gate__stake { width: 14px; height: 56px; color: var(--last-light); margin-bottom: 1.25rem; overflow: visible; }
.gate__text { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); line-height: 1.5; margin-bottom: 2rem; text-wrap: balance; }
.gate__actions { justify-content: center; }
.gate.is-leaving { pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 500; height: var(--header-h);
  background: rgba(16,14,12,.94);
  border-bottom: 1px solid transparent;
  transition: height .35s var(--ease-out), border-color .35s, background-color .35s;
}
@media (min-width: 800px) {
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .site-header { background: rgba(16,14,12,.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  }
}
.is-scrolled .site-header { height: 64px; border-color: var(--iron); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; flex-direction: column; gap: 5px; text-decoration: none; min-height: 44px; justify-content: center; }
.brand .logo-img { height: 32px; width: auto; }
.is-scrolled .brand .logo-img { height: 26px; }
@media (max-width: 799.98px) { .site-header { transition: border-color .35s, background-color .35s; } }
.brand__credit {
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--last-light); white-space: nowrap; line-height: 1;
}
.brand:hover { color: inherit; }

.nav { display: none; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  font-family: var(--font-head); font-weight: 500; font-size: .9375rem; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px; position: relative; color: var(--drawing);
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--last-light);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out);
}
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav ul a[aria-current="page"] { color: var(--drawing); }
.nav__cta { min-height: 44px; padding: .6rem 1.1rem; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; min-width: 44px; padding: 0 .25rem 0 .75rem;
  background: none; border: 1px solid rgba(246,243,236,.35); border-radius: 2px;
  font-family: var(--font-head); font-weight: 600; font-size: .875rem; letter-spacing: .04em; position: relative; z-index: 2;
}
.menu-toggle__label { padding-right: .6rem; }
.menu-toggle__bars { display: grid; gap: 5px; width: 18px; }
.menu-toggle__bars span { height: 1.5px; background: currentColor; transition: transform .35s var(--ease-out); }
.menu-open .menu-toggle__bars span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .menu-toggle__bars span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (min-width: 800px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
}
@media (min-width: 800px) and (max-width: 1023.98px) {
  .nav ul { gap: 1.1rem; }
  .nav ul a { font-size: .875rem; }
  .nav { gap: 1.1rem; }
}

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 450; background: var(--night);
  padding-top: calc(var(--header-h) + 1.5rem); overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__inner { display: flex; flex-direction: column; min-height: 100%; padding-bottom: 2rem; }
.menu__list { list-style: none; margin: 0 0 2.5rem; padding: 0; border-top: 1px solid var(--iron); }
.menu__list li { border-bottom: 1px solid var(--iron); }
.menu__list a {
  display: flex; align-items: center; min-height: 60px; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 2vw, 2.2rem);
}
.menu__list a[aria-current="page"] { color: var(--last-light); }
.menu__foot { margin-top: auto; color: var(--steel); }
.menu__foot a { color: var(--drawing); text-decoration: none; display: inline-block; min-height: 32px; }

/* ---------- Main ---------- */
main { padding-top: var(--header-h); min-height: 100svh; outline: none; }
main:focus, main:focus-visible { outline: none; }
.textlink .arrow { width: 1.1em; height: 1.1em; flex: none; transition: transform .3s var(--ease-out); }
.textlink:hover .arrow { transform: translateX(3px); }
.page-head { padding-top: clamp(3rem, 2rem + 5vw, 6.5rem); padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-head .display { max-width: 18ch; }
.page-head .lede { margin-top: 1.5rem; }

/* ---------- Start bar ---------- */
.startbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; height: calc(48px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  background: var(--last-light); color: var(--night); text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: .9375rem;
  padding-bottom: env(safe-area-inset-bottom);
}
.startbar .arrow { width: 1.1em; height: 1.1em; }
.startbar:hover { color: var(--night); background: var(--drawing); }
@media (min-width: 800px) { .startbar { display: none; } }
body.gate-open .startbar, body.menu-open .startbar, body.route-start .startbar { display: none; }
@media (max-width: 799.98px) { body.route-start { padding-bottom: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); }
.hero__frame {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--header-h) - 48px - env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  padding: 1rem var(--gutter) 1rem;
}
@media (min-width: 800px) { .hero__frame { min-height: calc(100svh - var(--header-h)); padding-bottom: 1.75rem; } }
.hero.is-pinned .hero__frame { height: calc(100vh - 64px); min-height: 0; }
.hero__grid { position: absolute; inset: 0; pointer-events: none; }
.hero__media { position: absolute; inset: 0; pointer-events: none; }
.hero__media figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s var(--ease-out); }
.hero__media figure.is-on { opacity: 1; }
.hero__media figure.is-dim { opacity: .32; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; filter: saturate(.85) contrast(1.04) brightness(.8); }
.hero__media figure::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(16,14,12,.92) 0%, rgba(16,14,12,.7) 38%, rgba(16,14,12,.35) 70%, rgba(16,14,12,.5) 100%);
}
.hero__drawing {
  position: relative; flex: 0 0 auto;
  height: auto; display: flex; align-items: center; justify-content: center;
  padding-top: .5rem;
}
.hero.is-pinned .hero__drawing, .hero--wide .hero__drawing { height: 52%; flex-basis: 52%; }
.hero__svg { width: 100%; max-width: 1100px; height: 100%; max-height: 100%; overflow: visible; }
.hero__copy {
  position: relative; margin-top: auto; display: grid; gap: 1.5rem; align-items: end;
  max-width: var(--max); width: 100%; margin-inline: auto;
}
.hero__h1 { font-size: clamp(2rem, 1rem + 3.9vw, 4.25rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.022em; max-width: 15ch; }
.hero__tag { color: var(--steel); margin: .9rem 0 0; font-size: 1.0625rem; max-width: 36ch; }
.stage { min-height: 7.5rem; }
@media (max-width: 899.98px) { .stage { min-height: 9.5rem; } .stage__text { transition: opacity .3s; } }
.hero.is-pinned .hero__h1 { font-size: clamp(2rem, .9rem + 2.7vw, 3.6rem); max-width: 17ch; }
.hero.is-pinned .hero__tag { margin-top: .6rem; }
.hero.is-pinned .stage { min-height: 0; }
.stage__meta { display: flex; align-items: baseline; gap: .75rem; margin-bottom: .5rem; }
.stage__num { font-family: var(--font-head); font-weight: 700; color: var(--last-light); font-size: .9375rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.stage__name { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; }
.stage__text { font-size: 1.125rem; line-height: 1.45; max-width: 34ch; margin: 0; }
@media (min-width: 900px) {
  .hero__copy { grid-template-columns: 1.35fr 1fr; gap: 3rem; padding-right: 5.5rem; }
}

.stage-tabs {
  position: relative; display: flex; gap: .4rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  margin: 1.25rem calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) .25rem; scrollbar-width: none;
}
.stage-tabs::-webkit-scrollbar { display: none; }
.stage-tabs button {
  flex: 0 0 auto; scroll-snap-align: start; min-height: 44px; padding: .5rem .85rem;
  background: rgba(28,26,23,.85); border: 1px solid var(--iron); border-radius: 2px;
  font-family: var(--font-body); font-weight: 600; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--steel);
  display: inline-flex; align-items: center; gap: .5rem;
}
.stage-tabs button span { color: var(--steel); font-variant-numeric: tabular-nums; }
.stage-tabs button[aria-pressed="true"] { border-color: var(--last-light); color: var(--drawing); }
.stage-tabs button[aria-pressed="true"] span { color: var(--last-light); }
.hero.is-pinned .stage-tabs { display: none; }
@media (min-width: 900px) { .stage-tabs { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; max-width: var(--max); width: 100%; margin-left: auto; margin-right: auto; } }

.rail { display: none; }
.hero.is-pinned .rail { display: block; }
.rail {
  position: absolute; right: var(--gutter); top: 1.5rem; bottom: 1.75rem; width: 4.25rem; pointer-events: none;
}
.rail__line, .rail__fill { position: absolute; right: 6px; top: 10px; bottom: 14px; width: 1.5px; background: var(--iron); }
.rail__fill { background: var(--last-light); transform-origin: top; transform: scaleY(0); }
.rail__cap { position: absolute; right: 0; top: 9px; width: 14px; height: 1.5px; background: var(--last-light); }
.rail__tip { position: absolute; right: 3.75px; bottom: 0; width: 6px; height: 14px; background: var(--iron); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.rail__fill.is-full + .rail__tip { background: var(--last-light); }
.rail ol { list-style: none; margin: 0; padding: 0; position: absolute; inset: 10px 0 14px 0; }
.rail li {
  position: absolute; right: 0; transform: translateY(-50%); display: flex; align-items: center; gap: .45rem;
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--steel);
}
.rail li::after { content: ""; width: 13px; height: 1.5px; background: var(--iron); }
.rail li.is-past::after, .rail li.is-active::after { background: var(--last-light); }
.rail li.is-active { color: var(--drawing); }

/* drawing strokes */
.ln { fill: none; stroke: var(--drawing); stroke-width: 1.4; stroke-linecap: butt; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.ln.thin { stroke-width: .8; opacity: .55; }
.ln.acc { stroke: var(--last-light); }
.ln.fill-acc { fill: var(--last-light); stroke: none; }
.tx { fill: var(--steel); font-family: var(--font-body); font-weight: 600; font-size: 12.5px; letter-spacing: .16em; transition: opacity .5s var(--ease-out); }
.tx.acc { fill: var(--last-light); }
.tx.big { font-size: 13px; }

/* ---------- Section heads ---------- */
.sec-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
@media (min-width: 900px) { .sec-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; } }
.sec-head .note { margin: 0; }

/* ---------- Intro ---------- */
.intro__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start; } }
.intro__body p { font-size: 1.1875rem; line-height: 1.55; }
.intro__body p:first-child { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); line-height: 1.4; font-family: var(--font-head); font-weight: 500; letter-spacing: -.01em; }
.intro__photo { aspect-ratio: 4 / 5; }
.intro__photo img { object-position: center 60%; }
.intro__cap { margin-top: .75rem; }

/* ---------- Lifecycle ---------- */
.life { overflow: hidden; }
.life__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--iron) transparent; padding-bottom: 1.25rem; -webkit-overflow-scrolling: touch; }
.life__viewport:focus-visible { outline-offset: -2px; }
.life.is-pinned .life__viewport { overflow: visible; }
.life__track { display: flex; gap: 1rem; width: max-content; padding-inline: var(--gutter); }
@media (min-width: 1400px) { .life__track { padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.life-card {
  scroll-snap-align: start; width: min(82vw, 25rem); min-height: 22rem; flex: none;
  background: var(--plate); border: 1px solid var(--iron); padding: 1.6rem 1.5rem 1.5rem; position: relative;
  display: flex; flex-direction: column;
}
.life-card__num { font-family: var(--font-head); font-weight: 800; font-size: 3.5rem; line-height: 1; color: #4A4640; letter-spacing: -.02em; }
.life-card:hover .life-card__num { color: var(--last-light); transition: color .4s; }
.life-card__dim { display: flex; align-items: center; gap: .5rem; margin: 1.4rem 0 1.1rem; }
.life-card__dim i { flex: 1; height: 1px; background: var(--iron); position: relative; }
.life-card__dim i::before, .life-card__dim i::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: var(--steel); }
.life-card__dim i::before { left: 0; } .life-card__dim i::after { right: 0; }
.life-card h3 { font-size: 1.5rem; font-weight: 650; margin-bottom: .75rem; }
.life-card p { color: var(--drawing); font-size: 1.0625rem; margin: 0; }
.life-card .tbc { margin-top: auto; align-self: flex-start; }
.life-card .life-card__src { color: var(--steel); font-size: .9375rem; margin-top: 1rem; }
.life-card .tbc + .life-card__src { margin-top: .6rem; }
.life-card--end { background: transparent; border-style: dashed; justify-content: flex-end; }

/* ---------- Services ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--iron); counter-reset: svc; }
.svc-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.4rem; align-items: start; padding: 1.6rem 0; border-bottom: 1px solid var(--iron); }
.svc-item__idx { display: flex; align-items: flex-start; gap: .6rem; min-width: 4.2rem; }
.svc-item__idx .stake { height: 2.2rem; width: 10px; }
.svc-item__idx b { font-family: var(--font-head); font-weight: 700; font-size: .9375rem; color: var(--last-light); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.svc-item h3 { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.85rem); font-weight: 600; line-height: 1.15; }
.svc-item p { grid-column: 2; color: var(--steel); margin: 0; font-size: 1.0625rem; }
.svc-cols { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .svc-cols { grid-template-columns: 1.4fr 1fr; gap: 5rem; } }
.purpose { background: var(--plate); border: 1px solid var(--iron); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-self: start; position: sticky; top: 6rem; }
.purpose ul { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 1rem; }
.purpose li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .8rem; font-size: 1.0625rem; line-height: 1.45; }
.purpose li::before { content: ""; width: 9px; height: 9px; margin-top: .45em; border: 1.5px solid var(--last-light); transform: rotate(45deg); }

.svc-preview { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--iron); }
.svc-preview li { border-bottom: 1px solid var(--iron); }
.svc-preview a { display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: center; gap: 1rem; min-height: 64px; padding: .9rem 0; text-decoration: none; }
.svc-preview b { font-family: var(--font-head); color: var(--last-light); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.svc-preview span { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); }
.svc-preview svg { width: 20px; height: 20px; color: var(--steel); transition: transform .35s var(--ease-out), color .3s; }
.svc-preview a:hover svg { transform: translateX(4px); color: var(--last-light); }
@media (min-width: 900px) { .svc-preview { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters button {
  min-height: 44px; padding: .5rem 1rem; background: transparent; border: 1px solid var(--iron); border-radius: 2px;
  font-family: var(--font-body); font-weight: 600; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel);
  transition: border-color .25s, color .25s, background-color .25s;
}
.filters button:hover { border-color: var(--steel); color: var(--drawing); }
.filters button[aria-pressed="true"] { border-color: var(--last-light); color: var(--night); background: var(--last-light); }
.proj-grid { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .proj-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
.proj-grid > li[hidden] { display: none; }
.proj-card { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--plate); text-align: left; color: inherit; }
.proj-card .photo { display: block; aspect-ratio: 4 / 3; }
.proj-card > span { display: block; }
.proj-card .photo img { object-position: center 72%; transition: transform 1.1s var(--ease-out), filter .6s; }
.proj-card:hover .photo img { transform: scale(1.025); filter: saturate(1) contrast(1.03) brightness(1); }
.proj-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.25rem 1.15rem; z-index: 1; }
.proj-card__body .label { color: var(--drawing); opacity: .85; }
.proj-card__body > span { display: block; }
.proj-card__title { font-family: var(--font-head); font-size: clamp(1.35rem, 1.15rem + .8vw, 1.85rem); font-weight: 650; line-height: 1.08; margin: .35rem 0 .3rem; }
.proj-card__cap { margin: 0; font-size: 1rem; line-height: 1.4; color: var(--drawing); opacity: .9; }
.proj-card__open { position: absolute; top: 1rem; right: 1rem; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(246,243,236,.45); background: rgba(16,14,12,.5); border-radius: 2px; transition: border-color .3s, background-color .3s; }
.proj-card__open svg { width: 18px; height: 18px; }
.proj-card:hover .proj-card__open { border-color: var(--last-light); background: rgba(16,14,12,.75); }
.proj-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--last-light); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); z-index: 2; }
.proj-card:hover::before, .proj-card:focus-visible::before { transform: scaleX(1); }
.proj-strip { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .proj-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .proj-strip { grid-template-columns: repeat(4, 1fr); } .proj-strip .proj-card .photo { aspect-ratio: 3 / 4; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 800; background: rgba(16,14,12,.97); display: grid; place-items: center; padding: max(1rem, env(safe-area-inset-top)) var(--gutter) max(1rem, env(safe-area-inset-bottom)); }
.lightbox[hidden] { display: none; }
.lightbox__inner { width: min(100%, 72rem); max-height: 100%; display: flex; flex-direction: column; gap: 1rem; }
.lightbox__media { flex: 1 1 auto; min-height: 0; background: var(--night); touch-action: pan-y; }
.lightbox__media img { width: 100%; height: auto; max-height: calc(100svh - 12rem); object-fit: contain; filter: none; }
.lightbox__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.lightbox__bar h2 { margin: .2rem 0; }
.lightbox__bar p { margin: 0; }
.lightbox__ctrls { display: flex; align-items: center; gap: .5rem; }
.icon-btn { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; border: 1px solid var(--iron); border-radius: 2px; color: var(--drawing); }
.icon-btn:hover { border-color: var(--last-light); color: var(--last-light); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Project detail ---------- */
.pd { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .pd { grid-template-columns: 1.6fr 1fr; gap: 4rem; align-items: start; } }
.pd__photo { aspect-ratio: 4 / 3; }
.pd__photo img { object-position: center 60%; }
.pd__side { display: grid; gap: 2rem; }
.sheet { border: 1px solid var(--iron); background: var(--plate); }
.sheet__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--iron); }
.sheet dl { margin: 0; }
.sheet dl > div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: .95rem 1.2rem; border-bottom: 1px solid var(--iron); }
.sheet dl > div:last-child { border-bottom: 0; }
.sheet dt { font-weight: 600; }
.sheet dd { margin: 0; }
.pd__nav { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--iron); padding-top: 1.25rem; margin-top: 3rem; flex-wrap: wrap; }
.pd__nav a { text-decoration: none; display: grid; gap: .2rem; min-height: 44px; }
.pd__nav a span:last-child { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; }
.pd__nav a:last-child { text-align: right; margin-left: auto; }

/* ---------- Partnership ---------- */
.pship { display: grid; gap: 1.5rem; }
.pship__lockup { display: grid; grid-template-columns: 1fr; gap: .75rem; align-items: stretch; }
@media (min-width: 760px) { .pship__lockup { grid-template-columns: 1fr auto 1fr; gap: 0; } }
.pship__btn {
  min-height: 9rem; background: var(--plate); border: 1px solid var(--iron); border-radius: 2px; padding: 1.4rem 1.5rem;
  display: flex; flex-direction: column; justify-content: space-between; text-align: left; gap: 1rem;
  transition: border-color .35s, background-color .35s;
}
.pship__btn .label { color: var(--steel); }
.pship__btn strong { font-family: var(--font-head); font-weight: 650; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.7rem); line-height: 1.12; }
.pship__btn[aria-pressed="true"] { border-color: var(--last-light); background: #241f19; }
.pship__btn[aria-pressed="true"] .label { color: var(--last-light); }
.pship__plate {
  display: grid; place-items: center; padding: 1rem 1.5rem; position: relative; min-height: 4.5rem;
}
.pship__plate::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--iron); }
@media (max-width: 759.98px) { .pship__plate::before { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1px; } }
.pship__plate span {
  position: relative; background: var(--night); border: 1px solid var(--iron); padding: .7rem 1rem; text-align: center;
  font-family: var(--font-head); font-weight: 700; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35;
  transition: border-color .35s, color .35s;
}
.pship.is-both .pship__plate span { border-color: var(--last-light); color: var(--last-light); }
.pship__note { border-left: 2px solid var(--last-light); padding: .25rem 0 .25rem 1.1rem; min-height: 5.5rem; }
.pship__note p { margin: 0 0 .6rem; font-size: 1.125rem; max-width: 52ch; }

.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(4, 1fr); gap: 2rem 1.25rem; } }
.team .photo { aspect-ratio: 4 / 5; margin-bottom: .9rem; background: var(--plate); }
.team .photo img { object-position: center 20%; filter: grayscale(.25) contrast(1.03) brightness(.95); }
.team li.is-open .photo img { opacity: .55; }
.team h3 { font-size: 1.125rem; font-weight: 650; margin-bottom: .25rem; }
.team p { margin: 0; color: var(--steel); font-size: 1rem; }

/* ---------- Owners ---------- */
.owners-grid { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 800px) { .owners-grid { grid-template-columns: repeat(3, 1fr); } }
.owners-grid li { background: var(--plate); border: 1px solid var(--iron); padding: 1.5rem; display: grid; gap: .8rem; align-content: start; }
.owners-grid h3 { font-size: 1.35rem; font-weight: 650; }
.owners-grid p { margin: 0; color: var(--drawing); }

/* ---------- Forms ---------- */
.form-shell { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .form-shell { grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; } }
.form { display: grid; gap: 1.4rem; }
.form-row { display: grid; gap: 1.4rem; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label, .field legend, .fieldset legend { font-weight: 600; font-size: 1rem; }
.field .opt { color: var(--steel); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: .8rem 1rem; background: var(--plate);
  border: 1px solid var(--iron); border-bottom: 1.5px solid var(--steel); border-radius: 2px 2px 0 0;
  font-size: 1.0625rem; transition: border-color .25s, background-color .25s;
}
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.45; }
.field input:hover, .field textarea:hover { border-bottom-color: var(--drawing); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--last-light); outline-offset: 0; border-bottom-color: var(--last-light); }
.field [aria-invalid="true"] { border-bottom-color: var(--last-light); }
.err { color: var(--last-light); font-size: .9375rem; font-weight: 600; margin: 0; display: flex; gap: .5rem; align-items: center; }
.err:empty { display: none; }
.err::before { content: ""; width: 7px; height: 7px; border: 1.5px solid currentColor; transform: rotate(45deg); flex: none; }
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .7rem; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: .7rem; }
.choices { display: grid; gap: .5rem; }
@media (min-width: 640px) { .choices--2 { grid-template-columns: 1fr 1fr; } .choices--inline { display: flex; flex-wrap: wrap; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; gap: .8rem; min-height: 52px; padding: .7rem 1rem;
  background: var(--plate); border: 1px solid var(--iron); border-radius: 2px; cursor: pointer;
  font-size: 1.0625rem; transition: border-color .25s, background-color .25s;
}
.choice span::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--steel); transform: rotate(45deg); flex: none; transition: background-color .2s, border-color .2s; }
.choice input:checked + span { border-color: var(--last-light); background: #241f19; }
.choice input:checked + span::before { background: var(--last-light); border-color: var(--last-light); }
.choice input:focus-visible + span { outline: 2px solid var(--last-light); outline-offset: 2px; }
.choice span:hover { border-color: var(--steel); }
.file-field input[type="file"] { padding: .7rem; }
.file-name { color: var(--steel); font-size: .9375rem; margin: 0; }
.form-foot { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; }
.form-note { color: var(--steel); font-size: .9375rem; margin: 0; font-style: italic; }
.success { background: var(--plate); border: 1px solid var(--last-light); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.success h2 { margin-bottom: 1rem; }
.success p { max-width: 52ch; }
.success dl { display: grid; gap: .4rem; margin: 1.25rem 0 0; font-size: 1rem; }
.success dl div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; }
.success dt { color: var(--steel); }
.success dd { margin: 0; }

/* Wizard */
.wiz { max-width: 46rem; }
.wiz__progress { margin-bottom: 2.5rem; }
.wiz__dim { position: relative; height: 22px; margin-bottom: .6rem; }
.wiz__dim .base, .wiz__dim .fill { position: absolute; left: 0; right: 0; top: 10px; height: 1.5px; background: var(--iron); }
.wiz__dim .fill { background: var(--last-light); transform-origin: left; transition: transform .6s var(--ease-out); }
.wiz__dim i { position: absolute; top: 4px; width: 1.5px; height: 14px; background: var(--iron); transform: translateX(-50%); transition: background-color .4s; }
.wiz__dim i.on { background: var(--last-light); }
.wiz__steps { display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0; }
.wiz__steps li { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.wiz__steps li.on { color: var(--drawing); }
@media (max-width: 559.98px) { .wiz__steps li:not(.cur) { visibility: hidden; width: 0; } .wiz__steps { justify-content: flex-start; } }
.wiz__panel h2 { margin-bottom: .5rem; }
.wiz__panel .note { margin-bottom: 1.5rem; }
.wiz__actions { display: flex; gap: .75rem; justify-content: space-between; margin-top: 2rem; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 5rem; } }
.mapcard {
  display: block; position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--iron); background: var(--plate); overflow: hidden; text-decoration: none; margin-top: 2rem;
}
.mapcard svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapcard__label { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; }
.mapcard__label span:last-child { font-family: var(--font-head); font-weight: 600; font-size: .9375rem; color: var(--last-light); }
.mapcard:hover { border-color: var(--last-light); }

/* ---------- Closing ---------- */
.closing { text-align: left; border-top: 1px solid var(--iron); position: relative; overflow: hidden; }
.closing__line { font-size: clamp(1.9rem, 1rem + 3.4vw, 3.75rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; max-width: 22ch; margin-bottom: 2rem; }
.closing .stake-big { position: absolute; right: var(--gutter); top: 0; bottom: 0; width: 22px; color: var(--iron); display: none; }
@media (min-width: 900px) { .closing .stake-big { display: block; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--iron); padding-top: clamp(3rem, 2rem + 4vw, 5rem); background: var(--night); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr auto; gap: 4rem; } }
.site-footer__logo { height: 45px; width: auto; margin-bottom: 1.5rem; }
.site-footer__tag { max-width: 22ch; font-weight: 600; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.site-footer__nav a { text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; font-family: var(--font-head); font-weight: 500; }
.site-footer__concept { border-top: 1px solid var(--iron); padding-top: 1.25rem; padding-bottom: 1.5rem; }
.site-footer__concept p { margin: 0; color: var(--steel); font-size: .9375rem; }
.site-footer__concept a { color: var(--drawing); }

/* ---------- 404 ---------- */
.nf { min-height: 60svh; display: grid; align-content: center; gap: 1.5rem; }

/* ---------- Route transition ---------- */
main.is-out { opacity: 0; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease; }
main.is-in { transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.pd__nav > .textlink { margin-inline: auto; }

/* ---------- Hero fit (V3) ---------- */
/* Pinned desktop: everything fits inside the frame on shorter screens. */
.hero.is-pinned .hero__h1 { font-size: clamp(2rem, min(2.7vw + .9rem, 6.6vh), 3.6rem); }
@media (max-height: 820px) {
  .hero.is-pinned .hero__drawing { height: 48%; flex-basis: 48%; }
  .hero.is-pinned .stage__text { font-size: 1rem; }
  .hero.is-pinned .hero__tag { font-size: 1rem; }
  .hero.is-pinned .hero__copy .kicker { display: none; }
}
/* Phones and tablets: hero is exactly one screen tall; the drawing gives up space first,
   so the stage tabs always sit above the Start bar. */
@media (max-width: 899.98px) {
  .hero__frame {
    height: calc(100svh - var(--header-h) - 48px - env(safe-area-inset-bottom));
    min-height: 34rem; padding-top: .5rem; padding-bottom: .75rem;
  }
  .hero__drawing { flex: 1 1 0; min-height: 6.5rem; padding-top: 0; }
  .hero__copy { margin-top: .5rem; gap: .9rem; }
  .hero__copy .kicker { display: none; }
  .hero__h1 { font-size: clamp(1.7rem, min(7.4vw, 4.8svh), 2.6rem); }
  .hero__tag { font-size: 1rem; margin-top: .45rem; }
  .stage, .stage { min-height: 0; }
  .stage__meta { margin-bottom: .25rem; }
  .stage__name { font-size: 1.0625rem; }
  .stage__text { font-size: 1rem; min-height: calc(3 * 1.45em); }
  .stage-tabs { margin-top: .75rem; }
}
@media (min-width: 800px) and (max-width: 899.98px) { .hero__frame { height: calc(100svh - var(--header-h)); } }
