/* ==========================================================================
   Wren & Whim Confectionery — core stylesheet
   Palette, type, layout, components. No external assets, no web fonts.
   ========================================================================== */

:root {
  --cream: #fbf6ed;
  --cream-deep: #f4ead9;
  --cream-warm: #efe2cd;
  --ink: #221b18;
  --ink-70: #574a43;
  --ink-45: #857872;
  --plum: #45213e;
  --plum-deep: #2c152e;
  --berry: #9c3d50;
  --amber: #c3692b;
  --sage: #6b7a61;
  --gold: #a8853d;
  --line: rgba(34, 27, 24, 0.13);
  --line-soft: rgba(34, 27, 24, 0.07);
  --shadow-sm: 0 1px 2px rgba(34, 27, 24, 0.06), 0 8px 20px -12px rgba(34, 27, 24, 0.22);
  --shadow-md: 0 2px 4px rgba(34, 27, 24, 0.05), 0 24px 48px -24px rgba(34, 27, 24, 0.3);
  --radius: 4px;
  --radius-lg: 10px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --wrap-narrow: 760px;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg { max-width: 100%; }

img {
  display: block;
  height: auto;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.12rem; }

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

a {
  color: var(--plum);
  text-decoration-color: rgba(69, 33, 62, 0.35);
  text-underline-offset: 0.18em;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

a:hover {
  color: var(--berry);
  text-decoration-color: currentColor;
}

strong { font-weight: 600; }
small { font-size: 0.85rem; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--plum);
  color: #fff;
  padding: 0.8rem 1.2rem;
  font-size: 0.9rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 3rem);
}

.wrap--narrow { max-width: var(--wrap-narrow); }

/* ---------- eyebrow / labels ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow::after {
  content: "";
  flex: 0 0 34px;
  height: 1px;
  background: rgba(168, 133, 61, 0.5);
}

.eyebrow--center { justify-content: center; }

.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.62;
  color: var(--ink-70);
  max-width: 62ch;
}

.muted { color: var(--ink-70); }
.small-print { font-size: 0.86rem; color: var(--ink-45); line-height: 1.6; }

/* ---------- buttons ---------- */

.btn {
  --btn-bg: var(--plum);
  --btn-fg: #fdf8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.92rem 1.55rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  background: var(--plum-deep);
  border-color: var(--plum-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: rgba(34, 27, 24, 0.28);
}

.btn--ghost:hover {
  background: rgba(34, 27, 24, 0.05);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: none;
}

.btn--light {
  --btn-bg: #fdf8f0;
  --btn-fg: var(--plum);
  border-color: #fdf8f0;
}

.btn--light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--plum-deep);
}

.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.9rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--plum);
  text-decoration: none;
  border-bottom: 1px solid rgba(69, 33, 62, 0.3);
  padding-bottom: 2px;
}

.text-link:hover { border-color: var(--berry); }
.text-link svg { transition: transform 0.18s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 237, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line), 0 14px 28px -22px rgba(34, 27, 24, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand:hover { color: var(--ink); }

.brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--plum);
}

.brand__text { display: flex; flex-direction: column; line-height: 1; }

.brand__name {
  font-family: var(--serif);
  font-size: 1.16rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.brand__sub {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.45rem);
}

.nav a {
  position: relative;
  font-size: 0.88rem;
  color: var(--ink-70);
  text-decoration: none;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--plum);
  transition: right 0.22s ease;
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-left: 0.4rem;
}

.header-phone {
  font-size: 0.85rem;
  color: var(--ink-70);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover { color: var(--plum); }

.header-actions .btn {
  padding: 0.62rem 1rem;
  font-size: 0.83rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle__bars { display: block; width: 18px; height: 12px; position: relative; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }

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

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(2.4rem, 5vw, 4.4rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(195, 105, 43, 0.1), transparent 70%),
    radial-gradient(45% 45% at 6% 92%, rgba(69, 33, 62, 0.08), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(2rem, 4vw, 3.6rem);
  align-items: center;
}

.hero__copy h1 { margin-bottom: 1.1rem; }

.hero__copy h1 em {
  font-style: italic;
  color: var(--berry);
}

.hero__riddle {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.9vw, 1.34rem);
  font-style: italic;
  color: var(--plum);
  margin: 0 0 1.3rem;
}

.hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
  letter-spacing: 0.02em;
  color: var(--ink-45);
}

