/* Aurore Minuit: a night hotel lobby. Burgundy, brass, cream. */
:root {
  --night: #140a0d;
  --lobby: #1d0f13;
  --velvet: #2a141a;
  --burgundy: #5b1a28;
  --burgundy-deep: #3d1019;
  --brass: #c9a45c;
  --brass-soft: #a88748;
  --cream: #f1e6d2;
  --cream-dim: #cdbfa7;
  --muted: #9d8c78;
  --line: rgba(201, 164, 92, 0.28);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(91, 26, 40, 0.45), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(61, 16, 25, 0.5), transparent 60%),
    var(--night);
  background-attachment: fixed;
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cream); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 720px; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--brass); color: var(--night); padding: 8px 14px;
}
.skip:focus { left: 8px; top: 8px; z-index: 10; }

/* Small caps label, like an engraved brass plate */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.9em;
}

.rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  margin: 2.5rem auto;
  max-width: 320px;
  opacity: 0.6;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(20, 10, 13, 0.85);
  backdrop-filter: blur(6px);
  position: sticky; top: 0; z-index: 5;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.wordmark span { color: var(--brass); font-style: italic; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px 22px;
}
.site-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--cream); }
.site-nav a[aria-current="page"] { color: var(--brass); border-bottom-color: var(--brass); }

main { flex: 1; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero img {
  width: 100%;
  height: clamp(340px, 42vw, 560px);
  object-fit: cover;
  object-position: 68% 30%;
  filter: saturate(0.92);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 10, 13, 0.92) 0%, rgba(20, 10, 13, 0.65) 38%, rgba(20, 10, 13, 0) 62%),
    linear-gradient(0deg, rgba(20, 10, 13, 0.85) 0%, rgba(20, 10, 13, 0) 40%);
}
.hero-text {
  position: absolute; inset: auto 0 0 0;
  z-index: 1;
  padding-bottom: clamp(24px, 5vw, 56px);
}
.hero-text h1 { margin-bottom: 0.15em; }
.hero-text .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--cream-dim);
  margin: 0;
  max-width: 26ch;
}

/* ---------- Intro ---------- */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 7vw, 88px) 0;
}
.portrait {
  border-radius: 50%;
  border: 1px solid var(--brass);
  padding: 8px;
  aspect-ratio: 1;
  width: 100%;
  max-width: 260px;
}
.portrait img { border-radius: 50%; width: 100%; height: 100%; object-fit: cover; }
.quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.3;
  margin: 0 0 0.6em;
  font-weight: 400;
}
.quote .sig { color: var(--brass); font-style: italic; white-space: nowrap; }

.disclosure {
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  background: rgba(42, 20, 26, 0.6);
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--cream);
  margin: 0 0 1.25rem;
}
.disclosure strong { font-weight: 500; color: var(--brass); }

.opens {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--cream-dim);
  margin: 0;
}
.opens::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--brass);
  vertical-align: middle;
  margin-right: 12px;
}

/* Hidden until the config flag turns it on (js/config.js) */
.subscribe-slot:empty { display: none; }
.subscribe-slot { margin-top: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--night);
  background: var(--brass);
  border: 1px solid var(--brass);
  padding: 13px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--cream); border-color: var(--cream); color: var(--night); }
.btn-ghost { background: transparent; color: var(--brass); }
.btn-ghost:hover { background: var(--brass); color: var(--night); }
.badge-18 {
  font-size: 0.7rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 1px 7px;
  letter-spacing: 0.05em;
}

/* ---------- Sections ---------- */
.section { padding: clamp(40px, 7vw, 80px) 0; }
.section-head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--cream-dim); max-width: 56ch; margin: 0 auto; }
.center { text-align: center; }

.page-head { padding: clamp(40px, 7vw, 80px) 0 clamp(16px, 3vw, 32px); text-align: center; }
.page-head p.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  color: var(--cream-dim);
  max-width: 40ch;
  margin: 0 auto;
}

/* ---------- Verdict cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 3vw, 32px);
  padding-bottom: clamp(40px, 7vw, 80px);
}
.card {
  background: linear-gradient(180deg, var(--velvet), var(--lobby));
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  margin: 0;
}
.card-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--burgundy-deep); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.card-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(20, 10, 13, 0.82);
  color: var(--brass);
  border: 1px solid var(--line);
  padding: 4px 10px;
}
.card-body {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; flex: 1;
}
.card-body h3 { margin-bottom: 0.4em; }
.card-body blockquote {
  margin: 0 0 1.2em;
  font-size: 0.97rem;
  color: var(--cream-dim);
  flex: 1;
}
.verdict {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px 12px;
  flex-wrap: wrap;
}
.verdict-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream);
  white-space: nowrap;
}
.verdict-label b { font-weight: 600; font-style: normal; color: var(--brass); }
.marks { display: flex; gap: 5px; flex: none; }
.marks i {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--brass);
  display: block;
}
.marks i.on { background: var(--brass); }
.marks i.half { background: linear-gradient(90deg, var(--brass) 50%, transparent 50%); }

/* ---------- FAQ ---------- */
.faq { padding-bottom: clamp(40px, 7vw, 80px); }
.faq dt {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--cream);
  margin-top: 1.8em;
}
.faq dd { margin: 0.4em 0 0; color: var(--cream-dim); }
.faq dd p:last-child { margin-bottom: 0; }

