@font-face { font-family: "WL Cormorant"; src: url("/assets/fonts/cormorant-garamond-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "WL Inter"; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ground: #0f0c0a;
  --cream: #f1e6d0;
  --champagne: #ddcfb5;
  --muted: #b9ab93;
  --gold: #c9a165;
  --gold-bright: #e2bd7e;
  --copper: #b4593a;
  --serif: "WL Cormorant", "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "WL Inter", system-ui, sans-serif;
  --gutter-start: max(20px, env(safe-area-inset-left));
  --gutter-end: max(20px, env(safe-area-inset-right));
}

* { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; color: var(--cream); font-family: var(--serif); -webkit-font-smoothing: antialiased; }
h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.24em; text-decoration-thickness: 1px; }
a:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

/* ---------- Home: one cinematic frame ----------
   --u is one pixel of the approved reference (1672 x 941 landscape, 941 x 1671 portrait), so type keeps its
   approved proportion to the photograph and still fits when the window is shorter or narrower. */
.stage { --u: min(calc(100vw / 1672), calc(100vh / 941)); position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; min-height: 100vh; min-height: 100svh; overflow: hidden; background: #140a04; }
@supports (height: 100svh) { .stage { --u: min(calc(100vw / 1672), calc(100svh / 941)); } }

.scene { position: absolute; inset: 0; z-index: -1; }
.scene picture, .scene img { display: block; width: 100%; height: 100%; }
.scene img { object-fit: cover; object-position: 68% 35%; }
/* Soft fall-off of light behind the type and the footer, as in the approved reference. No panels. */
.scene::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(44% 40% at 50% 14%, rgb(16 8 3 / .84) 0%, rgb(16 8 3 / .66) 48%, rgb(16 8 3 / 0) 100%),
  linear-gradient(to bottom, rgb(16 8 3 / .5) 0%, rgb(16 8 3 / 0) 20%); }
.stage::after { content: ""; position: absolute; inset: auto 0 0; height: 24%; z-index: -1; pointer-events: none; background: linear-gradient(to top, rgb(14 7 3 / .9) 0%, rgb(14 7 3 / .74) 30%, rgb(14 7 3 / .34) 64%, rgb(14 7 3 / 0) 100%); }

