/* ============================================================
   GotNice Offline — Editorial Casino Aesthetic
   Palette: deep emerald + cream + brass gold
   Type:    Fraunces (serif display) + Manrope (body)
   ============================================================ */

:root {
  --c-bg:        #0f1f1a;          /* deep emerald-black */
  --c-bg-2:      #142a23;
  --c-bg-3:      #18342c;
  --c-cream:     #f3eadb;          /* warm ivory */
  --c-cream-dim: #d6cdbf;
  --c-mute:      #94a39c;
  --c-brass:     #c8a85f;          /* warm gold */
  --c-brass-2:   #a98842;
  --c-line:      rgba(243, 234, 219, 0.12);
  --c-line-2:    rgba(243, 234, 219, 0.22);

  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 22px;

  --shadow-soft: 0 30px 80px -40px rgba(0, 0, 0, 0.6);
  --shadow-frame: inset 0 0 0 1px var(--c-line);

  --max: 1240px;
  --pad: clamp(20px, 5vw, 56px);

  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Final safety net: never let any single element punch a horizontal
     scrollbar on the page (works at 320px and below). */
  overflow-x: clip;
}

body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(200, 168, 95, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(20, 80, 60, 0.35), transparent 65%),
    var(--c-bg);
  background-attachment: fixed;
  min-height: 100vh;
}

/* subtle grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.92  0 0 0 0 0.85  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

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

a { color: var(--c-cream); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--c-brass); }

::selection { background: var(--c-brass); color: var(--c-bg); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--c-cream);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(40px, 6.4vw, 84px);
  font-variation-settings: "SOFT" 30, "WONK" 0;
  letter-spacing: -0.03em;
}
h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; color: var(--c-cream-dim); }

.lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  color: var(--c-cream);
  font-style: italic;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-brass);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-brass);
}

.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 300; }

/* ---------- Layout ---------- */
.shell {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section { padding: clamp(70px, 9vw, 130px) 0; position: relative; z-index: 2; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-line-2), transparent);
  margin: 0;
}

/* ---------- JS notice (shown only when JS disabled) ---------- */
/* When scripting is enabled, the HTML parser tokenises <noscript> contents
   as raw text, so the element ends up with a single Text node whose value
   is the literal markup string. The UA stylesheet hides it via
   `display: none`; we must NOT override that unconditionally, or Chromium
   (and other engines) will render the markup as visible text.
   `:has(*)` matches only when <noscript> has real element children — i.e.
   when scripting is disabled and the fallback markup actually parsed into
   the DOM. Then `display: contents` flattens the wrapper so the inner
   .js-notice inherits <main> as its containing block, letting
   `position: sticky; bottom: 0` glue the banner to the viewport bottom
   and release it naturally where <main> ends (no footer overlap). */
noscript:has(*) { display: contents; }
.js-notice {
  position: sticky;
  bottom: 0;
  z-index: 60;
  background: var(--c-brass);
  color: var(--c-bg);
  padding: 14px var(--pad);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--c-brass-2);
  box-shadow: 0 -8px 24px -14px rgba(0, 0, 0, 0.55);
}
.js-notice a {
  color: var(--c-bg);
  text-decoration: underline;
  font-weight: 700;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(15, 31, 26, 0.78);
  border-bottom: 1px solid var(--c-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 0;
  color: var(--c-cream);
  text-decoration: none;
  flex-shrink: 0;
}
.brand img,
.brand svg {
  display: block;
  height: 36px;
  width: auto;
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}
@media (max-width: 480px) {
  .brand img,
  .brand svg { height: 30px; }
}
.site-footer .brand img,
.site-footer .brand svg { height: 40px; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-cream-dim);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--c-cream); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--c-brass);
}
.nav-links a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px 14px 28px;
  border-radius: 999px;
  background: var(--c-brass);
  color: var(--c-bg) !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  box-shadow: 0 8px 22px -10px rgba(200, 168, 95, 0.55);
}
.nav-links a.nav-cta:hover {
  background: var(--c-cream);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -12px rgba(243, 234, 219, 0.6);
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta .icon-arrow { width: 16px; height: 16px; stroke-width: 2; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--c-cream);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 16px var(--pad) 28px;
    background: var(--c-bg-2);
    border-bottom: 1px solid var(--c-line);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--c-line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 14px 0; }
  .menu-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(70px, 10vw, 140px);
  padding-bottom: clamp(80px, 11vw, 160px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
}
.hero h1 .accent {
  color: var(--c-brass);
  font-style: italic;
  font-weight: 300;
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 6px;
  border-left: 1px solid var(--c-line-2);
  padding-left: clamp(22px, 3vw, 38px);
}
.hero-meta .lead { margin: 0; }
.hero-note {
  margin: 0;
  padding: 12px 16px;
  border-left: 2px solid var(--c-brass);
  background: rgba(243, 234, 219, 0.03);
  color: var(--c-cream-dim);
  font-size: 13px;
  line-height: 1.55;
}
.hero-note strong { color: var(--c-cream); font-weight: 600; }
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 12px;
}
.hero-stats .num {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--c-brass);
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
}
.hero-stats .lbl {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-top: 8px;
  display: block;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 38px;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-meta { border-left: 0; padding-left: 0; border-top: 1px solid var(--c-line-2); padding-top: 26px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-brass); color: var(--c-bg) !important; border-color: var(--c-brass); }
