@font-face { font-family: "Fell"; src: url("fonts/IMFeENrm28P.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Fell"; font-style: italic; src: url("fonts/IMFeENit28P.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Hand"; src: url("fonts/DawningofaNewDay.ttf") format("truetype"); font-display: swap; }

:root {
  --night: #080f11;
  --deep: #0c1c1f;
  --teal: #12302f;
  --paper: #efe6d2;
  --paper-dim: #d9cdb2;
  --ink: #1e2430;
  --ink-dry: #3a2e25;
  --silver: #c9d3d6;
  --amber: #e2a95c;
  --text: #e6e1d6;
  --muted: #a9b3b1;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night) radial-gradient(1200px 600px at 50% -10%, #133236 0%, var(--night) 60%) no-repeat;
  color: var(--text);
  font: 18px/1.65 Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #f3c98f; }
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: "Fell", Georgia, serif; font-weight: 400; line-height: 1.15; color: #f4efe4; }
h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 0 0 18px; }
h3 { font-size: 24px; margin: 0 0 8px; }
.hand { font-family: "Hand", cursive; color: var(--ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
.lead { font-size: 21px; color: var(--text); max-width: 720px; }
.muted { color: var(--muted); }

/* Top bar */
.bar { position: absolute; top: 0; left: 0; right: 0; z-index: 3; }
.bar .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; }
.bar .name { font-family: "Fell", serif; font-size: 22px; color: #f4efe4; text-decoration: none; letter-spacing: .5px; }
.bar nav a { color: var(--silver); text-decoration: none; margin-left: 22px; font-size: 16px; }
.bar nav a:hover { color: #fff; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; padding: 0; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background: url("img/hero.jpg?v=2") center 35%/cover no-repeat; transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,15,17,.35) 0%, rgba(8,15,17,.15) 35%, rgba(8,15,17,.85) 78%, var(--night) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-bottom: 72px; width: 100%; }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.hero .reply { font-family: "Hand", cursive; font-weight: 600; font-size: clamp(44px, 6.8vw, 86px); color: var(--silver);
  margin: 4px 0 22px; line-height: 1.05; text-shadow: 0 0 24px rgba(160,200,210,.35);
  clip-path: inset(0 100% 0 0); animation: write 2.6s steps(40, end) .6s forwards; }
@keyframes write { to { clip-path: inset(0 0 0 0); } }
.hero p { font-size: 20px; max-width: 620px; color: #e9e4d9; text-shadow: 0 1px 12px rgba(0,0,0,.7); }
.soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 18px;
  border: 1px solid rgba(201,211,214,.35); border-radius: 999px; color: var(--silver); font-size: 16px; background: rgba(8,15,17,.45); }
.soon b { color: #fff; font-weight: 400; }

/* Journal page card */
.page-card { background: var(--paper) linear-gradient(transparent 0, transparent 37px, rgba(30,36,48,.09) 38px) 0 18px/100% 38px;
  color: var(--ink); border-radius: 6px; padding: 38px 42px; box-shadow: 0 30px 70px rgba(0,0,0,.55), inset 0 0 60px rgba(120,95,60,.18);
  position: relative; }
.page-card .hand { font-size: 34px; line-height: 38px; }
.page-card .dry { color: var(--ink-dry); }
.page-card .you { color: #2b4a7a; font-size: 30px; transform: rotate(-1deg); display: inline-block; }

/* Split rows */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.split.rev { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.split.rev > :first-child { order: 2; }
.frame { border-radius: 6px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.6); border: 1px solid rgba(201,211,214,.12); }
.frame.paper { background: #fff; padding: 10px; }

/* A look inside */
.peek .lead-shot { margin: 30px 0 0; }
.peek figure { margin: 0; }
.peek figcaption { font-size: 15px; color: var(--muted); padding: 10px 14px 12px; background: rgba(12,28,31,.7); }
.peek .loop { margin-top: 22px; }
.peek .loop video { display: block; width: 100%; height: auto; background: var(--paper); }
.peek .gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.peek .gallery figure { min-width: 0; }
.peek .gallery img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; width: 100%; }
.peek .small { font-size: 15px; margin-top: 18px; }
@media (max-width: 860px) { .peek .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .peek .loop video { display: none; } .peek .loop::before { content: ""; display: block; width: 100%; aspect-ratio: 1280 / 550; background: url("video/peek-poster.jpg") center/cover no-repeat; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 34px; counter-reset: s; }
.step { background: linear-gradient(180deg, rgba(18,48,47,.65), rgba(12,28,31,.65)); border: 1px solid rgba(201,211,214,.12);
  border-radius: 10px; padding: 26px 24px; }
.step::before { counter-increment: s; content: counter(s); font-family: "Hand", cursive; font-size: 46px; color: var(--amber); line-height: 1; display: block; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 17px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 34px; margin-top: 30px; }
.feature { border-top: 1px solid rgba(201,211,214,.16); padding-top: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 17px; }

/* Facts */
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { border: 1px solid rgba(201,211,214,.25); border-radius: 999px; padding: 8px 16px; font-size: 16px; color: var(--silver); }

/* FAQ */
.faq details { border-bottom: 1px solid rgba(201,211,214,.14); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: "Fell", serif; font-size: 23px; color: #f4efe4; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--amber); display: inline-block; width: 26px; font-family: Georgia, serif; }
.faq details[open] summary::before { content: "\2013"; }
.faq details p { margin: 10px 0 0 26px; color: var(--muted); font-size: 17px; }

/* Legal pages */
.doc { max-width: 780px; margin: 0 auto; padding: 120px 24px 40px; }
.doc .card { background: var(--paper); color: #26231e; border-radius: 6px; padding: 44px 48px; box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.doc .card h1 { color: #1b1a17; font-size: 44px; margin: 0 0 6px; }
.doc .card h2 { color: #1b1a17; font-size: 27px; margin: 34px 0 8px; }
.doc .card a { color: #7a4a12; }
.doc .card li { margin-bottom: 6px; }
.doc .card .meta { color: #6b6253; margin-top: 0; }

footer { border-top: 1px solid rgba(201,211,214,.1); padding: 34px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
footer a { color: var(--silver); text-decoration: none; margin-right: 18px; }
footer a:hover { color: #fff; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  section { padding: 60px 0; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 30px; }
  .split.rev > :first-child { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .bar nav a { margin-left: 14px; font-size: 15px; }
  .bar nav .hide-sm { display: none; }
  .hero { min-height: 86vh; }
  .hero h1 { font-size: 34px; }
  .hero .reply { font-size: 40px; }
  .hero .bg { background-position: 68% center; }
  .page-card { padding: 28px 24px; }
  .page-card .hand { font-size: 29px; }
  .doc .card { padding: 30px 22px; }
  .doc .card h1 { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .reply { animation: none; clip-path: none; }
  html { scroll-behavior: auto; }
}
