/* Self-hosted fonts (Latin subsets of the Oswald and Jost variable fonts, SIL Open Font License). */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/oswald-latin-var.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/jost-latin-var.woff2) format('woff2'); }

/* Duck Feeder site: cream paper pages from the Amazon Version I set, two-line Oswald
   statements (forest green, then bag orange), real pond photos, a feed-tag panel built
   like the bag's guaranteed analysis, and forest bands carrying the bag's water ripples. */
:root {
  --cream: #EDE6D8;
  --cream-deep: #E3DAC6;
  --paper: #FBF7EE;
  --rule: #D6CBB4;
  --forest: #17402A;
  --forest-deep: #0F2A1B;
  --orange: #EE8A2C;
  --orange-deep: #C9600E;
  --rust: #96440A;
  --ink: #22312A;
  --muted: #55635A;
  --cream-ink: #F3E9D0;
  --star: #E07B12;

  --display: 'Oswald', 'Arial Narrow', 'Roboto Condensed', Impact, sans-serif;
  --body: 'Jost', 'Futura', 'Century Gothic', 'Trebuchet MS', system-ui, sans-serif;

  --fs-small: 0.9375rem;
  --fs-body: 1.125rem;
  --fs-lead: 1.3125rem;
  --fs-h3: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem);
  --fs-h2: clamp(2.125rem, 1.25rem + 2.9vw, 3.75rem);
  --fs-h1: clamp(2.75rem, 1.1rem + 4.6vw, 5.5rem);

  --wrap: 1220px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section: clamp(4rem, 2.6rem + 4.4vw, 7.5rem);
  --radius: 10px;
  --shadow: 0 1px 0 rgba(23, 64, 42, .06), 0 12px 30px -18px rgba(23, 64, 42, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background-color: var(--cream);
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.28 0 0 0 0 0.16 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--cream); }
img, video { max-width: 100%; height: auto; display: block; }
p, li, figcaption { text-wrap: pretty; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--forest-deep); }

h1, h2, h3, h4 { font-family: var(--display); color: var(--forest); margin: 0; text-wrap: balance; }
h1, h2 { font-weight: 700; text-transform: uppercase; line-height: .98; letter-spacing: .004em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; text-transform: uppercase; line-height: 1.12; letter-spacing: .01em; }
h4 { font-size: 1.125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
p { margin: 0; }
.duo span { display: block; }
.duo span + span { color: var(--orange-deep); }
.on-forest .duo span + span, .duo--light span + span { color: var(--orange); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.measure { max-width: 34em; }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 1.6rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* layout */
.wrap { width: 100%; max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 2.2rem + 2.6vw, 5rem); }
.band-deep { background: var(--cream-deep); }
.band-paper { background: var(--paper); }
.split { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 7fr 5fr; }
  .split--wide-text { grid-template-columns: 5fr 7fr; }
  .split--flip > :first-child { order: 2; }
}
.section-head { display: flex; flex-direction: column; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; align-items: center; }
.section-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--body); font-size: 1.0625rem; font-weight: 600; line-height: 1.1; text-decoration: none;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--buy { background: var(--orange); color: var(--forest-deep); }
.btn--buy:hover { background: #F39A44; color: var(--forest-deep); }
.btn--forest { background: var(--forest); color: var(--cream-ink); }
.btn--forest:hover { background: var(--forest-deep); color: var(--cream-ink); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--cream-ink); }
.on-forest .btn--ghost { color: var(--cream-ink); border-color: var(--cream-ink); }
.on-forest .btn--ghost:hover { background: var(--cream-ink); color: var(--forest); }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; }
.textlink { font-weight: 600; color: var(--forest); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.textlink:hover { color: var(--rust); }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(237, 230, 216, .96); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.2) blur(6px); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem 1.6rem; align-items: center; }
.site-nav a { font-weight: 500; font-size: 1.0625rem; color: var(--forest); text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--orange); color: var(--forest); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--forest); }
.site-header .btn--buy { min-height: 46px; padding: .6rem 1.15rem; font-size: 1rem; }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .9rem; border-radius: 999px; border: 2px solid var(--forest); background: transparent; color: var(--forest); font: 600 1rem var(--body); cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 1060px) {
  .site-header__inner { min-height: 68px; gap: .8rem; }
  .brand img { height: 44px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--rule); padding: .5rem var(--gutter-r) 1.25rem var(--gutter-l); display: none; box-shadow: 0 18px 30px -20px rgba(15, 42, 27, .5); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--rule); }
  .site-nav a { display: block; padding: .95rem 0; font-size: 1.125rem; border-bottom: 0; }
  .site-header .btn--buy.header-buy { display: none; }
  .site-nav .nav-buy { display: block; border-bottom: 0; padding-top: 1rem; }
  .site-nav .nav-buy a { display: inline-flex; padding: .8rem 1.4rem; }
}
@media (min-width: 1061px) { .site-nav .nav-buy { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero__media { position: absolute; top: 0; bottom: 0; right: 0; left: 31%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 15%, #000 30%); mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 15%, #000 30%); }
.hero__inner { position: relative; padding-block: clamp(4.5rem, 3rem + 6vw, 9rem); }
.hero__copy { max-width: 39rem; display: flex; flex-direction: column; gap: 1.5rem; }
.hero h1 { font-size: clamp(2.9rem, 1rem + 4.7vw, 5.6rem); }
.hero .lead { max-width: 27em; }
.hero__note { display: flex; flex-wrap: wrap; gap: .5rem .6rem; }
.pill { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); color: var(--forest); font-size: .9375rem; font-weight: 500; }
.pill svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 899px) {
  .hero__media { position: relative; left: auto; height: auto; aspect-ratio: 1.15; }
  .hero__media img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); object-position: 50% 55%; }
  .hero__inner { padding-block: .5rem 3.5rem; }
}

