/* =========================================================
   Penzión pod Kriváňom — design tokens & base
   Palette: spruce-night ink, granite stone, snow mist, larch-window amber.
   Type: Fraunces (display, variable) + Work Sans (body/UI).
   ========================================================= */

:root {
  /* ---- color: light (default) ---- */
  --ink: #16211b;              /* deep spruce-night, primary text on light */
  --ink-soft: #3c4a41;         /* secondary text on light */
  --stone: #4f6353;            /* muted / captions on light — kept AA (4.5:1+) on mist & paper */
  --stone-line: #d8ddd6;       /* hairlines / borders on light */
  --mist: #eef1ec;             /* page background, cool snow-tinted */
  --paper: #f8f8f4;            /* card surface on light */
  --paper-raised: #ffffff;     /* highest surface on light */

  --amber: #cf7a30;            /* the one accent — larch-window light */
  --amber-deep: #a85f22;       /* accent hover/active */
  --amber-tint: #f4e3cd;       /* accent wash background */
  --on-amber: #1a1006;

  --spruce-900: #0f1712;       /* darkest band background (hero, dark sections) */
  --spruce-800: #16211b;
  --spruce-700: #223028;
  --on-spruce: #e9ece6;        /* text on dark bands */
  --on-spruce-soft: #aab5ac;   /* secondary text on dark bands */
  --on-spruce-line: rgba(233, 236, 230, 0.14);

  --trail-red: #b3432c;
  --trail-blue: #2b5f8a;
  --trail-green: #3f7a4f;
  --trail-green-light: #7cc66a;
  --trail-yellow: #b6862c;

  --focus-ring: #cf7a30;

  /* ---- elevation (warm-tinted, not neutral grey) ---- */
  --shadow-sm: 0 1px 2px rgba(15, 23, 18, 0.08), 0 1px 1px rgba(15, 23, 18, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 18, 0.28);
  --shadow-lg: 0 24px 56px -16px rgba(15, 23, 18, 0.38);

  /* ---- radius ---- */
  --r-sm: 6px;
  --r-card: 14px;
  --r-btn: 10px;
  --r-pill: 999px;

  /* ---- spacing scale ---- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* ---- type scale ---- */
  --fs-cap: 0.75rem;
  --fs-eyebrow: 0.8125rem;
  --fs-body: 1rem;
  --fs-lead: 1.1875rem;
  --fs-h4: clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-h2: clamp(2rem, 1.5rem + 2vw, 2.9rem);
  --fs-h1: clamp(2.6rem, 1.6rem + 4.2vw, 4.6rem);
  --fs-giant: clamp(6rem, 1.6rem + 14.5vw, 17rem);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Work Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --measure: 62ch;
  --container: 1240px;

  --dur-fast: 150ms;
  --dur-med: 320ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef1ec;
    --ink-soft: #c3cbc4;
    --stone: #93a099;
    --stone-line: #2b362f;
    --mist: #0f1712;
    --paper: #17221c;
    --paper-raised: #1c2820;
    --on-spruce: #eef1ec;
    --on-spruce-soft: #9bada3;
    --on-spruce-line: rgba(233, 236, 230, 0.14);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 24px 56px -16px rgba(0, 0, 0, 0.65);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --ink: #eef1ec;
  --ink-soft: #c3cbc4;
  --stone: #93a099;
  --stone-line: #2b362f;
  --mist: #0f1712;
  --paper: #17221c;
  --paper-raised: #1c2820;
  --on-spruce: #eef1ec;
  --on-spruce-soft: #9bada3;
  --on-spruce-line: rgba(233, 236, 230, 0.14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 56px -16px rgba(0, 0, 0, 0.65);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@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; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2.5px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* Grid/flex items default to a content-based min-width, which can force a
   track wider than its container on narrow screens ("grid blowout").
   Let every direct child of our multi-column layouts shrink and wrap instead. */
.hero-grid > *, .story-grid > *, .contact-grid > *, .quote-grid > *,
.room-grid > *, .footer-top > *, .header-row > * {
  min-width: 0;
}
@media (min-width: 900px) {
  .container { padding-inline: var(--sp-7); }
}

.visually-hidden {
  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;
  left: var(--sp-4);
  top: -60px;
  background: var(--amber);
  color: var(--on-amber);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-btn);
  font-weight: 600;
  z-index: 1000;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--sp-4); }

