/* Turf Designs design system (old-money). Shared by all pages. Source of truth: landing.html shell. */
/* ===== TOKENS ===== */
:root {
  --bg: #F3F1E8;         /* bone paper */
  --surface-1: #EAE7DB;  /* deeper bone band */
  --surface-2: #FBFAF5;  /* ivory cards */
  --ink: #16231A;        /* forest ink: headings */
  --ink-2: #4A5448;      /* body text */
  --muted: #57604F;      /* labels */
  --on-dark: #F6F4EC;    /* text on photos / green panels */
  --green: #204D0D;      /* brand deep green: links, icons, focus, accent words */
  --forest: #1C3A16;     /* primary button fill */
  --accent: #3A6619;     /* readable green for icons + small text */
  --lime: #A8C62A;       /* small highlights only */
  --lime-hi: #B7D43A;
  --line: rgba(22,35,26,0.09);
  --line-2: rgba(22,35,26,0.17);
  /* radius system: buttons = pill, media/cards = 14px, raised sheets = 24px, tags = 4px */
  --r-media: 14px;
  --r-sheet: 24px;
  --r-tag: 4px;
  /* layered elevation: top highlight + contact shadow + ambient green-tinted depth */
  --lift-1: inset 0 1px 0 rgba(255,255,255,0.7), 0 1px 2px rgba(22,35,26,0.06), 0 4px 10px -4px rgba(22,35,26,0.08), 0 18px 36px -20px rgba(32,77,13,0.24);
  --lift-2: inset 0 1px 0 rgba(255,255,255,0.75), 0 1px 3px rgba(22,35,26,0.07), 0 12px 28px -12px rgba(22,35,26,0.14), 0 44px 88px -40px rgba(32,77,13,0.38);
  --ease: cubic-bezier(.16,1,.3,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
ol, ul, menu { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit; background-color: transparent; }
button, [role="button"] { cursor: pointer; }
img, svg, video, canvas, iframe { vertical-align: middle; }
img, video { height: auto; }
[hidden]:where(:not([hidden="until-found"])) { display: none !important; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--bg); color: var(--ink-2);
  font-family: 'DM Sans', system-ui, sans-serif; font-size: 1rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }

/* ===== DEPTH: fixed light blooms + paper grain (static layers, no scroll repaint) ===== */
body::before, body::after { content: ''; position: fixed; inset: 0; pointer-events: none; }
body::before {
  z-index: -1;
  background:
    radial-gradient(60vw 48vw at 92% -6%, rgba(168,198,42,0.17), transparent 62%),
    radial-gradient(52vw 44vw at -10% 36%, rgba(32,77,13,0.11), transparent 62%),
    radial-gradient(70vw 46vw at 62% 112%, rgba(176,148,92,0.13), transparent 60%);
}
body::after {
  z-index: 150; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.14 0 0 0 0 0.1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== TYPE ===== */
.hd {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 500; line-height: 1.08; padding-bottom: 0.04em;
  letter-spacing: -0.035em; color: var(--ink); text-wrap: balance;
}
.hd em {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500;
  font-size: 1.16em; line-height: 0; letter-spacing: -0.01em; color: var(--green);
}
.h2 { font-size: clamp(2.125rem, 4vw, 3.5rem); }
.h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.12; letter-spacing: -0.02em; }
.lede { font-size: 1.0625rem; font-weight: 400; line-height: 1.7; color: var(--ink-2); max-width: 60ch; }
.mono {
  font-family: 'DM Sans', system-ui, sans-serif; font-weight: 600;
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.eyebrow { /* max 3 per page, see build spec */
  font-family: 'DM Sans', system-ui, sans-serif; font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1rem; display: block;
}
.num { font-variant-numeric: tabular-nums; }

/* ===== LAYOUT ===== */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .wrap { padding: 0 2rem; } }
.sec { padding: 5rem 0; }
@media (min-width: 1024px) { .sec { padding: 7rem 0; } }

/* ===== BUTTONS (pill) ===== */
.btn-lime, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.9375rem;
  padding: 0.85rem 1.6rem; border-radius: 9999px; white-space: nowrap;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 220ms var(--ease), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
  touch-action: manipulation;
}
.btn-lime { background: var(--forest); color: var(--on-dark); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 1px 2px rgba(22,35,26,0.22), 0 14px 28px -14px rgba(28,58,22,0.7); }
.btn-lime .arrow { color: var(--lime); }
.btn-lime:hover { background: #24481C; transform: translateY(-2px); }
.btn-lime:active { transform: translateY(0) scale(0.98); }
.btn-ghost { background: var(--surface-2); color: var(--ink); border-color: var(--line-2); box-shadow: 0 1px 2px rgba(14,26,13,0.04); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0) scale(0.98); }
.btn-lime:focus-visible, .btn-ghost:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--green); outline-offset: 3px;
}
.arrow { display: inline-block; transition: transform 200ms var(--ease); }
a:hover .arrow, button:hover .arrow { transform: translateX(3px); }
.tlink { color: var(--green); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); transition: text-decoration-color 200ms; }
.tlink:hover { text-decoration-color: var(--green); }


