/* ==========================================================================
   Eddinger Propane Gas, Inc. — Design System
   Stack: HTML / CSS / JS (static)
   ========================================================================== */

:root {
  /* Brand greens (from logo wordmark) */
  --green-900: #0d3a22;
  --green-800: #14532d;
  --green-700: #166534;
  --green-600: #15803d;
  --green-500: #1f9d50;
  --green-100: #dcefe2;
  --green-50:  #eef7f1;

  /* Flame accent (propane energy / CTAs) */
  --flame-700: #c2410c;
  --flame-600: #ea580c;
  --flame-500: #f97316;
  --flame-400: #fb923c;

  /* Flame-blue (from logo flame) */
  --blue-600: #1d4ed8;
  --blue-500: #2563eb;

  /* Neutrals */
  --ink:    #16241c;
  --body:   #38453d;
  --muted:  #6a7a70;
  --line:   #e4e9e4;
  --cream:  #f6f7f3;
  --white:  #ffffff;

  --radius:   14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 58, 34, .06), 0 2px 6px rgba(13, 58, 34, .05);
  --shadow:    0 10px 30px -12px rgba(13, 58, 34, .25);
  --shadow-lg: 0 30px 60px -20px rgba(13, 58, 34, .35);

  --maxw: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  --ff-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --header-h: 110px;
}

/* ------------------------------ Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture { display: block; max-width: 100%; }
svg { display: block; flex-shrink: 0; }
a { color: var(--green-700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--flame-600); }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--ink); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--body); }
:focus-visible { outline: 3px solid var(--flame-400); outline-offset: 2px; border-radius: 6px; }

/* ------------------------------ Layout --------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--cream { background: var(--cream); }
.section--green {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(31,157,80,.35), transparent 60%),
    linear-gradient(160deg, var(--green-800), var(--green-900));
  color: #dbe9e0;
}
.section--green h2, .section--green h3 { color: #fff; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.measure-narrow { max-width: 48ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--flame-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--flame-500); border-radius: 2px; }
.section--green .eyebrow { color: var(--flame-400); }
.section--green .eyebrow::before { background: var(--flame-400); }
.center .eyebrow { justify-content: center; }

.lead { font-size: 1.15rem; color: var(--muted); }
.section--green .lead { color: #b9d2c4; }

/* ------------------------------ Buttons -------------------------------- */
.btn {
  --btn-bg: var(--green-700);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--ff-head); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--flame { --btn-bg: var(--flame-500); }
