/* =========================================================
   Rocking J Farm — site styles
   Palette pulled from the farm's ads: charred dark ground,
   sunset ember, sun gold, brand-J rust red, bone parchment,
   saddle-wood brown, barbed-wire steel.
   ========================================================= */

:root {
  --char: #17110e;        /* charred ground — main dark */
  --char-2: #221915;      /* raised dark surface */
  --char-3: #2e221c;      /* plank / card on dark */
  --saddle: #5a3620;      /* wood */
  --ember: #e2621b;       /* sunset orange */
  --gold: #f2a33a;        /* low sun */
  --rust: #b32a1f;        /* the red J — CTAs */
  --rust-deep: #8f1f16;
  --bone: #f1e6cf;        /* parchment */
  --bone-2: #e6d6b5;
  --wire: #a8a29a;        /* barbed-wire steel */
  --ink: #2a1d16;         /* text on parchment */
  --ink-soft: #5b4636;
  --pasture: #4c6b2f;

  --text: var(--bone);
  --text-soft: #cdbfa6;

  --font-display: 'Alfa Slab One', 'Rockwell', 'Georgia', serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-cond: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;

  /* type scale (1.25) */
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --t-xl: clamp(2rem, 1.5rem + 2.2vw, 3rem);
  --t-2xl: clamp(2.6rem, 1.6rem + 4.6vw, 5.25rem);

  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --max: 1180px;
  --radius-tag: 6px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--char);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--bone); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--ember); color: var(--char); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--bone); color: var(--ink); padding: .6rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 62ch; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: var(--t-2xl); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); line-height: 1.15; }
p { margin: 0 0 1em; }
.lede { font-size: var(--t-md); color: var(--text-soft); max-width: 52ch; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--rust); --fg: var(--bone);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem;
  font-family: var(--font-cond); font-weight: 700; font-size: 1.125rem; letter-spacing: .02em;
  color: var(--fg); background: var(--bg); text-decoration: none;
  border: 2px solid var(--bg); border-radius: 4px; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease-out);
}
.btn:hover { --bg: var(--rust-deep); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --bg: transparent; --fg: var(--bone); border-color: rgba(241,230,207,.55); }
.btn--ghost:hover { --bg: rgba(241,230,207,.1); border-color: var(--bone); }
.btn--ink { --bg: var(--ink); --fg: var(--bone); }
.btn--ink:hover { --bg: #000; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(23,17,14,.0);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-solid, .page-sub .site-header { background: rgba(23,17,14,.94); box-shadow: 0 1px 0 rgba(168,162,154,.18); }
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-solid, .page-sub .site-header { background: rgba(23,17,14,.82); backdrop-filter: blur(10px); }
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--bone); }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand span { font-family: var(--font-display); font-size: 1.2rem; line-height: 1; }
.brand span b { color: var(--rust); font-weight: 400; filter: brightness(1.35); }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  font-family: var(--font-cond); font-weight: 600; font-size: 1.125rem;
  color: var(--bone); text-decoration: none; padding: .55rem .8rem; border-radius: 4px;
  transition: color .2s ease, background-color .2s ease;
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav .btn { margin-left: .5rem; min-height: 42px; padding: .45rem 1.1rem; }
.nav .btn:hover { color: var(--bone); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; color: var(--bone);
  cursor: pointer; border-radius: 4px; padding: 0;
}
.nav-toggle svg { margin: auto; }
.nav-toggle .bar { transition: transform .25s var(--ease-out), opacity .2s ease; transform-origin: center; }
.nav-open .nav-toggle .bar-1 { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle .bar-2 { opacity: 0; }
.nav-open .nav-toggle .bar-3 { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--char); padding: .5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid rgba(168,162,154,.2);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .22s ease, transform .22s var(--ease-out), visibility 0s linear .22s;
  }
  .nav a { padding: .9rem .25rem; font-size: 1.3rem; border-bottom: 1px solid rgba(168,162,154,.12); border-radius: 0; }
  .nav .btn { margin: 1rem 0 0; min-height: 52px; border-bottom: 2px solid var(--rust); border-radius: 4px; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav-open .site-header { background: var(--char); }
}

