/* ==========================================================================
   Hickory Lane Publishing & Recording
   Colours live in the tokens below — change them here, not in the rules.
   ========================================================================== */

:root {
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Light theme: warm linen, espresso ink, hickory brown, amber */
  --bg: #f2ece2;
  --bg-alt: #e8dfd1;
  --surface: #fbf8f3;
  --ink: #271b13;
  --muted: #66544a;
  --line: rgba(39, 27, 19, 0.14);
  --accent: #c48f2f;          /* amber: fills, icons, rules */
  --accent-ink: #855a12;      /* amber dark enough for text on light backgrounds */
  --brown: #6e4528;           /* hickory */
  --on-accent: #1f150e;
  --feature-bg: #2e2018;      /* featured price card, same in both themes */
  --feature-ink: #f3e9da;
  --error: #a3341f;
  --success: #3f6b2e;
  --header-solid: rgba(242, 236, 226, 0.94);

  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 72px;
  color-scheme: light;
}

:root[data-theme='dark'] {
  --bg: #15100c;
  --bg-alt: #1c1510;
  --surface: #231a14;
  --ink: #f1e7d8;
  --muted: #b5a390;
  --line: rgba(241, 231, 216, 0.13);
  --accent: #e0ac4c;
  --accent-ink: #e8bb67;
  --brown: #c08a5c;
  --on-accent: #1f150e;
  --feature-bg: #2f2117;
  --feature-ink: #f3e9da;
  --error: #f08a72;
  --success: #9cc985;
  --header-solid: rgba(21, 16, 12, 0.92);
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--brown); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
section[tabindex='-1']:focus { outline: none; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 1.15em; height: 1.15em;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

section { scroll-margin-top: calc(var(--header-h) - 1px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 44px;
  padding: 0.6em 1.25em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 0.95rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-lg { min-height: 52px; padding: 0.8em 1.7em; font-size: 1rem; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #d9a548; color: var(--on-accent); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { cursor: progress; opacity: 0.85; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: transparent; color: inherit;
  cursor: pointer;
}
.icon-btn:hover { background: rgba(127, 100, 70, 0.16); }
.icon-btn .icon { width: 22px; height: 22px; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: var(--header-solid);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 1.45rem/1 var(--font-display);
  color: inherit; text-decoration: none;
  letter-spacing: 0.01em;
  margin-right: auto;
}
.brand:hover { color: inherit; }

/* The tree-and-moon emblem, tinted with the current text colour.
   (The logo file is used as a mask so one file works on light and dark.) */
.logo-mark {
  display: inline-block;
  aspect-ratio: 2584 / 3773;
  background-color: currentColor;
  -webkit-mask: url('/images/logo-emblem.svg') center / contain no-repeat;
  mask: url('/images/logo-emblem.svg') center / contain no-repeat;
}
.brand-mark { height: 34px; }

.nav-panel { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: inherit; text-decoration: none;
  font-weight: 500; font-size: 0.95rem;
  padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat;
  transition: background-size 0.25s ease;
}
.nav-links a:hover { color: inherit; background-size: 100% 1.5px; }
.nav-tools { display: flex; align-items: center; gap: 4px; }

/* Theme icons: show the one you'd switch to */
.icon-moon { display: none; }
:root[data-theme='dark'] .icon-sun { display: block; }
:root[data-theme='light'] .icon-sun { display: none; }
:root[data-theme='light'] .icon-moon { display: block; }

.menu-btn { display: none; }
.menu-btn .icon-close { display: none; }
.menu-open .menu-btn .icon-open { display: none; }
.menu-open .menu-btn .icon-close { display: block; }

@media (max-width: 899px) {
  .menu-btn { display: inline-grid; }
  .nav-panel {
    position: absolute; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px var(--gutter) 24px;
    background: var(--header-solid);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .menu-open .nav-panel {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); background: none; }
  .nav-cta { margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff;
  background: #1c140f;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  background: #1c140f url('/images/hero-studio.jpg') center / cover no-repeat;
}
.hero::after {
  /* cinematic overlay: darkest where the text sits (bottom-left) */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(18, 12, 8, 0.92) 0%, rgba(18, 12, 8, 0.55) 45%, rgba(18, 12, 8, 0.35) 75%, rgba(18, 12, 8, 0.6) 100%),
    linear-gradient(to right, rgba(18, 12, 8, 0.6) 0%, rgba(18, 12, 8, 0) 70%);
}
.hero-inner {
  position: relative;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: clamp(104px, 15vh, 160px);
}


/* Animated level meter along the bottom of the hero */
.waveform {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
  height: 64px;
  display: flex; align-items: flex-end; gap: 3px;
  padding-inline: var(--gutter);
  opacity: 0.55;
  pointer-events: none;
  -webkit-mask: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.waveform span {
  flex: 1 1 0;
  height: var(--h, 40%);
  min-width: 2px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(to top, #c48f2f, #f0cd8c);
  transform-origin: bottom;
}
@media (prefers-reduced-motion: no-preference) {
  .waveform span { animation: level var(--d, 1.4s) ease-in-out var(--delay, 0s) infinite alternate; }
}
@keyframes level { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid rgba(232, 187, 103, 0.65);
  border-radius: 999px;
  color: #f0cd8c;
  background: rgba(18, 12, 8, 0.35);
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #f0cd8c;
  box-shadow: 0 0 0 3px rgba(240, 205, 140, 0.25);
}
.hero-title { margin-bottom: 28px; }
.hero-title-main {
  display: block;
  font-size: clamp(3.4rem, 10.5vw, 8.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.hero-title-sub {
  display: block;
  margin-top: 0.35em;
  padding-top: 0.45em;
  border-top: 2px solid var(--accent);
  width: fit-content;
  font-size: clamp(1.45rem, 3.2vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.92);
}
.hero-copy {
  max-width: 38rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
}
.hero-location {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.hero-location .icon { color: #f0cd8c; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* The one orchestrated motion moment: hero settles in on load. */
@media (prefers-reduced-motion: no-preference) {
  .hero-media { animation: hero-settle 9s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
  .hero-inner > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-inner > :nth-child(2) { animation-delay: 0.12s; }
  .hero-inner > :nth-child(3) { animation-delay: 0.3s; }
  .hero-inner > :nth-child(4) { animation-delay: 0.4s; }
  .hero-inner > :nth-child(5) { animation-delay: 0.5s; }
}
@keyframes hero-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Service ticker ---------- */
.ticker {
  overflow: hidden;
  background: var(--accent);
  color: var(--on-accent);
  border-block: 1px solid rgba(31, 21, 14, 0.25);
}
.ticker-track { display: flex; width: max-content; }
.ticker-list { display: flex; flex: none; }
.ticker-list li {
  display: flex; align-items: center; gap: 28px;
  padding: 16px 0 16px 28px;
  font: italic 500 clamp(1.15rem, 2vw, 1.45rem)/1 var(--font-display);
  white-space: nowrap;
}
.ticker-list li::after {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; opacity: 0.55;
}
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 48s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-head { max-width: 44rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-title {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.section-intro, .lead { color: var(--muted); font-size: 1.125rem; max-width: 40rem; }
.lead { color: var(--ink); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.about-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #3a281b, #1c140f);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { max-width: 36rem; }
.affiliations { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.affiliation {
  display: flex; flex-direction: column;
  flex: 1 1 150px;
  max-width: 220px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}
.affiliation-name { font: 600 1.35rem/1.2 var(--font-display); }
.affiliation-status { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 4 / 3; max-height: 420px; }
}

/* ---------- Services ---------- */
.services { background: var(--bg-alt); }
.group-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.group-title:not(:first-of-type) { margin-top: clamp(48px, 6vw, 72px); }
.group-note { color: var(--muted); margin: -8px 0 20px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr));
  gap: 16px;
}
.service-card {
  display: flex; flex-direction: column;
  padding: 26px 24px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  border-color: color-mix(in srgb, var(--accent) 65%, transparent);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--accent) 70%, transparent);
}
.service-icon {
  box-sizing: content-box;
  width: 26px; height: 26px; padding: 12px; margin-bottom: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  fill: none; stroke: var(--accent-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: background-color 0.25s ease, stroke 0.25s ease;
}
.service-card:hover .service-icon { background: var(--accent); stroke: var(--on-accent); }
.service-grid-advisory .service-card:hover { transform: none; box-shadow: none; }
.service-card h4 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.97rem; line-height: 1.6; margin-bottom: 18px; }
.book-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex; align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  color: var(--accent-ink);
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.book-link:hover { background: var(--accent); color: var(--on-accent); }

.service-grid-advisory .service-card { background: transparent; border-style: dashed; }
.service-grid-advisory .service-card p { margin-bottom: 0; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 920px;
}
.price-card {
  padding: clamp(28px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.price-card h3 { font-size: 1.4rem; margin-bottom: 18px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 14px; }
.price-amount { font: 600 clamp(2.6rem, 5vw, 3.6rem)/1 var(--font-display); letter-spacing: -0.01em; }
.price-unit { color: var(--muted); font-weight: 500; }
.price-card > p:last-child { color: var(--muted); margin: 0; }

.price-card-feature {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(224, 172, 76, 0.22), transparent 60%),
    var(--feature-bg);
  color: var(--feature-ink);
  border-color: rgba(224, 172, 76, 0.45);
  box-shadow: 0 24px 50px -28px rgba(196, 143, 47, 0.7);
}
.price-from {
  flex-basis: 100%;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
  color: #edc173;
}
.price-card-feature .price-amount { color: #edc173; }
.price-card-feature .price-unit,
.price-card-feature > p:last-child { color: rgba(243, 233, 218, 0.78); }

.pricing-note { margin-top: 28px; color: var(--muted); }

@media (max-width: 700px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* ---------- Distribution ---------- */
.distribution { border-top: 1px solid var(--line); }
.distribution-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.platforms li {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
}
.platforms li::before {
  content: '';
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  flex: none;
}
@media (max-width: 820px) {
  .distribution-inner { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .platforms { grid-template-columns: 1fr; }
}

/* ---------- Location ---------- */
.location {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(380px, 60vh, 560px);
  display: flex; align-items: center;
  color: #fff;
  background: #2a1d14;
}
.location-media {
  position: absolute; inset: 0; z-index: -2;
  background: #2a1d14 url('/images/okanagan.jpg') center / cover no-repeat;
}
.location::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(18, 12, 8, 0.82) 0%, rgba(18, 12, 8, 0.55) 55%, rgba(18, 12, 8, 0.3) 100%);
}
.location-inner { padding-block: var(--section-y); }
.location-inner .section-title { max-width: 16ch; }
.location-inner p { max-width: 34rem; font-size: 1.125rem; color: rgba(255, 255, 255, 0.88); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-list { display: grid; gap: 14px; margin-top: 32px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list .icon {
  width: 42px; height: 42px; padding: 10px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent-ink);
}
.contact-list a { font-weight: 600; word-break: break-word; }

.contact-form {
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--muted); }

input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a07a3e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
textarea { resize: vertical; min-height: 140px; }
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
}
[aria-invalid='true'] { border-color: var(--error); }

.field-hint { margin: 6px 0 0; font-size: 0.85rem; color: var(--muted); }
.field-error { margin: 6px 0 0; font-size: 0.88rem; font-weight: 500; color: var(--error); }

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

.btn-submit { width: 100%; margin-top: 4px; }
.spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.btn-submit.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: 0.97rem;
}
.form-status.is-success { color: var(--success); border-color: color-mix(in srgb, var(--success) 45%, transparent); background: color-mix(in srgb, var(--success) 9%, transparent); }
.form-status.is-error { color: var(--error); border-color: color-mix(in srgb, var(--error) 45%, transparent); background: color-mix(in srgb, var(--error) 8%, transparent); }
.form-status a { color: inherit; font-weight: 600; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 48px;
  background: #1c140f;
  color: rgba(243, 233, 218, 0.75);
  font-size: 0.95rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px;
}
.footer-inner p { margin: 0; }
.footer-brand { font: 600 1.2rem/1.3 var(--font-display); color: #f3e9da; }
.footer-id { display: flex; align-items: center; gap: 18px; }
.footer-logo { width: 64px; height: auto; flex: none; }
.footer-badges { display: flex; gap: 10px; }
.footer-badges li {
  padding: 6px 14px;
  border: 1px solid rgba(232, 187, 103, 0.5);
  border-radius: 999px;
  color: #e8bb67;
  font-size: 0.85rem; font-weight: 500;
}
.footer-copy { flex-basis: 100%; padding-top: 24px; border-top: 1px solid rgba(243, 233, 218, 0.12); font-size: 0.88rem; }
.footer-copy a { color: #e8bb67; margin-left: 0.5em; }
.footer-copy a:hover { color: #f3e9da; }

/* ---------- Privacy page ---------- */
.legal-header { background: #1c140f; color: #f3e9da; }
.legal-header .nav { justify-content: space-between; }
.legal-header .brand { margin-right: 0; }
.legal-back { color: #e8bb67; font-weight: 500; font-size: 0.95rem; }
.legal-back:hover { color: #f3e9da; }
.legal { padding-block: clamp(48px, 8vw, 96px); }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.legal ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.legal li { margin-bottom: 0.4em; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .spinner { animation: none; border-right-color: currentColor; opacity: 0.6; }
}
