:root {
  --studio: #0c0c0d;
  --studio-elevated: #161618;
  --studio-fg: #f2f1ee;
  --studio-muted: #9a9890;
  --studio-line: #2a2a2c;
  --radius: 8px;
  --font: "Outfit", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: var(--font);
  background: #0c0c0d;
}
button:not(:disabled), [role="button"]:not(:disabled) { cursor: pointer; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.vitrine {
  background: var(--lp-bg);
  color: var(--lp-fg);
  min-height: 100dvh;
  scroll-behavior: smooth;
  position: relative;
}
.vitrine h1, .vitrine h2, .vitrine h3, .vitrine .wordmark span, .vitrine .num {
  font-family: var(--lp-display), "Times New Roman", serif;
  font-weight: 500;
}
.vitrine a.lp-btn {
  display: inline-flex;
  height: 3rem;
  min-width: 11rem;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  padding-inline: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--lp-accent);
  color: var(--lp-accent-fg);
  text-decoration: none;
  transition: opacity 150ms ease;
}
.vitrine a.lp-btn:hover { opacity: 0.92; }
.vitrine a.lp-btn-invert {
  background: var(--lp-bg);
  color: var(--lp-fg);
  box-shadow: 0 1px 0 color-mix(in oklab, var(--lp-fg) 12%, transparent);
}
.vitrine a.lp-btn-ghost {
  display: inline-flex;
  height: 3rem;
  align-items: center;
  padding-inline: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lp-fg);
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-color: color-mix(in oklab, var(--lp-fg) 28%, transparent);
  background: transparent;
}
.vitrine a.lp-btn-ghost-invert {
  color: var(--lp-bg);
  text-decoration: none;
  padding-inline: 1.25rem;
  border: 1px solid color-mix(in oklab, var(--lp-bg) 70%, transparent);
  border-radius: 2px;
  min-width: 7rem;
}

.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}
@media (min-width: 768px) {
  .wrap { width: min(72rem, calc(100% - 4rem)); }
}

.nav { z-index: 20; }
.nav.overlay { position: absolute; inset-inline: 0; top: 0; }
.nav:not(.overlay) {
  position: sticky;
  top: 0;
  border-bottom: 1px solid color-mix(in oklab, var(--lp-border) 70%, transparent);
  background: color-mix(in oklab, var(--lp-bg) 86%, transparent);
  backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.75rem;
  padding-block: 1.25rem;
}
.nav-inner > .wordmark { flex: 1 1 auto; min-width: 0; }
.nav .wordmark-text { min-width: 0; }
.nav .wordmark-lines,
.nav .wordmark-lines small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vitrine .nav a.lp-btn {
  flex: 0 0 auto;
  min-width: 0;
  height: 2.5rem;
  padding-inline: 0.85rem;
}
@media (min-width: 768px) {
  .vitrine .nav a.lp-btn {
    height: 3rem;
    min-width: 11rem;
    padding-inline: 1.5rem;
  }
}
.wordmark { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.wordmark-stacked { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.wordmark.has-mark { flex-direction: row; align-items: center; gap: 0.7rem; }
.wordmark-text { display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.wordmark img { width: 2.25rem; height: 2.25rem; object-fit: contain; flex: none; }
.wordmark.has-mark img { width: 2.85rem; height: 2.85rem; }
.wordmark span { font-size: 1.25rem; letter-spacing: -0.03em; }
.vitrine .wordmark .wordmark-lines {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--lp-muted);
}
.nav.overlay .wordmark-lines { color: color-mix(in oklab, var(--lp-bg) 78%, transparent); }
.wordmark.invert { color: var(--lp-bg); }
.nav-links { display: none; gap: 2rem; font-size: 0.875rem; }
.nav.overlay .nav-links { color: var(--lp-bg); }
.nav:not(.overlay) .nav-links { color: var(--lp-muted); }
@media (min-width: 768px) { .nav-links { display: flex; } }

.media { object-fit: cover; width: 100%; height: 100%; }
.scene video.media.fill { max-width: none; max-height: none; }
.scene .media.fill { object-position: center 30%; }
.media-empty { background: var(--lp-surface); }
.fill { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame { overflow: hidden; border-radius: 2px; }
.portrait { aspect-ratio: 4 / 5; height: auto; position: relative; }
.portrait.tall { aspect-ratio: 5 / 6; }
.landscape { aspect-ratio: 3 / 2; height: auto; position: relative; }

.scene { position: relative; overflow: hidden; min-height: 100dvh; }
.scene.scene-hero:not(.h-88) { height: 100vh; min-height: 100vh; }
.scene.scene-hero:not(.h-88) > video.media.fill {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.scene.scene-hero:not(.h-88) .scene-copy { min-height: 100vh; }
.scene.h-88 { min-height: 88dvh; }
.scene-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100dvh;
  padding: 7rem 0 4rem;
}
.scene.h-88 .scene-copy { min-height: 88dvh; padding: 4rem 0; }
.scene-copy.invert, .still-cap { color: var(--lp-bg); }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lede { max-width: 36rem; line-height: 1.7; }
.lede + .lede { margin-top: 1rem; }
h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); line-height: 1.04; letter-spacing: -0.03em; margin: 1rem 0 0; }
h2 { font-size: clamp(1.85rem, 4vw, 3.75rem); letter-spacing: -0.03em; margin: 1rem 0 0; }
h3 { font-size: clamp(1.5rem, 3vw, 3rem); letter-spacing: -0.02em; margin: 0.75rem 0 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.muted { color: var(--lp-muted); }
.dim { opacity: 0.7; }

.shade { position: absolute; inset: 0; pointer-events: none; }
.shade-side { background: linear-gradient(90deg, color-mix(in oklab, var(--lp-fg) 62%, transparent) 0%, color-mix(in oklab, var(--lp-fg) 28%, transparent) 46%, transparent 78%); }
.shade-top { inset: 0 0 auto; height: 8rem; background: linear-gradient(180deg, color-mix(in oklab, var(--lp-fg) 45%, transparent), transparent); }
.shade-up { background: linear-gradient(180deg, transparent 30%, color-mix(in oklab, var(--lp-fg) 78%, transparent) 100%); }
.shade-flat { background: color-mix(in oklab, var(--lp-fg) 38%, transparent); }
.shade-cap { inset: auto 0 0; height: 10rem; background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--lp-fg) 70%, transparent)); }