.btn-primary:hover { background: var(--c-cream); border-color: var(--c-cream); }
.btn-ghost { background: transparent; color: var(--c-cream) !important; border-color: var(--c-line-2); }
.btn-ghost:hover { border-color: var(--c-cream); background: rgba(243, 234, 219, 0.05); }
.btn .arrow { transition: transform .25s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* SVG icon arrow used inside buttons and nav-cta */
.icon-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.btn:hover .icon-arrow,
.nav-cta:hover .icon-arrow,
a:hover > .icon-arrow { transform: translateX(4px); }

/* ---------- Section heading ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(26px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(50px, 6vw, 80px);
}
.section-head h2 { margin: 12px 0 0; }
.section-head .desc { color: var(--c-cream-dim); padding-bottom: 6px; }
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ---------- Cards / Items ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.cards.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) {
  .cards.cards--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards.cards--3 { grid-template-columns: 1fr; }
}
.card {
  background: var(--c-bg-2);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .3s ease;
}
.card:hover { background: var(--c-bg-3); }
.card .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--c-brass);
  font-size: 18px;
  letter-spacing: 0.02em;
}
.card h3 { margin: 0; }
.card p { color: var(--c-cream-dim); margin: 0; font-size: 15px; }

/* numbered editorial list */
.numbered {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.numbered .item {
  display: grid;
  grid-template-columns: 90px 1fr 1.6fr;
  gap: clamp(20px, 4vw, 60px);
  padding: 36px 0;
  border-bottom: 1px solid var(--c-line);
  align-items: start;
}
.numbered .item .n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--c-brass);
}
.numbered .item h3 { margin: 0; }
.numbered .item p { margin: 0; color: var(--c-cream-dim); }
@media (max-width: 880px) {
  .numbered .item { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Recent events gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }

.gallery__tile {
  margin: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-bg-2);
  display: flex;
  flex-direction: column;
  transition: border-color .3s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.gallery__tile:hover { border-color: var(--c-brass); }

.gallery__media {
  display: block;
  width: 100%;
  aspect-ratio: 459 / 292;
  overflow: hidden;
  background: var(--c-bg-3);
}
.gallery__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.gallery__tile:hover .gallery__media img { transform: scale(1.04); }

.gallery__caption {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gallery__caption .eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--c-brass);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.gallery__caption h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}
.gallery__caption .meta {
  color: var(--c-cream-dim);
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* ---------- Two-col content ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.two-col.reverse { grid-template-columns: 1fr 1.1fr; }
/* Let grid children shrink past their intrinsic content width — otherwise
   long words / wide form controls bust the page on narrow viewports. */
.two-col > * { min-width: 0; }
@media (max-width: 880px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
}

.feature-frame {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(180deg, rgba(243, 234, 219, 0.02), transparent),
    var(--c-bg-2);
  position: relative;
}
.feature-frame::before {
  content: "";
  position: absolute;
  top: 18px; left: 18px;
  width: 36px; height: 1px;
  background: var(--c-brass);
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.testimonial {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 34px 30px;
  background: rgba(20, 42, 35, 0.6);
}
.testimonial .quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.45;
  color: var(--c-cream);
  margin: 0 0 22px;
  position: relative;
  padding-left: 22px;
}
.testimonial .quote::before {
  content: "“";
  position: absolute;
  left: -4px;
  top: -8px;
  font-size: 48px;
  color: var(--c-brass);
  font-weight: 400;
}
.testimonial .author { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-brass); }