.hero__media {
  position: relative;
  margin: 0;
}

.hero__media {
  isolation: isolate;
}

.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1408 / 768;
  object-fit: cover;
}

.hero__caption {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--ink-45);
  line-height: 1.5;
}

.hero__stamp {
  position: absolute;
  right: -0.9rem;
  top: -1.1rem;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--cream);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-family: var(--serif);
  font-size: 0.76rem;
  line-height: 1.3;
  color: var(--plum);
  padding: 0.9rem;
  transform: rotate(-7deg);
}

/* ---------- generic sections ---------- */

.section { padding: clamp(3rem, 6vw, 5.2rem) 0; }
.section--tight { padding: clamp(2.2rem, 4vw, 3.2rem) 0; }
.section--tint { background: var(--cream-deep); }
.section--plum {
  background: var(--plum-deep);
  color: #f6ece0;
}
.section--plum h2,
.section--plum h3 { color: #fdf8f0; }
.section--plum .lede { color: rgba(246, 236, 224, 0.78); }
.section--plum a { color: #f3d9b6; }
.section--plum .eyebrow { color: #d8b689; }
.section--plum .eyebrow::after { background: rgba(216, 182, 137, 0.5); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(1.8rem, 3vw, 2.8rem);
}

.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  align-items: end;
}

.section-head p:last-child { margin-bottom: 0; }

/* ---------- pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
}

.pillar { border-top: 1px solid var(--line); padding-top: 1.35rem; }

.pillar__num {
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.7rem;
}

.pillar h3 { margin-bottom: 0.5rem; }
.pillar p { font-size: 0.96rem; color: var(--ink-70); margin: 0; }

/* ---------- candy cards ---------- */

.candy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.3rem, 2.4vw, 2.1rem);
}

.candy-card {
  display: flex;
  flex-direction: column;
  background: #fffdf8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.candy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.candy-card__media { position: relative; overflow: hidden; background: var(--cream-warm); }
.candy-card__media img {
  width: 100%;
  aspect-ratio: 1000 / 545;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.candy-card:hover .candy-card__media img { transform: scale(1.035); }

.candy-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem 1.4rem 1.5rem;
  flex: 1 1 auto;
}

.candy-card__kicker {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.candy-card h3 { margin: 0; font-size: 1.32rem; }

.candy-card__tease {
  font-size: 0.94rem;
  color: var(--ink-70);
  margin: 0;
}

.candy-card__notes {
  margin: auto 0 0;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line);
  font-size: 0.82rem;
  color: var(--ink-45);
  letter-spacing: 0.01em;
}

/* ---------- feature rows (candy detail) ---------- */

.feature {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: start;
  padding: clamp(2rem, 4vw, 3.2rem) 0;
  border-bottom: 1px solid var(--line-soft);
}

.feature:last-of-type { border-bottom: 0; }

.feature--flip .feature__media { order: 2; }

.feature__media {
  margin: 0;
  position: sticky;
  top: 100px;
}

.feature__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 1000 / 545;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.feature__body h2 { font-size: clamp(1.65rem, 2.6vw, 2.15rem); margin-bottom: 0.35rem; }

.feature__tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--berry);
  margin-bottom: 1.1rem;
}

.feature__body p { color: var(--ink-70); }
.feature__body p strong { color: var(--ink); }

.spec-list {
  list-style: none;
  margin: 1.2rem 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.spec-list li {
  display: grid;
  grid-template-columns: 7.6rem 1fr;
  gap: 0.8rem;
  font-size: 0.9rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-70);
}

.spec-list li span {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-45);
  padding-top: 0.18rem;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.step {
  background: #fffdf8;
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
}

.step__num {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: rgba(69, 33, 62, 0.32);
  display: block;
  margin-bottom: 0.35rem;
  line-height: 1;
}

.step h3 { font-size: 1.16rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.94rem; color: var(--ink-70); margin: 0; }

/* ---------- quote ---------- */

.pull-quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.pull-quote p {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.42;
  font-style: italic;
  margin: 0 0 1.1rem;
  color: var(--plum-deep);
}

