/* ============================================================
   The Weekend Pause — Wayanad
   Design tokens
   ============================================================ */

:root {
  /* Palette drawn from the property: lime-washed concrete, terracotta
     jali screens, rust railings, coffee-plantation green. */
  --paper:        #F3EFE7;
  --paper-warm:   #EAE4D8;
  --paper-deep:   #DFD7C8;
  --ink:          #1E201C;
  --ink-soft:     #4A4C45;
  --ink-mute:     #7C7C72;
  --rule:         #D5CCBC;

  --terracotta:   #B05334;
  --terracotta-d: #8E3F26;
  --moss:         #4E5B45;
  --concrete:     #9B968B;

  --shell:        #14150F;   /* footer / dark bands */
  --shell-soft:   #262820;

  /* Type */
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rhythm */
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --measure: 34rem;
  --section-y: clamp(4.5rem, 11vw, 9.5rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   Reset & base
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  font-weight: 350;
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* height:auto is required — the width/height attributes on the gallery <img>
   tags are presentational hints, and without this they force a literal pixel
   height and stretch the image. */
img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--terracotta); color: var(--paper); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 1.4rem;
  font-size: 0.85rem;
}
.skip-link:focus { left: 0; }

/* ============================================================
   Layout primitives
   ============================================================ */

.wrap {
  width: 100%;
  max-width: 78rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 52rem; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 7vw, 5.5rem); }

.section--warm { background: var(--paper-warm); }

.section--dark {
  background: var(--shell);
  color: var(--paper);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper); }

/* Eyebrow / small caps label */
.eyebrow {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::after {
  content: "";
  height: 1px;
  width: 2.6rem;
  background: currentColor;
  opacity: 0.45;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
  content: "";
  height: 1px;
  width: 2.6rem;
  background: currentColor;
  opacity: 0.45;
}
/* Over photography the mid terracotta loses contrast — lift it */
.section--dark .eyebrow,
.hero .eyebrow,
.band .eyebrow { color: #E3A183; }

/* Display sizes */
.d1 { font-size: clamp(2.9rem, 8.5vw, 6rem); }
.d2 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
.d3 { font-size: clamp(1.6rem, 3vw, 2.35rem); }

.lede {
  font-size: clamp(1.13rem, 1.02rem + 0.55vw, 1.42rem);
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 300;
}

.prose { max-width: var(--measure); }
.prose--wide { max-width: 44rem; }
.center { text-align: center; margin-inline: auto; }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.btn--light { background: transparent; border-color: rgba(243,239,231,0.4); color: var(--paper); }
.btn--light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.btn--solid-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--solid-light:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }

/* Quiet text link with animated rule */
.tlink {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 0.4rem;
  position: relative;
  color: inherit;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  opacity: 0.35;
  transform-origin: right;
  transition: transform 0.5s var(--ease), opacity 0.4s;
}
.tlink:hover::after { opacity: 1; transform: scaleX(0.35); transform-origin: left; }

/* ============================================================
   Header / navigation
   ============================================================ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.5rem;
  transition: background 0.45s var(--ease), padding 0.45s var(--ease),
              box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1.15;
  white-space: nowrap;
}
.wordmark em {
  font-style: italic;
  color: var(--terracotta);
}

.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.3rem); }
.nav a {
  font-size: 0.76rem;
  font-weight: 450;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding-block: 0.3rem;
  opacity: 0.85;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav a[aria-current="page"] { opacity: 1; }

.nav__cta {
  border: 1px solid currentColor;
  padding: 0.62rem 1.25rem !important;
  opacity: 1 !important;
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }

/* Transparent-over-hero state */
.site-header--over { color: var(--paper); }
.site-header--over .wordmark em { color: #E0A184; }

/* Scrolled / solid state */
.site-header--solid {
  background: rgba(243, 239, 231, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  padding-block: 0.95rem;
  border-bottom-color: var(--rule);
}
.site-header--solid .wordmark em { color: var(--terracotta); }

/* Burger */
.burger {
  display: none;
  width: 2.75rem; height: 2.75rem;
  margin-right: -0.6rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 120;
}
.burger span {
  position: absolute;
  left: 50%;
  width: 1.35rem; height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.25s;
}
.burger span:nth-child(1) { top: 1.1rem; transform: translateX(-50%); }
.burger span:nth-child(2) { top: 1.55rem; transform: translateX(-50%); }
body.nav-open .burger span:nth-child(1) { transform: translateX(-50%) translateY(0.22rem) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { transform: translateX(-50%) translateY(-0.22rem) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: block; }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    background: var(--paper);
    color: var(--ink);
    padding: 5rem var(--gutter) 3rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.75rem);
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0.4s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }

  .nav a {
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0;
    text-transform: none;
    padding-block: 0.55rem;
    opacity: 1;
  }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--terracotta); }
  .nav__cta {
    margin-top: 1.6rem;
    font-family: var(--body) !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    padding: 0.95rem 2rem !important;
  }
  /* Burger and wordmark sit above the open panel, so force dark ink when open */
  body.nav-open .site-header { color: var(--ink); }
  body.nav-open .wordmark { position: relative; z-index: 120; }

  /* The scrolled header's backdrop-filter would make it the containing block
     for the fixed-position nav panel, collapsing the panel to the header's
     own height. Drop the blur while the menu is open — the full-screen panel
     covers it anyway, so nothing is lost visually. */
  body.nav-open .site-header--solid {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: transparent;
  }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
}
.hero--short { min-height: 68svh; }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroDrift 22s var(--ease) forwards;
}
@keyframes heroDrift {
  from { transform: scale(1.09); }
  to   { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none; }
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12,13,10,0.80) 0%, rgba(12,13,10,0.30) 45%, rgba(12,13,10,0.52) 100%),
    linear-gradient(to right, rgba(12,13,10,0.42) 0%, rgba(12,13,10,0.05) 62%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(4rem, 9vw, 7rem);
  padding-top: 8rem;
}