.btn--flame:hover { --btn-bg: var(--flame-600); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--green-800);
  border-color: var(--green-200, #bfe0cc); box-shadow: none;
  border-color: rgba(22,101,52,.25);
}
.btn--ghost:hover { --btn-bg: var(--green-50); --btn-fg: var(--green-800); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--green-800); }
.btn--outline-light {
  --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.4); box-shadow: none;
}
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-fg:#fff; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.075rem; }
.btn svg { width: 1.1em; height: 1.1em; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.center .btn-row { justify-content: center; }

/* ------------------------------ Header --------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

/* Top utility bar */
.topbar {
  background: var(--green-900); color: #cfe3d6;
  font-size: .85rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #eafff2; }
.topbar a:hover { color: var(--flame-400); }
.topbar__left { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__item svg { width: 15px; height: 15px; opacity: .8; }
.topbar__emph { color: #fff; font-weight: 600; }
.topbar .sep { opacity: .3; }

/* Main nav row */
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav > li { position: relative; }
.nav > li > a {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--ff-head); font-weight: 600; font-size: .95rem;
  color: var(--ink); padding: .6rem .85rem; border-radius: 10px;
}
.nav > li > a:hover,
.nav > li.is-open > a { color: var(--green-700); background: var(--green-50); }
.nav .caret { width: 14px; height: 14px; transition: transform .2s ease; opacity: .7; }
.nav > li.is-open .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 230px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav > li.is-open .dropdown,
.nav > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .75rem; border-radius: 9px; color: var(--body); font-weight: 500; font-size: .95rem;
}
.dropdown a:hover { background: var(--green-50); color: var(--green-700); }
.dropdown a . extbadge { margin-left: auto; }
.ext-ico { width: 13px; height: 13px; margin-left: auto; opacity: .5; }

.nav-cta { display: flex; align-items: center; gap: .6rem; }

/* Hamburger */
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center; color: var(--green-800);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .ico-close { display: none; }
body.nav-open .nav-toggle .ico-open { display: none; }
body.nav-open .nav-toggle .ico-close { display: block; }

/* ------------------------------ Hero ----------------------------------- */
.hero {
  position: relative; isolation: isolate; color: #eaf5ee;
  background:
    radial-gradient(1100px 600px at 80% 0%, rgba(31,157,80,.45), transparent 55%),
    linear-gradient(155deg, var(--green-800) 0%, var(--green-900) 60%, #082b18 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--flame-400); }
.hero p { color: #c6dccd; font-size: 1.2rem; max-width: 46ch; margin-top: 1.1rem; }
.hero .btn-row { margin-top: 2rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.25rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: .45rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  color: #eafff2; backdrop-filter: blur(4px);
}
.hero__badge .flame { width: 16px; height: 18px; }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.hero__stats {
  display: flex; gap: 1.75rem; margin-top: 2.25rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.5rem;
}
.hero__stat .num { font-family: var(--ff-head); font-weight: 700; font-size: 1.9rem; color: #fff; line-height: 1; }
.hero__stat .lbl { font-size: .82rem; color: #a9c6b6; letter-spacing: .03em; margin-top: .35rem; }

/* Emergency strip under hero */
.alert-strip {
  background: var(--flame-600); color: #fff; font-weight: 600;
}
.alert-strip .container { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; padding-block: .7rem; text-align: center; font-size: .95rem; }
.alert-strip a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.alert-strip svg { width: 18px; height: 18px; }

/* ------------------------------ Cards ---------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: block;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card,
.card--link { display: block; color: inherit; text-decoration: none; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-100); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .98rem; }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-700); margin-bottom: 1.1rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card--flame .card__icon { background: #fff1e7; color: var(--flame-600); }
.card__more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-family: var(--ff-head); margin-top: 1rem; font-size: .95rem; }
.card--link:hover .card__more { gap: .6rem; }

/* Feature list with check icons */
.checklist { display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23166534' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.section--green .checklist li::before { background-color: rgba(255,255,255,.12); }

/* Numbered list */
.steps { counter-reset: step; display: grid; gap: 1.1rem; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; counter-increment: step; }
.steps li::before {
  content: counter(step); flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-700); color: #fff; font-family: var(--ff-head); font-weight: 700;
  display: grid; place-items: center; font-size: 1rem;
}

/* ------------------------------ Page hero ------------------------------ */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(31,157,80,.4), transparent 60%),
    linear-gradient(160deg, var(--green-800), var(--green-900));
  color: #d9ece1; padding-block: clamp(2rem, 4vw, 3rem);
}
.page-hero--compact {
  padding-block: clamp(1.25rem, 2.5vw, 1.75rem);
}
.page-hero h1 { color: #fff; }
.page-hero--compact h1 { font-size: clamp(1.65rem, 3.5vw, 2.15rem); }
.page-hero p { color: #bcd5c8; margin-top: .75rem; font-size: 1.15rem; max-width: 60ch; }
.page-hero--compact p { font-size: .98rem; margin-top: .45rem; }
.page-hero--compact .breadcrumb { margin-bottom: .65rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .85rem; color: #9fc0ae; margin-bottom: 1rem; font-weight: 500; }
.breadcrumb a { color: #cfe7da; }
.breadcrumb a:hover { color: var(--flame-400); }
.breadcrumb .sep { opacity: .5; }

/* ------------------------------ Prose ---------------------------------- */
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.25rem; }
.prose h3 { margin-top: 1.5rem; color: var(--green-800); }
.prose ul:not(.checklist):not(.steps) { display: grid; gap: .6rem; padding-left: 0; }
.prose ul:not(.checklist):not(.steps) li { position: relative; padding-left: 1.5rem; }
.prose ul:not(.checklist):not(.steps) li::before {
  content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px;
  background: var(--flame-500); border-radius: 50%;
}
.prose ol { padding-left: 1.25rem; display: grid; gap: .6rem; }
.prose ol li::marker { color: var(--green-700); font-weight: 700; }

/* Product tier cards (grills, eggs) */
.tier {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.tier__head { padding: 1.25rem 1.5rem; background: var(--green-50); border-bottom: 1px solid var(--line); }
.tier__head h3 { color: var(--green-800); margin: 0; }
.tier__head .tier__sub { font-size: .9rem; color: var(--muted); margin-top: .25rem; }
.tier__body { padding: 1.5rem; display: grid; gap: 1rem; flex: 1; }

/* Split media + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split--reverse .split__media { order: 2; }

/* Stats band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-band .stat { text-align: center; }
.stat-band .num { font-family: var(--ff-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--flame-500); line-height: 1; }
.stat-band .lbl { color: #bcd5c8; font-size: .9rem; margin-top: .5rem; }

/* Service area tags */
.tag-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1rem; font-weight: 600; font-size: .92rem; color: var(--green-800);
  font-family: var(--ff-head);
}
.tag svg { width: 15px; height: 15px; color: var(--flame-500); }

/* CTA panel */
.cta-panel {
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(249,115,22,.25), transparent 60%),
    linear-gradient(120deg, var(--green-700), var(--green-900));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center; box-shadow: var(--shadow);
}
.cta-panel h2 { color: #fff; }
.cta-panel p { color: #d6ebde; max-width: 52ch; margin: .75rem auto 0; }
.cta-panel .btn-row { justify-content: center; margin-top: 1.75rem; }

/* App badges */
.app-badges { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; }
.app-badges img { height: 46px; width: auto; transition: transform .15s ease; }
.app-badges a:hover img { transform: translateY(-2px); }

/* ------------------------------ Contact form --------------------------- */
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); font-family: var(--ff-head); }
.field label .req { color: var(--flame-600); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); padding: .8rem 1rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--cream); transition: border-color .15s, background .15s, box-shadow .15s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green-500); background: #fff; box-shadow: 0 0 0 4px var(--green-50);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: var(--flame-700); font-size: .82rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--flame-500); }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-note .req { color: var(--flame-600); }
.form-success {
  display: none; background: var(--green-50); border: 1px solid var(--green-100);
  color: var(--green-800); padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-weight: 500;
}
.form-success.show { display: block; }

/* Info list (contact details) */
.info-list { display: grid; gap: 1.25rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item__ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-700);
}
.info-item__ico svg { width: 22px; height: 22px; }
.info-item h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--ff-head); }
.info-item p, .info-item a { font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.info-item a:hover { color: var(--flame-600); }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ------------------------------ Footer --------------------------------- */
.site-footer { background: var(--green-900); color: #aecbbb; font-size: .95rem; }
.footer-cta {
  background: var(--flame-500);
  color: #fff;
}
.footer-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: 1.75rem; }
.footer-cta h3 { color: #fff; font-size: 1.5rem; }
.footer-cta p { color: #fff4ec; margin-top: .2rem; }
.footer-cta .btn--light { color: var(--flame-700); }

.footer-main { padding-block: clamp(3rem, 6vw, 4rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand img { height: 56px; background: #fff; padding: .55rem .7rem; border-radius: 12px; }
.footer-brand p { color: #93b3a2; margin-top: 1rem; max-width: 34ch; font-size: .92rem; }
.footer-col h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { color: #aecbbb; }
.footer-col a:hover { color: var(--flame-400); }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .9rem; }
.footer-contact svg { width: 17px; height: 17px; margin-top: 3px; color: var(--green-500); flex-shrink: 0; }
.footer-emergency {
  background: rgba(249,115,22,.12); border: 1px solid rgba(249,115,22,.35);
  border-radius: 12px; padding: 1rem 1.15rem; margin-top: 1.25rem;
}
.footer-emergency .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--flame-400); font-weight: 700; }
.footer-emergency a { color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: 1.25rem; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #80a08f; }
.footer-bottom a { color: #aecbbb; }

/* ------------------------------ Reveal anim ---------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------ Mobile menu ---------------------------- */
.scrim {
  position: fixed; inset: 0; background: rgba(13,58,34,.5); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; z-index: 90;
}
body.nav-open .scrim { opacity: 1; visibility: visible; }

/* ------------------------------ Responsive ----------------------------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .topbar__left .hide-sm { display: none; }

  .nav-wrap {
    position: fixed; top: 0; right: 0; height: 100dvh; width: min(360px, 88vw);
    background: #fff; box-shadow: var(--shadow-lg); z-index: 95;
    transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column; padding: 1.5rem; overflow-y: auto;
  }
  body.nav-open .nav-wrap { transform: translateX(0); }
  .nav-wrap .nav { flex-direction: column; align-items: stretch; gap: .25rem; width: 100%; }
  .nav > li > a { padding: .85rem .5rem; font-size: 1.05rem; justify-content: space-between; border-radius: 10px; }
  .nav > li { border-bottom: 1px solid var(--line); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; border-radius: 0; padding: 0 0 .5rem .5rem; min-width: 0;
    display: none;
  }
  .nav > li.is-open .dropdown { display: block; }
  .nav .caret { transition: transform .2s ease; }
  .nav-cta { flex-direction: column; align-items: stretch; gap: .6rem; margin-top: 1.25rem; }
  .nav-cta .btn { width: 100%; }
  .mobile-only-brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
}

@media (min-width: 861px) {
  .nav-wrap { display: flex !important; align-items: center; gap: 1.25rem; transform: none !important; }
  .mobile-only-brand { display: none; }
}

@media (max-width: 620px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .checklist.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta .container { flex-direction: column; align-items: flex-start; }
  .hero__stats { gap: 1.25rem; }
  :root { --gutter: 1.15rem; }
}

/* ======================================================================
   Photography, product photo-cards, animated dividers, parallax (added)
   ====================================================================== */

/* ---- Photo frames -------------------------------------------------- */
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--green-900); }
.media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-frame--wide { aspect-ratio: 16 / 11; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--sq   { aspect-ratio: 4 / 3; }

.hero__media .media-frame { border: 1px solid rgba(255,255,255,.16); }
.hero__media .media-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(8,43,24,.5)); }

/* Floating badge over a photo */
.media-badge {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(13,58,34,.8); color: #fff; backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: .5rem .95rem;
  font-family: var(--ff-head); font-weight: 600; font-size: .82rem;
}
.media-badge svg { width: 16px; height: 16px; color: var(--flame-400); }

/* ---- Product photo cards ------------------------------------------ */
.card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--photo .card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-50); }
.card--photo .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.card--photo:hover .card__media img { transform: scale(1.07); }
.card--photo .card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,58,34,.4)); }
.card--photo .card__body { padding: 1.4rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card--photo .card__body h3 { margin-bottom: .4rem; }
.card--photo .card__more { margin-top: auto; padding-top: 1rem; }

/* Split media that holds a real photo (override padded-illustration style) */
.split__media--photo img { background: none; padding: 0; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Banner photo (page hero accent / wide imagery) */
.photo-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 21 / 9; }
.photo-band__overlay { position: absolute; inset: 0; display: grid; align-items: end; padding: clamp(1.25rem,4vw,2.5rem); background: linear-gradient(180deg, transparent 40%, rgba(8,43,24,.7)); color: #fff; }
.photo-band__overlay h3 { color: #fff; }
.photo-band__overlay p { color: #d6ebde; margin-top: .25rem; }

/* ---- Animated wave dividers --------------------------------------- */
.swave {
  position: relative; height: 56px; line-height: 0; overflow: hidden;
  --wave-top: #fff; --wave-fill: var(--cream);
  background: var(--wave-top);
}
.swave::before, .swave::after {
  content: ""; position: absolute; inset: 0;
  background-color: var(--wave-fill);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60' preserveAspectRatio='none'%3E%3Cpath d='M0 38 C30 6 90 6 120 38 L120 60 L0 60 Z'/%3E%3C/svg%3E") repeat-x bottom / 120px 56px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60' preserveAspectRatio='none'%3E%3Cpath d='M0 38 C30 6 90 6 120 38 L120 60 L0 60 Z'/%3E%3C/svg%3E") repeat-x bottom / 120px 56px;
}
.swave::before { opacity: .45; animation: swaveA 13s linear infinite; }
.swave::after  { animation: swaveB 9s linear infinite; }
@keyframes swaveA { from { -webkit-mask-position: 0 bottom; mask-position: 0 bottom; } to { -webkit-mask-position: -120px bottom; mask-position: -120px bottom; } }
@keyframes swaveB { from { -webkit-mask-position: 0 bottom; mask-position: 0 bottom; } to { -webkit-mask-position: 120px bottom; mask-position: 120px bottom; } }

.swave--wt-white { --wave-top: #fff; }
.swave--wt-cream { --wave-top: var(--cream); }
.swave--wt-green { --wave-top: #143e26; }
.swave--wf-white { --wave-fill: #fff; }
.swave--wf-cream { --wave-fill: var(--cream); }
.swave--wf-green { --wave-fill: #143e26; }

/* Edge wave baked onto hero + page-hero (white = the white section beneath) */
.hero { position: relative; }
.hero--wave .hero__inner { padding-bottom: clamp(4.5rem, 9vw, 7.5rem); }
.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 54px; z-index: 3; pointer-events: none;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60' preserveAspectRatio='none'%3E%3Cpath d='M0 38 C30 6 90 6 120 38 L120 60 L0 60 Z'/%3E%3C/svg%3E") repeat-x bottom / 120px 54px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60' preserveAspectRatio='none'%3E%3Cpath d='M0 38 C30 6 90 6 120 38 L120 60 L0 60 Z'/%3E%3C/svg%3E") repeat-x bottom / 120px 54px;
  animation: swaveB 10s linear infinite;
}
.page-hero { position: relative; padding-bottom: clamp(2rem, 3.5vw, 2.75rem) !important; }
.page-hero--compact { padding-bottom: clamp(1.35rem, 2.5vw, 1.85rem) !important; }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; z-index: 2; pointer-events: none;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60' preserveAspectRatio='none'%3E%3Cpath d='M0 38 C30 6 90 6 120 38 L120 60 L0 60 Z'/%3E%3C/svg%3E") repeat-x bottom / 120px 46px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60' preserveAspectRatio='none'%3E%3Cpath d='M0 38 C30 6 90 6 120 38 L120 60 L0 60 Z'/%3E%3C/svg%3E") repeat-x bottom / 120px 46px;
  animation: swaveB 11s linear infinite;
}
/* page-hero that sits above a cream section */
.page-hero--to-cream::after { background: var(--cream); }

/* ---- Parallax ------------------------------------------------------ */
[data-parallax] { will-change: transform; }

/* ---- Honeypot (spam trap) ----------------------------------------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .swave::before, .swave::after, .hero-wave, .page-hero::after { animation: none !important; }
  [data-parallax] { transform: none !important; }
}

/* ------------------------------ Season promo bar ----------------------- */
.season-promo {
  background: linear-gradient(90deg, var(--green-900), var(--green-700), var(--green-900));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #eaf5ee;
  font-size: .92rem;
  max-height: 52px;
  overflow: hidden;
}
.season-promo .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  min-height: 40px;
  max-height: 52px;
  padding-block: .45rem;
  flex-wrap: wrap;
  text-align: center;
}
.season-promo__link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #eaf5ee;
  font-weight: 500;
  max-width: 100%;
}
.season-promo__link:hover { color: var(--flame-400); }
.season-promo__icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px !important;
  max-height: 16px !important;
  flex-shrink: 0;
  opacity: .95;
}
.season-promo svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex-shrink: 0;
}
.season-promo__cta {
  display: inline-flex;
  align-items: center;
  padding: .28rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.season-promo__cta:hover {
  background: #fff;
  color: var(--green-900);
}

/* Pumpkin Spice landing */
.psp-lead-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.psp-lead-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--flame-500), var(--flame-700));
  color: #fff;
}
.psp-lead-card__icon svg { width: 22px; height: 22px; }
.psp-lead-card p { margin: 0; font-size: .98rem; }
@media (max-width: 640px) {
  .psp-lead-card { flex-direction: column; }
}
.psp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 860px) {
  .psp-card-grid { grid-template-columns: 1fr; }
}