.pull-quote cite {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-45);
}

/* ---------- journal ---------- */

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

.post-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  background: #fffdf8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  border-color: rgba(69, 33, 62, 0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: inherit;
}

.post-card__meta {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.post-card h3 { margin: 0; font-size: 1.28rem; }
.post-card p { margin: 0; font-size: 0.94rem; color: var(--ink-70); }

.post-card__more {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--plum);
}

/* ---------- article ---------- */

.article-head {
  max-width: 760px;
  margin: 0 auto clamp(1.6rem, 3vw, 2.4rem);
  text-align: center;
}

.article-head h1 { margin-bottom: 0.6rem; }
.article-meta {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.article-figure { margin: 0 0 clamp(1.6rem, 3vw, 2.4rem); }
.article-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.article-figure figcaption { font-size: 0.82rem; color: var(--ink-45); margin-top: 0.7rem; }

.prose { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin: 2.2rem 0 0.7rem; }
.prose h3 { margin: 1.8rem 0 0.55rem; }
.prose ul,
.prose ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--gold); }
.prose blockquote {
  margin: 1.8rem 0;
  padding: 0.3rem 0 0.3rem 1.4rem;
  border-left: 2px solid rgba(168, 133, 61, 0.6);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--plum);
}
.prose figure { margin: 2rem 0; }
.prose img { border-radius: var(--radius-lg); }
.prose figcaption { font-size: 0.82rem; color: var(--ink-45); margin-top: 0.6rem; }

.callout {
  margin: 2rem 0;
  padding: 1.3rem 1.5rem;
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  font-size: 0.98rem;
}

.callout h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.callout p { margin: 0; color: var(--ink-70); }

.article-foot {
  margin-top: clamp(2.2rem, 4vw, 3rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.related {
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
}

.related h2 { font-size: 1.3rem; margin-bottom: 1.1rem; }

/* ---------- FAQ ---------- */

.faq-group { margin-bottom: clamp(2rem, 3.5vw, 2.8rem); }

.faq-group h2 {
  font-size: 1.35rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.6rem;
}

details.faq {
  border-bottom: 1px solid var(--line-soft);
}

details.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--ink);
  list-style: none;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
  content: "+";
  margin-left: auto;
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.2s ease;
  padding-top: 0.1rem;
}

details.faq[open] summary::after { content: "–"; }
details.faq summary:hover { color: var(--plum); }

.faq__answer {
  padding: 0 0 1.3rem;
  max-width: 68ch;
  font-size: 0.98rem;
  color: var(--ink-70);
}

.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- contact / form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.form-card {
  background: #fffdf8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.3rem);
  box-shadow: var(--shadow-sm);
}

.form-card > h2 { font-size: 1.5rem; margin-bottom: 0.3rem; }

.form-intro { font-size: 0.95rem; color: var(--ink-70); margin-bottom: 1.6rem; }

.field { margin-bottom: 1.15rem; }

.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-bottom: 0.42rem;
}

.field .optional { text-transform: none; letter-spacing: 0.02em; color: var(--ink-45); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(34, 27, 24, 0.22);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23574a43' stroke-width='1.4' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.3rem;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(69, 33, 62, 0.12);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #a3302f;
  box-shadow: 0 0 0 3px rgba(163, 48, 47, 0.1);
}

.field__error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: #a3302f;
}

.field__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--ink-45);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  margin-top: 1.4rem;
  font-size: 0.82rem;
  color: var(--ink-45);
  line-height: 1.55;
}

.alert {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.94rem;
  border: 1px solid;
}

.alert--error {
  background: #fdf1ef;
  border-color: rgba(163, 48, 47, 0.35);
  color: #7d2624;
}

.alert--error ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.alert--error li { margin-bottom: 0.25rem; }

.alert--notice {
  background: var(--cream-deep);
  border-color: rgba(168, 133, 61, 0.4);
  color: var(--ink-70);
}

.contact-info { display: grid; gap: 1.8rem; }

