/* ==========================================================================
   Brie Happy Charcuterie
   Palette: brand colors are used for backgrounds, lines and icons; the
   "-ink" / "-deep" shades are darker versions that keep text readable
   (WCAG AA contrast) on the light backgrounds.
   ========================================================================== */

:root {
  --cream: #F7F2E9;
  --paper: #FBF8F3;
  --linen: #EFE7DA;
  --sand: #DCCDBB;
  --terracotta: #B97860;
  --terracotta-deep: #9A5D47;
  --terracotta-ink: #8E5540;
  --blush: #E3BCA8;
  --sage: #929782;
  --sage-soft: #E4E2D6;
  --taupe: #A89B8B;
  --taupe-ink: #6B6359;
  --espresso: #403B35;
  --error: #9B3F33;
  --line: rgba(64, 59, 53, 0.14);

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Allura", "Brush Script MT", cursive;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-space: clamp(5rem, 10vw, 8.5rem);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 24px 48px -28px rgba(64, 59, 53, 0.38);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 78px;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 2px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--espresso);
}

h2 {
  font-size: clamp(2.35rem, 4.6vw, 3.6rem);
}

h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.8rem);
}

p {
  margin: 0 0 1.1em;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

.sprite {
  display: none;
}

.sr-only {
  position: absolute;
  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;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1.2rem;
  background: var(--espresso);
  color: var(--cream);
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: none;
}

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

.section {
  padding-block: var(--section-space);
}

/* A softly rounded, slightly inset panel of color layered on the cream page */
.band {
  background: var(--linen);
  margin-inline: clamp(0px, 1.4vw, 20px);
  border-radius: clamp(24px, 4vw, 52px);
}

/* ---------- Type accents ---------- */

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

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow-light {
  color: var(--cream);
}

.script {
  margin: 0 0 0.3rem;
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 3.4vw, 2.7rem);
  line-height: 1;
  color: var(--terracotta-deep);
}

.section-head {
  max-width: 660px;
  margin: 0 auto clamp(3rem, 6vw, 4.75rem);
  text-align: center;
}

.section-head h2 {
  margin-bottom: 0.35em;
}

.section-head > p:last-child:not(.eyebrow):not(.script) {
  margin: 0;
  color: var(--taupe-ink);
}

.ornament {
  display: block;
  width: 120px;
  height: 24px;
  margin: 0 auto 1.4rem;
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 1.1;
}

.ornament-light {
  margin: 1.5rem 0 0;
  stroke: var(--blush);
  opacity: 0.7;
}

.lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  line-height: 1.5;
  color: var(--espresso);
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.05rem 2.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

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

.btn-primary {
  background: var(--terracotta-deep);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--espresso);
}

.btn-ghost {
  border-color: rgba(247, 242, 233, 0.75);
  background: rgba(247, 242, 233, 0.08);
  color: var(--cream);
}

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

.btn-outline {
  border-color: rgba(64, 59, 53, 0.55);
  color: var(--espresso);
  background: transparent;
}

.btn-outline:hover {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
}

.btn-small {
  padding: 0.75rem 1.45rem;
  font-size: 0.72rem;
}

.btn-block {
  width: 100%;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--terracotta-ink);
}

.text-link::after {
  content: "\2192";
  letter-spacing: 0;
  transition: transform 0.35s var(--ease);
}

.text-link:hover::after {
  transform: translateX(5px);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--cream);
  transition: color 0.4s var(--ease);
}

/* The frosted background lives on a pseudo-element so it can fade in, and so
   the full-screen mobile menu isn't trapped inside a backdrop-filter. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(247, 242, 233, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.site-header.is-scrolled {
  color: var(--espresso);
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none;
  color: inherit;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.logo-sub {
  margin-top: 0.3rem;
  padding-left: 0.2em;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.46em;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a:not(.btn) {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.site-nav a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Over the hero photo the nav button is outlined; it fills in once scrolled */
.btn-nav {
  border-color: rgba(247, 242, 233, 0.75);
  background: transparent;
  color: var(--cream);
}