/* ---- eyebrow / labels ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before {
  content: "";
  width: 1.6em;
  height: 1.5px;
  background: currentColor;
  display: inline-block;
}
.on-dark .eyebrow { color: var(--amber); }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.85em 1.5em;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--amber);
  color: var(--on-amber);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--amber-deep); box-shadow: var(--shadow-md); }

.btn-ghost-dark {
  background: rgba(238, 241, 236, 0.06);
  border-color: var(--on-spruce-line);
  color: var(--on-spruce);
  backdrop-filter: blur(6px);
}
.btn-ghost-dark:hover { background: rgba(238, 241, 236, 0.14); border-color: rgba(238,241,230,0.4); }

.btn-outline {
  background: transparent;
  border-color: var(--stone-line);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber-deep); }

.btn-sm { padding: 0.6em 1.1em; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: var(--sp-4);
  background: rgba(15, 23, 18, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out), padding var(--dur-med) var(--ease-out);
}
.site-header.is-scrolled {
  padding-block: var(--sp-3);
  border-color: var(--on-spruce-line);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); }

.brand { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; color: var(--on-spruce); }
.brand-mark { width: 34px; height: 34px; flex: none; color: var(--amber); }
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.01em; line-height: 1.1; }
.brand-word small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-spruce-soft); margin-top: 0.2em; }

.main-nav { display: none; }
@media (min-width: 980px) {
  .main-nav { display: flex; align-items: center; gap: var(--sp-6); list-style: none; margin: 0; padding: 0; }
  .main-nav a { text-decoration: none; color: var(--on-spruce-soft); font-size: 0.92rem; font-weight: 500; transition: color var(--dur-fast); position: relative; }
  .main-nav a:hover { color: var(--on-spruce); }
}

.header-actions { display: flex; align-items: center; gap: var(--sp-4); }
@media (max-width: 640px) {
  .header-actions .btn-primary { display: none; }
  .header-row { gap: var(--sp-3); }
  .brand-word { font-size: 1rem; }
}

.lang-switch { display: inline-flex; border: 1px solid var(--on-spruce-line); border-radius: var(--r-pill); padding: 3px; background: rgba(255,255,255,0.04); }
.lang-switch button {
  border: none; background: transparent; color: var(--on-spruce-soft);
  padding: 0.32em 0.75em; border-radius: var(--r-pill); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.04em; cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast);
}
.lang-switch button[aria-pressed="true"] { background: var(--amber); color: var(--on-amber); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r-btn);
  background: transparent; border: 1px solid var(--on-spruce-line); color: var(--on-spruce);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
@media (min-width: 980px) { .nav-toggle { display: none; } }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-5) 0 var(--sp-2);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  text-decoration: none; color: var(--on-spruce); font-size: 1.05rem; font-weight: 500;
  padding: var(--sp-3) var(--sp-2); border-radius: var(--r-sm);
}
.mobile-nav a:hover { background: rgba(255,255,255,0.06); }
@media (min-width: 980px) { .mobile-nav { display: none !important; } }

/* ---- sections & bands ---- */
.band { padding-block: var(--sp-9); }
.band-dark { background: var(--spruce-900); color: var(--on-spruce); }
.band-light { background: var(--mist); color: var(--ink); }
.band-paper { background: var(--paper); color: var(--ink); }

.section-head { max-width: 640px; margin-bottom: var(--sp-7); }
.section-head h2 { font-size: var(--fs-h2); font-weight: 500; margin-top: var(--sp-3); }
.section-head p { margin-top: var(--sp-4); font-size: var(--fs-lead); color: var(--stone); }
.on-dark .section-head p { color: var(--on-spruce-soft); }

