/* ==========================================================================
   VERTUS — site stylesheet
   Boutique hotel system: charcoal, teal, soft stone. Photography-led.
   Mobile-first: base styles are for ~360px phones, scaled via media queries.
   ========================================================================== */

:root {
  /* From photography: charcoal exterior, teal textiles, warm wood, soft stone */
  --cream: #f0eeea;
  --sand: #e4e0d8;
  --sand-deep: #c9c2b4;
  --ink: #151a18;
  --ink-soft: #5c635f;
  --accent: #1a403a;
  --accent-soft: #2a5c54;
  --brass: #b08a4a;
  --brass-soft: rgba(176, 138, 74, 0.45);
  --line: #d2cdc3;
  --surface: rgba(255, 255, 255, 0.72);
  --radius: 2px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 18px 40px rgba(21, 26, 24, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 50% at 100% 0%, rgba(42, 92, 84, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 40% at 0% 40%, rgba(176, 138, 74, 0.05), transparent 50%),
    linear-gradient(180deg, #f4f2ee 0%, var(--cream) 40%, #ebe8e2 100%);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 9vw, 5rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
h3 { font-size: clamp(1.35rem, 4vw, 1.75rem); }

p { margin: 0 0 1em; }

a { color: var(--accent); transition: color 0.2s ease; }

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

.container {
  width: min(100% - 2 * var(--pad), 72rem);
  margin-inline: auto;
}

.section { padding-block: clamp(3.25rem, 9vw, 6rem); }

.section--sand {
  background:
    linear-gradient(180deg, rgba(228, 224, 216, 0.55), rgba(228, 224, 216, 0.9));
  border-block: 1px solid rgba(210, 205, 195, 0.65);
}

.section--accent {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 80% at 20% 120%, rgba(176, 138, 74, 0.22), transparent 50%),
    linear-gradient(145deg, #14352f 0%, var(--accent) 45%, #1f4f47 100%);
  color: var(--cream);
}

.section--accent h2 { color: var(--cream); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--brass);
}

.section--accent .eyebrow { color: rgba(240, 238, 234, 0.75); }
.section--accent .eyebrow::before { background: var(--brass-soft); }

.lede {
  font-size: 1.08rem;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 40rem;
  line-height: 1.7;
}

.section--accent .lede { color: rgba(240, 238, 234, 0.82); }

/* Placeholder marker — flags facts still pending */
.tbd {
  background: #fff3c4;
  border-bottom: 2px dotted #b78f00;
  padding-inline: 0.2em;
  border-radius: 2px;
  font-style: normal;
  color: #5c4700;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.9rem 1.85rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  cursor: pointer;
  transition:
    background-color 0.35s var(--ease-out),
    color 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.btn:hover { transform: translateY(-1px); }

.btn--solid {
  background: var(--accent);
  color: var(--cream);
  box-shadow: 0 10px 24px rgba(26, 64, 58, 0.18);
}

.btn--solid:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
}

.btn--ghost:hover {
  background: var(--accent);
  color: var(--cream);
}

.btn--light {
  border-color: rgba(240, 238, 234, 0.85);
  background: var(--cream);
  color: var(--accent);
}

.btn--light:hover {
  background: transparent;
  color: var(--cream);
  box-shadow: 0 0 0 1px rgba(240, 238, 234, 0.35);
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 238, 234, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(210, 205, 195, 0.7);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.brand {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.brand::after {
  content: "";
  position: absolute;
  left: 0.12em;
  right: 0.12em;
  bottom: -0.2em;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  opacity: 0.7;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(240, 238, 234, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 1rem var(--pad) 1.5rem;
}

.site-nav.is-open { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav a {
  display: block;
  padding: 0.6rem 0.25rem;
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--accent-soft); }

.site-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

.site-nav .nav-cta { margin-top: 0.75rem; }

@media (min-width: 52rem) {
  .nav-toggle { display: none; }

  .site-nav {
    display: block;
    position: static;
    background: none;
    border: none;
    padding: 0;
    backdrop-filter: none;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 1.15rem;
  }

  .site-nav .nav-cta { margin: 0; }
  .site-nav .nav-cta .btn { padding: 0.55rem 1.15rem; font-size: 0.72rem; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cream);
  isolation: isolate;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 20, 18, 0.25) 0%, rgba(15, 20, 18, 0.45) 45%, rgba(15, 20, 18, 0.72) 100%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(26, 64, 58, 0.35), transparent 60%);
  z-index: -1;
}

.hero__content {
  padding: var(--pad);
  max-width: 48rem;
  position: relative;
}

.hero__content h1 {
  color: var(--cream);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero__content h1::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.6vw, 1.65rem);
  font-style: italic;
  font-weight: 500;
  margin: 1.35rem 0 2.15rem;
  color: rgba(240, 238, 234, 0.92);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.hero--page { min-height: 48svh; }

.hero--page .hero__content h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); }

@media (prefers-reduced-motion: no-preference) {
  .hero__img {
    transform: scale(1.06);
    animation: hero-drift 18s var(--ease-out) both;
  }

  .hero__content h1,
  .hero__content .hero__tagline,
  .hero__content .btn {
    opacity: 0;
    animation: hero-rise 1s var(--ease-out) forwards;
  }

  .hero__content h1 { animation-delay: 0.15s; }
  .hero__content .hero__tagline { animation-delay: 0.35s; }
  .hero__content .btn { animation-delay: 0.55s; }
}

@keyframes hero-drift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Proof strip
   -------------------------------------------------------------------------- */

.proof-strip {
  background: linear-gradient(90deg, #12332e, var(--accent) 40%, #1f4f47);
  color: var(--cream);
  padding-block: 1.1rem;
  border-block: 1px solid rgba(176, 138, 74, 0.25);
}

.proof-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.75rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}

@media (min-width: 40rem) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 40rem) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid rgba(210, 205, 195, 0.85);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    border-color 0.45s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(26, 64, 58, 0.28);
}