.hero__title {
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 17ch;
}
.hero__title em { font-style: italic; }

.hero__sub {
  margin-top: 1.7rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.28rem);
  line-height: 1.6;
  font-weight: 300;
  color: rgba(243, 239, 231, 0.9);
}

.hero__actions {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__meta {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(4rem, 9vw, 7rem);
  z-index: 1;
  text-align: right;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.7);
  line-height: 2;
}
@media (max-width: 900px) { .hero__meta { display: none; } }

/* Page hero (interior pages) */
.pagehead {
  padding-top: clamp(8rem, 16vw, 11rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.pagehead__title { margin-bottom: 1.5rem; }

/* ============================================================
   Feature rows (image + text)
   ============================================================ */

.feature {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.feature--reverse .feature__media { order: 2; }

.feature__media { position: relative; }
.feature__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.feature__media--wide img { aspect-ratio: 5 / 4; }

.feature__body h2 { margin-bottom: 1.35rem; }

@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 2.25rem; }
  .feature--reverse .feature__media { order: 0; }
  .feature__media img { aspect-ratio: 4 / 3; }
}

/* Caption under an image */
.caption {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

/* ============================================================
   Full-bleed image band
   ============================================================ */

.band {
  position: relative;
  min-height: clamp(24rem, 62vh, 40rem);
  display: flex;
  align-items: center;
  color: var(--paper);
  overflow: hidden;
}
.band__media { position: absolute; inset: 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(12,13,10,0.72), rgba(12,13,10,0.3));
}
.band__inner { position: relative; z-index: 1; padding-block: clamp(3.5rem, 8vw, 6rem); }

.quote {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
  max-width: 20ch;
}
.quote em { font-style: italic; }

/* ============================================================
   Stat / fact row
   ============================================================ */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.fact {
  background: var(--paper);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
}
.section--warm .fact { background: var(--paper-warm); }
.fact__k {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 300;
  line-height: 1;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}
.fact__v {
  font-size: 0.79rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ============================================================
   Cards (spaces, sightseeing)
   ============================================================ */

.grid {
  display: grid;
  gap: clamp(1.5rem, 3.2vw, 2.75rem);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr)); }

/* When a grid is left with a single card (e.g. while the third bedroom is
   hidden), keep it from stretching to full width. */
.grid--2 > .card:only-child { max-width: 36rem; margin-inline: auto; }

.card { display: flex; flex-direction: column; }
.card__media { overflow: hidden; margin-bottom: 1.35rem; }
.card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.card:hover .card__media img { transform: scale(1.045); }

.card__title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.card__meta {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}
.card p { font-size: 0.96rem; color: var(--ink-soft); }

/* Distance chip */
.chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  background: var(--paper);
}

/* ============================================================
   Rhythm list (what a day looks like)
   ============================================================ */

.rhythm { border-top: 1px solid var(--rule); }
.rhythm__item {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: clamp(1rem, 3vw, 3rem);
  padding-block: clamp(1.6rem, 3vw, 2.3rem);
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.rhythm__time {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  padding-top: 0.45rem;
}
.rhythm__title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 400;
  margin-bottom: 0.45rem;
}
.rhythm__item p { color: var(--ink-soft); max-width: 42rem; font-size: 0.98rem; }