@media (max-width: 980px) {
  .photo-band img { aspect-ratio: 16 / 10; }
}


/* Contact form inline error */
.form-error {
  display: none; margin-top: 1rem; padding: .85rem 1.1rem;
  background: #fef2f2; border: 1px solid #fecaca; color: var(--flame-700);
  border-radius: var(--radius-sm); font-weight: 500; font-size: .95rem;
}
.form-error.show { display: block; }


/* ====================================================================
   Enlarged 3D overhanging masthead logo (added)
   ==================================================================== */
.site-header { background: rgba(255, 255, 255, .97); }
.navbar { overflow: visible; }
.brand { position: relative; align-self: center; }
.brand::before {
  content: ""; position: absolute; z-index: 0;
  left: -18px; right: -18px; top: -8px; bottom: -26px;
  background: #fff; border-radius: 0 0 22px 22px;
  box-shadow: 0 18px 28px -12px rgba(13, 58, 34, .4);
}
.brand img {
  position: relative; z-index: 1;
  height: 88px; width: auto; margin-bottom: -26px;
  filter: drop-shadow(0 4px 5px rgba(13, 58, 34, .12));
}
@media (max-width: 860px) {
  .brand img { height: 70px; margin-bottom: -20px; }
  .brand::before { left: -12px; right: -12px; top: -6px; bottom: -20px; border-radius: 0 0 16px 16px; }
}
@media (max-width: 620px) {
  .brand img { height: 58px; margin-bottom: -16px; }
  .brand::before { left: -10px; right: -10px; bottom: -16px; }
}