/* proof strip */
.proof { background: var(--paper); border-block: 1px solid var(--rule); }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.proof li { display: flex; align-items: center; gap: .9rem; padding: 1.4rem 1.25rem; color: var(--forest); font-weight: 600; font-size: 1.0625rem; line-height: 1.25; }
.proof li + li { border-left: 1px solid var(--rule); }
.proof svg { width: 40px; height: 40px; flex: none; color: var(--forest); }
@media (max-width: 899px) {
  .proof ul { grid-template-columns: 1fr 1fr; }
  .proof li { padding: 1.1rem .75rem; font-size: 1rem; gap: .7rem; }
  .proof li:nth-child(3) { border-left: 0; }
  .proof li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .proof svg { width: 32px; height: 32px; }
}

/* framed photos (white mat, like the boxes in the Amazon set) */
.photo { margin: 0; background: var(--paper); padding: clamp(8px, .4rem + .4vw, 14px); border: 1px solid var(--rule); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); }
.photo img { width: 100%; border-radius: var(--radius); }
.photo figcaption { padding: .7rem .3rem .2rem; font-size: var(--fs-small); color: var(--muted); }
.photo--bare { background: none; border: 0; padding: 0; box-shadow: none; }
.ratio-4x5 img { aspect-ratio: 4 / 5; object-fit: cover; }
.ratio-1 img { aspect-ratio: 1; object-fit: cover; }
.ratio-4x3 img { aspect-ratio: 4 / 3; object-fit: cover; }
.ratio-3x2 img { aspect-ratio: 3 / 2; object-fit: cover; }