.btn-nav:hover {
  background: var(--cream);
  color: var(--espresso);
}

.is-scrolled .btn-nav,
.nav-open .btn-nav {
  border-color: transparent;
  background: var(--terracotta-deep);
  color: var(--cream);
}

.is-scrolled .btn-nav:hover,
.nav-open .btn-nav:hover {
  background: var(--espresso);
}

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0 10px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}

.nav-open .nav-toggle-bar:nth-last-child(2) {
  transform: translateY(4px) rotate(45deg);
}

.nav-open .nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

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

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

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

.hero-media img {
  animation: hero-settle 14s var(--ease) both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(40, 33, 28, 0.42) 0%, rgba(40, 33, 28, 0.2) 70%),
    linear-gradient(180deg, rgba(40, 33, 28, 0.5) 0%, rgba(40, 33, 28, 0.25) 45%, rgba(40, 33, 28, 0.6) 100%);
}

.hero-content {
  max-width: 860px;
  padding: calc(var(--header-h) + 2rem) 0 5.5rem;
}

.hero-content > * {
  animation: rise 1.2s var(--ease) both;
}

.hero-content > :nth-child(2) { animation-delay: 0.15s; }
.hero-content > :nth-child(3) { animation-delay: 0.3s; }
.hero-content > :nth-child(4) { animation-delay: 0.45s; }

.hero h1 {
  margin-bottom: 1.6rem;
  font-size: clamp(3.5rem, 9.5vw, 7.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--cream);
  text-shadow: 0 2px 30px rgba(40, 33, 28, 0.25);
}

.hero h1 em {
  font-style: italic;
}

.hero-lead {
  max-width: 560px;
  margin: 0 auto 2.6rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: rgba(247, 242, 233, 0.94);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.scroll-cue {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  width: 1px;
  height: 58px;
  overflow: hidden;
  background: rgba(247, 242, 233, 0.3);
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  inset: 0;
  background: var(--cream);
  animation: cue 2.6s var(--ease) infinite;
}

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

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

@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- About ---------- */

/* The offset arch outline must never widen the page on small screens */
.about {
  overflow-x: clip;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: clamp(3.5rem, 7vw, 6.5rem);
}

.about-media {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: 100%;
  max-width: 460px;
}

/* Thin offset arch drawn behind the photo */
.about-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border: 1px solid var(--terracotta);
  border-radius: 999px 999px var(--radius) var(--radius);
  opacity: 0.55;
}

.arch-frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--sand);
}

.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  left: -46px;
  bottom: 54px;
  width: 128px;
  height: 128px;
  padding: 4px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.badge text {
  font-family: var(--font-sans);
  font-size: 8.6px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: var(--terracotta-ink);
}

.badge-ring {
  transform-origin: 60px 60px;
  animation: spin 40s linear infinite;
}

.badge-leaf {
  fill: none;
  stroke: var(--sage);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.about-copy p:not(.script):not(.lead) {
  color: var(--taupe-ink);
}

.about-copy .text-link {
  margin-top: 0.75rem;
}

/* ---------- Offerings ---------- */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1.25rem, 2.4vw, 2rem);
}

.offer-card {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(64, 59, 53, 0.06);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.offer-media {
  overflow: hidden;
  aspect-ratio: 1 / 1.08;
  margin: 0.75rem 0.75rem 0;
  border-radius: calc(var(--radius-lg) - 10px);
  background: var(--sand);
}

.offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.offer-card:hover .offer-media img {
  transform: scale(1.06);
}

.offer-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.6rem 1.8rem 2rem;
}

.offer-body h3 {
  margin-bottom: 0.55rem;
}

.offer-body p {
  flex: 1;
  margin-bottom: 1.4rem;
  font-size: 0.98rem;
  color: var(--taupe-ink);
}

.offer-num {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--terracotta-deep);
}

.offer-num::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* The whole card is clickable through its link */
.offer-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.offer-card--wide {
  grid-column: span 3;
  flex-direction: row;
}