/* ---------- CTA strip ---------- */
.cta-strip {
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 70px);
  background:
    radial-gradient(600px 220px at 80% 100%, rgba(200, 168, 95, 0.18), transparent 70%),
    var(--c-bg-2);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
}
.cta-strip h2 { margin: 0; }
@media (max-width: 880px) { .cta-strip { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a1714;
  border-top: 1px solid var(--c-line);
  margin-top: 40px;
  padding: 80px 0 40px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-brass);
  font-weight: 700;
  margin: 0 0 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { font-size: 14px; color: var(--c-cream-dim); }
.site-footer a:hover { color: var(--c-cream); }
.site-footer p { font-size: 13px; color: var(--c-mute); margin: 0; }
.site-footer .brand { margin-bottom: 18px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--c-line);
  font-size: 12px;
  color: var(--c-mute);
  flex-wrap: wrap;
  gap: 14px;
}
@media (max-width: 880px) {
  /* Explore shrinks to its widest item, Legal absorbs the rest;
     brand + Contact span the full width. */
  .footer-grid {
    grid-template-columns: max-content 1fr;
    gap: 32px 36px;
  }
  .footer-grid > div:first-child,
  .footer-grid > div:nth-child(4) { grid-column: 1 / -1; }
  .site-footer ul { gap: 8px; }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- Form ---------- */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  /* Grid container itself must allow shrinking inside its outer two-col. */
  min-width: 0;
}
.form .full { grid-column: 1 / -1; }
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* Allow each grid cell to shrink — needed because long <select> options
     would otherwise force their cell to ~max-content width. */
  min-width: 0;
}
.field label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-cream-dim);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: rgba(243, 234, 219, 0.04);
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-md);
  padding: 16px 18px;
  color: var(--c-cream);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color .25s ease, background .25s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--c-brass);
  background: rgba(243, 234, 219, 0.06);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'><path d='M1 1l6 6 6-6' stroke='%23c8a85f' stroke-width='1.5'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field select option {
  background-color: #142a23;
  color: #f3eadb;
  padding: 10px;
}
.field select option:checked,
.field select option:hover {
  background-color: #18342c;
  color: #ffffff;
}

/* Date input — recolor the calendar icon to match the select arrow (brass).
   We replace the native ::-webkit-calendar-picker-indicator's bitmap with a
   stroked SVG using the same `%23c8a85f` colour as the select chevron. */
.field input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
}
.field input[type="date"]::-webkit-calendar-picker-indicator {
  width: 18px;
  height: 18px;
  margin-right: 2px;
  padding: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c8a85f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4.5' width='18' height='17' rx='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-position: center;
  background-color: transparent;
  cursor: pointer;
  opacity: 1;
  filter: none;
}

/* Required-field marker + small legend above the form */
.field label .req,
.form-legend .req {
  color: var(--c-brass);
  font-weight: 700;
  margin-left: 4px;
}
.form-legend {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mute);
  font-weight: 600;
}
.form-legend .req { letter-spacing: normal; margin-left: 0; margin-right: 6px; }

/* ---------- Inline policy-consent checkbox ---------- */
.consent-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  padding: 14px 16px;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-md);
  background: rgba(243, 234, 219, 0.03);
  transition: border-color .2s ease, background .2s ease;
}
.consent-check:hover { border-color: var(--c-brass); background: rgba(243, 234, 219, 0.05); }
.consent-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--c-brass);
  cursor: pointer;
}
.consent-check span { font-size: 14px; color: var(--c-cream-dim); line-height: 1.55; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.form-status {
  grid-column: 1 / -1;
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 14px;
  display: none;
}
.form-status.is-success { display: block; background: rgba(200, 168, 95, 0.12); border: 1px solid var(--c-brass); color: var(--c-cream); }
.form-status.is-error   { display: block; background: rgba(220, 80, 80, 0.10);  border: 1px solid #c66; color: #f3d6d6; }

/* Success panel that temporarily replaces the form after submission. */
.form-success-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  min-height: 360px;
}
.form-success-panel[hidden] { display: none; }
.form-success-panel .success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 168, 95, 0.12);
  color: var(--c-brass);
  border: 1px solid var(--c-brass);
}
.form-success-panel .success-icon svg { width: 28px; height: 28px; }
.form-success-panel h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--c-cream);
  margin: 4px 0 0;
}
.form-success-panel p {
  color: var(--c-cream-dim);
  max-width: 420px;
  margin: 0;
  line-height: 1.55;
}

/* Per-field inline errors (live validation) */
.field-error {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #e6a3a3;
  margin-top: 2px;
  line-height: 1.4;
}
.field-error[hidden] { display: none; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #c66;
  background: rgba(220, 80, 80, 0.05);
}
.field.is-invalid input:focus,
.field.is-invalid select:focus,
.field.is-invalid textarea:focus {
  border-color: #d77;
  box-shadow: 0 0 0 2px rgba(220, 80, 80, 0.18);
}