/* bread vs feed */
.versus { position: relative; }
.versus img { width: 100%; border-radius: var(--radius); }
.versus__labels { position: absolute; left: 0; right: 0; bottom: 6%; display: grid; grid-template-columns: 1fr 1fr; pointer-events: none; }
.versus__labels span { justify-self: center; padding: .35rem .95rem; border-radius: 999px; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(.8rem, .6rem + .6vw, 1.05rem); }
.versus__labels span:first-child { background: var(--forest); color: var(--cream-ink); }
.versus__labels span:last-child { background: var(--orange-deep); color: #fff; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .85rem; }
.facts li { display: grid; grid-template-columns: 30px 1fr; gap: .8rem; align-items: start; font-weight: 500; }
.facts svg { width: 30px; height: 30px; }
.facts--no svg { color: #B8321F; }
.facts--yes svg { color: var(--forest); }
.facts small { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-small); }

/* feed tag */
.feedtag { background: var(--paper); border: 2px solid var(--forest); border-radius: 6px; box-shadow: var(--shadow); font-variant-numeric: tabular-nums; }
.feedtag__head { background: var(--forest); color: var(--cream-ink); padding: .75rem 1.25rem; font-family: var(--display); font-weight: 600; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .04em; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.feedtag__head small { font-family: var(--body); font-size: .875rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: rgba(243, 233, 208, .82); }
.feedtag table { width: 100%; border-collapse: collapse; }
.feedtag td, .feedtag th { padding: .8rem 1.25rem; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 500; }
.feedtag th { font-weight: 600; color: var(--forest); }
.feedtag td.v { text-align: right; font-family: var(--display); font-weight: 600; font-size: 1.375rem; color: var(--forest); white-space: nowrap; }
.feedtag td.q { color: var(--muted); font-size: var(--fs-small); white-space: nowrap; }
.feedtag__body { padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .7rem; }
.feedtag__body h4 { color: var(--forest); }
.feedtag__ingredients { font-size: var(--fs-small); line-height: 1.55; color: var(--ink); }
.feedtag__warn { font-size: var(--fs-small); color: var(--ink); background: var(--cream-deep); border-radius: 6px; padding: .6rem .8rem; }
@media (max-width: 520px) { .feedtag td, .feedtag th { padding: .7rem .8rem; } .feedtag td.q { white-space: normal; } }

/* ingredient piles with Brian's labels */
.piles { margin: 0; }
.piles img { width: 100%; border-radius: var(--radius); }
.piles ol { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: .3rem; text-align: center; }
.piles li { font-family: var(--display); font-weight: 600; font-size: clamp(.68rem, .5rem + .55vw, .95rem); text-transform: uppercase; letter-spacing: .03em; color: var(--forest); line-height: 1.15; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, .6rem + 2vw, 2.5rem); counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.steps .photo { position: relative; }
.steps .num { position: absolute; top: -14px; left: -10px; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: var(--forest-deep); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.6rem; box-shadow: 0 6px 16px -8px rgba(15, 42, 27, .7); }
.steps h3 { margin-top: .4rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 2.5rem; } }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, .5rem + 1.5vw, 2rem); }
.tile { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.tile p { color: var(--muted); }
.tile__mark { height: 44px; display: flex; align-items: center; color: var(--forest); }
.tile__mark svg { width: 44px; height: 44px; }
.tile__mark .stars svg { width: 24px; height: 24px; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }

/* reviews */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.rating__score { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; color: var(--forest); }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 22px; height: 22px; }
.stars--sm svg { width: 17px; height: 17px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.review { margin: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.25rem; display: flex; flex-direction: column; gap: .8rem; }
.review h3 { font-size: 1.25rem; }
.review blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.55; }
.review figcaption { margin-top: auto; font-size: var(--fs-small); color: var(--muted); }
.review figcaption strong { color: var(--forest); font-weight: 600; }
@media (max-width: 980px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } }

/* video */
.video { position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--forest-deep); box-shadow: var(--shadow); }
.video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--forest-deep); }

/* posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, .6rem + 2vw, 2.25rem); }
.post-card { display: flex; flex-direction: column; gap: .85rem; min-width: 0; }
.post-card a.post-card__img { display: block; border-radius: var(--radius); overflow: hidden; }
.post-card a.post-card__img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .4s ease; }
.post-card a.post-card__img:hover img { transform: scale(1.03); }
.post-card h3 { font-size: clamp(1.3rem, 1.1rem + .5vw, 1.55rem); }
.post-card h3 a { text-decoration: none; color: var(--forest); }
.post-card h3 a:hover { color: var(--rust); }
.post-card p { color: var(--muted); }
.cat { font-size: .9375rem; font-weight: 600; color: var(--rust); text-decoration: none; }
.post-meta { font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }
.post-feature { display: grid; grid-template-columns: 1fr; gap: clamp(1.25rem, .8rem + 2vw, 3rem); align-items: center; }
@media (min-width: 900px) { .post-feature { grid-template-columns: 7fr 5fr; } }
.post-feature img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* faq */
.faq { display: flex; flex-direction: column; border-top: 2px solid var(--forest); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.25rem 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1rem + .45vw, 1.4rem); text-transform: uppercase; letter-spacing: .01em; color: var(--forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3E9D0' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--orange-deep); }
.faq .answer { padding: 0 0 1.4rem; max-width: 46rem; display: flex; flex-direction: column; gap: .8rem; }
.faq-group + .faq-group { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.faq-group h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); margin-bottom: 1rem; }

