/* FRACTAL — home, Hawkins Black. No trackers. Fonts are self-hosted. */

@font-face {
  font-family: "Cinzel";
  src: url("fonts/cinzel.woff") format("woff");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-italic.woff") format("woff");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #070809;
  --bg-soft: #0b0d0f;
  --ink: #f3ece1;
  --ink-dim: #b7ada0;
  --ink-mute: #8a8176;
  --teal: #8bb8bf;
  --teal-deep: #3d6a73;
  --amber: #d4a574;
  --amber-soft: #c4a07a;
  --nacre: #e8ddd0;
  --nacre-hot: #f6eee4;
  --line: rgba(232, 221, 208, 0.18);
  --letterbox: #000;
  --header-h: 3.75rem;
  --page-pad: clamp(1.25rem, 4vw, 3.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--ink);
  background: var(--bg);
  font-family: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--nacre-hot);
}

a:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 0.9rem;
  background: var(--nacre);
  color: #111;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.skip:focus {
  top: 0.75rem;
}

/* ——— Header ——— */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--page-pad);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
}

.wordmark,
.header-cta {
  font-family: "Cinzel", "Times New Roman", serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.46em;
  text-indent: 0.46em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nacre);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.85);
}

.header-cta {
  font-family: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-dim);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.12rem;
}

.header-cta:hover {
  color: var(--nacre-hot);
  border-bottom-color: var(--amber-soft);
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--letterbox);
  overflow: hidden;
}

.hero::before,
.hero::after {
  /* thin film-gate bars */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 8;
  height: 12px;
  background: #000;
  pointer-events: none;
}

.hero::before { top: 0; }
.hero::after { bottom: 0; }

.hero-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-frame picture,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, #000 0%, #000 32%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 16%);
}

.hero-vignette::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("grain.png");
  background-size: 64px 64px;
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 var(--page-pad) clamp(2.25rem, 5vh, 3.5rem);
  max-width: 56rem;
  margin: 0 auto;
}

.kicker,
.byline,
.section-label {
  font-family: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}

.kicker {
  color: #d4e4e7;
}

.kicker,
.tagline,
.byline {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.8);
}

.byline {
  color: var(--ink-mute);
  letter-spacing: 0.28em;
  margin-top: 0.85rem;
}

.title {
  font-family: "Cinzel", "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(3rem, 9.4vw, 7.25rem);
  letter-spacing: 0.48em;
  text-indent: 0.48em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0.55rem 0 1.15rem;
  color: var(--nacre-hot);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.tagline {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.15vw, 1.7rem);
  line-height: 1.45;
  color: var(--nacre);
  max-width: 22em;
  margin: 0 auto;
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  justify-content: center;
  margin-top: 1.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.55rem;
  font-family: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  text-indent: 0.08em;
  border-radius: 0;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--nacre);
  color: #14110e;
  border: 1px solid var(--nacre);
}

.btn-primary:hover {
  background: var(--nacre-hot);
  color: #14110e;
  box-shadow: 0 0 0 1px rgba(139, 184, 191, 0.35), 0 0 24px rgba(212, 165, 116, 0.18);
}

.btn-ghost {
  background: transparent;
  color: var(--nacre);
  border: 1px solid rgba(232, 221, 208, 0.42);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--nacre-hot);
  background: rgba(139, 184, 191, 0.08);
}

/* ——— Trailer ——— */

.trailer,
.story {
  padding: clamp(4rem, 9vh, 7rem) var(--page-pad);
  background: var(--bg);
}

.section-label {
  text-align: center;
  margin: 0 0 1.75rem;
  color: var(--amber-soft);
}

.section-label::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1px;
  margin: 0.85rem auto 0;
  background: linear-gradient(to right, transparent, var(--teal), var(--amber-soft), var(--teal), transparent);
  opacity: 0.7;
}

.video-frame {
  max-width: 1080px;
  margin: 0 auto;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(232, 221, 208, 0.12),
    0 24px 80px rgba(0, 0, 0, 0.55);
}

.video-frame video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  vertical-align: middle;
}

/* ——— Story ——— */

.story {
  padding-top: 1.5rem;
  padding-bottom: clamp(4.5rem, 10vh, 7.5rem);
}

.story-body {
  max-width: 38rem;
  margin: 0 auto;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  line-height: 1.7;
  color: #d9d0c5;
  text-wrap: pretty;
}

.story-body p {
  margin: 0 0 1.15em;
}

.story-body p:last-child {
  margin-bottom: 0;
  color: var(--ink-dim);
}

.story-cta {
  margin-top: 2.4rem;
}

/* ——— Footer ——— */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.65rem var(--page-pad) 2.1rem;
  text-align: center;
  background: #050506;
}

.site-footer p {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ——— Responsive ——— */

@media (min-width: 701px) {
  .hero-copy {
    padding-bottom: 1.85rem;
  }

  .title {
    font-size: clamp(3rem, 8.2vw, 6.5rem);
    margin: 0.4rem 0 0.9rem;
  }

  .cta-row {
    margin-top: 1.35rem;
  }
}

@media (max-width: 700px) {
  .hero {
    justify-content: flex-start;
  }

  .hero::before,
  .hero::after {
    height: 0;
  }

  .hero-frame {
    position: relative;
    inset: auto;
    width: 100%;
    flex: 0 0 auto;
    aspect-ratio: 4 / 5;
    max-height: 56svh;
  }

  .hero-frame picture,
  .hero-image {
    object-fit: cover;
    object-position: 50% 50%;
  }

  .hero-vignette {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0) 28%);
  }

  .hero-copy {
    position: relative;
    margin-top: 0;
    padding-top: 1.65rem;
    padding-bottom: 2.75rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .kicker,
  .tagline,
  .byline {
    text-shadow: none;
  }

  .title {
    letter-spacing: 0.28em;
    text-indent: 0.28em;
    font-size: clamp(2.45rem, 13vw, 3.2rem);
    text-shadow: none;
    margin: 0.45rem 0 0.9rem;
  }

  .tagline {
    font-size: 1.2rem;
    padding: 0 0.25rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
    margin-left: auto;
    margin-right: auto;
    width: min(22rem, 100%);
    margin-top: 1.45rem;
  }

  .kicker {
    letter-spacing: 0.26em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}

@media (prefers-contrast: more) {
  .btn-ghost {
    border-color: var(--nacre);
  }
  .tagline,
  .story-body {
    color: var(--ink);
  }
}

.title .subtitle{display:block;font-family:'Cinzel',serif;font-size:clamp(.95rem,2.1vw,1.55rem);letter-spacing:.55em;margin-top:.55em;padding-left:.55em;color:#d9b77a;font-weight:400;}