.act-mark {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0;
}
.act-mark span { margin-inline: 0.75rem; opacity: 0.4; }

.ink { background: var(--lp-fg); color: var(--lp-bg); }
.ink .stack, .intertitle .wrap, .voices .wrap, .credits .wrap { padding-block: 6rem; }
.reels { list-style: none; padding: 0; margin: 5rem 0 0; display: grid; gap: 4rem; }
.reels li {
  display: grid;
  gap: 1rem;
  border-top: 1px solid color-mix(in oklab, var(--lp-bg) 16%, transparent);
  padding-top: 2rem;
}
.reels .num, .cards-3 .num { font-size: 2.5rem; letter-spacing: -0.03em; opacity: 0.35; margin: 0; }
@media (min-width: 768px) {
  .reels li { grid-template-columns: 7rem 1fr; gap: 3rem; }
}

.still { position: relative; overflow: hidden; }
.still.h-88 { min-height: 88dvh; }
.still.h-72 { min-height: 72dvh; }
.still.h-80 { min-height: 80dvh; }
.still-cap {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding-bottom: 2rem;
}
.shot { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.7; }

.voices { text-align: center; }
.narrow { max-width: 48rem; }
.quotes { display: grid; gap: 6rem; margin-top: 5rem; }
.quotes blockquote p, .quotes-3 blockquote p {
  font-family: var(--lp-display), "Times New Roman", serif;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}
.quotes footer { margin-top: 2rem; font-size: 0.875rem; opacity: 0.65; }
.quotes footer span { margin-inline: 0.5rem; opacity: 0.4; }

.scene-cta {
  min-height: 70dvh;
  display: flex;
  align-items: center;
  background: var(--lp-accent);
  color: var(--lp-accent-fg);
  padding-block: 6rem;
}
.center { text-align: center; }
.center-row { justify-content: center; }

.credits-grid { display: grid; gap: 4rem; }
@media (min-width: 768px) {
  .credits-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.credits dl { display: grid; gap: 1.5rem; align-content: end; }
.credits dl > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  border-top: 1px solid color-mix(in oklab, var(--lp-bg) 16%, transparent);
  padding-top: 1.25rem;
  font-size: 0.875rem;
}
.credits dt { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.5; }
.address { white-space: pre-line; }

