/* Secret Photographer – site styles. Mobile first; brand tokens first. */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/lato-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/lato-700.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/assets/fonts/playfair-display.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("/assets/fonts/playfair-display-italic.woff2") format("woff2"); }
@font-face { font-family: "Rochester"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/rochester-400.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --gold: #ECB106;          /* brand gold: rules, buttons, headings */
  --gold-hi: #FFD34D;
  --gold-text: #D9B92E;
  --navy: #0A0C2E;          /* crest navy */
  --navy-2: #05061A;
  --navy-3: #15183D;
  --royal: #2747B8;         /* crest blue */
  --crimson: #8E1A2B;       /* crown velvet */
  --ivory: #F3EBD3;         /* body text */
  --paper: #F1F1F1;
  --muted: #B9B2A0;
  --error: #ff8a7a;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script: "Rochester", "Brush Script MT", cursive;
  --font-sans: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --measure: 34em;
  --page: 1240px;
  --gutter: clamp(18px, 5vw, 56px);
  --radius: 10px;
  --rule: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; background: var(--navy-2); }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ivory);
  font: 400 17px/1.7 var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; color: var(--gold); line-height: 1.15; margin: 0 0 .6em; }
h2 { font-size: clamp(30px, 4.4vw, 48px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 3000; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.js .no-js-only { display: none; }
.wrap { width: 100%; max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.script { font-family: var(--font-script); font-weight: 400; font-size: 1.12em; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 13px 30px;
  border: 2px solid var(--gold); border-radius: 999px;
  font: 700 16px/1.2 var(--font-sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, box-shadow .25s;
  touch-action: manipulation;
}
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 26px rgba(236, 177, 6, .28); }
.btn--gold:hover { background: var(--gold-hi); color: var(--navy); box-shadow: 0 8px 34px rgba(236, 177, 6, .45); }
/* A light sweep across gold buttons on hover/focus – the only hover flourish on the site. */
.btn--gold::after {
  content: ""; position: absolute; inset: -2px; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn--gold:hover::after, .btn--gold:focus-visible::after { transform: translateX(120%); transition: transform .7s ease; }
.btn--ghost, .btn--outline { background: rgba(5, 6, 26, .35); color: var(--gold); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover, .btn--outline:hover { background: rgba(236, 177, 6, .12); color: var(--gold-hi); }
.btn--small { min-height: 42px; padding: 9px 20px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold); font: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.round-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 1px solid rgba(236, 177, 6, .55); border-radius: 50%;
  background: rgba(5, 6, 26, .65); color: var(--gold); cursor: pointer; transition: background-color .2s;
}
.round-btn:hover { background: rgba(236, 177, 6, .14); }

/* ---------- Sticky top bar (after the hero) ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 900;
  background: rgba(10, 12, 46, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(236, 177, 6, .35);
  transform: translateY(-105%); transition: transform .35s ease;
}
.topbar.is-visible { transform: none; }
.topbar__inner { max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 8px var(--gutter); display: flex; align-items: center; gap: 20px; }
.topbar__brand { display: flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; font: 400 26px/1 var(--font-script); }
.topbar__brand img { width: 44px; height: 44px; }
.topbar__nav { display: none; gap: 26px; margin-left: auto; }
.topbar__nav a { color: var(--ivory); text-decoration: none; font-size: 16px; padding: 8px 0; border-bottom: 1px solid transparent; }
.topbar__nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.topbar__cta { margin-left: auto; }
@media (min-width: 820px) { .topbar__nav { display: flex; } .topbar__cta { margin-left: 8px; } }
@media (max-width: 480px) { .topbar__brand span { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: end;
  padding: 0 var(--gutter) clamp(40px, 8vh, 90px);
  background: #070926; border-top: var(--rule) solid var(--gold);
  overflow: hidden;
}
.hero::after { /* fade the video into the page and give the text a floor */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 6, 26, 0) 35%, rgba(5, 6, 26, .7) 72%, var(--navy) 100%),
    radial-gradient(120% 70% at 50% 110%, rgba(142, 26, 43, .35), transparent 60%);
}
.hero__video { position: absolute; inset: 0 0 auto; height: 66%; z-index: -2; background: #070926; }
.hero__media { width: 100%; height: 100%; object-fit: cover; object-position: center 50%;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.hero__content { max-width: var(--page); width: 100%; margin: 0 auto; display: grid; justify-items: center; text-align: center; }
.hero__title {
  margin: 0 0 .35em;
  font: italic 500 clamp(44px, 7vw, 112px)/0.98 var(--font-serif);
  letter-spacing: -.015em;
  background: linear-gradient(180deg, #FFE7A3 0%, var(--gold) 45%, #B98500 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, .55));
  text-wrap: balance;
}
.hero__intro { max-width: 48em; margin: 0 auto 28px; font: italic 400 clamp(16px, 1.6vw, 19px)/1.7 var(--font-serif); color: var(--ivory); opacity: .92; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-aspect-ratio: 1/1) {
  .hero__video { height: auto; inset: 0; }
  .hero__media { object-fit: contain; object-position: center top;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100vw - 80px), transparent 100vw);
    mask-image: linear-gradient(180deg, #000 0, #000 calc(100vw - 80px), transparent 100vw); }
  .hero__content { padding-top: calc(100vw - 40px); }
}

/* ---------- Story sections: big italic statement beside the body text ---------- */
.story { position: relative; padding: clamp(80px, 12vw, 160px) var(--gutter); background: var(--navy); }
.story + .story { padding-top: 0; }
.story__inner {
  max-width: var(--page); margin: 0 auto;
  display: grid; gap: 18px 64px;
  grid-template-columns: 1fr;
  grid-template-areas: "heading" "statement" "body";
}
.story__heading { grid-area: heading; font: 400 clamp(26px, 2.6vw, 32px)/1 var(--font-script); color: var(--gold); margin: 0; }
.story__statement {
  grid-area: statement; margin: 0;
  font: italic 500 clamp(30px, 4.6vw, 62px)/1.12 var(--font-serif); color: var(--ivory);
  letter-spacing: -.01em; text-wrap: balance;
}
.story__body { grid-area: body; max-width: var(--measure); color: #DCD3BC; }
.story__body p:last-child { margin-bottom: 0; }
@media (min-width: 960px) {
  .story__inner { grid-template-columns: 1.25fr 1fr; grid-template-areas: "heading ." "statement body"; align-items: start; }
  .story__body { padding-top: .6em; border-top: 1px solid rgba(236, 177, 6, .4); }
  .story--flip .story__inner { grid-template-columns: 1fr 1.25fr; grid-template-areas: ". heading" "body statement"; }
  .story--flip .story__statement { text-align: right; }
  .story--flip .story__heading { text-align: right; }
}

/* ---------- Gallery stage: crimson velvet ---------- */
.stage {
  position: relative; isolation: isolate;
  padding: clamp(80px, 11vw, 150px) var(--gutter);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(142, 26, 43, .75), transparent 70%),
    radial-gradient(70% 50% at 50% 100%, rgba(39, 71, 184, .28), transparent 70%),
    #1a0a1e;
  border-top: var(--rule) solid var(--gold); border-bottom: var(--rule) solid var(--gold);
}
.stage::before { /* soft vertical folds, like a stage curtain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .35) 0 2px, transparent 2px 90px, rgba(255, 255, 255, .04) 90px 120px, transparent 120px 180px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 65%); mask-image: linear-gradient(180deg, #000, transparent 65%);
}
.stage__head { max-width: var(--page); margin: 0 auto 40px; text-align: center; }
.stage__head h2 { font-style: italic; font-size: clamp(36px, 6vw, 76px); margin-bottom: .2em; }
.stage__head p { color: var(--muted); margin: 0; }
.stage .gallery { max-width: var(--page); margin: 0 auto; }

/* ---------- Testimonials ---------- */
.voices { padding: clamp(80px, 11vw, 150px) var(--gutter); background: var(--navy); text-align: center; }
.testimonials { position: relative; max-width: 980px; margin: 0 auto; }
.testimonials__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  gap: 24px; margin: 0; padding: 0 0 8px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.testimonials__track::-webkit-scrollbar { display: none; }
.testimonial { scroll-snap-align: center; display: grid; align-items: center; }
.testimonial figure { margin: 0 auto; padding: 0 4px; }
.testimonial blockquote { margin: 0 0 18px; }
.testimonial blockquote p { margin: 0; font: italic 400 clamp(22px, 3.2vw, 38px)/1.4 var(--font-serif); color: var(--ivory); text-wrap: balance; }
.testimonial blockquote::before { content: "“"; display: block; font: 400 110px/0.55 var(--font-serif); color: var(--gold); margin-bottom: 26px; }
.testimonial figcaption { font: 400 clamp(26px, 3.4vw, 36px)/1.2 var(--font-script); color: var(--gold); }
.testimonials__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; }
.testimonials__nav[hidden] { display: none; }
.testimonials__dots { display: flex; gap: 2px; }
.dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--gold); transition: background-color .2s, transform .2s; }
.dot[aria-current="true"]::before { background: var(--gold); transform: scale(1.15); }

/* ---------- Working together: ruled rows ---------- */
.terms-rows { padding: 0 var(--gutter) clamp(80px, 11vw, 150px); background: var(--navy); }
.row { max-width: var(--page); margin: 0 auto; padding: clamp(32px, 4vw, 52px) 0; border-top: 1px solid rgba(236, 177, 6, .4); display: grid; gap: 10px 64px; }
.row:last-child { border-bottom: 1px solid rgba(236, 177, 6, .4); }
.row h2 { font-style: italic; font-size: clamp(28px, 3.4vw, 42px); margin: 0; }
.row__body { max-width: var(--measure); color: #DCD3BC; }
.row__body p:last-child { margin-bottom: 0; }
@media (min-width: 960px) { .row { grid-template-columns: 1.25fr 1fr; } }

/* ---------- Contact: pitch beside the form ---------- */
.contact {
  position: relative; isolation: isolate;
  padding: clamp(80px, 11vw, 150px) var(--gutter);
  background: var(--navy) var(--bg, none) center / cover no-repeat;
  border-top: var(--rule) solid var(--gold);
}
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(10, 12, 46, .92), rgba(26, 10, 30, .82)); }
.contact__inner { max-width: var(--page); margin: 0 auto; display: grid; gap: 40px 64px; align-items: start; }
.contact__pitch h2 { font-size: clamp(34px, 5vw, 60px); }
.contact__pitch p { max-width: var(--measure); color: #DCD3BC; }
.contact__alt { margin-top: 1.4em; color: var(--muted) !important; }
@media (min-width: 960px) { .contact__inner { grid-template-columns: 1fr 1.1fr; } .contact__pitch { position: sticky; top: 100px; } }

/* ---------- Gallery ---------- */
.gallery {
  list-style: none; margin: 0; padding: 0;
  columns: 2 150px; column-gap: 12px;
}
@media (min-width: 700px) { .gallery { columns: 3; column-gap: 16px; } }
@media (min-width: 1100px) { .gallery { columns: 4; } }
.gallery__item { break-inside: avoid; margin: 0 0 12px; }
@media (min-width: 700px) { .gallery__item { margin-bottom: 16px; } }
.gallery__item a {
  display: block; position: relative; overflow: hidden; border-radius: 6px;
  aspect-ratio: var(--ratio); background: var(--navy-3);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  outline-offset: 4px;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.gallery__item a:hover img { transform: scale(1.035); filter: brightness(1.08); }
.gallery__item a::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(236, 177, 6, .35); border-radius: inherit; pointer-events: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1500;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px;
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  background: rgba(3, 4, 16, .96);
  touch-action: pan-y;
}
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; height: 100%; display: grid; place-items: center; min-width: 0; grid-column: 2; grid-row: 1; }
.lightbox__stage img { max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); width: auto; max-width: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 50px rgba(0, 0, 0, .6); transition: opacity .2s; }
.lightbox__stage img.is-loading { opacity: .35; }
.lightbox__prev { grid-column: 1; grid-row: 1; }
.lightbox__next { grid-column: 3; grid-row: 1; }
.lightbox__close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 1; }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: max(14px, env(safe-area-inset-bottom)); margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 699px) {
  .lightbox { grid-template-columns: 1fr; padding-bottom: 76px; }
  .lightbox__stage { grid-column: 1; }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: max(10px, env(safe-area-inset-bottom)); }
  .lightbox__prev { left: 18px; }
  .lightbox__next { right: 18px; }
  .lightbox__count { bottom: max(24px, env(safe-area-inset-bottom)); }
}
body.has-overlay { overflow: hidden; }