/* ====================================================================
   Logo tab: drop top edge inside the white bar (kills the top breach)
   ==================================================================== */
.navbar { min-height: 80px; }
.brand::before { top: 2px; }
@media (max-width: 860px) {
  .navbar { min-height: 74px; }
  .brand::before { top: 2px; }
}
@media (max-width: 620px) {
  .brand::before { top: 2px; }
}

/* ====================================================================
   Kill horizontal scroll/jiggle on mobile (off-canvas menu overflow)
   clip keeps the sticky header working; hidden is the old-browser fallback
   ==================================================================== */
html { overflow-x: hidden; overflow-x: clip; }
body { overflow-x: hidden; overflow-x: clip; }


/* ---- Careers QR + PSP campaign page -------------------------------- */
.careers-qr { display: flex; justify-content: center; }
.careers-qr__card {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  padding: 1.25rem; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); text-decoration: none; color: var(--green-900);
  font-weight: 600; font-size: .9rem;
}
.careers-qr__card img { width: 180px; height: 180px; display: block; }
.page-hero--psp {
  background: linear-gradient(145deg, #3f1d0a 0%, #7c2d12 45%, #9a3412 100%);
}
.psp-hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center;
  margin-top: 1rem;
}
.psp-hero__copy h1 { color: #fff; margin: .35rem 0 1rem; font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.psp-hero__copy .lead { color: rgba(255,255,255,.9); }
.psp-hero__tag { color: #fdba74; font-weight: 600; margin: .75rem 0 1.25rem; }
.psp-hero__art img {
  width: 100%; max-width: 420px; height: auto; display: block; margin-inline: auto;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.35));
}
.psp-contest .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.psp-contest label {
  display: flex; flex-direction: column; gap: .4rem;
  font-weight: 500; font-size: .92rem; margin-bottom: 1rem;
}
.psp-contest input, .psp-contest textarea {
  font: inherit; padding: .75rem .9rem; border-radius: 10px;
  border: 1px solid var(--line); background: #fff;
}
.psp-contest .form-success {
  display: none; margin-top: 1rem; padding: .85rem 1.1rem;
  background: #ecfdf5; border: 1px solid #a7f3d0; color: var(--green-900);
  border-radius: var(--radius-sm); font-weight: 500;
}
.psp-contest .form-success.show, .psp-contest .form-success:not([hidden]).show { display: block; }
.psp-contest .form-success.show { display: block; }
@media (max-width: 860px) {
  .psp-hero { grid-template-columns: 1fr; }
  .psp-contest .form-row { grid-template-columns: 1fr; }
}