@media (max-width: 880px) { .form { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .feature-frame { padding: 22px 16px; }
  .field input,
  .field select,
  .field textarea { padding: 14px 14px; font-size: 15px; }
  .field select { padding-right: 38px; background-position: right 14px center; }
  .consent-check { padding: 12px 14px; gap: 10px; }
  .form { gap: 18px; }
}

/* ---------- Article (legal pages) ---------- */
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article h1 { margin-bottom: 14px; }
.article .updated { color: var(--c-mute); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 40px; }
.article h2 { margin-top: 50px; font-size: clamp(22px, 2.4vw, 30px); }
.article p { color: var(--c-cream-dim); }
.article ul { padding-left: 20px; color: var(--c-cream-dim); }
.article ul li { margin-bottom: 8px; }

/* ---------- Locations ---------- */
.locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.location {
  background: var(--c-bg-2);
  padding: 32px 28px;
}
.location .flag {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-brass);
  font-weight: 700;
  margin-bottom: 12px;
}
.location address { font-style: normal; color: var(--c-cream-dim); font-size: 14px; line-height: 1.6; }
.location-note { color: var(--c-cream-dim); font-size: 14px; line-height: 1.6; margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; }
.faq details {
  border-top: 1px solid var(--c-line);
  padding: 28px 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--c-line); }
.faq summary {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--c-cream);
  outline: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--c-brass);
  font-size: 26px;
  font-family: var(--font-body);
  font-weight: 300;
  transition: transform .25s ease;
}
.faq details[open] summary::after { content: "—"; font-size: 18px; }
.faq details p { margin-top: 16px; color: var(--c-cream-dim); }

/* ---------- Disclaimer ---------- */
.disclaimer {
  border: 1px dashed var(--c-line-2);
  border-radius: var(--r-md);
  padding: 22px 26px;
  font-size: 13px;
  color: var(--c-mute);
  background: rgba(243, 234, 219, 0.02);
}

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  }
  .reveal.is-visible { opacity: 1; transform: none; }

  .hero h1, .hero .eyebrow, .hero-meta, .hero-cta-row {
    animation: rise .9s cubic-bezier(.2,.7,.2,1) both;
  }
  .hero .eyebrow { animation-delay: .05s; }
  .hero h1 { animation-delay: .12s; }
  .hero-meta { animation-delay: .25s; }
  .hero-cta-row { animation-delay: .38s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.muted { color: var(--c-mute); }
.gold { color: var(--c-brass); }
.maxw-prose { max-width: 720px; }
.mt-lg { margin-top: clamp(40px, 5vw, 70px); }

/* ---------- Cookie consent banner ---------- */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 24px);
  width: min(880px, calc(100vw - 40px));
  z-index: 100;
  background: rgba(15, 31, 26, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  color: var(--c-cream);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.cookie-consent.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.cookie-consent__inner {
  padding: clamp(20px, 3vw, 28px) clamp(22px, 3.5vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-consent__copy h3 {
  margin: 0 0 6px;
  font-size: clamp(18px, 2vw, 22px);
}
.cookie-consent__copy p {
  margin: 0;
  font-size: 14px;
  color: var(--c-cream-dim);
  line-height: 1.55;
}
.cookie-consent__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-consent__actions .btn {
  padding: 12px 20px;
  font-size: 12px;
}
.cookie-consent.is-managing .cookie-consent__actions [data-cookie="manage"] { display: none; }

/* Preferences panel */
.cookie-consent__prefs {
  border-top: 1px solid var(--c-line);
  padding-top: 18px;
}
.cookie-prefs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-pref {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  background: rgba(243, 234, 219, 0.02);
}
.cookie-pref__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  cursor: pointer;
}
.cookie-pref__row strong {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--c-cream);
}
.cookie-pref p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--c-cream-dim);
  line-height: 1.5;
}
.cookie-pref__locked {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-brass);
  font-weight: 700;
  padding: 6px 12px;
  border: 1px solid var(--c-brass);
  border-radius: 999px;
}

/* Custom toggle switch (brass theme) */
.cookie-toggle {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.cookie-toggle input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.cookie-toggle__track {
  position: absolute;
  inset: 0;
  background: rgba(243, 234, 219, 0.12);
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  transition: background .25s ease, border-color .25s ease;
}
.cookie-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-cream-dim);
  transition: transform .25s ease, background .25s ease;
}
.cookie-toggle input:checked + .cookie-toggle__track {
  background: rgba(200, 168, 95, 0.28);
  border-color: var(--c-brass);
}
.cookie-toggle input:checked + .cookie-toggle__track .cookie-toggle__thumb {
  transform: translateX(20px);
  background: var(--c-brass);
}
.cookie-toggle input:focus-visible + .cookie-toggle__track {
  outline: 2px solid var(--c-brass);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .cookie-consent {
    width: calc(100vw - 24px);
    bottom: 16px;
  }
  .cookie-consent__actions { width: 100%; }
  .cookie-consent__actions .btn { flex: 1 1 calc(50% - 6px); justify-content: center; }
  .cookie-consent__actions [data-cookie="accept"],
  .cookie-consent__actions [data-cookie="save"] { flex-basis: 100%; }
}