/* ---------- Home hero: sunset scene ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; margin-top: calc(var(--header-h) * -1);
  display: grid; align-items: end;
  overflow: hidden; background: #1a0d0a;
}
.hero-scene { position: absolute; inset: 0; z-index: -1; }
.hero-scene svg { width: 100%; height: 100%; }
.hero-scene .layer { will-change: transform; }
.hero::after { /* darken bottom for text */
  content: ""; position: absolute; inset: auto 0 0 0; height: 42%; z-index: -1;
  background: linear-gradient(to top, rgba(23,17,14,.92) 5%, rgba(23,17,14,.35) 55%, transparent);
}
.hero-inner {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 3vw, 3rem); align-items: end;
  padding-block: calc(var(--header-h) + 2rem) clamp(3rem, 8vh, 6rem);
}
.hero-badge {
  width: clamp(150px, 20vw, 250px); aspect-ratio: 1; border-radius: 50%;
  box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 0 6px rgba(23,17,14,.6);
}
.hero h1 { margin-bottom: .3em; text-shadow: 0 2px 24px rgba(0,0,0,.5); }
.hero h1 .line { display: block; }
.hero .lede { color: #e7d9bf; margin-bottom: 1.75rem; }
.hero-meta { margin-top: 1.5rem; font-family: var(--font-cond); font-size: 1.1rem; color: var(--text-soft); display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta svg { color: var(--gold); flex: none; }

@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1rem; padding-bottom: 2.5rem; }
  .hero-badge { width: 128px; }
  .hero::after { height: 72%; background: linear-gradient(to top, rgba(23,17,14,.96) 38%, rgba(23,17,14,.7) 62%, transparent); }
}