.card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  transition: transform 0.7s var(--ease-out);
}

.card:hover img { transform: scale(1.04); }

.card__media-link {
  display: block;
  cursor: pointer;
  overflow: hidden;
}

.card__media-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.card__body {
  padding: 1.5rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.card__meta {
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

.card__rate {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
  margin-top: auto;
  padding-top: 0.85rem;
}

.card .btn { margin-top: 1rem; align-self: flex-start; }

/* --------------------------------------------------------------------------
   Room feature sections (rooms.html)
   -------------------------------------------------------------------------- */

.room {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding-block: clamp(2.25rem, 6vw, 3.75rem);
  border-bottom: 1px solid var(--line);
}

.room:last-of-type { border-bottom: none; }

.room__gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.55rem;
}

.room__gallery a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  height: 100%;
  cursor: pointer;
}

.room__gallery img {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease-out);
}

.room__gallery a:hover img { transform: scale(1.04); }

.room__gallery > :first-child { grid-row: span 2; }

.room__gallery > :first-child img { aspect-ratio: 3 / 2; }

.room__gallery--4 > :first-child { grid-row: span 3; }

.room__gallery--5 {
  grid-template-columns: 1.35fr 1fr 1fr;
}

.room__gallery--5 > :first-child { grid-row: span 2; }

@media (max-width: 40rem) {
  .room__gallery--5 { grid-template-columns: 1fr 1fr; }
  .room__gallery--5 > :first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

.room__facts {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.room__facts li {
  background: rgba(228, 224, 216, 0.85);
  border: 1px solid rgba(210, 205, 195, 0.9);
  border-radius: var(--radius);
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.room__rate {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

@media (min-width: 56rem) {
  .room { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
  .room:nth-of-type(even) .room__gallery { order: 2; }
}

/* --------------------------------------------------------------------------
   Amenities band
   -------------------------------------------------------------------------- */

.amenities-band ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
}

@media (min-width: 48rem) {
  .amenities-band ul { grid-template-columns: repeat(4, 1fr); }
}

.amenities-band li {
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.amenity-links {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 40rem) {
  .amenity-links { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 62rem) {
  .amenity-links { grid-template-columns: repeat(4, 1fr); }
}

.amenity-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-height: 7.75rem;
  padding: 1.15rem 0.75rem;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(210, 205, 195, 0.9);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.35s var(--ease-out),
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.amenity-link:hover,
.amenity-link:focus-visible {
  border-color: rgba(26, 64, 58, 0.45);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.7);
}

.amenity-link .amenity-mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  border: 1px solid var(--brass-soft);
  border-radius: 50%;
  color: var(--accent);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.amenity-mark svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amenity-mark .icon-dot {
  fill: currentColor;
  stroke: none;
}

.amenity-link:hover .amenity-mark,
.amenity-link:focus-visible .amenity-mark {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--cream);
}

.amenity-link__label {
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.3;
  text-align: center;
}

.amenity-link__hint {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.hero__inline-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 0.2em;
  cursor: pointer;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.hero__inline-link:hover {
  color: var(--sand);
  text-decoration-color: var(--sand);
}

/* Keep older amenity-band marks usable on dining.html */
.amenities-band li .amenity-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.6rem;
  border: 1px solid var(--brass-soft);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-soft);
}

.gallery-section {
  scroll-margin-top: 5.5rem;
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.gallery-section + .gallery-section {
  border-top: 1px solid var(--line);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.gallery-section h2 {
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: 1.5rem;
}

@media (min-width: 48rem) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

.gallery-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 20, 18, 0.28));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.gallery-grid a:hover::after { opacity: 1; }

.gallery-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  transition: transform 0.7s var(--ease-out);
}

.gallery-grid--menu {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 48rem) {
  .gallery-grid--menu { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 62rem) {
  .gallery-grid--menu { grid-template-columns: repeat(4, 1fr); }
}

.gallery-grid--menu img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--ink);
}

.gallery-grid a:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(12, 14, 13, 0.94);
  padding: var(--pad);
}