/* forms */
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label { font-weight: 600; color: var(--forest); font-size: 1rem; }
.field .hint { font-size: .875rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: 400 1.0625rem var(--body); color: var(--ink); background: var(--paper);
  border: 1.5px solid #B9AD94; border-radius: 8px; padding: .8rem .95rem; min-height: 50px;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(238, 138, 44, .45); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: .9375rem; color: var(--muted); }
.form-status { font-weight: 600; color: var(--forest); }
.form-status[hidden] { display: none; }

/* signup */
.signup { background: var(--paper); border: 1px solid var(--rule); border-radius: calc(var(--radius) + 6px); padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); display: grid; grid-template-columns: 1fr; gap: 1.75rem; align-items: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
@media (min-width: 900px) { .signup { grid-template-columns: 6fr 5fr; } }
.signup__mallard { position: absolute; right: -40px; bottom: -36px; width: 230px; opacity: .14; pointer-events: none; }
@media (max-width: 600px) { .signup__mallard { width: 150px; right: -30px; bottom: -28px; opacity: .09; } }
.hape-logo { width: 100%; max-width: 320px; }
@media (max-width: 899px) { .hape-logo { max-width: 210px; } }
.signup form { display: flex; flex-direction: column; gap: .8rem; position: relative; }
.signup .row { display: flex; gap: .6rem; flex-wrap: wrap; }
.signup .row input { flex: 1 1 220px; }
.signup .row .btn { flex: 0 0 auto; }

/* forest bands */
.on-forest { background: var(--forest); color: var(--cream-ink); position: relative; isolation: isolate; }
.on-forest::before { content: ""; position: absolute; inset: 0; background: url(img/ripple.webp) center / 980px auto repeat; opacity: .07; z-index: -1; pointer-events: none; }
.on-forest h1, .on-forest h2, .on-forest h3 { color: var(--cream-ink); }
.on-forest a:not(.btn) { color: var(--cream-ink); }
.on-forest .muted { color: rgba(243, 233, 208, .78); }
.cta-band { text-align: center; }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.cta-band h2 { font-size: clamp(2.4rem, 1.2rem + 4vw, 4.75rem); }

/* page header */
.page-head { padding-block: clamp(3.5rem, 2.4rem + 4vw, 6.5rem) clamp(2rem, 1.4rem + 2vw, 3.5rem); }
.page-head .wrap:not(.split) { display: flex; flex-direction: column; gap: 1.2rem; }
.page-head p.lead { max-width: 36em; }
@media (min-width: 900px) {
  .page-head .split--wide-text { grid-template-columns: 7fr 5fr; }
  .page-head .split h1 { font-size: clamp(2.75rem, 1.1rem + 3.7vw, 4.75rem); }
}
.crumbs { font-size: .9375rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* product */
.product { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 960px) { .product { grid-template-columns: 7fr 6fr; } }
.gallery { display: flex; flex-direction: column; gap: .8rem; position: sticky; top: 100px; }
@media (max-width: 959px) { .gallery { position: static; } }
.gallery__main { margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: calc(var(--radius) + 4px); overflow: hidden; }
.gallery__main img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(9, 1fr); gap: .45rem; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--forest); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .gallery__thumbs { grid-template-columns: repeat(5, 1fr); } }
.buybox { display: flex; flex-direction: column; gap: 1.25rem; }
.buybox h1 { font-size: clamp(2.4rem, 1.4rem + 2.8vw, 3.9rem); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: .7rem; align-items: start; }
.ticks svg { width: 24px; height: 24px; color: var(--forest); margin-top: 2px; }
.ticks strong { color: var(--forest); }
.buy-panel { background: var(--paper); border: 1px solid var(--rule); border-radius: calc(var(--radius) + 4px); padding: 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .8rem; }