/* ---------- Contact form ---------- */
.request-form {
  max-width: 680px; margin: 0 auto; text-align: left;
  padding: clamp(22px, 5vw, 44px);
  background: rgba(241, 241, 241, .07);
  border: 3px double rgba(236, 177, 6, .75); border-radius: var(--radius);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.request-form__note { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.req { color: var(--gold); }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field[hidden] { display: none; }
.field > label, .field legend { display: block; margin-bottom: 8px; font-weight: 700; color: var(--paper); font-size: 16px; line-height: 1.4; padding: 0; }
.field__hint { font-weight: 400; color: var(--muted); font-size: 14px; }
.field input[type="email"], .field input[type="url"], .field textarea {
  width: 100%; padding: 13px 14px;
  font: 400 16px/1.5 var(--font-sans); color: var(--paper);
  background: rgba(5, 6, 26, .6);
  border: 1px solid rgba(236, 177, 6, .45); border-radius: 6px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8e8a7c; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(236, 177, 6, .3); }
.choice { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; cursor: pointer; color: var(--paper); font-size: 16px; line-height: 1.45; }
.choice input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); cursor: pointer; }
.field--choices .choice { min-height: 36px; }
@media (min-width: 600px) { .field--choices { display: flex; flex-wrap: wrap; column-gap: 24px; } .field--choices legend, .field--choices .field__error { flex: 0 0 100%; } }
.field--consent { margin-top: 6px; }
.field--turnstile { min-height: 65px; }
.has-error input[type="email"], .has-error input[type="url"], .has-error textarea { border-color: var(--error); }
.field__error { margin: 8px 0 0; color: var(--error); font-size: 15px; font-weight: 700; }
.form-alert { margin: 0 0 20px; padding: 14px 16px; border-radius: 6px; background: rgba(255, 138, 122, .12); border: 1px solid var(--error); color: #ffd7cf; font-weight: 700; }
.form-alert:focus { outline: none; }
.request-form .btn { width: 100%; margin-top: 4px; font-size: 17px; }
@media (min-width: 600px) { .request-form .btn { width: auto; } }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Plain pages (thanks, 404) and legal ---------- */
.section--plain { position: relative; isolation: isolate; padding: 100px 0; text-align: center; background: var(--navy) var(--bg, none) center / cover no-repeat; border-top: var(--rule) solid var(--gold); }
.section--plain::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 6, 26, .6), rgba(10, 12, 46, .8)); }
.section--plain { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; }
.prose--center { text-align: center; }
.prose--center h1 { font-style: italic; font-size: clamp(34px, 5vw, 54px); }
.prose--center p { color: #DCD3BC; }
.plain-logo { margin: 0 auto 22px; }
.page-plain .site-footer { border-top-width: 0; }
.page-header { background: var(--navy); border-top: var(--rule) solid var(--gold); border-bottom: 1px solid rgba(236, 177, 6, .3); }
.page-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; max-width: calc(900px + 2 * var(--gutter)); }
.page-header__home img { width: 64px; height: 64px; }
.page-header__back { font-size: 16px; }
.legal { max-width: calc(900px + 2 * var(--gutter)); padding-top: 48px; padding-bottom: 72px; color: #e4dcc4; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); }
.legal h2 { font-size: clamp(26px, 3.6vw, 34px); margin-top: 1.6em; padding-top: .4em; border-top: 1px solid rgba(236, 177, 6, .3); }
.legal h3 { margin: 1.4em 0 .4em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .6em; }
.legal strong { color: var(--paper); }
.legal__toc { margin-bottom: 1em; font-size: 16px; }
.table-scroll { overflow-x: auto; margin: 0 0 1em; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 560px; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(236, 177, 6, .25); }
.cookie-table th { color: var(--gold); font-weight: 700; }
.cookie-table code { color: var(--paper); font-size: 14px; word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); border-top: var(--rule) solid var(--gold); border-bottom: var(--rule) solid var(--gold); text-align: center; padding: 36px 0 calc(32px + env(safe-area-inset-bottom)); }
.site-footer__brand { font: 400 30px/1.2 var(--font-script); color: var(--gold); margin-bottom: 12px; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 14px; font-size: 16px; }
.site-footer__links a, .site-footer__links .link-btn { display: inline-block; padding: 8px 0; }
.site-footer__small { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- The door (18+ notice + keyhole reveal) ---------- */
.door { position: fixed; inset: 0; z-index: 2500; }
.door[hidden] { display: none; }
.door__svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.door__rim { fill: none; stroke: var(--gold); stroke-width: 1.6; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 10px rgba(236, 177, 6, .7)); }
.door.is-opening .door__rim { opacity: 0; transition: opacity .5s ease .1s; }
.door__panel {
  position: relative; height: 100%; overflow-y: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 24px max(24px, env(safe-area-inset-bottom)); text-align: center;
  transition: opacity .28s ease, transform .28s ease;
}
.door__panel[hidden] { display: none; }
.door__panel.is-leaving { opacity: 0; transform: translateY(10px); }
.door__peek { width: 90px; height: 165px; flex: none; margin-bottom: 30px; }
.door__title { font: italic 500 clamp(36px, 6vw, 56px)/1.05 var(--font-serif); margin-bottom: .3em; }
.door__panel p { max-width: 26em; color: #DCD3BC; font-size: 17px; }
.door__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

/* ---------- Cookie banner + settings ---------- */
.consent-banner {
  position: fixed; z-index: 1200; left: 16px; bottom: 16px; width: min(400px, calc(100% - 32px));
  padding: 20px 20px 16px; text-align: left;
  background: var(--navy); color: #e4dcc4; font-size: 15px; line-height: 1.55;
  border: 1px solid rgba(236, 177, 6, .6); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .55);
}
.consent-banner[hidden] { display: none; }
.consent-banner__title { font-size: 22px; margin-bottom: 6px; }
.consent-banner p { margin-bottom: 14px; }
.consent-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-banner__actions .link-btn { grid-column: 1 / -1; justify-self: center; padding: 6px; font-size: 15px; }
.notice-x { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border: 0; background: none; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; border-radius: 50%; }
.notice-x:hover { color: var(--gold); }
.consent-dialog { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid rgba(236, 177, 6, .6); border-radius: var(--radius); background: var(--navy); color: #e4dcc4; }
.consent-dialog.is-fallback[open] { position: fixed; z-index: 1300; inset: 12px 0 auto; margin: 0 auto; }
.consent-dialog::backdrop { background: rgba(3, 4, 16, .75); }
.consent-dialog__inner { position: relative; padding: 26px clamp(18px, 5vw, 30px) 24px; }
.consent-dialog__close { position: absolute; top: 8px; right: 8px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 28px; cursor: pointer; }
.consent-dialog__close:hover { color: var(--gold); }
.consent-dialog h2 { font-size: 26px; }
.consent-dialog__intro { font-size: 15px; color: var(--muted); }
.consent-options { list-style: none; margin: 0 0 20px; padding: 0; }
.consent-option { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid rgba(236, 177, 6, .25); }
.consent-option h3 { font-size: 18px; margin-bottom: 2px; }
.consent-option p { margin: 0; font-size: 14px; color: var(--muted); }
.consent-option__always { flex: none; font-size: 13px; font-weight: 700; color: var(--gold); padding-top: 4px; }
.consent-switch { position: relative; flex: none; width: 48px; height: 28px; margin-top: 2px; cursor: pointer; }
.consent-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.consent-switch__track { position: absolute; inset: 0; border-radius: 14px; background: #3a3d5c; transition: background-color .2s; }
.consent-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s; }
.consent-switch input:checked + .consent-switch__track { background: var(--gold); }
.consent-switch input:checked + .consent-switch__track::after { transform: translateX(20px); }
.consent-switch input:focus-visible + .consent-switch__track { outline: 3px solid var(--gold); outline-offset: 2px; }
.consent-dialog__actions { display: grid; gap: 10px; }
@media (min-width: 520px) { .consent-dialog__actions { grid-template-columns: 1fr 1fr; } .consent-dialog__actions .btn:first-child { grid-column: 1 / -1; } }
.consent-banner button, .consent-dialog button { touch-action: manipulation; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
