:root {
  --ink: #f4f1ea;
  --paper: #101114;
  --sheet: #f6f1e8;
  --sheet-ink: #161410;
  --sand: #2a2d33;
  --line: rgba(244, 241, 234, 0.14);
  --muted: #b7b2a8;
  --copper: #e38b3a;
  --copper-deep: #c45c26;
  --night: #07080a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: Bahnschrift, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0 0 0.4em;
}
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip { position: absolute; left: 12px; top: -40px; background: #fff; color: #111; padding: 8px 12px; z-index: 80; }
.skip:focus { top: 12px; }
.readbar {
  position: fixed; left: 0; top: 0; height: 3px; width: 0;
  background: var(--copper); z-index: 60; pointer-events: none;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--night);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.topbar { background: #000; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.topbar a { color: var(--ink); text-decoration: none; }
.topbar-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.header-row { display: flex; align-items: center; gap: 22px; min-height: 78px; }
.brand { display: flex; background: transparent; }
.brand img { width: 158px; height: 48px; object-fit: contain; background: transparent; }
.site-nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.site-nav a { text-decoration: none; font-size: 0.92rem; color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--copper); }
.nav-cta { background: var(--copper); color: #1a1006 !important; padding: 10px 16px; font-weight: 700; }
.nav-toggle {
  display: none; margin-left: auto; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  padding: 8px 12px; font: inherit; cursor: pointer;
}

.stage {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - 112px); display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--night); color: #fff;
}
.stage-photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transform: scale(1.08);
  animation: drift 26s ease-in-out infinite alternate;
  transition: opacity .4s ease;
}
.stage-photo.is-out { opacity: 0; }
@keyframes drift { to { transform: scale(1.16) translate3d(-1.5%, 0, 0); } }
.stage-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,8,10,.82) 0%, rgba(7,8,10,.45) 48%, rgba(7,8,10,.12) 100%),
    linear-gradient(transparent 40%, rgba(7,8,10,.72));
}
.stage-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 820px);
  align-items: end; padding: 48px 0 28px;
}
.kicker {
  margin: 0 0 0.7rem; color: var(--copper);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.stage h1 { font-size: clamp(2.8rem, 5.6vw, 5.6rem); max-width: 16ch; color: #fff; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 38ch; }
.stage .lede { color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 16px; }
.stage .btn-line { color: #fff; border-color: rgba(255,255,255,.7); }
.stage .btn-line:hover { background: #fff; color: var(--night); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 36px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.hero-dots button.is-on { background: var(--copper); }
.trust-on-photo { position: relative; z-index: 2; border: 0; color: #fff; background: rgba(7,8,10,.82); }
.trust-on-photo strong { color: #fff; }
.trust-on-photo .trust-row div { border-left-color: rgba(255,255,255,.16); }
.trust-on-photo span { color: rgba(255,255,255,.72); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--copper); color: #1a1006; text-decoration: none;
  border: 0; padding: 12px 18px; font: inherit; font-weight: 700; cursor: pointer;
}
.btn:hover { background: #f0a35a; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid rgba(244,241,234,.55); }
.btn-line:hover { background: var(--ink); color: var(--night); }
.btn-dark { background: var(--ink); color: var(--night); }
.btn-dark:hover { background: #fff; }

.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.quote-form h2, .quote-form > p, .quote-form .legal, .quote-form .form-note, .quote-form button,
.quote-form label:has(select), .quote-form label:has(textarea) { grid-column: 1 / -1; }
.quote-form label { display: grid; gap: 6px; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.quote-form input:not(.hp), .quote-form select, .quote-form textarea {
  width: 100%; border: 0; background: #fff; color: var(--sheet-ink);
  padding: 12px; font: 400 1rem "Segoe UI", sans-serif; text-transform: none; letter-spacing: 0;
}
.quote-form textarea { resize: vertical; }
.quote-form input:not(.hp):focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--copper); }
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.legal, .form-note { color: var(--muted); font-size: 0.88rem; }
.legal a { color: var(--copper); }
.quote-form-light { background: var(--sheet); color: var(--sheet-ink); color-scheme: light; padding: 22px; }
.quote-form-light .legal, .quote-form-light .form-note, .quote-form-light .legal a { color: #5c564c; }

.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-row div { padding: 22px 16px; border-left: 1px solid rgba(255,255,255,.16); }
.trust-row div:first-child { border-left: 0; }
.trust-row strong { display: block; font-family: Bahnschrift, "Segoe UI", sans-serif; font-size: 1.7rem; letter-spacing: -0.03em; }
.trust-row span { color: var(--muted); font-size: 0.86rem; }

.section { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 22px; }
.section-head p:last-child { color: var(--muted); }
.center { text-align: center; margin-top: 22px; }
.band-note { margin: 0 0 12px; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }

.catalog, .reel-track {
  display: grid; grid-auto-flow: column; gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 max(12px, calc((100vw - 1180px) / 2)) 10px;
  scrollbar-width: none;
}
.catalog::-webkit-scrollbar, .reel-track::-webkit-scrollbar { display: none; }
.catalog { grid-auto-columns: minmax(240px, 22vw); }
.shot, .reel-card, .chapter {
  position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none;
  background: #1a1c20; scroll-snap-align: start;
}
.shot { min-height: 460px; }
.shot img, .reel-card img, .chapter img, .story img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.shot:hover img, .reel-card:hover img, .chapter:hover img { transform: scale(1.06); }
.shot::after, .reel-card::after, .chapter::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent 18%, rgba(7,8,10,.88));
}
.shot span, .reel-card div, .chapter div {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 16px 16px;
}
.shot strong, .reel-card h3, .chapter h2 { display: block; color: #fff; font-size: 1.25rem; margin: 0 0 6px; }
.shot em, .reel-card p, .chapter p {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  font-style: normal; color: rgba(255,255,255,.82); margin: 0;
}
.shot b, .reel-card b, .chapter b {
  display: inline-block; margin-top: 10px; color: var(--copper);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
}

.reel-track { grid-auto-columns: minmax(260px, 78vw); }
.reel-card { min-height: 78vh; }
.reel-card strong {
  display: block; font-family: Bahnschrift, "Segoe UI", sans-serif;
  font-size: clamp(3rem, 6vw, 5rem); color: var(--copper); line-height: 0.85; margin-bottom: 8px;
}
.reel-card h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }

.chapter { min-height: 82vh; margin: 0 0 8px; }
.chapter h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 16ch; }
.chapters { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.story { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.story li {
  display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 420px;
  background: #181a1f;
}
.story li:nth-child(even) { grid-template-columns: 0.85fr 1.15fr; }
.story li:nth-child(even) img { order: 2; }
.story figure { position: relative; margin: 0; min-height: 280px; }
.story img { position: absolute; }
.story div { padding: 28px 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.story strong { font-family: Bahnschrift, "Segoe UI", sans-serif; font-size: 3rem; color: var(--copper); line-height: 1; }
.story h2 { font-size: 1.8rem; }
.story p { margin: 0; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cards .card:first-child { grid-column: span 2; grid-row: span 2; }
.card a {
  position: relative; display: block; min-height: 320px; overflow: hidden;
  text-decoration: none; color: #fff; background: #1c1a17;
}
.cards .card:first-child a { min-height: 100%; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card a:hover img { transform: scale(1.06); }
.card a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 28%, rgba(7,8,10,.9)); }
.card a > div { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 16px; }
.card h3 { font-size: 1.15rem; margin: 0 0 6px; color: #fff; }
.card p {
  margin: 0 0 8px; color: rgba(255,255,255,.8); font-size: 0.92rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card span { color: var(--copper); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.plate { position: relative; overflow: hidden; padding: 88px 0; color: #fff; }
.plate-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate::after { content: ""; position: absolute; inset: 0; background: rgba(7,8,10,.72); }
.plate .wrap { position: relative; z-index: 1; }
.why { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: end; }
.stats, .stats-light { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stats div, .stats-light div { border-top: 2px solid var(--copper); padding-top: 10px; }
.stats strong, .stats-light strong { display: block; font-family: Bahnschrift, "Segoe UI", sans-serif; font-size: 1.7rem; }
.stats span, .stats-light span { color: var(--muted); }
.pillars, .pillars-light { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.pillars article, .pillars-light article { border-top: 1px solid rgba(244,241,234,.2); padding-top: 14px; }
.pillars p, .pillars-light p { color: rgba(244,241,234,.75); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; min-height: 280px; }
.gallery img { width: 100%; height: 340px; object-fit: cover; cursor: zoom-in; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 12px 12px;
  color: #fff; font-weight: 650;
  background: linear-gradient(transparent, rgba(7,8,10,.82));
}
.gallery-feature { grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 280px 280px; }
.gallery-feature figure:first-child { grid-column: 1; grid-row: 1 / span 2; }
.gallery-feature figure:nth-child(4) { grid-column: 2 / span 2; }
.gallery-feature img { height: 100%; }

.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ticker-track { display: flex; gap: 42px; width: max-content; padding: 18px 0; animation: ticker 32s linear infinite; }
.ticker span { font-family: Bahnschrift, "Segoe UI", sans-serif; font-size: 1.35rem; letter-spacing: -0.03em; white-space: nowrap; }
.ticker span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 42px; background: var(--copper); vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }

.crumbs { padding-top: 18px; color: var(--muted); font-size: 0.82rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--sand); }
.is-inner .crumbs { position: relative; z-index: 2; color: #fff; padding-bottom: 0; }
.is-inner .crumbs a { color: #fff; }
.is-inner .crumbs li + li::before { color: rgba(255,255,255,.45); }
.page-hero { padding: 18px 0 8px; }
.is-inner .page-hero {
  position: relative; z-index: 1; margin-top: -42px; min-height: 520px;
  display: flex; align-items: flex-end; padding: 120px 0 40px; color: #fff;
  background:
    linear-gradient(180deg, rgba(7,8,10,.15), rgba(7,8,10,.78)),
    var(--shot, url("../img/gallery/atolye.webp")) center 40% / cover no-repeat;
}
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 14ch; color: #fff; }
.page-hero p { max-width: 62ch; color: rgba(255,255,255,.86); font-size: 1.05rem; }
.page-hero a, .is-inner .page-hero .kicker { color: #f3c7a4; }

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 28px; align-items: start; }
.split .pillars, .split .pillars-light, .split .two { grid-template-columns: 1fr 1fr; }
.frame { width: 100%; min-height: 520px; height: 100%; object-fit: cover; background: var(--sand); }
.sheet, .prose.sheet, .faq.sheet {
  background: var(--sheet); color: var(--sheet-ink); color-scheme: light; padding: 28px;
}
.sheet h2, .sheet h3, .sheet p, .sheet li { color: var(--sheet-ink); }
.sheet .stats-light span, .sheet .pillars-light p { color: #5c564c; }
.sheet .pillars-light article { border-top-color: rgba(22, 20, 16, 0.16); }
.sheet a, .prose a { color: var(--copper-deep); }
.prose { max-width: 820px; }
.prose .frame { margin-bottom: 22px; }
.ticks { padding-left: 18px; }
.ticks li { margin: 8px 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tags li { border: 1px solid rgba(22,20,16,.2); padding: 4px 8px; font-size: 0.8rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }
.posts { display: grid; gap: 8px; }
.post-card a { display: grid; grid-template-columns: 280px 1fr; min-height: 220px; text-decoration: none; background: #181a1f; }
.post-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.post-card div { padding: 22px; }
.post-card time { color: var(--copper); font-size: 0.82rem; }
.post-card p { color: var(--muted); }
.contact-card a { color: var(--copper-deep); }
.notes p { margin: 8px 0; }
.map-frame { width: 100%; height: 380px; border: 0; margin-top: 18px; background: var(--sand); }
.faq { margin-top: 28px; }
.faq details { border-top: 1px solid rgba(22,20,16,.15); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 650; }
.flow-more { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 18px; }
.flow-more a { color: var(--copper-deep); }

.site-footer { background: #000; color: var(--ink); padding: 48px 0 28px; }
.foot-mark {
  font-family: Bahnschrift, "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 8vw, 6rem); line-height: 0.86; letter-spacing: -0.045em;
  color: transparent; -webkit-text-stroke: 1px rgba(244,241,234,.28); margin-bottom: 18px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 1fr; gap: 24px; }
.footer-grid a { display: block; color: var(--ink); text-decoration: none; margin: 6px 0; }
.footer-grid h2 { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); }
.footer-logo { width: 168px; height: 54px; object-fit: contain; background: transparent; margin-bottom: 10px; }
.footer-base {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.88rem;
}
.footer-base a { color: #fff; }
.wa {
  position: fixed; left: 16px; bottom: 16px; z-index: 25;
  background: #128c4a; color: #fff; text-decoration: none; padding: 12px 16px; font-weight: 700;
}
.lightbox {
  position: fixed; inset: 0; z-index: 70; background: rgba(7,8,10,.94);
  display: grid; place-items: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 78vh; object-fit: contain; }
.lightbox p { color: #fff; margin: 12px 0 0; }
.lightbox button {
  position: absolute; top: 16px; right: 16px; background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.4); padding: 8px 12px; font: inherit; cursor: pointer;
}
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fade-out .22s ease both; }
::view-transition-new(root) { animation: fade-in .28s ease both; }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }

@media (min-width: 1100px) {
  .reel-track {
    grid-auto-flow: unset; grid-template-columns: repeat(4, 1fr);
    overflow: visible; padding-left: max(12px, calc((100vw - 1180px) / 2));
    padding-right: max(12px, calc((100vw - 1180px) / 2));
  }
  .reel-card { min-height: 74vh; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-photo, .ticker-track, ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .stage-photo, .shot img, .reel-card img, .chapter img { transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 980px) {
  .stage-grid, .why, .split, .footer-grid, .two, .story li, .story li:nth-child(even) { grid-template-columns: 1fr; }
  .story li:nth-child(even) img { order: 0; }
  .cards, .gallery, .pillars, .pillars-light { grid-template-columns: 1fr 1fr; }
  .cards .card:first-child { grid-column: span 2; grid-row: auto; }
  .gallery-feature { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; }
  .gallery-feature figure:first-child { grid-column: 1 / span 2; grid-row: 1; }
  .gallery-feature figure:nth-child(4) { grid-column: auto; }
  .post-card a { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .wrap, .chapters { width: min(1180px, calc(100% - 28px)); }
  .topbar { display: none; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 50; }
  .site-nav {
    position: fixed; inset: 0; z-index: 40;
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 2px; padding: 96px 28px 32px; margin: 0;
    background: var(--night); color: var(--ink);
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity .3s ease, transform .3s ease;
  }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { color: var(--ink); font-size: 1.5rem; font-family: Bahnschrift, "Segoe UI", sans-serif; padding: 7px 0; }
  .nav-cta { margin-top: 12px; }
  .stage { min-height: auto; }
  .stage h1 { max-width: none; font-size: clamp(2rem, 9vw, 2.5rem); }
  .reel-track, .catalog {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-auto-columns: 1fr;
    overflow: visible;
    scroll-snap-type: none;
    padding-left: 14px;
    padding-right: 14px;
  }
  .reel-card { min-height: 360px; }
  .shot { min-height: 250px; }
  .chapter { min-height: 420px; }
  .band-note { display: none; }
  .pillars, .pillars-light { grid-template-columns: 1fr; }
  .quote-form, .cards, .gallery, .stats, .stats-light, .gallery-feature { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .cards .card:first-child, .gallery-feature figure, .gallery-feature figure:first-child, .gallery-feature figure:nth-child(4) {
    grid-column: auto; grid-row: auto;
  }
  .gallery-feature { grid-template-rows: none; }
  .card a { min-height: 300px; }
  .gallery img { height: 240px; }
  .is-inner .page-hero { min-height: 360px; }
  .trust-row div { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .footer-base { padding-bottom: 72px; }
  .wa {
    left: auto; right: 14px; bottom: 14px;
    width: 52px; height: 52px; padding: 0; border-radius: 50%;
    display: grid; place-items: center; font-size: 0;
  }
  .wa::after { content: "WA"; font-size: 0.85rem; font-weight: 700; }
}
