/* ─────────────────────────────────────────────
   surenuts.com — Rob Zschernitz
   Clean rewrite. One voice, no patch versions.
───────────────────────────────────────────── */

/* ── TOKENS ─────────────────────────────── */
:root {
  --bg:        #F5EFE4;   /* warm bone page */
  --surface:   #FCF9F3;   /* raised card */
  --raise-2:   #F1E9DA;   /* deeper warm tint */
  --ink:       #21201A;   /* warm near-black */
  --muted:     #7A7160;
  --muted-lt:  #8A7F6B;
  --amber:     #DC6B2F;   /* ember accent */
  --amber-lt:  #E8843F;
  --pine:      #1F3D31;   /* structural green */
  --blue:      #2C6E8F;   /* link / secondary touch */
  --border:    rgba(33, 32, 26, 0.10);
  --border-md: rgba(33, 32, 26, 0.16);
  --shadow:    0 18px 44px rgba(33, 32, 26, 0.10);

  --display: "Fraunces", Georgia, serif;
  --sans:    "Manrope", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", monospace;

  --max:    1160px;
  --radius: 22px;
}

/* ── RESET ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p   { margin: 0 0 14px; line-height: 1.72; color: var(--muted); }
p:last-child { margin-bottom: 0; }
ul  { margin: 0; padding: 0; list-style: none; }

/* ── SHELL ───────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--amber);
  color: #1a1200;
  font-weight: 700;
  transition: top 200ms;
}
.skip-link:focus { top: 0; }

.site-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 72px;
}

/* ── TOPBAR ──────────────────────────────── */
.topbar {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(245,239,228,0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: background 220ms, border-color 220ms;
}
.topbar.is-scrolled {
  background: rgba(245,239,228,0.94);
  border-color: var(--border-md);
}

.wordmark {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.header-mark { height: 33px; width: auto; }
.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.wordmark-text strong {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: lowercase;
  color: var(--amber-lt);
}
.wordmark-text span {
  font-size: 0.77rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 150ms;
}
.nav a:hover,
.nav a.active { color: var(--ink); }

.menu-toggle {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms, border-color 160ms;
}
.menu-toggle:hover {
  background: var(--surface);
  border-color: var(--border-md);
}

/* ── TYPOGRAPHY ──────────────────────────── */
h1, h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-variation-settings: "SOFT" 72, "WONK" 0;
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--ink);
}
h1 { font-size: clamp(3rem, 6.5vw, 5.8rem); max-width: 11ch; }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); max-width: 13ch; }
h3 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
h4 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--ink);
}
.eyebrow {
  display: block;
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-lt);
}
.lede {
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--muted);
  max-width: 60ch;
}
.mini-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pine);
}
a.inline-link {
  color: var(--amber-lt);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(216, 176, 90, 0.4);
  transition: text-decoration-color 150ms;
}
a.inline-link:hover { text-decoration-color: var(--amber-lt); }

/* ── PANELS — editorial zones, not cards ──── */
.panel {
  position: relative;
  padding: clamp(40px, 6vw, 70px) clamp(28px, 4vw, 52px);
  margin-bottom: 6px;
  border-radius: var(--radius);
}
.accent-panel { background: var(--surface); }

/* Hero with farm photo */
.hero-photo {
  background-image:
    linear-gradient(112deg,
      rgba(7,12,11,0.94) 0%,
      rgba(7,12,11,0.80) 40%,
      rgba(7,12,11,0.44) 70%,
      rgba(7,12,11,0.22) 100%),
    url('../images/hero/farm-hero-desktop.jpg');
  background-size: cover;
  background-position: center;
}
/* Interior page photo band */
.page-hero-photo {
  background-image:
    linear-gradient(112deg, rgba(7,12,11,0.88), rgba(7,12,11,0.42)),
    url('../images/hero/farm-band.jpg');
  background-size: cover;
  background-position: center 54%;
}

/* ── HERO LAYOUT ─────────────────────────── */
.hero-v3 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  min-height: 80vh;
}
.hero-copy { position: relative; z-index: 1; }
.hero-title {
  font-weight: 760;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}
.hero-title-intro {
  display: block;
  font-size: 0.6em;
  font-weight: 680;
  color: var(--amber-lt);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  opacity: 0.92;
}
.tagline {
  margin: 16px 0 0;
  color: var(--muted-lt);
  font-size: 0.98rem;
  font-weight: 500;
  max-width: 52ch;
  font-style: italic;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}