.lightbox.is-open { display: grid; }

.lightbox img {
  max-width: min(92vw, 70rem);
  max-height: 82svh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(240, 238, 234, 0.35);
  border-radius: 50%;
  background: rgba(240, 238, 234, 0.95);
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.lightbox__close:hover { transform: scale(1.05); }

.lightbox__caption {
  color: var(--sand);
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Location block / contact
   -------------------------------------------------------------------------- */

.location-block { display: grid; gap: 2rem; }

@media (min-width: 56rem) { .location-block { grid-template-columns: 1fr 1fr; align-items: center; } }

.location-block img,
.map-embed {
  border-radius: var(--radius);
  width: 100%;
  border: 0;
  aspect-ratio: 16 / 9;
  min-height: 16rem;
  background: var(--sand);
  box-shadow: var(--shadow-soft);
}

.contact-list {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-list strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.15rem;
}

/* --------------------------------------------------------------------------
   Enquiry form
   -------------------------------------------------------------------------- */

.enquiry-form {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(210, 205, 195, 0.9);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  display: grid;
  gap: 1.1rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}

.form-row { display: grid; gap: 1.1rem; }

@media (min-width: 40rem) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.35rem; }

.field label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(240, 238, 234, 0.85);
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(42, 92, 84, 0.12);
}

.field textarea { resize: vertical; min-height: 7rem; }

.form-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

.form-success {
  background: var(--sand);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   CTA banner
   -------------------------------------------------------------------------- */

.cta-banner { text-align: center; }

.cta-banner .btn { margin-top: 1.15rem; }

.cta-banner h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin: 0.85rem auto 0;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(42, 92, 84, 0.35), transparent 55%),
    linear-gradient(180deg, #121614 0%, var(--ink) 100%);
  color: var(--sand);
  padding-block: clamp(2.75rem, 7vw, 4.5rem) 1.5rem;
  font-size: 0.92rem;
  font-weight: 300;
}

.site-footer a {
  color: var(--sand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer a:hover {
  color: var(--cream);
  border-bottom-color: var(--brass-soft);
}

.site-footer__grid {
  display: grid;
  gap: 2.25rem;
  margin-bottom: 2.75rem;
}

@media (min-width: 48rem) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.site-footer h3 {
  color: var(--cream);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }

.site-footer__legal {
  border-top: 1px solid rgba(239, 233, 224, 0.12);
  padding-top: 1.35rem;
  font-size: 0.78rem;
  color: rgba(239, 233, 224, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Reveal-on-scroll
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  }

  .reveal.is-visible { opacity: 1; transform: none; }

  .grid .reveal:nth-child(2) { transition-delay: 0.08s; }
  .grid .reveal:nth-child(3) { transition-delay: 0.16s; }
}

/* --------------------------------------------------------------------------
   Alpha banner — removed at beta
   -------------------------------------------------------------------------- */

.alpha-note {
  background: linear-gradient(90deg, #fff1c2, #ffe8a3);
  color: #5c4700;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 0.5rem var(--pad);
}