.masthead { display: flex; flex-direction: column; align-items: center; text-align: center; padding: max(calc(var(--u) * 36), env(safe-area-inset-top), 10px) var(--gutter-end) 0 var(--gutter-start); }
.masthead .logo { width: max(calc(var(--u) * 446), 210px); height: auto; }
.masthead h1 { margin-top: calc(var(--u) * 12); font-weight: 500; font-size: max(calc(var(--u) * 87), 2.1rem); line-height: 1.1; text-shadow: 0 2px 22px rgb(0 0 0 / .6); }
.masthead h1 span { display: inline-block; }
.masthead .lede { margin-top: calc(var(--u) * 10); color: #efe0c6; font-size: max(calc(var(--u) * 30), 1.0625rem); line-height: 1.3; text-wrap: balance; text-shadow: 0 1px 12px rgb(0 0 0 / .85); }
.masthead::after { content: ""; width: max(calc(var(--u) * 150), 90px); height: 1px; margin-top: calc(var(--u) * 38); background: linear-gradient(to right, transparent, #e08a58 50%, transparent); }

.status { margin-top: auto; margin-bottom: max(calc(var(--u) * 76 - 56px), 0px); padding: 0 var(--gutter-end) 2px var(--gutter-start); display: flex; align-items: center; gap: max(calc(var(--u) * 28), 14px); color: #ecc690; font-family: var(--sans); font-size: max(calc(var(--u) * 27), .75rem); line-height: 1.5; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 1px 10px rgb(0 0 0 / .95); }
.status::before, .status::after { content: ""; width: max(calc(var(--u) * 126), 28px); height: 1px; background: linear-gradient(to right, transparent, #d9784a 45%); }
.status::after { margin-left: -0.34em; background: linear-gradient(to left, transparent, #d9784a 45%); }

/* A soft, edgeless falloff behind the words, so they stay legible across the floor reflections. */
.status span { position: relative; }
.status span::before { content: ""; position: absolute; inset: -24px -90px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgb(14 7 3 / .86) 0%, rgb(14 7 3 / .78) 56%, rgb(14 7 3 / 0) 100%); }

/* ---------- Footer ---------- */
.colophon { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; padding: 4px max(clamp(20px, 3vw, 48px), env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(clamp(20px, 3vw, 48px), env(safe-area-inset-left)); font-family: var(--sans); font-size: .8125rem; letter-spacing: .02em; color: #cdbfa6; text-shadow: 0 1px 8px rgb(0 0 0 / .95); }
.colophon ul { display: flex; flex-wrap: wrap; gap: 0 28px; }
.colophon a, .colophon .pending-link { display: inline-flex; align-items: center; min-height: 44px; color: #e8dac0; text-decoration: none; }
.colophon a:hover, .colophon a[aria-current="page"] { text-decoration: underline; }
.document .colophon { border-top: 1px solid rgb(201 161 101 / .22); text-shadow: none; }

/* ---------- Portrait phones and tablets: the dedicated vertical photograph ---------- */
@media (orientation: portrait) {
  .stage { --u: min(calc(100vw / 941), calc(100vh / 1671)); --scene-h: calc(100vw * 1671 / 941); --view-h: 100vh; background: #0b0603; }
  @supports (height: 100svh) { .stage { --u: min(calc(100vw / 941), calc(100svh / 1671)); --view-h: 100svh; } }

  /* Full width, never cropped at the sides. Taller screens: the photograph sits on the bottom edge and its dark
     ceiling fades upward. Shorter screens: most of the excess is taken from the empty floor. */
  .scene { inset: auto; left: 0; width: 100%; height: var(--scene-h); top: max(min(0px, calc((var(--view-h) - var(--scene-h)) * .22)), calc(var(--view-h) - var(--scene-h))); }
  .scene img { object-position: 50% 50%; }
  .scene::after { background:
    linear-gradient(to bottom, #0b0603 0%, rgb(11 6 3 / .72) 12%, rgb(11 6 3 / .42) 26%, rgb(11 6 3 / .18) 36%, rgb(11 6 3 / 0) 43%); }
  .stage::after { height: 30%; }

  .masthead { padding-top: max(calc(var(--u) * 58), calc(env(safe-area-inset-top) + 8px), 14px); }
  .masthead .logo { width: calc(var(--u) * 545); }
  .masthead h1 { margin-top: calc(var(--u) * 62); font-size: calc(var(--u) * 116); line-height: 1.01; }
  .masthead h1 span { display: block; }
  .masthead .lede { margin-top: calc(var(--u) * 24); max-width: max(calc(var(--u) * 600), 13.2em); font-size: max(calc(var(--u) * 46), 1rem); line-height: 1.24; }
  .masthead::after { width: calc(var(--u) * 232); margin-top: calc(var(--u) * 44); }

  .status { margin-bottom: max(calc(var(--u) * 192 - 80px), 6px); gap: max(calc(var(--u) * 42), 14px); font-size: max(calc(var(--u) * 35), .75rem); }
  .status::before, .status::after { width: max(calc(var(--u) * 118), 28px); }
  .colophon { flex-direction: column-reverse; justify-content: center; text-align: center; gap: 0; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .colophon ul { justify-content: center; gap: 0 22px; }
  .colophon p { font-size: .75rem; }
}

/* Short landscape screens: keep the composition and let the page scroll. */
@media (orientation: landscape) and (max-height: 479px) {
  .stage { min-height: 480px; }
}

/* Very wide screens: hold the photograph near its own proportions and let the sides fall into shadow. */
@media (min-aspect-ratio: 2 / 1) {
  .scene { left: 50%; right: auto; width: min(100%, 196vh); translate: -50% 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
}

/* ---------- Privacy, Legal, not found ---------- */
.document { display: flex; flex-direction: column; align-items: center; min-height: 100vh; min-height: 100svh; background: radial-gradient(90% 46% at 50% 0%, #251c15 0%, var(--ground) 72%) var(--ground); }
.document > header { padding: max(28px, env(safe-area-inset-top)) var(--gutter-end) 8px var(--gutter-start); }
.home-link { display: block; padding: 8px 0; }
.document .logo { width: 220px; height: auto; }
.document > main { width: 100%; max-width: 40rem; flex: 1; padding: 24px var(--gutter-end) 56px var(--gutter-start); font-size: 1.1875rem; line-height: 1.55; color: var(--champagne); }
.document h1 { color: var(--cream); font-weight: 500; font-size: 2.75rem; line-height: 1.1; margin-bottom: 14px; }
.document h2 { color: var(--gold-bright); font-weight: 600; font-size: 1.4rem; line-height: 1.3; margin: 30px 0 6px; }
.document main p + p { margin-top: 12px; }
.updated { margin-top: -6px; color: var(--muted); font-size: 1rem; }