.offer-card--wide .offer-media {
  flex: 0 0 44%;
  aspect-ratio: auto;
  min-height: 300px;
  margin: 0.75rem 0 0.75rem 0.75rem;
}

.offer-card--wide .offer-body {
  justify-content: center;
  padding: 2rem 2.2rem;
}

.offer-card--wide .offer-body p {
  flex: 0 1 auto;
}

/* ---------- The Details ---------- */

.details-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 1.6rem;
  text-align: center;
}

.detail + .detail::before {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 0;
  width: 1px;
  background: var(--line);
}

.detail h3 {
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
}

.detail p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--taupe-ink);
}

/* Organic, slightly irregular blob behind each icon */
.detail-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 1.5rem;
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  background: var(--sage-soft);
  color: var(--terracotta-deep);
}

.detail-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.masonry {
  columns: 3;
  column-gap: 1.25rem;
}

.masonry-item {
  margin: 0 0 1.25rem;
  break-inside: avoid;
}

.masonry-btn {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--sand);
  cursor: zoom-in;
}

.masonry-btn img {
  width: 100%;
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}

.masonry-btn:hover img {
  transform: scale(1.045);
  filter: brightness(1.04) saturate(1.05);
}

.gallery-cta {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  text-align: center;
}

.lightbox {
  max-width: min(92vw, 1100px);
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(40, 33, 28, 0.9);
}

.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  margin: 0 auto;
  border-radius: 14px;
}

.lightbox-btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0 0 4px;
  border: 1px solid rgba(247, 242, 233, 0.5);
  border-radius: 50%;
  background: rgba(40, 33, 28, 0.35);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
}

.lightbox-btn:hover {
  background: rgba(247, 242, 233, 0.2);
}

.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev { top: 50%; left: 1.25rem; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 1.25rem; transform: translateY(-50%); }

/* ---------- Inquiry ---------- */

.inquire-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: clamp(3rem, 6vw, 5.5rem);
}

.inquire-intro {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.inquire-intro > p:not(.script) {
  color: var(--taupe-ink);
}

.inquire-media {
  max-width: 300px;
  margin: 2.25rem 0 2.5rem;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-list a {
  color: var(--terracotta-ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.form-card {
  position: relative;
  padding: clamp(1.75rem, 4.5vw, 3.4rem);
  border: 1px solid rgba(220, 205, 187, 0.7);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

/* Fine inner rule for a stationery feel */
.form-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(185, 120, 96, 0.22);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.5rem;
}

.field {
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.optional {
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--taupe-ink);
}

.req {
  color: var(--terracotta-deep);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 3.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--sand);
  border-radius: 12px;
  background: var(--cream);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--espresso);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8D8378;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(185, 120, 96, 0.16);
}

.field select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A5D47' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  cursor: pointer;
}

.field input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field [aria-invalid="true"] {
  border-color: var(--error);
  background: #FCF2EF;
}

.field-error {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  color: var(--error);
}

.field-error:empty {
  display: none;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 1.6rem 0 0;
  padding: 0.95rem 1.15rem;
  border: 1px solid #E7C3B8;
  border-radius: 12px;
  background: #F8EAE5;
  font-size: 0.95rem;
  color: #7E3328;
}

.btn-submit {
  margin-top: 1.8rem;
  padding-block: 1.2rem;
}

.btn-submit:disabled {
  cursor: progress;
  opacity: 0.85;
  transform: none;
}

.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(247, 242, 233, 0.35);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.is-loading .spinner {
  display: inline-block;
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  text-align: center;
  color: var(--taupe-ink);
}

.form-success {
  padding: clamp(1.5rem, 5vw, 3rem) 0;
  text-align: center;
  animation: rise 0.9s var(--ease) both;
}

.form-success:focus {
  outline: none;
}

.form-success p {
  max-width: 420px;
  margin: 0 auto 2rem;
  color: var(--taupe-ink);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

.site-footer {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(4rem, 8vw, 5.5rem) 0 2rem;
  background: var(--espresso);
  color: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(247, 242, 233, 0.14);
}

.footer-tagline {
  margin: 1.1rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--sand);
}

.footer-heading {
  margin-bottom: 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand);
}