/* ---- PSP short yarn / photo strip ---------------------------------- */
.psp-yarn {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.75rem;
}
.psp-yarn__beat {
  padding: 1.35rem 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.psp-yarn__num {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: .65rem;
  border-radius: 999px;
  background: var(--flame-500);
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: .85rem;
}
.psp-yarn__beat h3 { margin: 0 0 .45rem; font-size: 1.15rem; }
.psp-yarn__beat p { margin: 0; color: var(--muted); font-size: .95rem; }
.psp-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 2.75rem;
}
.psp-photo-strip figure { margin: 0; }
.psp-photo-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: transparent;
  padding: .35rem;
}
.psp-hero__art img {
  background: transparent;
}
.psp-photo-strip figcaption {
  margin-top: .55rem;
  font-size: .88rem;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 860px) {
  .psp-yarn, .psp-photo-strip { grid-template-columns: 1fr; }
  .psp-photo-strip img { aspect-ratio: 16 / 10; }
}


/* PSP magazine feature */
.psp-feature {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 1.75rem;
  align-items: center;
  margin-top: 2.75rem;
  max-width: 720px;
  margin-inline: auto;
}
.psp-feature__cover {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.psp-feature__cover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.psp-feature__cover img {
  display: block;
  width: 100%;
  height: auto;
}
.psp-feature__copy h3 { margin-bottom: .5rem; }
.psp-feature__copy .btn { margin-top: 1rem; }
@media (max-width: 640px) {
  .psp-feature { grid-template-columns: 160px 1fr; gap: 1.25rem; }
}