/* Load sequence — one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .sky-warm { animation: sky-warm 2.2s ease-out both; }
  .js .hero .sun { animation: sun-rise 2.4s cubic-bezier(.16,.8,.24,1) both; }
  .js .hero .sun-glow { animation: glow-in 2.6s ease-out both; }
  .js .hero .hills-far { animation: settle 1.6s .25s var(--ease-out) both; }
  .js .hero .ranch { animation: settle 1.5s .45s var(--ease-out) both; }
  .js .hero .fence { animation: settle 1.3s .6s var(--ease-out) both; }
  .js .hero-badge { animation: stamp .9s 1.0s cubic-bezier(.2,1.3,.4,1) both; }
  .js .hero h1 .line { animation: rise .9s var(--ease-out) both; }
  .js .hero h1 .line:nth-child(1) { animation-delay: 1.15s; }
  .js .hero h1 .line:nth-child(2) { animation-delay: 1.27s; }
  .js .hero .lede, .js .hero .btn-row, .js .hero .hero-meta { animation: rise .9s 1.45s var(--ease-out) both; }
  .js .hero .windmill-blades { animation: spin 14s linear infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes sky-warm { from { opacity: 0; } to { opacity: 1; } }
@keyframes sun-rise { from { transform: translateY(120px); } to { transform: none; } }
@keyframes glow-in { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes stamp { from { opacity: 0; transform: scale(1.25) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.sun-glow, .sun { transform-box: fill-box; transform-origin: center; }

/* ---------- Sub-page banner ---------- */
.banner {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(ellipse 60% 90% at 78% 100%, rgba(242,163,58,.55), transparent 60%),
    linear-gradient(180deg, #2a1410 0%, #7a2a14 55%, #c4521c 100%);
}
.banner::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 70px; z-index: -1;
  background: url("../img/fence.svg") repeat-x bottom / auto 70px;
}
.banner h1 { font-size: var(--t-xl); margin-bottom: .35em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.banner .lede { color: #f3e3c6; }

/* Photo banners: real farm photo, warmed to the sunset palette */
.banner--photo {
  display: grid; align-items: end;
  min-height: clamp(320px, 52vh, 500px);
  padding-top: calc(var(--header-h) + 2rem);
  background: #2a1410;
}
.banner--tall { min-height: clamp(380px, 62vh, 580px); }
.banner-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.banner--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(23,17,14,.78) 0%, rgba(23,17,14,.45) 45%, rgba(23,17,14,.05) 80%),
    linear-gradient(180deg, rgba(23,17,14,.35) 0%, rgba(140,52,18,.28) 60%, rgba(226,98,27,.32) 100%);
}
.banner--photo h1 { font-size: var(--t-2xl); text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.banner--photo .lede { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
@media (max-width: 720px) {
  .banner--photo { min-height: 360px; }
  .banner--photo::before {
    background: linear-gradient(180deg, rgba(23,17,14,.25) 0%, rgba(23,17,14,.6) 50%, rgba(23,17,14,.88) 100%);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .js .banner-img { animation: drift 16s cubic-bezier(.2,.6,.3,1) both; }
  .js .banner--photo h1 { animation: rise .9s .15s var(--ease-out) both; }
  .js .banner--photo .lede { animation: rise .9s .3s var(--ease-out) both; }
}
@keyframes drift { from { transform: scale(1.1); } to { transform: scale(1); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--parchment {
  background: var(--bone); color: var(--ink);
  background-image:
    radial-gradient(rgba(90,54,32,.06) 1px, transparent 1px),
    radial-gradient(rgba(90,54,32,.04) 1px, transparent 1px);
  background-size: 22px 22px, 13px 13px;
  background-position: 0 0, 7px 9px;
}
.section--parchment .lede { color: var(--ink-soft); }
.section--parchment a { color: var(--rust); }
.section--parchment a:hover { color: var(--ink); }
.section--parchment a.btn, .section--parchment a.btn:hover { color: var(--fg); }
.section--wood { background: linear-gradient(180deg, var(--char-2), var(--char)); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin-bottom: .3em; }

/* barbed wire rule */
.wire {
  height: 26px; border: 0; margin: 0;
  background: url("../img/wire.svg") repeat-x center / auto 26px;
}
.wire--on-light { filter: brightness(.55); }

/* ---------- Price tags ---------- */
.tags { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); list-style: none; padding: 0; margin: 0; }
.tag {
  position: relative; background: #fbf4e4; color: var(--ink);
  border: 2px solid var(--saddle); border-radius: var(--radius-tag);
  padding: 2.4rem 1.5rem 1.5rem;
  box-shadow: 0 1px 0 #fff inset, 0 10px 24px -14px rgba(42,29,22,.6);
  transform-origin: 50% -14px;
}
.tag::before { /* grommet hole */
  content: ""; position: absolute; top: .8rem; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; background: var(--bone); box-shadow: inset 0 0 0 3px var(--saddle);
}
.tag h3 { font-size: 1.6rem; margin-bottom: .25rem; }
.tag .detail { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1rem; min-height: 3.2em; }
.price { font-family: var(--font-display); color: var(--rust); font-size: 3rem; line-height: 1; display: flex; align-items: baseline; gap: .35rem; }
.price small { font-family: var(--font-cond); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.tag.is-out { opacity: .6; }
.tag .out { font-family: var(--font-cond); font-weight: 700; color: var(--rust-deep); font-size: 1.1rem; }
.js .tags.reveal .tag { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .tags.reveal.is-in .tag { animation: tag-hang 1.1s var(--ease-out) both; }
  .js .tags.reveal.is-in .tag:nth-child(2) { animation-delay: .1s; }
  .js .tags.reveal.is-in .tag:nth-child(3) { animation-delay: .2s; }
  .js .tags.reveal.is-in .tag:nth-child(4) { animation-delay: .3s; }
}
@keyframes tag-hang {
  0% { opacity: 0; transform: translateY(-14px) rotate(-5deg); }
  45% { opacity: 1; transform: rotate(2.5deg); }
  70% { transform: rotate(-1deg); }
  100% { opacity: 1; transform: none; }
}
.js .tags.reveal.is-in .tag { opacity: 1; }

.price-note { margin-top: 1.5rem; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Split story ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--flip .split-media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip .split-media { order: 0; } }

.photo {
  position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(241,230,207,.04) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--char-3), #3b2a1f);
  border: 1px solid rgba(168,162,154,.25);
  display: grid; place-items: center; text-align: center;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--placeholder { color: var(--text-soft); font-family: var(--font-cond); font-size: 1.05rem; padding: 1.5rem; }
.photo--placeholder svg { margin: 0 auto .6rem; color: var(--gold); opacity: .8; }
.section--parchment .photo { background: repeating-linear-gradient(135deg, rgba(90,54,32,.06) 0 12px, transparent 12px 24px), #e9dcc0; border-color: rgba(90,54,32,.3); }
.section--parchment .photo--placeholder { color: var(--ink-soft); }
.section--parchment .photo--placeholder svg { color: var(--saddle); }
.photo--tall { aspect-ratio: 4 / 5; }

.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem 1.5rem; }
.facts li { border-top: 2px solid var(--ember); padding-top: .6rem; }
.facts b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--gold); line-height: 1.1; }
.facts span { font-size: .95rem; color: var(--text-soft); }
.section--parchment .facts b { color: var(--rust); }
.section--parchment .facts span { color: var(--ink-soft); }

/* ---------- Reasons (planks) ---------- */
.planks { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.plank {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.1rem; align-items: center;
  padding: 1.1rem 1.4rem;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.06) 0 2px, transparent 2px 9px),
    linear-gradient(90deg, #3a2618, #2c1d14 70%);
  border-left: 6px solid var(--rust);
  border-radius: 3px;
}
.plank svg { color: var(--gold); }
.plank h3 { font-size: 1.35rem; margin: 0 0 .15rem; }
.plank p { margin: 0; color: var(--text-soft); }
.footnote { margin-top: 1rem; font-size: .9rem; color: var(--text-soft); }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 3.6rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.35rem; color: var(--bone); background: var(--rust);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 1.4rem; left: 3.6rem; right: -1rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--saddle) 0 8px, transparent 8px 14px);
}
.steps h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li:not(:last-child)::after { display: none; } }