/* ===== REVEAL ===== */
@media (prefers-reduced-motion: no-preference) {
  .fu { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .fu.vis { opacity: 1; transform: none; }
}

/* ===== SPOTLIGHT (pointer-following light + lit edge) ===== */
.spot { isolation: isolate; }
.spot-light, .spot-ring {
  position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 300ms ease;
}
.spot-light { background: radial-gradient(var(--spot-r, 340px) circle at var(--sx, 50%) var(--sy, 50%), rgba(168,198,42,0.16), transparent 70%); }
.spot-ring {
  padding: 1px;
  background: radial-gradient(var(--spot-r, 340px) circle at var(--sx, 50%) var(--sy, 50%), rgba(59,116,20,0.55), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
@media (hover: hover) and (pointer: fine) {
  .spot:hover > .spot-light, .spot:hover > .spot-ring { opacity: 1; }
}
a:focus-visible .spot-ring, .spot:focus-within > .spot-ring { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .spot-light, .spot-ring { transition: none; } }

/* ===== NAV ===== */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(251,252,249,0.82); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 1rem; height: 4.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 768px) { .nav-inner { padding: 0 2rem; } }
/* brand lockup: original logo on its intended dark badge + typeset name */
.nav-logo, .foot-brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ink); text-decoration: none; }
.brand-badge {
  display: inline-flex; align-items: center; flex-shrink: 0; padding: 0.3rem 0.55rem; border-radius: 10px;
  background: var(--forest); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 6px 14px -8px rgba(28,58,22,0.6);
  transition: transform 220ms var(--ease);
}
.brand-badge img { height: 2rem; width: auto; max-width: none; display: block; }
.brand-name { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.brand-name em { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 600; font-size: 1.2em; color: var(--green); }
.nav-logo:hover .brand-badge { transform: translateY(-1px); }
.nav-logo:active .brand-badge { transform: scale(0.97); }
.foot-brand { margin-bottom: 1rem; }
.foot-brand .brand-badge img { height: 2.5rem; }
.foot-brand .brand-name { font-size: 1.35rem; }
.nav-links { display: none; align-items: center; gap: 1.75rem; }
.nav-a { color: var(--ink-2); font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: color 150ms; }
.nav-a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.lang-btn { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; padding: 0.4rem 0.5rem; border-radius: var(--r-tag); border: none; background: transparent; color: var(--muted); cursor: pointer; transition: color 150ms; }
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { color: var(--green); }
.nav-cta { display: none; padding: 0.6rem 1.15rem; font-size: 0.875rem; }
#mob-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); cursor: pointer; transition: border-color 150ms; }
#mob-toggle:hover { border-color: var(--ink); }
#mob-menu { display: none; flex-direction: column; gap: 0.25rem; padding: 0.75rem 1rem 1.25rem; border-top: 1px solid var(--line); background: var(--bg); }
#mob-menu.open { display: flex; }
#mob-menu .nav-a { padding: 0.7rem 0.5rem; }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  #mob-toggle, #mob-menu, #mob-menu.open { display: none; }
}

/* ===== FOOTER ===== */
.foot { background: var(--surface-1); border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; font-size: 0.875rem; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.foot h4 { color: var(--ink); margin-bottom: 1rem; }
.foot ul { list-style: none; display: grid; gap: 0.6rem; }
.foot a { color: var(--ink-2); text-decoration: none; transition: color 150ms; }
.foot a:hover { color: var(--green); }
.foot-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: var(--muted); font-size: 0.75rem; }