.info-block h3 {
  font-size: 0.74rem;
  font-family: var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.info-block p { margin: 0 0 0.35rem; font-size: 1rem; color: var(--ink-70); }
.info-block a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.info-block a:hover { color: var(--plum); border-color: var(--plum); }

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.96rem;
  color: var(--ink-70);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.hours-list li:last-child { border-bottom: 0; }

/* ---------- thank you ---------- */

.confirm {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  background: #fffdf8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.confirm__mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(107, 122, 97, 0.14);
  color: var(--sage);
}

.confirm h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.confirm p { color: var(--ink-70); }

.confirm__ref {
  display: inline-block;
  margin: 1.1rem 0 1.4rem;
  padding: 0.5rem 1rem;
  background: var(--cream-deep);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.confirm__list {
  text-align: left;
  max-width: 480px;
  margin: 1.6rem auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.96rem;
  color: var(--ink-70);
}

.confirm__list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.4rem; }
.confirm__list svg { color: var(--sage); margin-top: 0.25rem; }

/* ---------- CTA band ---------- */

.cta-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { margin: 0; max-width: 52ch; }
.cta-band .btn-row { margin-top: 0; justify-content: flex-end; }

.visit-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(246, 236, 224, 0.18);
  font-size: 0.92rem;
}

.visit-strip h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d8b689;
  margin-bottom: 0.4rem;
}

.visit-strip p { margin: 0; color: rgba(246, 236, 224, 0.82); }

/* ---------- footer ---------- */

.site-footer {
  background: #1b1512;
  color: rgba(246, 236, 224, 0.72);
  padding: clamp(2.6rem, 5vw, 3.8rem) 0 1.6rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.4rem;
}

.site-footer h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #d8b689;
  margin-bottom: 0.9rem;
}

.site-footer a {
  color: rgba(246, 236, 224, 0.8);
  text-decoration: none;
}

.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }

.footer-brand .brand { margin: 0 0 1rem; color: #fdf8f0; }
.footer-brand .brand__mark { color: #d8b689; }
.footer-brand .brand__sub { color: rgba(246, 236, 224, 0.55); }
.footer-brand p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: rgba(246, 236, 224, 0.6); }

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(246, 236, 224, 0.14);
  font-size: 0.8rem;
  color: rgba(246, 236, 224, 0.5);
}

.footer-bottom p { margin: 0; }

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  padding: clamp(2.4rem, 5vw, 3.8rem) 0 clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(244, 234, 217, 0.65), rgba(251, 246, 237, 0));
}

.page-hero h1 { max-width: 22ch; }
.page-hero .lede { margin-top: 0.9rem; }

.breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-45);
  margin-bottom: 1.1rem;
}

.breadcrumb a { color: var(--ink-45); text-decoration: none; }
.breadcrumb a:hover { color: var(--plum); }
.breadcrumb span { color: var(--ink-45); opacity: 0.6; margin-inline: 0.4rem; }

/* ---------- utility ---------- */

.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;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 3.5vw, 3rem);
  align-items: start;
}

.note-box {
  padding: 1.3rem 1.5rem;
  border: 1px dashed rgba(168, 133, 61, 0.55);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  color: var(--ink-70);
  background: rgba(244, 234, 217, 0.5);
}

.note-box h3 { margin: 0 0 0.4rem; font-size: 1.02rem; }
.note-box p { margin: 0; }

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .header-phone { display: none; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem clamp(1.15rem, 4vw, 3rem) 1.2rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 32px -26px rgba(34, 27, 24, 0.5);
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 0.85rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--plum); font-weight: 500; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__stamp { right: -0.4rem; top: -0.8rem; bottom: auto; width: 104px; height: 104px; font-size: 0.68rem; }

  .pillars { grid-template-columns: 1fr; gap: 1.3rem; }
  .candy-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head--split { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
  .feature,
  .two-col,
  .contact-grid,
  .cta-band { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature__media { position: static; }
  .steps { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .cta-band .btn-row { justify-content: flex-start; }
  .visit-strip { grid-template-columns: 1fr; gap: 1.2rem; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .candy-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .spec-list li { grid-template-columns: 1fr; gap: 0.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__note { gap: 0.35rem 1.1rem; font-size: 0.78rem; }
  .confirm { padding: 1.4rem 1.1rem; }
  .article-foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header, .site-footer, .btn-row, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
