/* ==========================================================================
   ORACLE FARMS LIMITED — "Grown with foresight"
   Theme-aware ledger palette. Dark is default; light is opt-in via
   [data-theme="light"] on <html>, toggled by the header switch.

   Adaptive tokens (flip with theme):
   --bg / --surface / --surface-2 / --text / --text-muted / --border
   Fixed tokens (always dark — used on photo heroes, gradient bands,
   the footer, and carousel chrome, which stay dark in both themes):
   --fixed-text / --fixed-muted
   Accent tokens (identical in both themes):
   --gold / --gold-brt / --moss / --moss-dark / --moss-brt /
   --rust / --rust-dark / --rust-brt
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Space+Mono:wght@400;700&display=swap');

:root {
  /* dark theme (default) */
  --bg: #0E0C09;
  --surface: #17140F;
  --surface-2: #1F1A12;
  --border: rgba(180, 146, 63, 0.16);
  --border-strong: rgba(233, 225, 206, 0.18);
  --text: #E9E1CE;
  --text-muted: #A79C86;
  --header-bg: rgba(14, 12, 9, 0.88);
  --ghost-border: rgba(233, 225, 206, 0.3);
  --ghost-hover-bg: rgba(233, 225, 206, 0.08);
  --input-placeholder: #6B6250;

  /* fixed-dark (never flips — used on always-dark components) */
  --fixed-text: #E9E1CE;
  --fixed-muted: #A79C86;

  /* accents (same in both themes) */
  --gold: #B4923F;
  --gold-brt: #D4AF5E;
  --moss: #5B7A42;
  --moss-dark: #3E5429;
  --moss-brt: #7DA05A;
  --rust: #8A4E2C;
  --rust-dark: #5C331B;
  --rust-brt: #B06B3F;

  --font-display: 'Fraunces', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #FAF6EC;
  --surface: #FFFFFF;
  --surface-2: #F3EDDD;
  --border: rgba(138, 78, 44, 0.16);
  --border-strong: rgba(36, 30, 20, 0.16);
  --text: #24201A;
  --text-muted: #6E6250;
  --header-bg: rgba(250, 246, 236, 0.9);
  --ghost-border: rgba(36, 30, 20, 0.22);
  --ghost-hover-bg: rgba(36, 30, 20, 0.06);
  --input-placeholder: #9C917C;

  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-brt);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.container {
  width: min(1120px, 90%);
  margin-inline: auto;
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  margin-right: auto;
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: uppercase;
}

/* ---------- logo image variants (theme-matched to [data-theme]) ----------
   Dark is the site's default theme, so the WHITE-text logo (logo-dark
   variant) shows by default; when data-theme="light" is set, we swap
   to the original white-background logo. */
.logo-mark-img {
  height: 34px;
  width: auto;
  flex-shrink: 0;
}

.logo-dark-variant { display: none; }

@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark-variant { display: block; }
}

.logo-dark-variant { display: block; }
.logo-light { display: none; }

:root[data-theme="light"] .logo-dark-variant { display: none; }
:root[data-theme="light"] .logo-light { display: block; }

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.3rem 0.1rem;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-bounce);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-links a.active { color: var(--gold-brt); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); background: var(--gold-brt); }

.nav-toggle { display: none; }