/* article */
.article-head { padding-block: clamp(3rem, 2.2rem + 3vw, 5.5rem) 2rem; }
.article-head .wrap { max-width: 980px; display: flex; flex-direction: column; gap: 1.1rem; }
.article-head h1 { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.6rem); }
.article-hero { max-width: 1160px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.article-hero img { width: 100%; border-radius: calc(var(--radius) + 2px); aspect-ratio: 16 / 9; object-fit: cover; }
.article-hero figcaption { font-size: .875rem; color: var(--muted); padding-top: .55rem; }
.prose { max-width: 720px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-block: clamp(2.25rem, 1.6rem + 2vw, 3.5rem) var(--section); font-size: 1.1875rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); margin-top: 1.9em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--orange-deep); font-weight: 700; }
.prose .answer-first { font-size: 1.3125rem; line-height: 1.6; padding: 1.25rem 1.4rem; background: var(--paper); border: 1px solid var(--rule); border-left: 5px solid var(--orange); border-radius: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .8rem .9rem; border-bottom: 1px solid var(--rule); }
.prose thead th { background: var(--forest); color: var(--cream-ink); font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 1rem; }
.prose .table-wrap { overflow-x: auto; }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.2em; border-left: 4px solid var(--orange); font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 1.55rem; line-height: 1.2; color: var(--forest); }
.prose .sources { font-size: .9375rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 1.2rem; }
.prose .sources ol { padding-left: 1.2em; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .875rem; color: var(--muted); padding-top: .5rem; }
.product-card { display: grid; grid-template-columns: 140px 1fr; gap: 1.25rem; align-items: center; background: var(--paper); border: 2px solid var(--forest); border-radius: 12px; padding: 1.1rem; margin-top: 2.2em; }
.product-card img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; }
.product-card h3 { font-size: 1.35rem; }
.product-card p { font-size: 1rem; color: var(--muted); margin: .35rem 0 .8rem; }
@media (max-width: 520px) { .product-card { grid-template-columns: 1fr; } .product-card img { max-width: 200px; } }

/* contact */
.contact-cards { display: grid; gap: 1rem; }
.contact-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; }
.contact-card h3 { font-size: 1.15rem; }
.contact-card .big { font-family: var(--display); font-weight: 600; font-size: 1.45rem; color: var(--forest); word-break: break-word; letter-spacing: .01em; }
.copy-btn { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--rust); font: 600 .9375rem var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* footer */
.site-footer { background: var(--forest-deep); color: var(--cream-ink); position: relative; isolation: isolate; font-size: 1rem; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: url(img/ripple.webp) center / 980px auto repeat; opacity: .05; z-index: -1; pointer-events: none; }
.site-footer a { color: var(--cream-ink); text-decoration: none; }
.site-footer a:hover { color: var(--orange); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem 2.5rem; padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 2.5rem; }
.footer-top > * { min-width: 0; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand img { width: 210px; }
.footer-brand .tagline { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: 1.2rem; color: var(--orange); line-height: 1.2; }
.site-footer h3 { color: var(--cream-ink); font-size: 1rem; letter-spacing: .06em; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-contact p + p { margin-top: .55rem; }
.footer-contact .label { display: block; font-size: .875rem; color: rgba(243, 233, 208, .7); }
.footer-bottom { border-top: 1px solid rgba(243, 233, 208, .16); padding-block: 1.5rem 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; font-size: .9375rem; color: rgba(243, 233, 208, .78); }
.footer-bottom .made-by { display: flex; align-items: center; gap: .9rem; }
.footer-bottom .made-by img { width: 92px; opacity: .92; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* misc */
.note-box { background: var(--paper); border: 1px dashed var(--orange-deep); border-radius: 10px; padding: 1rem 1.2rem; font-size: .9375rem; color: var(--ink); }
.divider-mallard { width: 64px; margin: 0 auto; opacity: .9; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* WordPress only */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.df-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status.is-error { color: #A12A1B; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.navigation.pagination { margin-top: 2.5rem; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.navigation.pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border-radius: 999px; border: 2px solid var(--forest); color: var(--forest); font-weight: 600; text-decoration: none; padding: 0 .8rem; }
.navigation.pagination .page-numbers.current { background: var(--forest); color: var(--cream-ink); }