/* Hero side: the principles card */
.hero-side {
  align-self: center;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 220ms ease-out;
}
.hero-card {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border-md);
  background: rgba(252,249,243,0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0 18px;
}
.principles-grid span {
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.principles-note { color: var(--muted) !important; font-size: 0.9rem !important; }

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}
.float-slow { animation: floatSlow 7s ease-in-out infinite; }

/* Page heroes (interior pages) */
.page-hero {
  display: flex;
  align-items: flex-end;
  min-height: 40vh;
}
.page-hero > div { position: relative; z-index: 1; }
.page-hero h1   { max-width: 13ch; }
.page-hero .lede { max-width: 56ch; }

/* ── BUTTONS ─────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms, box-shadow 160ms, background 160ms;
}
.button.primary {
  background: linear-gradient(135deg, var(--amber-lt), var(--amber));
  color: #1a1200;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(184, 136, 42, 0.24);
}
.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(184, 136, 42, 0.34);
}
.button.secondary { background: var(--raise-2); }
.button.secondary:hover {
  transform: translateY(-2px);
  background: #E7DCC9;
}

/* ── CHIPS & META LISTS ──────────────────── */
.meta-list,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.meta-list li,
.chip-row span {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink);
}

/* ── SECTION STRUCTURE ───────────────────── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head-stack { margin-bottom: 28px; }
.section-copy { max-width: 64ch; margin: 8px 0 0; }
.split {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 32px;
}
.stack > * + * { margin-top: 16px; }

/* ── STAT GRID ───────────────────────────── */
.stat-grid      { display: grid; gap: 14px; }
.stat-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 220ms, background 220ms;
}
.stat-card:hover {
  border-color: rgba(184, 136, 42, 0.28);
  background: var(--surface);
}
.number {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* ── CARD GRIDS ──────────────────────────── */
.card-grid,
.link-grid,
.theme-grid,
.contact-grid { display: grid; gap: 14px; }

.card-grid.two,
.contact-grid.two,
.theme-grid.two  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.three,
.link-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.value-card,
.link-card,
.theme-card,
.contact-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 220ms, background 220ms, transform 220ms;
}
.value-card:hover,
.link-card:hover,
.theme-card:hover,
.contact-card:hover {
  border-color: rgba(184, 136, 42, 0.28);
  background: var(--surface);
  transform: translateY(-3px);
}
.link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.link-card a { font-weight: 700; color: var(--amber-lt); }
.link-card a:hover { text-decoration: underline; }

/* Contact card specifics */
.contact-card .inline-link {
  display: block;
  margin-bottom: 4px;
  font-size: 1.08rem;
}

/* ── IDENTITY STRIP (work.html) ──────────── */
.identity-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.identity-strip article {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.identity-strip span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.032em;
  color: var(--ink);
}

/* ── CASE STUDIES (work.html) ────────────── */
.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.88fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.case-study.reverse {
  grid-template-columns: minmax(250px, 0.88fr) minmax(0, 1fr);
}
.case-study.reverse .case-copy   { order: 2; }
.case-study.reverse .case-visual  { order: 1; }
.case-copy h2    { max-width: 11ch; margin-bottom: 10px; }
.case-subhead {
  margin: 0 0 20px;
  font-size: clamp(0.97rem, 1.4vw, 1.1rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}
.case-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.case-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
}
.case-visual figcaption {
  position: absolute;
  inset: auto 14px 14px;
  padding: 9px 12px;
  border-radius: 11px;
  border: 1px solid rgba(237,231,216,0.1);
  background: rgba(252,249,243,0.92);
  backdrop-filter: blur(8px);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Recognition card */
.recognition-card {
  padding: clamp(22px, 3vw, 30px);
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.recognition-card p:first-child {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 0;
}

/* ── TIMELINE (about.html) ───────────────── */
.timeline { display: grid; }
.timeline-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.timeline-item:first-child { border-top: none; }
.year {
  display: inline-flex;
  width: fit-content;
  height: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(31,61,49,0.07);
  font-family: var(--mono);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--pine);
}

/* ── CONTACT PANEL (home) ────────────────── */
.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.contact-panel .glass {
  border: 1px solid var(--border-md);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 28px;
}
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.contact-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 160ms, border-color 160ms;
}
.contact-pill:hover {
  background: #ECE2D1;
  border-color: var(--border-md);
}

