:root {
  color-scheme: dark;
  --ink: #f1ede5;
  --muted: #aca69d;
  --black: #080707;
  --panel: #11100f;
  --panel-2: #171513;
  --line: rgba(237, 224, 206, 0.14);
  --red: #a92d2a;
  --red-bright: #d64a43;
  --paper: #d8cfbd;
  --green: #72a982;
  --amber: #d0a75a;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
}
button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
  background: rgba(8, 7, 7, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; width: fit-content; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(241, 237, 229, .45);
  transform: rotate(45deg);
  color: var(--red-bright);
  font-family: var(--serif);
  font-weight: 700;
  font-size: .72rem;
}
.brand-mark::first-line { transform: rotate(-45deg); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; }
.brand small { color: var(--muted); font-size: .68rem; margin-top: .12rem; }
nav { display: flex; gap: 2rem; }
nav a { color: var(--muted); text-decoration: none; text-transform: uppercase; letter-spacing: .13em; font-size: .69rem; transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--ink); }
.private-badge { justify-self: end; display: inline-flex; align-items: center; gap: .5rem; color: #d6cdc0; font-size: .72rem; }
.private-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.section { position: relative; padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 5.5rem); }
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(310px, .72fr); align-items: end; gap: clamp(2rem, 5vw, 6rem); padding-top: 9rem; overflow: hidden; }
.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("media/Mothman_Key_Art_Landscape.png");
  background-size: cover;
  background-position: center center;
  filter: saturate(.86) contrast(1.12) brightness(.82);
  transform: scale(1.015);
}
.hero-shade { position: absolute; inset: 0; background: radial-gradient(circle at 70% 34%, rgba(152,22,21,.08), transparent 30%), linear-gradient(90deg, rgba(7,6,6,.98) 0%, rgba(7,6,6,.84) 36%, rgba(7,6,6,.25) 72%, rgba(7,6,6,.32) 100%), linear-gradient(0deg, #080707 0%, transparent 55%); }
.hero-content, .brief-card, .studio-strip { position: relative; z-index: 2; }
.hero-content { align-self: center; max-width: 800px; padding-top: 2rem; }
.eyebrow { display: flex; width: min(100%, 560px); justify-content: space-between; color: #d1c4b2; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: .65rem; margin-bottom: 2.6rem; text-transform: uppercase; letter-spacing: .18em; font-size: .66rem; }
.kicker { margin: 0 0 1rem; color: var(--red-bright); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 0; max-width: 850px; font-family: var(--serif); font-weight: 400; line-height: .88; letter-spacing: -.05em; font-size: clamp(4.2rem, 8.6vw, 8.6rem); text-wrap: balance; }
h1 em { font-size: .55em; font-weight: 400; color: #d9d0c2; letter-spacing: -.025em; }
.lede { max-width: 670px; color: #c7c0b6; font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.7; margin: 2.2rem 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 48px;
  padding: .8rem 1.25rem;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--red); color: white; }
.button.primary:hover { background: var(--red-bright); }
.button.secondary { background: rgba(10,9,9,.5); border-color: rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.button.secondary:hover { border-color: rgba(255,255,255,.58); }
.button.compact { min-height: 42px; padding: .7rem 1rem; }

.brief-card { align-self: center; background: rgba(18,16,15,.82); border: 1px solid rgba(235,223,207,.2); backdrop-filter: blur(16px); padding: 1.2rem 1.35rem .9rem; box-shadow: 0 26px 90px rgba(0,0,0,.35); }
.card-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: .85rem; border-bottom: 1px solid var(--line); font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; }
.stamp { color: var(--red-bright); transform: rotate(-2deg); }
.fact-list { margin: 0; }
.fact-list > div { display: grid; grid-template-columns: 105px 1fr; gap: .8rem; border-bottom: 1px solid var(--line); padding: .72rem 0; }
.fact-list dt { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; }
.fact-list dd { margin: 0; font-size: .79rem; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: .5rem; border-radius: 50%; background: var(--amber); }
.text-button { padding: .8rem 0; border: 0; background: none; color: var(--red-bright); text-decoration: underline; text-underline-offset: .28rem; text-transform: uppercase; letter-spacing: .12em; font-size: .65rem; cursor: pointer; }
.text-button:hover { color: #ff6d66; }
.text-button.light { color: var(--ink); }

.studio-strip { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(240px, 1fr) auto; gap: 1.3rem; align-items: center; border-top: 1px solid var(--line); padding-top: 1.7rem; }
.studio-seal { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--red); color: var(--red-bright); transform: rotate(45deg); }
.studio-seal span { transform: rotate(-45deg); font-family: var(--serif); font-weight: 700; }
.label { color: var(--red-bright); text-transform: uppercase; letter-spacing: .17em; font-size: .62rem; }
.studio-strip h2 { font-family: var(--serif); font-weight: 400; margin: .15rem 0; font-size: 1.65rem; }
.studio-strip p { color: var(--muted); margin: 0; font-size: .82rem; }
.story-beats { display: flex; gap: .55rem; flex-wrap: wrap; justify-content: flex-end; }
.story-beats span { border: 1px solid var(--line); color: #bfb7ab; padding: .45rem .7rem; text-transform: uppercase; letter-spacing: .12em; font-size: .58rem; }

.media { background: #0d0c0b; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 5.2rem); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.section-note { text-align: right; color: var(--muted); font-size: .78rem; margin: 0; }
.section-note strong { color: var(--ink); font-weight: 500; }
.gallery-shell { max-width: 1500px; margin: auto; }
.viewer { position: relative; aspect-ratio: 16 / 8.6; overflow: hidden; background: #181614; border: 1px solid var(--line); }
.viewer > img { width: 100%; height: 100%; display: block; object-fit: cover; transition: opacity .18s ease, transform .5s ease, object-position .35s ease; }
.viewer.loading > img { opacity: .25; transform: scale(1.015); }
.viewer-overlay { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; padding: 5rem 1.3rem 1.1rem; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.viewer-overlay p { margin: .2rem 0 0; color: #c9c0b5; font-size: .78rem; }
.counter { font-family: var(--serif); font-size: 1.6rem; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); text-decoration: none; background: rgba(0,0,0,.34); }
.gallery-arrow { position: absolute; top: 50%; width: 46px; height: 54px; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.28); background: rgba(7,6,6,.72); cursor: pointer; font-size: 1.2rem; transition: background .2s ease; }
.gallery-arrow:hover { background: var(--red); }
.gallery-arrow.previous { left: 1rem; }
.gallery-arrow.next { right: 1rem; }
.thumb-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(125px, 1fr); gap: .55rem; padding: .7rem 0; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: var(--red) #1a1816; }
.thumb { position: relative; padding: 0; border: 1px solid transparent; background: #171513; aspect-ratio: 16/9; overflow: hidden; opacity: .52; cursor: pointer; transition: opacity .18s, border .18s, transform .18s; }
.thumb:hover { opacity: .85; }
.thumb.active { opacity: 1; border-color: var(--red-bright); transform: translateY(-2px); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb span { position: absolute; left: .4rem; bottom: .3rem; background: rgba(0,0,0,.72); padding: .12rem .26rem; font-size: .55rem; }
.gallery-actions { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; }

.press { background: var(--paper); color: #161311; }
.press .kicker { color: #85201d; }
.press-heading { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(20,15,12,.22); }
.readiness { min-width: 210px; }
.readiness > span { display: block; text-align: right; font-size: .7rem; text-transform: uppercase; letter-spacing: .13em; margin-bottom: .5rem; }
.progress { height: 4px; background: rgba(20,15,12,.17); }
.progress span { display: block; width: 100%; height: 100%; background: #84241f; }
.press-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .6fr); gap: clamp(1.2rem, 3vw, 3rem); }
.manifest-card { background: #e7dfd0; border: 1px solid rgba(20,15,12,.25); }
.manifest-tools { display: flex; justify-content: space-between; gap: 1.2rem; align-items: center; padding: 1.1rem 1.2rem; border-bottom: 1px solid rgba(20,15,12,.18); }
.manifest-tools p { max-width: 520px; margin: 0; color: #5e574f; font-size: .78rem; }
.filters { display: flex; gap: .35rem; }
.filter { padding: .45rem .65rem; background: transparent; color: #5f574e; border: 1px solid rgba(20,15,12,.22); text-transform: uppercase; letter-spacing: .08em; font-size: .57rem; cursor: pointer; }
.filter.active, .filter:hover { background: #1b1714; color: #f3ecdf; }
.manifest { padding: .3rem 1.2rem; }
.manifest-item { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; min-height: 78px; border-bottom: 1px solid rgba(20,15,12,.15); }
.manifest-item[hidden] { display: none; }
.file-icon { display: grid; place-items: center; width: 42px; height: 46px; border: 1px solid rgba(20,15,12,.28); color: #6c6359; font-size: .58rem; font-weight: 700; letter-spacing: .08em; }
.manifest-item h3 { margin: 0 0 .16rem; font-size: .86rem; }
.manifest-item p { margin: 0; color: #6d655c; font-size: .7rem; }
.asset-status { min-width: 78px; text-align: center; padding: .32rem .45rem; border-radius: 99px; text-transform: uppercase; letter-spacing: .08em; font-size: .53rem; font-weight: 700; text-decoration: none; }
.asset-status.ready { color: #31583a; background: #c8d9c4; }
.asset-status.missing { color: #7e3e13; background: #ecd4a7; }
.manifest-footer { display: flex; flex-wrap: wrap; gap: .7rem; padding: 1.1rem 1.2rem; }
.press .button.primary { background: #84241f; }
.press .button.secondary { color: #211b17; border-color: rgba(20,15,12,.35); background: transparent; }
.contact-card { align-self: start; position: sticky; top: 96px; background: #1a1714; color: #f0eade; padding: clamp(1.6rem, 3vw, 2.6rem); border-top: 4px solid #8d2b27; }
.contact-card h2 { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; margin: .5rem 0 .2rem; }
.contact-card > p { color: #aaa195; margin: 0 0 2rem; font-size: .8rem; }
.contact-link { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-top: 1px solid rgba(255,255,255,.13); text-decoration: none; font-size: .76rem; overflow-wrap: anywhere; }
.contact-link:hover { color: #ef6a62; }
.contact-note { display: flex; gap: .8rem; margin: 1.4rem 0 .5rem; padding: 1rem; background: rgba(255,255,255,.055); }
.notice-icon { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--green); color: var(--green); border-radius: 50%; font-weight: 700; font-size: .7rem; }
.contact-note p { margin: 0; color: #aca396; font-size: .68rem; }
.contact-note strong { display: block; color: var(--ink); margin-bottom: .18rem; }

footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem clamp(1.25rem,5vw,5.5rem); color: #706a63; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; border-top: 1px solid var(--line); }
.toast { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 50; padding: .85rem 1rem; background: #ede5d8; color: #171310; border-left: 4px solid var(--red); box-shadow: 0 15px 50px rgba(0,0,0,.35); font-size: .75rem; transform: translateY(140%); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; }

:focus-visible { outline: 2px solid #ff665d; outline-offset: 3px; }

@media (max-width: 930px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; align-items: center; padding-top: 8rem; }
  .hero-content { padding-top: 3rem; }
  .brief-card { align-self: auto; }
  .studio-strip { grid-template-columns: auto 1fr; }
  .story-beats { display: none; }
  .press-grid { grid-template-columns: 1fr; }
  .contact-card { position: relative; top: auto; }
}

@media (max-width: 640px) {
  .site-header { height: 66px; padding-inline: 1rem; }
  .brand strong { font-size: .65rem; }
  .brand small { display: none; }
  .private-badge { font-size: .62rem; }
  .section { padding: 5rem 1rem; }
  .hero { padding-top: 6rem; min-height: auto; }
  .hero-content { min-height: 68svh; display: flex; flex-direction: column; justify-content: center; }
  .eyebrow { margin-bottom: 1.8rem; }
  h1 { font-size: clamp(3.5rem, 18vw, 5.2rem); }
  .lede { margin-top: 1.5rem; font-size: .93rem; }
  .actions .button { flex: 1 1 100%; }
  .studio-strip { grid-template-columns: 1fr; }
  .studio-seal { display: none; }
  .section-heading { align-items: start; }
  .section-note { font-size: .66rem; }
  .viewer { aspect-ratio: 4/3; }
  .gallery-arrow { top: auto; bottom: 4.6rem; }
  .thumb-rail { grid-auto-columns: 105px; }
  .gallery-actions > span { display: none; }
  .gallery-actions { justify-content: flex-end; }
  .press-heading { display: block; }
  .readiness { margin-top: 1.5rem; }
  .readiness > span { text-align: left; }
  .manifest-tools { display: block; }
  .filters { margin-top: 1rem; overflow-x: auto; }
  .manifest { padding-inline: .8rem; }
  .manifest-item { grid-template-columns: auto 1fr; gap: .7rem; padding: .7rem 0; }
  .asset-status { grid-column: 2; width: fit-content; }
  .manifest-footer .button { width: 100%; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