/* ---------- Cards for cattle / events ---------- */
.list-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.card { background: var(--char-2); border: 1px solid rgba(168,162,154,.2); border-radius: 4px; padding: 1.4rem; }
.card h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.card dl { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; margin: .6rem 0 0; font-size: .98rem; }
.card dt { color: var(--text-soft); }
.card dd { margin: 0; }
.card .when { font-family: var(--font-cond); font-weight: 700; color: var(--gold); font-size: 1.15rem; }
.empty-note {
  border: 1px dashed rgba(168,162,154,.45); border-radius: 4px; padding: 1.5rem; color: var(--text-soft); max-width: 62ch;
}
.section--parchment .empty-note { border-color: rgba(90,54,32,.4); color: var(--ink-soft); }

/* ---------- Coming-soon merch ---------- */
.merch { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.merch img { width: clamp(140px, 22vw, 220px); border-radius: 50%; }
@media (max-width: 640px) { .merch { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label, .field .label { font-weight: 600; font-size: 1rem; }
.field .hint { font-size: .9rem; color: var(--ink-soft); margin-top: -.15rem; }
.req { color: var(--rust); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fffaf0;
  border: 1.5px solid #b9a27f; border-radius: 4px; padding: .7rem .8rem; min-height: 48px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(179,42,31,.22); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--rust); }
.field-error { color: var(--rust-deep); font-weight: 600; font-size: .92rem; }
.field-error:empty { display: none; }

.order-lines { display: grid; gap: .6rem; margin: 0; padding: 0; border: 0; }
.order-lines legend { font-weight: 600; margin-bottom: .5rem; padding: 0; }
.order-line {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
  background: #fffaf0; border: 1.5px solid #d8c4a1; border-radius: 4px; padding: .8rem 1rem;
}
.order-line .name { font-weight: 700; }
.order-line .sub { font-size: .92rem; color: var(--ink-soft); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid #b9a27f; border-radius: 4px; overflow: hidden; background: #fff; }
.stepper button {
  width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.stepper button:hover { background: var(--bone-2); }
.stepper input { width: 3.2rem; min-height: 44px; border: 0; border-radius: 0; text-align: center; padding: 0; background: #fff; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { box-shadow: inset 0 0 0 2px var(--rust); }
.order-total { font-family: var(--font-cond); font-size: 1.2rem; font-weight: 600; }
.order-total output { font-family: var(--font-display); color: var(--rust); font-size: 1.5rem; font-weight: 400; }

.form-status { padding: 1rem 1.2rem; border-radius: 4px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { background: #e3ecd3; color: #2c4316; border: 1.5px solid var(--pasture); }
.form-status.err { background: #f6dcd6; color: var(--rust-deep); border: 1.5px solid var(--rust); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-panel { background: rgba(255,250,240,.6); border: 1.5px solid #d8c4a1; border-radius: 6px; padding: clamp(1.25rem, 3vw, 2.25rem); }

/* ---------- Contact block ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .9rem; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: .75rem; align-items: start; }
.contact-list svg { color: var(--rust); margin-top: .2rem; }
.contact-list b { display: block; font-family: var(--font-cond); font-size: 1.05rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding-block: clamp(4rem, 9vw, 6.5rem);
  background: radial-gradient(ellipse 70% 120% at 50% 120%, rgba(226,98,27,.55), transparent 65%), var(--char);
}
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lede { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #0f0b09; color: var(--text-soft); padding-block: 3.5rem 2rem; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { font-size: 1.15rem; color: var(--bone); margin-bottom: .8rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer-grid a { color: var(--text-soft); text-decoration: none; }
.footer-grid a:hover { color: var(--gold); text-decoration: underline; }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand img { width: 84px; height: 84px; border-radius: 50%; }
.footer-brand p { margin: 0; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(168,162,154,.15); font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal (quiet) ---------- */
.js .reveal:not(.tags) { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s var(--ease-out); }
.js .reveal.is-in:not(.tags) { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .tags.reveal .tag { opacity: 1 !important; transform: none !important; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