.hero-split, .hero-type, .about-split, .arch-copy, .contact-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 4rem;
}
@media (min-width: 768px) {
  .hero-split { grid-template-columns: 1fr 1fr; align-items: center; padding-block: 5rem; }
  .hero-type { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
  .about-split { grid-template-columns: 1fr 1fr; align-items: center; padding-block: 7rem; }
  .arch-copy, .contact-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.arch-photo { height: 62dvh; min-height: 24rem; position: relative; overflow: hidden; }
@media (min-width: 768px) { .arch-photo { height: 78dvh; } }

.surface { background: var(--lp-surface); border-top: 1px solid var(--lp-border); }
.surface .wrap, .rule-top .wrap { padding-block: 5rem; }
.cards-3, .quotes-3, .contact-facts { display: grid; gap: 2.5rem; margin-top: 3.5rem; }
@media (min-width: 768px) {
  .cards-3 { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
  .quotes-3 { grid-template-columns: 1fr 1fr 1fr; }
  .contact-facts { grid-template-columns: 1fr 1fr; }
}
.method, .narrow-block { padding-block: 5rem; }
.steps { display: grid; gap: 2.5rem; margin-top: 3.5rem; }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
}
.steps article { border-top: 1px solid var(--lp-border); padding-top: 1.5rem; }
.steps .num { font-size: 2.5rem; letter-spacing: -0.03em; opacity: 0.35; margin: 0; }
.site-foot {
  border-top: 1px solid var(--lp-border);
  padding-block: 2.5rem 3.5rem;
  display: grid;
  gap: 0.35rem;
}
.site-foot .foot-brand {
  font-family: var(--lp-display), "Times New Roman", serif;
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
}
.foot-id {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.foot-id img { width: 2.5rem; height: 2.5rem; object-fit: contain; flex: none; }
.foot-id .foot-brand,
.foot-id .muted { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1rem; font-size: 0.875rem; }
.foot-links a, .contact-facts a { text-underline-offset: 4px; }
.legal { padding-block: 4rem 5rem; }
.legal h1 { margin-bottom: 1.5rem; }
.cards-3 article { border-top: 1px solid var(--lp-border); padding-top: 1.5rem; }
.gallery-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; }
  .gallery-grid .span-2 { grid-column: span 2; grid-row: span 2; }
  .gallery-grid.pair { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
}
.vitrine-gallery figcaption { margin-top: 0.75rem; font-size: 0.875rem; }
.rule-top { border-top: 1px solid var(--lp-border); }
.quotes-3 footer { margin-top: 2rem; font-size: 0.875rem; color: var(--lp-muted); }
.quotes-3 footer span { color: var(--lp-fg); }
.band-accent { background: var(--lp-accent); color: var(--lp-accent-fg); }
.band-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-block: 4rem;
}
@media (min-width: 768px) {
  .band-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

@keyframes vitrine-kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}
@keyframes vitrine-rise {
  from { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.vitrine-kenburns { animation: vitrine-kenburns 22s cubic-bezier(0.22, 1, 0.36, 1) forwards; transform-origin: center; }
.vitrine-rise > * { opacity: 0; animation: vitrine-rise 500ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.vitrine-rise > *:nth-child(1) { animation-delay: 80ms; }
.vitrine-rise > *:nth-child(2) { animation-delay: 160ms; }
.vitrine-rise > *:nth-child(3) { animation-delay: 240ms; }
.vitrine-rise > *:nth-child(4) { animation-delay: 320ms; }
.vitrine-gallery img { transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1); }
.vitrine-gallery figure:hover img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .vitrine { scroll-behavior: auto; }
  .vitrine-kenburns, .vitrine-rise > * {
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.editable { position: relative; }
.editable-tag {
  display: none;
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  background: var(--studio);
  color: var(--studio-fg);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.has-studio .editable { cursor: pointer; }
.has-studio .editable::after {
  content: "";
  position: absolute;
  inset: 0;
  outline: 1px solid transparent;
  outline-offset: -1px;
  pointer-events: none;
  z-index: 10;
}
.has-studio .editable:hover::after,
.has-studio .editable.is-on::after {
  outline-color: color-mix(in oklab, var(--lp-fg) 28%, transparent);
}
.has-studio .editable.is-on::after { outline-color: color-mix(in oklab, var(--lp-fg) 55%, transparent); }
.has-studio .editable.is-on .editable-tag { display: block; }
.has-studio .vitrine { padding-top: 3.5rem; }
.has-studio .nav.overlay { top: 3.5rem; }

.studio-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 3.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.75rem;
  background: var(--studio);
  color: var(--studio-fg);
  border-bottom: 1px solid var(--studio-line);
}
.studio-brand { display: none; font-size: 0.875rem; font-weight: 500; margin: 0; }
@media (min-width: 768px) { .studio-brand { display: block; } }
.studio-bar select, .studio-bar button, .inspector button, .inspector input, .inspector textarea, .gate input, .create-form input, .create-form select, .create-form textarea {
  font: inherit;
  color: inherit;
  background: var(--studio-elevated);
  border: 1px solid var(--studio-line);
  border-radius: var(--radius);
}
.studio-bar select { height: 2.5rem; flex: 1; padding: 0 0.75rem; max-width: 16rem; }
.studio-bar button, .studio-bar .btn-outline, .inspector button, .gate button, .create-form button, .ghost {
  height: 2.5rem;
  padding: 0 0.9rem;
  font-size: 0.875rem;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid var(--studio-line);
  border-radius: var(--radius);
  color: var(--studio-fg);
}
.ghost, .studio-bar .ghost, form.logout button {
  background: transparent;
  border-color: transparent;
  color: var(--studio-muted);
}
.inspector {
  position: fixed;
  z-index: 40;
  inset: auto 0 0;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  background: var(--studio);
  color: var(--studio-fg);
  border-top: 1px solid var(--studio-line);
}
@media (min-width: 768px) {
  .inspector {
    inset: 0 0 0 auto;
    width: 22.5rem;
    max-height: none;
    border-top: 0;
    border-left: 1px solid var(--studio-line);
  }
  .has-studio .vitrine { padding-right: 22.5rem; }
}
.inspector-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--studio-line);
}
.inspector-head p { margin: 0; }
.inspector-head .muted { font-size: 0.75rem; color: var(--studio-muted); }
.icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  text-decoration: none;
  border-radius: var(--radius);
}
.inspector-body { overflow: auto; padding: 1rem; display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--studio-line); }
.field label { font-size: 0.875rem; }
.field input, .field textarea, .field .hint { width: 100%; padding: 0.6rem 0.75rem; }
.field-preview { width: 100%; height: 7rem; object-fit: cover; border-radius: var(--radius); }
.field-actions { display: flex; gap: 0.5rem; }
.suggestions { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.suggestions button {
  width: 100%;
  text-align: left;
  height: auto;
  padding: 0.6rem 0.75rem;
  white-space: normal;
}
.studio-hint {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  background: var(--studio);
  color: var(--studio-muted);
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  pointer-events: none;
}

.fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--studio);
  color: var(--studio-fg);
  border: 1px solid var(--studio-line);
  box-shadow: 0 8px 24px color-mix(in oklab, black 35%, transparent);
  text-decoration: none;
}