/* ---------- theme toggle ---------- */
.theme-toggle {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 1.4rem;
  transition: transform 0.3s var(--ease-bounce), border-color 0.2s, background 0.2s;
}
.theme-toggle:hover {
  border-color: var(--gold);
  background: var(--ghost-hover-bg);
  transform: rotate(-12deg) scale(1.06);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.7rem;
  min-height: 48px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.22s var(--ease-bounce), box-shadow 0.22s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--gold-brt);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gold);
  color: #1A1509;
  box-shadow: 0 4px 0 var(--rust-dark);
}
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.08); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 2px 0 var(--rust-dark); filter: brightness(0.98); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--ghost-border);
}
.btn-ghost:hover {
  background: var(--ghost-hover-bg);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.btn-ghost:active { transform: translateY(0); }

/* buttons sitting on always-dark surfaces (hero photos, bands) need
   fixed-light text regardless of page theme */
.hero .btn-ghost, .band .btn-ghost, .band-yellow .btn-ghost {
  color: var(--fixed-text);
  border-color: rgba(233, 225, 206, 0.32);
}
.hero .btn-ghost:hover, .band .btn-ghost:hover, .band-yellow .btn-ghost:hover {
  background: rgba(233, 225, 206, 0.1);
}

/* ---------- bounce engine ---------- */
.bounce-in {
  opacity: 0;
  transform: translateY(28px) scale(0.94);
}

.bounce-in.visible {
  animation: bounceIn 0.8s var(--ease-soft) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes bounceIn {
  0%   { opacity: 0; transform: translateY(34px) scale(0.9); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.015); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bounceInDrop {
  0%   { opacity: 0; transform: translateY(-60px) scale(0.85); }
  60%  { opacity: 1; transform: translateY(6px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.bounce-drop.visible { animation: bounceInDrop 0.85s var(--ease-soft) forwards; animation-delay: var(--d, 0s); }
.bounce-drop { opacity: 0; }

body.page-exit main {
  animation: bounceOut 0.4s cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
}

@keyframes bounceOut {
  0%   { opacity: 1; transform: scale(1) translateY(0); }
  100% { opacity: 0; transform: scale(0.97) translateY(16px); }
}

@media (prefers-reduced-motion: reduce) {
  .bounce-in, .bounce-drop { opacity: 1 !important; transform: none !important; animation: none !important; }
  body.page-exit main { animation: none !important; }
  .btn, .nav-links a::after, .theme-toggle { transition: none !important; }
}

/* ---------- hero (photo-backed, always dark-scrimmed) ---------- */
.hero {
  position: relative;
  padding: 6.5rem 0 4rem;
  overflow: hidden;
  background-color: #0A0906;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(10,9,6,0.55) 0%, rgba(10,9,6,0.72) 55%, #0A0906 100%),
    linear-gradient(90deg, rgba(10,9,6,0.35), transparent 40%, transparent 60%, rgba(10,9,6,0.35));
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 1rem;
}

.hero-inner .eyebrow { justify-content: center; margin-bottom: 1.2rem; }

.hero h1 {
  color: var(--fixed-text);
  font-size: clamp(2rem, 5vw, 3.8rem);
  max-width: 17ch;
  margin-inline: auto;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.hero p.lede {
  max-width: 48ch;
  margin: 1.3rem auto 2rem;
  font-size: 1.05rem;
  color: var(--fixed-muted);
}

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

.hero-small {
  padding: 5.5rem 0 3.5rem;
}
.hero-small .hero-inner { padding-bottom: 0; }

.hero[data-accent="gold"]::after,
.hero[data-accent="green"]::after,
.hero[data-accent="brown"]::after,
.hero[data-accent="sky"]::after {
  content: '';
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 0;
  height: 3px;
}
.hero[data-accent="gold"]::after { background: var(--gold); }
.hero[data-accent="green"]::after { background: var(--moss-brt); }
.hero[data-accent="brown"]::after { background: var(--rust-brt); }
.hero[data-accent="sky"]::after { background: #7FA9C9; }

/* ---------- hero carousel (chrome stays dark, sits on photos) ---------- */
.carousel {
  position: relative;
  outline: none;
}
.carousel:focus-visible {
  box-shadow: 0 0 0 3px var(--gold);
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.75s var(--ease-soft);
  cursor: grab;
  touch-action: pan-y;
}
.carousel-track.dragging {
  transition: none;
  cursor: grabbing;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding-bottom: 1rem;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s var(--ease-soft);
}
.carousel-slide[inert] {
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-slide { transition: none; }
}

.carousel-arrow {
  position: absolute;
  top: 42%;
  translate: 0 -50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(233,225,206,0.25);
  background: rgba(14,12,9,0.55);
  backdrop-filter: blur(4px);
  color: var(--fixed-text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.3s var(--ease-bounce), background 0.2s, border-color 0.2s;
  z-index: 3;
}
.carousel-arrow:hover { background: var(--gold); color: #1A1509; border-color: var(--gold); transform: translateY(-50%) scale(1.08); }
.carousel-arrow:focus-visible { outline: 2px solid var(--gold-brt); outline-offset: 2px; }
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

.carousel-dots {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.5rem;
  position: relative;
  z-index: 3;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(233,225,206,0.4);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s var(--ease-bounce);
}
.dot.active {
  background: var(--gold);
  border-color: var(--gold);
  width: 26px;
  border-radius: 6px;
}

@media (max-width: 700px) {
  .carousel-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none !important; }
}

/* ---------- horizon furrows (fixed, decorative soil strip) ---------- */
.horizon {
  position: relative;
  width: 100%;
  height: 54px;
  z-index: 1;
}
.furrow {
  position: absolute;
  bottom: 0;
  width: 100%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.furrow:nth-child(1) { height: 54px; background: var(--rust-dark); opacity: 0.9; }
.furrow:nth-child(2) { height: 34px; background: #3E2412; opacity: 0.95; }
.furrow:nth-child(3) { height: 16px; background: #26150A; }

/* ---------- sections ---------- */
section { padding: 5.5rem 0; }

.section-head {
  max-width: 60ch;
  margin-bottom: 3rem;
}
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-top: 0.6rem; }
.section-head p { color: var(--text-muted); margin-top: 0.8rem; font-size: 1.05rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* card grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.1rem 1.8rem;
  transition: transform 0.35s var(--ease-soft), border-color 0.3s, box-shadow 0.35s ease, background 0.35s ease;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(180,146,63,0.4);
  box-shadow: 0 18px 30px -14px rgba(0,0,0,0.35);
}

.card .icon {
  width: 50px; height: 50px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.4rem;
}
.card:nth-child(1) .icon { background: rgba(91,122,66,0.18); color: var(--moss-brt); }
.card:nth-child(2) .icon { background: rgba(180,146,63,0.18); color: var(--gold-brt); }
.card:nth-child(3) .icon { background: rgba(138,78,44,0.22); color: var(--rust-brt); }

.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.96rem; }

/* banded band sections (fixed-dark, gradient bg both themes) */
.band {
  background: linear-gradient(135deg, var(--moss-dark), #2C3B1D);
  color: var(--fixed-text);
  border-radius: 20px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  border: 1px solid rgba(233,225,206,0.08);
}
.band h2 { color: var(--fixed-text); }
.band .eyebrow { color: var(--gold-brt); }
.band .eyebrow::before { background: var(--gold-brt); }
.band p { color: #D3D1B8; }

.band-yellow {
  background: linear-gradient(135deg, #2A2010, #1D160B);
  color: var(--fixed-text);
  border: 1px solid rgba(233,225,206,0.08);
}
.band-yellow .eyebrow { color: var(--gold-brt); }
.band-yellow p { color: var(--fixed-muted); }

/* almanac stat strip */
.stat-strip {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { text-align: left; }
.stat .num { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-brt); }
.stat .label { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }

/* timeline (about page — legitimate sequence) */
.timeline {
  list-style: none;
  border-left: 3px solid var(--gold);
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.timeline li { position: relative; }
.timeline li::before {
  content: '';
  position: absolute;
  left: -2.42rem;
  top: 0.3rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--moss-brt);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline .year { font-family: var(--font-mono); font-size: 0.85rem; color: var(--gold-brt); letter-spacing: 0.05em; }
.timeline h4 { font-size: 1.2rem; margin: 0.3rem 0 0.4rem; }
.timeline p { color: var(--text-muted); max-width: 55ch; }

/* values grid (about) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.value-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
  text-align: center;
  transition: transform 0.3s var(--ease-soft), border-color 0.3s, background 0.3s ease;
}
.value-pill:hover { transform: translateY(-6px); border-color: rgba(180,146,63,0.4); }
.value-pill .num { font-family: var(--font-mono); color: var(--gold); font-weight: 700; font-size: 0.85rem; }
.value-pill h4 { margin: 0.5rem 0 0.4rem; font-size: 1.05rem; }
.value-pill p { font-size: 0.88rem; color: var(--text-muted); }

/* quote block */
.quote-block {
  border-left: 4px solid var(--gold);
  padding-left: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--text);
  max-width: 60ch;
}
.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.info-card {
  background: linear-gradient(160deg, var(--rust-dark), #3A2213);
  color: var(--fixed-text);
  border-radius: 18px;
  padding: 2.5rem;
  border: 1px solid rgba(233,225,206,0.08);
}
.info-card .eyebrow { color: var(--gold-brt); }
.info-card .eyebrow::before { background: var(--gold-brt); }
.info-card h3 { color: var(--fixed-text); margin: 1.6rem 0 0.4rem; font-size: 1.05rem; }
.info-card p, .info-card a { color: #E4D9C6; font-size: 0.95rem; }
.info-card a:hover { color: var(--gold-brt); }
.info-row { margin-bottom: 1.4rem; }
.info-row:last-child { margin-bottom: 0; }

.social-row { display: flex; gap: 0.8rem; margin-top: 1.8rem; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease-bounce), background 0.2s;
}
.social-row a:hover { background: var(--gold); color: #1A1509; transform: translateY(-4px) scale(1.08); }

.form-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 2.5rem;
  border: 1px solid var(--border);
  transition: background 0.35s ease, border-color 0.35s ease;
}
.field { margin-bottom: 1.3rem; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.field input, .field textarea {
  width: 100%;
  border: 1.5px solid var(--border-strong);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--surface-2);
  color: var(--text);
  transition: border-color 0.2s, background 0.35s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--input-placeholder); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--gold-brt);
  outline-offset: 1px;
}
.field textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.map-box {
  margin-top: 3rem;
  height: 240px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.map-box .pin {
  width: 40px; height: 40px;
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  transform: rotate(-45deg);
  position: absolute;
  top: 38%;
  animation: pinBounce 2.6s var(--ease-soft) infinite;
}
@keyframes pinBounce {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(-12px); }
}
.map-box p { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-muted); margin-top: 4.5rem; }

/* ---------- products / services page ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.2rem;
  transition: transform 0.35s var(--ease-soft), border-color 0.3s, background 0.35s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(180,146,63,0.4); }
.service-card .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-brt);
  display: inline-block;
  margin-bottom: 0.9rem;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.2rem; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.service-card li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 1.3rem;
  position: relative;
}
.service-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.process-step {
  border-top: 2px solid var(--gold);
  padding-top: 1.2rem;
}
.process-step .step-num { font-family: var(--font-mono); color: var(--gold-brt); font-size: 0.85rem; }
.process-step h4 { margin: 0.5rem 0 0.4rem; font-size: 1.05rem; }
.process-step p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- blog / resources page ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-soft), border-color 0.3s, background 0.35s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); border-color: rgba(180,146,63,0.4); }
.blog-card .thumb {
  height: 170px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.blog-card .thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,12,9,0) 40%, rgba(14,12,9,0.85));
}
.blog-card .thumb .cat {
  position: absolute;
  bottom: 0.8rem; left: 1rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold-brt);
}
.blog-card .body { padding: 1.5rem 1.6rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.blog-card .date { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.6rem; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.blog-card p { color: var(--text-muted); font-size: 0.9rem; flex: 1; }
.blog-card .read { margin-top: 1.1rem; font-size: 0.85rem; color: var(--gold-brt); font-weight: 600; }

.newsletter-band { margin-top: 1rem; }

/* ---------- gallery page ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 0.9rem;
}
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,12,9,0) 55%, rgba(14,12,9,0.88));
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 0.55; }
.gallery-item span {
  position: absolute;
  left: 1rem; bottom: 0.9rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--fixed-text);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s var(--ease-soft);
}
.gallery-item:hover img { transform: scale(1.08); }

/* ---------- FAQ page ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 78ch;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.3rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--gold-brt);
  outline-offset: -2px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--gold-brt);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-soft);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 1.6rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 68ch;
}
.faq-item[open] summary { border-bottom: 1px solid var(--border); }

.faq-cta {
  margin-top: 3rem;
}

/* ---------- footer (fixed-dark anchor, both themes) ---------- */
.site-footer {
  background: #0A0906;
  color: var(--fixed-muted);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(180,146,63,0.16);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(233,225,206,0.08);
}
.footer-brand { max-width: 30ch; }
.footer-brand .logo { color: var(--fixed-text); }
.footer-brand p { font-size: 0.9rem; color: var(--fixed-muted); margin-top: 0.8rem; }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-brt);
  margin-bottom: 0.9rem;
  font-weight: 400;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.9rem;
  color: var(--fixed-muted);
  margin-bottom: 0.6rem;
  transition: color 0.2s, transform 0.2s var(--ease-bounce);
}
.footer-col a:hover { color: var(--gold-brt); transform: translateX(4px); }
.footer-bottom {
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #665D4C;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ================= RESPONSIVE ================= */

/* tablet: ease 3-col grids to 2-col before the full mobile collapse */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .container { width: min(1120px, 92%); }
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 2.2rem; }
  .band svg { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .stat-strip { row-gap: 1.6rem; }

  .nav-row { flex-wrap: nowrap; }
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    box-shadow: 0 12px 20px -10px rgba(0,0,0,0.5);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease-bounce), background 0.35s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 1rem 6%; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    order: 3;
  }
  .nav-toggle span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: background 0.35s ease; }
  .theme-toggle { margin-left: 0.8rem; order: 2; }
}

/* footer: center everything on tablets (incl. iPad landscape) and phones */
@media (max-width: 1024px) {
  .footer-row { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand { max-width: 40ch; display: flex; flex-direction: column; align-items: center; }
  .footer-links { justify-content: center; text-align: center; gap: 2.5rem; }
  .footer-col { display: flex; flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 0.4rem; }
}

@media (max-width: 600px) {
  .stat-strip { justify-content: flex-start; gap: 1.6rem 2.2rem; }
  .values-grid { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item.wide, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
  section { padding: 3.75rem 0; }
  .hero { padding: 5.5rem 0 3rem; }
  .hero-small { padding: 4.5rem 0 2.75rem; }
  .band { padding: 1.8rem; border-radius: 16px; }
  .info-card, .form-card { padding: 1.8rem; }

  /* every CTA button (hero pairs, band CTAs, the FAQ card CTA, the
     contact-form submit) goes full width and stacks cleanly on phones */
  .btn { width: 100%; }
  .hero-actions { gap: 0.7rem; }
}


@media (max-width: 480px) {
  .logo { font-size: 1.05rem; }
  .logo-mark { width: 28px; height: 28px; }
  .logo-mark-img { height: 28px; }
  .logo-sub { font-size: 0.54rem; }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .hero p.lede { font-size: 0.98rem; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); display: grid; }
  .quote-block { font-size: 1.15rem; padding-left: 1.3rem; }
  .theme-toggle { width: 36px; height: 36px; }
  .btn { padding: 0.8rem 1.3rem; font-size: 0.9rem; min-height: 46px; }
}

@media (max-width: 360px) {
  .container { width: 94%; }
  .nav-row { padding: 0.9rem 0; }
  .btn { padding: 0.75rem 1.1rem; font-size: 0.86rem; gap: 0.4rem; min-height: 44px; }
}