@media (max-width: 700px) {
  .rhythm__item { grid-template-columns: 1fr; gap: 0.5rem; }
  .rhythm__time { padding-top: 0; }
}

/* ============================================================
   Gallery
   ============================================================ */

.gallery {
  columns: 3;
  column-gap: clamp(0.6rem, 1.4vw, 1.1rem);
}
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 540px) { .gallery { columns: 1; } }

.gallery__item {
  break-inside: avoid;
  margin-bottom: clamp(0.6rem, 1.4vw, 1.1rem);
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
}
/* Required: the display:block above outranks the UA stylesheet's
   [hidden] { display: none }, so filtered-out items would stay visible. */
.gallery__item[hidden] { display: none; }

.gallery__item img {
  width: 100%;
  height: auto;      /* overrides the height="" attribute; keeps natural ratio */
  transition: transform 1.2s var(--ease), opacity 0.5s;
}
.gallery__item:hover img { transform: scale(1.035); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(20,21,15,0);
  transition: background 0.45s var(--ease);
}
.gallery__item:hover::after { background: rgba(20,21,15,0.12); }

/* Filter bar */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.1rem;
}
.filters button {
  border: 0;
  background: none;
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 450;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  cursor: pointer;
  padding: 0.3rem 0;
  transition: color 0.3s;
}
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--terracotta); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 11, 8, 0.985);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  padding: clamp(1rem, 4vw, 3.5rem);
}
.lightbox[data-open="true"] { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  width: auto;
}
.lightbox__btn {
  position: absolute;
  border: 0;
  background: none;
  color: rgba(243,239,231,0.75);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  padding: 1rem;
  transition: color 0.3s;
  font-family: var(--body);
  font-weight: 200;
}
.lightbox__btn:hover { color: #fff; }
.lightbox__close { top: 0.6rem; right: 0.9rem; font-size: 2.2rem; }
.lightbox__prev { left: 0.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 0.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(243,239,231,0.6);
}

/* ============================================================
   Forms
   ============================================================ */

.form { display: grid; gap: 1.35rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 350;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 0.7rem 0;
  border-radius: 0;
  transition: border-color 0.35s;
  width: 100%;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%237C7C72' stroke-width='1.1' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  padding-right: 1.6rem;
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--terracotta);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); opacity: 0.7; }

/* Radio groups — room count, group type */
.field--choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.field--choice legend {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0;
  margin-bottom: 0.85rem;
}
.choice { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.choice label {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 350;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 0.6rem 1.35rem;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.choice label:hover { border-color: var(--ink-soft); }
.choice input:checked + label {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: var(--paper-warm);
}
.choice input:focus-visible + label { outline: 2px solid var(--terracotta); outline-offset: 2px; }

.form__note { font-size: 0.82rem; color: var(--ink-mute); }

.form__status {
  font-size: 0.9rem;
  padding: 0.9rem 1.1rem;
  border-left: 2px solid var(--terracotta);
  background: var(--paper-warm);
  display: none;
}
.form__status[data-show="true"] { display: block; }
.form__status[data-state="ok"] { border-left-color: #4F6B4A; }
.form__status[data-state="error"] { border-left-color: #A33A2A; }

.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* Contact detail list */
.deets { display: grid; gap: 1.9rem; }
.deet__k {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}
.deet__v { font-size: 1.02rem; line-height: 1.65; }
.deet__v a { text-decoration: none; border-bottom: 1px solid var(--rule); transition: border-color 0.3s; }
.deet__v a:hover { border-bottom-color: var(--terracotta); }

/* ============================================================
   CTA band
   ============================================================ */

.cta { text-align: center; }
.cta__title { margin-bottom: 1.2rem; }
.cta p { color: rgba(243,239,231,0.75); max-width: 34rem; margin-inline: auto; }
.cta__actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--shell);
  color: rgba(243, 239, 231, 0.72);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.25rem;
  font-size: 0.9rem;
}
.site-footer a { text-decoration: none; transition: color 0.3s; }
.site-footer a:hover { color: var(--paper); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(243,239,231,0.14);
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 2.25rem; } }

.footer__wordmark {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: 0.9rem;
  display: inline-block;
  text-decoration: none;
}
.footer__wordmark em { font-style: italic; color: #D98F6E; }
.footer__blurb { max-width: 24rem; font-size: 0.92rem; line-height: 1.7; }

.footer__h {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243,239,231,0.45);
  margin-bottom: 1.1rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }

.footer__base {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(243,239,231,0.45);
}

/* ============================================================
   Scroll reveal
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