.gate, .admin { min-height: 100dvh; background: #111114; color: var(--studio-fg); }
.gate { display: grid; place-items: center; padding: 2rem; }
.gate-card, .admin-wrap { width: min(40rem, 100%); }
.gate-card {
  background: #161618;
  border: 1px solid var(--studio-line);
  border-radius: 12px;
  padding: 2rem;
  display: grid;
  gap: 1rem;
}
.gate-kicker { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--studio-muted); margin: 0; }
.gate h1, .admin h1 { font-family: "Fraunces", serif; font-size: 2rem; margin: 0; }
.gate label, .create-form label { display: grid; gap: 0.4rem; font-size: 0.875rem; }
.gate input { height: 2.75rem; padding: 0 0.75rem; }
.gate button, .create-form button {
  background: var(--studio-fg);
  color: var(--studio);
  border: 0;
  height: 3rem;
  font-weight: 500;
}
.flash { color: #e8b4a2; margin: 0; }
.back a { color: var(--studio-muted); }
.admin-wrap { margin: 0 auto; padding: 3rem 1.25rem 6rem; }
.admin-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; }
.list { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.list th { text-align: left; color: var(--studio-muted); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.list td, .list th { padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--studio-line); }
.mono { font-variant-numeric: tabular-nums; }
.create { margin-top: 3.5rem; }
.create-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 768px) {
  .create-form { grid-template-columns: 1fr 1fr; }
  .create-form button { grid-column: 1 / -1; }
}
.opt { color: var(--studio-muted); font-weight: 400; }
body.is-gate { background: #111114; }
