:root {
  --ink: #24150d;
  --cream: #fff7df;
  --cream-muted: #eadcb7;
  --gold: #efbd42;
  --gold-deep: #c9861d;
  --apple: #a94625;
  --leaf: #53613b;
  --leaf-bright: #778651;
  --forest: #111b12;
  --forest-soft: #1c281a;
  --line: rgba(255, 247, 223, 0.18);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --content: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 12% 0%, rgba(239, 189, 66, 0.09), transparent 30rem),
    linear-gradient(180deg, #0d150e, #182017 45%, #10160f);
  font-family: "Special Elite", system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 42px);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, .display-type {
  margin: 0;
  font-family: "Berkshire Swash", Georgia, serif;
  font-weight: 400;
  line-height: 1.02;
  text-wrap: balance;
}
p { text-wrap: pretty; }
section { scroll-margin-top: 94px; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 10000;
  padding: 10px 14px; border-radius: 8px; color: var(--ink); background: var(--cream);
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  background: rgba(10, 16, 10, .9);
  border-color: var(--line);
  box-shadow: 0 12px 32px rgba(0,0,0,.24);
  backdrop-filter: blur(16px);
}
.nav-shell {
  width: min(calc(100% - 32px), var(--content)); min-height: 82px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.site-brand img { width: 62px; height: 62px; object-fit: contain; }
.site-brand-copy { display: grid; line-height: 1.05; }
.site-brand-copy strong { font-family: "Berkshire Swash", Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.site-brand-copy span { color: var(--cream-muted); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a {
  padding: 10px 12px; border-radius: 999px; color: rgba(255,247,223,.86);
  text-decoration: none; font-size: .82rem; letter-spacing: .035em;
}
.site-nav > a:hover, .site-nav > a:focus-visible { color: var(--cream); background: rgba(255,247,223,.09); }
.site-nav .nav-cta { color: var(--ink); background: linear-gradient(180deg, #f6cd66, var(--gold)); }
.menu-toggle { display: none; }

.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: 130px 20px 86px; isolation: isolate; overflow: hidden;
  background: #101810 url("../img/orchard-hero.png") center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 76% 18%, rgba(239,189,66,.24), transparent 28rem),
    linear-gradient(90deg, rgba(8,13,8,.84), rgba(10,13,8,.54) 48%, rgba(8,7,4,.78)),
    linear-gradient(180deg, rgba(5,8,5,.2), rgba(5,8,5,.82));
}
.hero-inner { width: min(100%, 1040px); text-align: center; }
.hero-logo { width: min(420px, 76vw); margin: 0 auto 24px; filter: drop-shadow(0 22px 38px rgba(0,0,0,.42)); }
.eyebrow, .section-label {
  margin: 0 0 14px; color: var(--gold); font-size: .75rem; font-weight: 800;
  letter-spacing: .17em; text-transform: uppercase;
}
.hero h1 { max-width: 920px; margin: 0 auto; font-size: clamp(2.6rem, 6vw, 5.5rem); }
.hero-lede { max-width: 760px; margin: 22px auto 0; color: rgba(255,247,223,.86); font-size: clamp(1rem, 2vw, 1.28rem); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; margin-top: 30px; }
.btn {
  min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--ink); background: linear-gradient(180deg, #f7d36e, var(--gold)); border-color: rgba(255,255,255,.18); }
.btn-secondary { color: var(--cream); background: rgba(255,247,223,.07); border-color: rgba(255,247,223,.24); }
.btn-secondary:hover { background: rgba(255,247,223,.13); }

.section-pad { padding: clamp(76px, 9vw, 128px) 20px; }
.section-inner { width: min(100%, var(--content)); margin: 0 auto; }
.section-heading { max-width: 820px; margin-bottom: clamp(32px, 5vw, 54px); }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
.section-heading > p:not(.section-label) { color: rgba(255,247,223,.76); }

.audience-section { background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,.035)); }
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.audience-card {
  position: relative; min-height: 420px; padding: clamp(28px, 5vw, 48px); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line); border-radius: 34px; box-shadow: var(--shadow);
  background: linear-gradient(145deg, rgba(255,247,223,.12), rgba(255,247,223,.035));
}
.audience-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .62; }
.audience-card.customer::before { background: radial-gradient(circle at 80% 12%, rgba(239,189,66,.38), transparent 36%), linear-gradient(145deg, #243322, #111a11); }
.audience-card.maker::before { background: radial-gradient(circle at 15% 12%, rgba(169,70,37,.34), transparent 34%), linear-gradient(145deg, #29180f, #131b11); }
.audience-card h3 { font-size: clamp(2.4rem, 5vw, 4rem); }
.audience-card p { max-width: 560px; color: rgba(255,247,223,.8); }
.audience-card .btn { align-self: flex-start; margin-top: 14px; }

.makers-section { background: linear-gradient(180deg, #ede0bd, #d7d8b7); color: var(--ink); }
.makers-section .section-label { color: var(--apple); }
.makers-section .section-heading > p:not(.section-label) { color: #554632; }
.maker-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.maker-card {
  position: relative; min-height: 340px; padding: clamp(26px, 4vw, 40px); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: 30px; color: var(--cream); text-decoration: none; box-shadow: 0 20px 56px rgba(42,29,15,.2);
  background: var(--forest);
}
.maker-card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--maker-bg); }
.maker-card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 18%, rgba(7,10,6,.9)); }
.maker-card > * { position: relative; z-index: 1; }
.maker-card .maker-mark { width: 58px; height: 58px; margin-bottom: auto; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: rgba(8,12,7,.42); font-family: "Berkshire Swash", Georgia, serif; font-size: 1.8rem; }
.maker-card h3 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.maker-card p { margin-bottom: 0; color: rgba(255,247,223,.8); }
.maker-card.loaders { --maker-bg: radial-gradient(circle at 78% 18%, rgba(218,168,58,.48), transparent 31%), linear-gradient(135deg,#32432b,#172117); }
.maker-card.king-brain { --maker-bg: radial-gradient(circle at 18% 12%, rgba(139,168,110,.52), transparent 32%), linear-gradient(135deg,#233426,#101a13); }
.maker-card.brays { --maker-bg: radial-gradient(circle at 82% 15%, rgba(177,65,39,.5), transparent 31%), linear-gradient(135deg,#472214,#172017); }
.maker-card.wadys { --maker-bg: radial-gradient(circle at 18% 12%, rgba(103,151,176,.42), transparent 33%), linear-gradient(135deg,#1f3640,#172018); }

.route-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.025); }
.route-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; counter-reset: route; }
.route-step { padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,247,223,.045); }
.route-step::before { counter-increment: route; content: "0" counter(route); color: var(--gold); font-weight: 800; letter-spacing: .12em; }
.route-step h3 { margin-top: 12px; font-size: 2rem; }
.route-step p { color: rgba(255,247,223,.72); }

.otl-section { background: radial-gradient(circle at 84% 10%, rgba(99,153,144,.17), transparent 30rem), linear-gradient(180deg,#152019,#101710); }
.otl-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 34px; background: rgba(255,247,223,.055); }
.otl-badge { min-height: 230px; padding: 30px; display: flex; flex-direction: column; justify-content: center; border-radius: 28px; color: #d9f0eb; background: linear-gradient(145deg,rgba(106,159,151,.2),rgba(255,255,255,.035)); border: 1px solid rgba(154,205,196,.23); }
.otl-badge strong { font-family: "Berkshire Swash",Georgia,serif; font-size: clamp(2.3rem,5vw,4rem); font-weight: 400; line-height: 1; }

.site-footer { padding: 42px 20px 110px; border-top: 1px solid var(--line); background: #0a100a; }
.footer-inner { width: min(100%, var(--content)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: var(--cream-muted); }
.legal { color: rgba(255,247,223,.55); font-size: .78rem; }
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900; min-height: 42px; padding: 0 16px;
  display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px;
  color: var(--cream); background: rgba(10,16,10,.84); text-decoration: none; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .18s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

.age-gate { position: fixed; inset: 0; z-index: 9999; display: none; place-items: center; padding: 22px; background: rgba(7,10,6,.96); backdrop-filter: blur(18px); }
.age-gate-required .age-gate { display: grid; }
.age-gate-required body { overflow: hidden; }
.age-gate-card { width: min(100%,460px); padding: 32px; border: 1px solid var(--line); border-radius: 30px; text-align: center; background: linear-gradient(145deg,#253022,#151d14); box-shadow: var(--shadow); }
.age-gate-logo { width: 96px; margin: 0 auto 18px; }
.age-gate-card h2 { font-size: 3rem; }
.age-gate-actions { display: grid; gap: 11px; margin-top: 24px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Cider house pages */
.maker-hero { min-height: 78svh; padding: 150px 20px 84px; display: grid; align-items: end; background: var(--maker-page-bg); }
.maker-hero-inner { width: min(100%, var(--content)); margin: 0 auto; }
.maker-hero h1 { max-width: 900px; font-size: clamp(3.4rem,8vw,7rem); }
.maker-hero .hero-lede { margin-left: 0; }
.maker-detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.story-panel, .fact-panel { padding: clamp(26px,4vw,42px); border: 1px solid var(--line); border-radius: 30px; background: rgba(255,247,223,.055); }
.story-panel h2, .fact-panel h2 { font-size: clamp(2.2rem,4vw,3.5rem); }
.fact-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.fact-list li { padding: 14px 0; border-top: 1px solid var(--line); color: rgba(255,247,223,.78); }
.fact-list strong { display: block; color: var(--gold); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.product-notes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.product-note { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,247,223,.045); }
.product-note h3 { font-size: 2rem; }
.source-note { color: rgba(255,247,223,.56); font-size: .8rem; }

@media (max-width: 900px) {
  .site-brand-copy { display: none; }
  .menu-toggle { display: inline-flex; min-height: 42px; padding: 0 15px; align-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--cream); background: rgba(255,255,255,.05); }
  .site-nav { position: fixed; top: 76px; right: 16px; left: 16px; padding: 14px; display: none; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 22px; background: rgba(10,16,10,.97); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav > a { text-align: center; }
  .audience-grid, .maker-grid, .otl-panel, .maker-detail-grid { grid-template-columns: 1fr; }
  .route-steps, .product-notes { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .nav-shell { min-height: 72px; }
  .site-brand img { width: 54px; height: 54px; }
  .hero { padding-top: 112px; }
  .audience-card { min-height: 360px; }
  .maker-grid { grid-template-columns: 1fr; }
  .button-row, .hero-actions { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
  .back-to-top { left: 18px; right: auto; bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
