/* Layout: one phone-width column centered on a black page; on wide
   screens the red lattice from Hazel's set glows behind it. */
:root {
  --ink: #000000;          /* the room with the lights off */
  --char: #140706;         /* red-black surface for panels */
  --lantern: #a3352f;      /* the backlit lattice red */
  --ember: #d9675b;        /* lattice glow, hover state */
  --wick: #e9b86c;         /* candle flame, used only for focus */
  --linen: #f0e6db;        /* her white shirt: main text */
  --smoke: #a8968d;        /* secondary text */
  --hair: rgba(240, 230, 219, 0.16);

  --display: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Jost", "Futura", "Avenir Next", "Segoe UI", sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-name: clamp(3rem, 15vw, 4.25rem);

  --col: 32rem;
  --gutter: 1.25rem;
  color-scheme: dark;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { background: var(--ink); }

/* Wide screens: the red lattice from Hazel's set glows behind the column */
@media (min-width: 40rem) {
  html {
    background:
      linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)),
      url("media/lattice.svg") center / cover fixed no-repeat,
      var(--ink);
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--linen);
  font-family: var(--body);
  font-weight: 350;
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}


img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--wick);
  outline-offset: 3px;
}

.page {
  max-width: var(--col);
  margin: 0 auto;
  background: var(--ink);
  min-height: 100vh;
}

/* ---------- Hero ---------- */
.hero { position: relative; }

.hero-photo {
  width: 100%;
  aspect-ratio: 900 / 1250;
  max-height: 88vh;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 45%, rgba(0,0,0,.72) 72%, var(--ink) 100%);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0 var(--gutter) 1.75rem;
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

.name {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-name);
  line-height: 0.95;
  letter-spacing: 0.06em;
  text-wrap: balance;
}

.tagline {
  margin: -0.5rem 0 0;
  font-size: var(--step-0);
  color: var(--linen);
  opacity: .85;
  letter-spacing: 0.02em;
}

/* ---------- Buttons ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font: 450 var(--step-0) / 1 var(--body);
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn-primary {
  background: var(--lantern);
  color: var(--linen);
}
.btn-primary:hover { background: var(--ember); color: var(--ink); }

.btn-quiet {
  background: transparent;
  border-color: var(--hair);
  color: var(--linen);
}
.btn-quiet:hover { border-color: var(--linen); }

.more {
  justify-self: center;
  font-size: var(--step--1);
  color: var(--smoke);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: .25rem .5rem;
}
.more:hover { color: var(--linen); }

/* ---------- Sections ---------- */
.section {
  padding: 3.5rem var(--gutter);
  display: grid;
  gap: 1.25rem;
}

.section h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-2);
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-wrap: balance;
}

.section p { margin: 0; max-width: 34em; }

.about {
  position: relative;
  isolation: isolate;
  background: var(--char);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("media/lattice.svg") center 30% / 140% auto no-repeat;
  opacity: .14;
}

.signoff {
  font-family: var(--display);
  font-size: var(--step-1);
  color: var(--ember);
}

/* ---------- Socials ---------- */
.socials {
  list-style: none;
  margin: .5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}

.socials a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .375rem;
  padding: .875rem .25rem .75rem;
  border: 1px solid var(--hair);
  border-radius: 2px;
  color: var(--linen);
  font-size: var(--step--1);
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.socials a:hover { border-color: var(--ember); color: var(--ember); }
.socials svg { width: 1.375rem; height: 1.375rem; }

/* ---------- Image spread ---------- */
.spread {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 0 calc(var(--gutter) * -1);
}

.tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  overflow: hidden;
  background: var(--char);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease, opacity .3s ease;
}
.tile:hover img { transform: scale(1.03); }


.footer {
  padding: 2.5rem var(--gutter) 3rem;
  color: var(--smoke);
  font-size: var(--step--1);
  text-align: center;
}

/* ---------- Private page: fallback note ---------- */
.hint-wrap { padding: 0 var(--gutter) 2rem; }

.panel {
  border: 1px solid var(--hair);
  background: rgba(20, 7, 6, .92);
  padding: 1.25rem;
  display: grid;
  gap: .75rem;
  text-align: left;
  font-size: var(--step--1);
}
.panel strong { font-weight: 500; font-size: var(--step-0); }

/* Age gate */
.gate {
  width: min(22rem, calc(100% - 2.5rem));
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--hair);
  border-radius: 2px;
  background: var(--char);
  color: var(--linen);
  text-align: center;
}
.gate::backdrop { background: rgba(0,0,0,.78); }
.gate h2 {
  margin: 0 0 .75rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-2);
}
.gate p { margin: 0 0 1.5rem; font-size: var(--step--1); color: var(--smoke); line-height: 1.55; }
.gate-actions { display: grid; gap: .625rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Let the lattice on <html> show around the column on wide screens */
@media (min-width: 40rem) {
  body { background: transparent; }
}