/* ── GALLERY (outside.html) ──────────────── */
.gallery-masonry {
  column-count: 3;
  column-gap: 14px;
  margin-top: 22px;
}
.gallery-item {
  position: relative;
  width: 100%;
  margin: 0 0 14px;
  display: block;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(237,231,216,0.08);
  background: var(--surface);
  cursor: zoom-in;
  transition: transform 180ms ease, border-color 200ms;
}
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 136, 42, 0.32);
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 320ms ease, filter 320ms ease;
}
.gallery-item:hover img {
  transform: scale(1.03);
  filter: saturate(1.07) contrast(1.02);
}
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8,14,13,0.72) 100%);
  opacity: 0;
  transition: opacity 220ms;
  pointer-events: none;
  z-index: 1;
}
.gallery-item:hover::before { opacity: 1; }
.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 220ms, transform 220ms;
  pointer-events: none;
  z-index: 2;
}
.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item:focus-visible {
  outline: 2px solid var(--amber-lt);
  outline-offset: 3px;
}

/* ── LIGHTBOX ────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 8, 8, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-figure { margin: 0; width: min(1080px, 100%); }
.lightbox-image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.lightbox-caption {
  margin-top: 12px;
  text-align: center;
  color: var(--ink);
  font-size: 0.92rem;
  padding: 0 52px;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--raise-2);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 160ms;
}
.lightbox-close:hover { background: #E2D5BF; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 81;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-top: -24px;
  border: 1px solid rgba(237,231,216,0.16);
  border-radius: 999px;
  background: rgba(6,10,10,0.52);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms;
}
.lightbox-nav:hover { background: #E7DCC9; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* ── FOOTER ──────────────────────────────── */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.footer p,
.footer a { color: var(--muted); font-size: 0.87rem; }
.footer a:hover { color: var(--muted-lt); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer p { margin: 0; }

/* ── SCROLL REVEAL ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 660ms ease, transform 660ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1040px) {
  .hero-v3,
  .split,
  .card-grid.three,
  .link-grid.three,
  .stat-grid.four,
  .contact-panel,
  .case-study,
  .case-study.reverse,
  .identity-strip { grid-template-columns: 1fr; }

  .case-study.reverse .case-copy,
  .case-study.reverse .case-visual { order: initial; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-v3 { min-height: auto; padding-bottom: 52px; }
  .hero-side { max-width: 480px; }
  .card-grid.two,
  .contact-grid.two,
  .theme-grid.two { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-shell { width: min(calc(100% - 20px), var(--max)); }
  .topbar { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .nav {
    display: none;
    width: 100%;
    padding-top: 6px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nav a {
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav a:last-child { border-bottom: none; }
  .nav.open { display: flex; }
  .panel { padding: 34px 22px; }
  .page-hero { min-height: 32vh; padding-bottom: 34px; }
  h1 { max-width: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .footer { flex-direction: column; align-items: flex-start; }
  .hero-photo {
    background-image:
      linear-gradient(180deg, rgba(7,12,11,0.90), rgba(7,12,11,0.62)),
      url('../images/hero/farm-hero-mobile.jpg');
  }
  .lightbox-caption { padding: 0 14px; }
  .lightbox-nav { width: 42px; height: 42px; margin-top: -21px; font-size: 1.5rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 640px) {
  .gallery-masonry { column-count: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }
}

@media (max-width: 480px) {
  .gallery-masonry { column-count: 1; }
  .stat-grid.four { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .float-slow,
  .value-card, .link-card, .theme-card, .stat-card,
  .gallery-item, .gallery-item img,
  .button, .contact-pill, .nav a, .menu-toggle,
  .lightbox-close, .lightbox-nav { transition: none; animation: none; }
}

/* ════════════════════════════════════════════════
   BEARINGS — light theme component overrides
   (appended last so they win cleanly)
════════════════════════════════════════════════ */
body { background: var(--bg); color: var(--ink); }

/* Topbar: warm light glass */
.topbar { background: rgba(245,239,228,0.82); border-bottom: 1px solid var(--border); }
.menu-toggle { color: var(--ink); border: 1px solid var(--border-md); background: transparent; }
.nav a { color: var(--muted); }
.nav a:hover, .nav a.active { color: var(--amber); }

/* Hero: bone editorial, no dark photo wash */
.hero-photo, .page-hero-photo {
  background-image: none !important;
  background: var(--bg) !important;
}
.hero-title, .hero-title-intro { color: var(--ink); }
.eyebrow { color: var(--pine); }
.lede { color: var(--muted); }
.tagline { color: var(--muted-lt); }

/* Hero side: framed warm photo card */
.hero-card {
  background:
    linear-gradient(180deg, rgba(31,61,49,0) 40%, rgba(31,61,49,0.55) 100%),
    url('../images/hero/farm-band.jpg');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  color: #F5EFE4;
  min-height: 230px;
}
.hero-card h3 { color: #F8F2E6; }
.hero-card .mini-label { color: #F0CBA6; }
.hero-card .principles-grid span { background: rgba(245,239,228,0.16); color: #F5EFE4; border-color: rgba(245,239,228,0.22); }
.hero-card .principles-note { color: #E6D9C5; }

/* Buttons */
.button { color: #fff; }
.button.primary { background: var(--amber); box-shadow: 0 8px 22px rgba(220,107,47,0.22); }
.button.primary:hover { box-shadow: 0 12px 28px rgba(220,107,47,0.30); }
.button.secondary { background: transparent; color: var(--pine); border: 1.5px solid var(--pine); }
.button.secondary:hover { background: rgba(31,61,49,0.06); }

/* Surfaces */
.panel { color: var(--ink); }
.accent-panel { background: var(--raise-2); }
.stat-card, .value-card, .theme-card, .contact-card, .link-card,
.recognition-card, .identity-strip article {
  background: var(--surface); border: 1px solid var(--border);
}
h1, h2, h3 { color: var(--ink); }
.number { color: var(--pine); }
.mini-label { color: var(--amber); }
.section-head .lede, .section-copy { color: var(--muted); }

/* Links + accents */
a { color: inherit; }
.inline-link { color: var(--blue); }
.inline-link:hover { color: var(--amber); }
.timeline-item .year, .case-subhead { color: var(--amber); }
.contact-pill { background: var(--surface); border: 1px solid var(--border); color: var(--ink); }
.contact-pill:hover { border-color: var(--amber); color: var(--amber); }
.chip-row span { background: var(--surface); border: 1px solid var(--border); color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--border); color: var(--muted); }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--amber); }

/* Case study visuals sit on warm card */
.case-visual { background: var(--surface); border: 1px solid var(--border); }
.case-visual figcaption { color: var(--muted); }

/* ════════ Bearings (blog) + home teasers ════════ */
.post-list { display: grid; gap: 4px; }
.post-row {
  display: grid; grid-template-columns: 168px 1fr; gap: 24px;
  padding: 26px 0; border-top: 1px solid var(--border);
}
.post-row:last-child { border-bottom: 1px solid var(--border); }
.post-meta { display: flex; flex-direction: column; gap: 6px; }
.post-date { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; }
.post-topic {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--pine); align-self: start;
}
.post-body h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 0 0 8px; }
.post-link { color: var(--ink); }
.post-link:hover { color: var(--amber); }
.post-body p { color: var(--muted); margin: 0 0 12px; max-width: 60ch; line-height: 1.6; }
.post-more { font-weight: 600; }

.post-single { max-width: 760px; }
.post-head { border-bottom: 1px solid var(--border); padding-bottom: 22px; margin-bottom: 26px; }
.post-back { font-weight: 600; display: inline-block; margin-bottom: 16px; }
.post-head h1 { font-size: clamp(30px, 5vw, 46px); margin: 12px 0 10px; }
.post-content { font-size: 17px; line-height: 1.75; color: #36322A; }
.post-content p { margin: 0 0 1.1em; }
.post-foot { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); }

.post-card { display: block; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.post-card:hover { transform: translateY(-3px); border-color: var(--amber); }
.post-card h3 { margin: 6px 0 8px; }
.post-card p { color: var(--muted); }

.gallery-peek { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-peek-item { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; }
.gallery-peek-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-peek-item:hover img { transform: scale(1.05); }

@media (max-width: 720px) {
  .post-row { grid-template-columns: 1fr; gap: 8px; }
  .post-meta { flex-direction: row; gap: 12px; align-items: baseline; }
  .gallery-peek { grid-template-columns: repeat(2, 1fr); }
}

/* Footer: dual-domain line */
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-domains { margin: 0; font-size: 13px; color: var(--muted); }
.footer-domains a { color: var(--muted); text-decoration: none; }
.footer-domains a:hover { color: var(--amber); }
.footer-domains span { opacity: 0.6; margin: 0 4px; }

/* Keep the nav light-toned in every state (no dark-on-scroll) */
.topbar, .topbar.is-scrolled { background: rgba(245,239,228,0.88); border-color: var(--border-md); }
.topbar .wordmark-text strong { color: var(--ink); }
.topbar .wordmark-text span { color: var(--muted); }
.topbar .nav a { color: var(--ink); }
.topbar .nav a:hover, .topbar .nav a.active { color: var(--amber); }


/* Footer horizon scene — wolf · reflected pines · eagle (from Rob's tattoo art) */
.footer-scene {
  margin: 40px auto -6px;
  max-width: 940px;
  opacity: 0.52;
  line-height: 0;
  pointer-events: none;
}
.footer-scene img { width: 100%; height: auto; display: block; }
@media (max-width: 720px) {
  .footer-scene { max-width: 100%; opacity: 0.42; margin-top: 28px; }
}