/* ---- hero ---- */
.hero {
  position: relative;
  background: var(--spruce-900);
  color: var(--on-spruce);
  overflow: hidden;
  padding-top: clamp(6rem, 4rem + 6vw, 9rem);
  padding-bottom: var(--sp-9);
}
.hero-watermark {
  line-height: 1;
  pointer-events: none;
  margin-left: -0.06em;
}
.hero-watermark span {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: var(--fs-giant);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--on-spruce);
  opacity: 0.95;
  white-space: nowrap;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--sp-7);
  align-items: start;
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.hero-copy .eyebrow { color: var(--amber); }
.hero-title { font-size: var(--fs-h1); font-weight: 500; line-height: 1.02; }
.hero-title em { font-style: italic; font-weight: 300; color: var(--amber); }
.hero-lede { max-width: 46ch; font-size: var(--fs-lead); color: var(--on-spruce-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-2); }

.hero-visual { position: relative; }
.hero-photo-frame {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-photo-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,18,0) 45%, rgba(15,23,18,0.55) 100%);
}

.hero-fact-card {
  position: absolute;
  left: var(--sp-5);
  right: var(--sp-5);
  bottom: var(--sp-5);
  z-index: 3;
  background: rgba(15, 23, 18, 0.68);
  border: 1px solid rgba(238, 241, 236, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-card);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.hero-fact-card p { font-size: 0.9rem; color: var(--on-spruce-soft); line-height: 1.55; }
.hero-fact-card a { align-self: flex-start; font-size: 0.85rem; font-weight: 700; color: var(--amber); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4em; }
.hero-fact-card a svg { width: 1em; height: 1em; transition: transform var(--dur-fast); }
.hero-fact-card a:hover svg { transform: translateX(3px); }

.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: var(--sp-9);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  border-top: 1px solid var(--on-spruce-line);
  padding-top: var(--sp-6);
}
@media (min-width: 700px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat dt { font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); color: var(--amber); }
.hero-stat dd { margin: 0.3em 0 0; font-size: 0.8rem; color: var(--on-spruce-soft); letter-spacing: 0.04em; }

/* ---- story ---- */
.story-grid { display: grid; gap: var(--sp-8); }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.story-copy p + p { margin-top: var(--sp-4); }
.story-copy { font-size: 1.05rem; color: var(--on-spruce-soft); max-width: var(--measure); }
.story-copy strong { color: var(--on-spruce); font-weight: 600; }

.story-media { position: relative; }
.story-photo {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-badge {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: var(--amber);
  color: var(--on-amber);
  border-radius: var(--r-card);
  padding: var(--sp-5);
  box-shadow: var(--shadow-md);
  max-width: 210px;
}
.story-badge strong { display: block; font-family: var(--font-display); font-size: 1.9rem; }
.story-badge span { font-size: 0.78rem; letter-spacing: 0.03em; }

/* ---- rooms ---- */
.room-grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 700px) { .room-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .room-grid { grid-template-columns: repeat(3, 1fr); } }

.room-card {
  background: var(--paper-raised);
  border: 1px solid var(--stone-line);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.room-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.room-photo { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.room-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.room-card:hover .room-photo img { transform: scale(1.045); }
.room-price {
  position: absolute; top: var(--sp-3); right: var(--sp-3);
  background: rgba(15,23,18,0.72); color: var(--on-spruce);
  backdrop-filter: blur(6px);
  border-radius: var(--r-pill);
  padding: 0.4em 0.9em;
  font-size: 0.85rem; font-weight: 700;
}
.room-price sub { font-weight: 500; font-size: 0.7em; color: var(--on-spruce-soft); }

.room-body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.room-body h3 { font-size: var(--fs-h4); font-weight: 500; }
.room-desc { color: var(--stone); font-size: 0.93rem; }
.room-meta { display: flex; gap: var(--sp-4); font-size: 0.82rem; color: var(--ink-soft); border-top: 1px solid var(--stone-line); border-bottom: 1px solid var(--stone-line); padding-block: var(--sp-3); }
.room-meta span { display: inline-flex; align-items: center; gap: 0.4em; }
.room-meta svg { width: 1.05em; height: 1.05em; color: var(--amber); flex: none; }
.room-amenities { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip { font-size: 0.75rem; padding: 0.35em 0.7em; border-radius: var(--r-pill); background: var(--mist); color: var(--ink-soft); border: 1px solid var(--stone-line); }
.room-body .btn { margin-top: auto; }

/* ---- surroundings ---- */
.trail-list { display: flex; flex-direction: column; gap: var(--sp-1); }
.trail-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-2);
  border-bottom: 1px solid var(--on-spruce-line);
}
.trail-item:first-child { border-top: 1px solid var(--on-spruce-line); }
.trail-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(238,241,236,0.08); }
.trail-name { font-family: var(--font-display); font-size: 1.15rem; }
.trail-sub { display: block; margin-top: 0.2em; font-size: 0.82rem; color: var(--on-spruce-soft); }
.trail-meta { text-align: right; font-size: 0.82rem; color: var(--on-spruce-soft); white-space: nowrap; }
.trail-meta strong { display: block; color: var(--on-spruce); font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }

.map-card {
  border-radius: var(--r-card);
  border: 1px solid var(--on-spruce-line);
  background: var(--spruce-800);
  padding: var(--sp-6);
  height: 100%;
}
.map-card svg { width: 100%; height: auto; }

/* ---- gallery ---- */
.gallery-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
}
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
  .gallery-grid .g-wide { grid-column: span 2; }
  .gallery-grid .g-tall { grid-row: span 2; }
}
.gallery-item { position: relative; border-radius: var(--r-sm); overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: var(--sp-4) var(--sp-3) var(--sp-2);
  background: linear-gradient(to top, rgba(15,23,18,0.75), transparent);
  color: #fff; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
}

/* ---- testimonials ---- */
.quote-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 860px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote-card { display: flex; flex-direction: column; gap: var(--sp-4); }
.quote-mark { color: var(--amber); font-family: var(--font-display); font-size: 2.5rem; line-height: 1; font-style: italic; }
.quote-text { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 1.2rem; line-height: 1.5; }
.quote-by { font-size: 0.85rem; color: var(--on-spruce-soft); }
.quote-by strong { color: var(--on-spruce); font-weight: 600; }

/* ---- contact ---- */
.contact-grid { display: grid; gap: var(--sp-8); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }

.contact-list { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-5); }
.contact-list li { display: flex; gap: var(--sp-4); align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: 0.15em; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--amber-deep); }
.contact-list .label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--stone); margin-bottom: 0.2em; }

.form-card {
  background: var(--paper-raised);
  border: 1px solid var(--stone-line);
  border-radius: var(--r-card);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; margin-bottom: var(--sp-4); }
@media (min-width: 560px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } .form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.4em; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.field .req { color: var(--amber-deep); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 0.75em 0.9em;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--stone-line);
  background: var(--mist);
  color: var(--ink);
  min-height: 44px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); }
.field-hint { font-size: 0.78rem; color: var(--stone); }
.field-error { font-size: 0.8rem; color: var(--trail-red); display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--trail-red); }
.field.has-error .field-error { display: block; }

.form-status {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--r-sm);
  background: var(--amber-tint);
  color: #5a3210;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}
.form-status.is-visible { display: block; }

/* ---- footer ---- */
.site-footer { background: var(--spruce-900); color: var(--on-spruce-soft); padding-block: var(--sp-7); }
.footer-top { display: grid; gap: var(--sp-7); padding-bottom: var(--sp-7); border-bottom: 1px solid var(--on-spruce-line); }
@media (min-width: 780px) { .footer-top { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand p { margin-top: var(--sp-3); max-width: 34ch; font-size: 0.9rem; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--on-spruce); margin-bottom: var(--sp-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); font-size: 0.9rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--on-spruce); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-4); padding-top: var(--sp-5); font-size: 0.82rem; }
.footer-credit {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--on-spruce-line);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--on-spruce-soft);
}
.footer-credit strong { color: var(--on-spruce); font-weight: 600; }
.footer-social { display: flex; gap: var(--sp-3); }
.footer-social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--on-spruce-line); }
.footer-social svg { width: 16px; height: 16px; }
.back-to-top { display: inline-flex; align-items: center; gap: 0.4em; text-decoration: none; font-size: 0.82rem; font-weight: 600; }
.back-to-top svg { width: 1em; height: 1em; }

/* ---- reveal-on-load (hero only; final state is always visible) ---- */
.load-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .load-in {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  }
  .load-in.is-in { opacity: 1; transform: none; }
}