.footer-links {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: rgba(247, 242, 233, 0.88);
  overflow-wrap: anywhere;
  transition: color 0.3s var(--ease);
}

.footer-links a:hover {
  color: var(--blush);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--sand);
}

.footer-bottom p {
  margin: 0;
}

.credits {
  max-width: 560px;
}

.credits summary {
  cursor: pointer;
  text-align: right;
}

.credits p {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.7;
}

.credits a {
  color: var(--cream);
}

.site-footer :focus-visible {
  outline-color: var(--blush);
}

/* ---------- 404 page ---------- */

.not-found {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.not-found h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.not-found .section-head {
  margin-bottom: 0;
}

.not-found .btn {
  margin-top: 2rem;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

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

/* Gentle stagger for items in a row */
.offer-grid > :nth-child(2),
.details-list > :nth-child(2),
.masonry > :nth-child(3n + 2) { transition-delay: 0.1s; }
.offer-grid > :nth-child(3),
.details-list > :nth-child(3),
.masonry > :nth-child(3n) { transition-delay: 0.2s; }
.details-list > :nth-child(4) { transition-delay: 0.3s; }
.details-list > :nth-child(5) { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-card,
  .offer-card--wide {
    grid-column: span 1;
    flex-direction: column;
  }

  .offer-card--wide .offer-media {
    flex: none;
    aspect-ratio: 1 / 1.08;
    min-height: 0;
    margin: 0.75rem 0.75rem 0;
  }

  .offer-card--wide .offer-body {
    justify-content: flex-start;
    padding: 1.6rem 1.8rem 2rem;
  }

  /* Last card spans the row and lies on its side */
  .offer-card:last-child {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .offer-card:last-child .offer-media {
    flex: 0 0 44%;
    aspect-ratio: auto;
    min-height: 300px;
    margin: 0.75rem 0 0.75rem 0.75rem;
  }

  .offer-card:last-child .offer-body {
    justify-content: center;
  }

  .details-list {
    row-gap: 3rem;
  }

  .detail {
    flex: 0 0 33.333%;
  }

  .detail:nth-child(4)::before {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    color: var(--espresso);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0.45s;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1.6rem;
    text-align: center;
  }

  .site-nav a:not(.btn) {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    font-style: italic;
    letter-spacing: 0;
    text-transform: none;
  }

  .site-nav .btn {
    margin-top: 1rem;
    padding: 1rem 2.2rem;
  }

  .nav-open {
    overflow: hidden;
  }

  .nav-open .site-header {
    color: var(--espresso);
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
  }

  .about-grid,
  .inquire-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 360px;
  }

  .about-media::before {
    inset: 16px -16px -16px 16px;
  }

  .badge {
    left: -14px;
    width: 112px;
    height: 112px;
  }

  .inquire-intro {
    position: static;
  }

  .inquire-media {
    display: none;
  }

  .contact-list {
    margin-top: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .eyebrow-light::before,
  .eyebrow-light::after {
    display: none;
  }

  .eyebrow-light {
    letter-spacing: 0.22em;
  }

  .offer-media,
  .offer-card--wide .offer-media,
  .offer-card:last-child .offer-media {
    aspect-ratio: 4 / 3;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 340px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-card:last-child {
    flex-direction: column;
  }

  .offer-card:last-child .offer-media {
    flex: none;
    min-height: 0;
    margin: 0.75rem 0.75rem 0;
  }

  .detail {
    flex: 0 0 100%;
    padding: 0 0.5rem;
  }

  .detail + .detail::before {
    top: -1.5rem;
    bottom: auto;
    left: 30%;
    right: 30%;
    width: auto;
    height: 1px;
  }

  .detail:nth-child(4)::before {
    display: block;
  }

  .masonry {
    columns: 2;
    column-gap: 0.75rem;
  }

  .masonry-item {
    margin-bottom: 0.75rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .credits summary {
    text-align: left;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 1.25rem;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