/* ---------- Newsletter ---------- */
.letter {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(61, 16, 25, 0.55), rgba(29, 15, 19, 0.7));
  padding: clamp(24px, 5vw, 48px);
  margin-bottom: clamp(40px, 7vw, 80px);
}
.letter ul { padding-left: 1.2em; color: var(--cream-dim); }
.letter li { margin-bottom: 0.4em; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.2rem 0 0.8rem; }
.form-row input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  font: inherit;
  font-weight: 400;
  color: var(--cream);
  background: rgba(20, 10, 13, 0.7);
  border: 1px solid var(--line);
  padding: 12px 14px;
}
.form-row input[type="email"]::placeholder { color: var(--muted); }
label { cursor: pointer; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--cream-dim); }
.consent input { margin-top: 6px; accent-color: var(--brass); flex: none; }
.fine { font-size: 0.85rem; color: var(--muted); }
.form-note {
  margin-top: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--brass);
}
.form-note:empty { display: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Prose pages ---------- */
.prose { padding-bottom: clamp(40px, 7vw, 80px); color: var(--cream-dim); }
.prose h2 { color: var(--cream); font-size: 1.7rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--cream); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(20, 10, 13, 0.9);
  padding: 32px 0 40px;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer .wrap { display: grid; gap: 14px; }
.footer-ai { color: var(--cream-dim); }
.social { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.social a { letter-spacing: 0.08em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--cream); }

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .site-header { position: static; }
  .site-nav ul { gap: 2px 16px; }
  .site-nav a { font-size: 0.72rem; letter-spacing: 0.12em; }
  .hero img { height: 240px; object-position: 63% 30%; }
  .hero::after { display: none; }
  .hero-text { position: static; padding-top: 22px; padding-bottom: 28px; }
  .intro { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .portrait { max-width: 180px; }
  .disclosure { text-align: left; }
  .opens::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Utilities (no inline styles: the CSP in _headers blocks them) */
.flush-top { padding-top: 0; }
.cards-tight { padding-bottom: 28px; }
.dim { color: var(--cream-dim); }
.gallery-note { margin-top: -24px; padding-bottom: 56px; }
.h-small { font-size: 1.8rem; }
.spaced { margin-top: 1.2rem; }

/* ---------- Card link (the whole card opens the verdict) ---------- */
.card { position: relative; transition: border-color 0.2s, transform 0.2s; }
.card-link { color: var(--cream); text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 2px solid var(--brass); outline-offset: 3px; }
.card:hover { border-color: var(--brass-soft); }
.card:hover .card-link { color: var(--brass); }
.card-photo img { transition: transform 0.5s; }
.card:hover .card-photo img { transform: scale(1.02); }
.card-setting {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin: -0.2em 0 0.8em;
}

/* ---------- Verdict detail overlay (js/lightbox.js) ---------- */
html.lb-open { overflow: hidden; }
.lb {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(12, 6, 8, 0.96);
  color: var(--cream);
  overflow: hidden;
}
.lb::backdrop { background: rgba(12, 6, 8, 0.9); }
.lb-inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
}
.lb-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 72px;
  min-height: 0;
  touch-action: pan-y;
}
.lb-stage img {
  max-width: 100%;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  width: auto; height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  user-select: none; -webkit-user-drag: none;
}
.lb-panel {
  background: linear-gradient(180deg, var(--velvet), var(--lobby));
  border-left: 1px solid var(--line);
  padding: 72px 32px 32px;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.lb-panel h2 { font-size: 2.1rem; margin-bottom: 0.2em; }
.lb-panel .card-setting { margin: 0 0 1.4em; }
.lb-caption { font-size: 1.02rem; color: var(--cream-dim); margin: 0 0 1.4em; }
.lb-panel .verdict { margin-bottom: 1.4em; }
.lb-ai { font-size: 0.85rem; color: var(--muted); margin-top: auto; }
.lb-count { font-size: 0.75rem; letter-spacing: 0.2em; color: var(--muted); margin: 0 0 0.6em; }
.lb-btn {
  position: absolute; z-index: 2;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(20, 10, 13, 0.75);
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 400 1.6rem/1 var(--serif);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.lb-btn:hover { background: var(--brass); color: var(--night); border-color: var(--brass); }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-close { top: 14px; right: 14px; }

@media (max-width: 860px) {
  .lb { overflow-y: auto; }
  .lb-inner { display: block; height: auto; min-height: 100%; }
  .lb-stage { padding: 0; display: block; }
  .lb-stage img { width: 100%; max-height: none; border: 0; border-bottom: 1px solid var(--line); }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lb-close { position: fixed; }
  .lb-panel { border-left: 0; padding: 24px 20px 40px; }
  .lb-panel h2 { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .card:hover .card-photo img { transform: none; }
}
