/* neoTrekk Travel Gear — main stylesheet
   Palette from the brand record: flame blue #3D7BFF, green #008000,
   copper #B07A4E, ceramic cream #EDE6D6, label red #FF0000 / yellow #FFE000. */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* REPLACEABLE IMAGES
     All photos are referenced with <img src="assets/..."> in the HTML
     (see assets/manifest.json). No CSS background images are used. */

  /* Brand colours */
  --green: #008000;          /* owner's tagline / price green */
  --green-dark: #006400;     /* hover, pressed */
  --green-tint: #e9f4e9;
  --flame: #3d7bff;          /* signature alcohol flame */
  --flame-light: #7fa8ff;
  --flame-dark: #1f56d0;     /* flame blue darkened for text on white */
  --copper: #b07a4e;
  --copper-dark: #85552f;    /* copper darkened for text */
  --cream: #ede6d6;          /* the ceramic Stones */
  --cream-light: #f7f3ea;
  --label-red: #ff0000;
  --label-red-text: #d00000; /* red darkened for small text on white */
  --label-yellow: #ffe000;
  --brown: #a52a2a;          /* the season banner */

  /* Neutrals */
  --ink: #1a1a1a;
  --ink-soft: #444;
  --line: #ddd8cc;
  --white: #fff;
  --night: #15171b;

  --font: "Archivo", Arial, "Helvetica Neue", Helvetica, sans-serif;
  --radius: 6px;
  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --space: clamp(3.5rem, 8vw, 6rem);
  --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);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
picture { display: block; }

a { color: var(--flame-dark); text-underline-offset: 0.15em; }
a:hover { color: var(--green-dark); }

:focus-visible {
  outline: 3px solid var(--flame);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden, .hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  background: var(--ink); color: var(--white);
  padding: 0.6rem 1rem; z-index: 100;
  border-radius: var(--radius);
}
.skip-link:focus { top: 0.5rem; color: var(--white); }

/* ~ the tilde motif, used as a quiet separator */
.tilde { color: var(--copper); font-weight: 400; padding: 0 0.15em; }

/* ---------- Buttons (one vocabulary: Add to cart / View cart / Shop the stoves / Txt / Email) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.4em;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green-tint); color: var(--green-dark); }
.btn--small { min-height: 40px; padding: 0.45em 1em; font-size: 0.95rem; white-space: nowrap; }
.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

form.inline { display: inline; margin: 0; }

/* ---------- Season banner ---------- */
.banner {
  background: var(--cream);
  color: var(--brown);
  text-align: center;
  font-style: italic;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem var(--gutter);
}
.banner p { margin: 0; }
@media (max-width: 599px) { .banner { font-size: 0.85rem; padding: 0.35rem 0.75rem; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1rem;
  min-height: var(--header-h);
}
.header-bar > .logo, .header-bar > .header-actions { min-height: var(--header-h); display: flex; align-items: center; }
.logo { display: block; flex: none; margin-right: auto; }
.logo img { width: 150px; height: auto; }
@media (max-width: 599px) {
  .header-bar { gap: 0 0.5rem; }
  .header-actions .btn--small { padding: 0.45em 0.75em; }
  h1 { font-size: 1.9rem; }
  .hero-grid { gap: 1.25rem; }
  .hero .cta-row { margin: 1.25rem 0; }
}
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-txt { display: none; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-txt:hover { color: var(--green-dark); }
.nav-toggle { display: none; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem 1.25rem;
}
.site-nav a {
  display: block;
  padding: 0.6rem 0;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--green); }

/* Without JS: the nav is a scrolling row under the logo */
.site-nav {
  order: 3;
  flex-basis: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
}

/* With JS on small screens: a toggle */
@media (max-width: 899px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
  }
  .js .nav-toggle svg { width: 22px; height: 22px; }
  .js .site-nav { display: none; overflow: visible; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; padding: 0.5rem 0 1rem; }
  .js .site-nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--cream); }
}

@media (min-width: 600px) {
  .header-txt { display: inline; }
  .logo img { width: 210px; }
}
@media (min-width: 900px) {
  :root { --header-h: 84px; }
  .header-bar { flex-wrap: nowrap; }
  .logo { margin-right: 0; }
  .site-nav { order: 0; flex-basis: auto; border: 0; margin: 0 auto 0 1.5rem; padding: 0; overflow: visible; }
  .site-nav ul { gap: 1.4rem; }
  .logo img { width: 240px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.tagline {
  color: var(--green);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  margin-bottom: 0.6rem;
}
.tagline .tilde { color: var(--green); opacity: .6; }
.lead { font-size: clamp(1.1rem, 1rem + 0.35vw, 1.25rem); color: var(--ink-soft); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 1.5rem; }
.hero-proof {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: 34em;
}
.hero-proof svg { flex: none; width: 1.4rem; height: 1.4rem; color: var(--label-red); margin-top: 0.1rem; }
.hero-photo img { border-radius: var(--radius); width: 100%; }
.hero-photo figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.5rem; }
@media (max-width: 899px) {
  .hero { padding-top: 1rem; }
  .hero-photo { order: -1; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

/* ---------- Benefits strip ---------- */
.benefits {
  background: var(--green);
  color: var(--white);
  padding: 1.5rem 0;
}
.benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem 2rem;
}
.benefits li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 600;
  line-height: 1.35;
}
.benefits svg { flex: none; width: 1.3rem; height: 1.3rem; color: var(--label-yellow); margin-top: 0.05rem; }
@media (min-width: 700px) { .benefits ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .benefits ul { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
.section--cream { background: var(--cream-light); }
.section--night { background: var(--night); color: #f2f2f2; }
.section-head { max-width: 46em; margin-bottom: 2.5rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section--night .section-head p { color: #cfd3da; }

/* ---------- Video proof ---------- */
.proof-grid { display: grid; gap: 2rem; align-items: center; }
.proof-photo { margin: 0; max-width: 420px; justify-self: center; width: 100%; }
.proof-grid img { border-radius: var(--radius); width: 100%; }
.see-fire { color: #ff5a5a; font-style: italic; font-weight: 800; display: block; margin-bottom: 0.4rem; }
.stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.stats strong { display: block; font-size: 2rem; line-height: 1; color: var(--flame-light); font-weight: 800; }
.stats span { font-size: 0.95rem; color: #cfd3da; }
.proof-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.proof-links a.text-link { color: #fff; font-weight: 600; }
.proof-links a.text-link:hover { color: var(--flame-light); }
.btn--play { background: var(--label-red-text); border-color: var(--label-red-text); }
.btn--play:hover { background: #a80000; border-color: #a80000; }
@media (min-width: 900px) { .proof-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- Catalog overview ---------- */
.catalog-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--cream-light);
}
.product-card .card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { margin-bottom: 0.3rem; }
.product-card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 1rem; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.price { color: var(--green); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.card-link { font-weight: 700; color: var(--green); text-decoration: none; }
.card-link::after { content: " \2192"; }
.card-link:hover { color: var(--green-dark); text-decoration: underline; }

/* ---------- How it works ---------- */
.how-grid { display: grid; gap: 2.5rem; align-items: start; }
.steps { list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: step; display: grid; gap: 1.25rem; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.25rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 2.3rem; height: 2.3rem;
  border-radius: 50%;
  background: var(--flame-dark);
  color: var(--white);
  font-weight: 800;
  display: grid;
  place-items: center;
}
.steps strong { display: block; font-size: 1.1rem; }
.no-list {
  border-left: 4px solid var(--copper);
  padding: 0.25rem 0 0.25rem 1.1rem;
  font-size: 1.05rem;
}
.no-list p:last-child { margin-bottom: 0; }
.how-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.how-photos figure { margin: 0; }
.how-photos img { border-radius: var(--radius); width: 100%; }
.how-photos figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.4rem; }
.how-photos .wide { grid-column: 1 / -1; }
@media (min-width: 900px) { .how-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- Product detail ---------- */
.product { padding: var(--space) 0; border-top: 1px solid var(--line); }
.product:nth-of-type(even) { background: var(--cream-light); }
.product-grid { display: grid; gap: 2rem; align-items: start; }
.gallery-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.gallery-main a, .thumbs a { display: block; cursor: zoom-in; }
.thumbs {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color .15s;
}
.thumbs a:hover img { border-color: var(--green); }
.gallery-note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.6rem; }
.subtitle { color: var(--copper-dark); font-weight: 700; font-style: italic; font-size: 1.1rem; margin-top: -0.35rem; }
.specs { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: 0.5rem; }
.specs li { position: relative; padding-left: 1.7rem; }
.specs li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 0.8rem; height: 0.8rem;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--flame);
}
.buy-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.buy-box .price { font-size: 2rem; }
.buy-box .postage { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.35; margin: 0; }
.buy-box form { margin: 0 0 0 auto; }
details.more { border-top: 1px solid var(--line); padding-top: 0.5rem; }
details.more summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--green);
  padding: 0.5rem 0;
  list-style: none;
}
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+ "; display: inline-block; width: 1.1em; }
details.more[open] summary::before { content: "\2013 "; }
details.more summary:hover { color: var(--green-dark); }
.more-body { padding-top: 0.5rem; }
.more-body h3 { margin-top: 1.5rem; font-size: 1.1rem; }
.more-body figure { margin: 1.5rem 0; max-width: 360px; }
.more-body figure img { border-radius: var(--radius); }
.more-body figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.4rem; }
.callout {
  background: var(--green-tint);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  font-weight: 600;
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: 5fr 6fr; gap: 3.5rem; }
  .product--flip .product-media { order: 2; }
  .product-media { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---------- Ordering ---------- */
.order-grid { display: grid; gap: 1.25rem; }
.order-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.order-card h3 { font-size: 1.15rem; }
.order-card p:last-child, .order-card form:last-child { margin-bottom: 0; }
.order-card .price { font-size: 1.3rem; }
@media (min-width: 800px) { .order-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Story ---------- */
.story-grid { display: grid; gap: 2.5rem; align-items: center; }
.story-photo { margin: 0; max-width: 460px; }
.story-photo img { border-radius: var(--radius); width: 100%; }
.patent {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.7rem 1rem;
  border: 1px solid var(--copper);
  border-radius: var(--radius);
  color: var(--copper-dark);
  font-weight: 700;
  background: var(--white);
}
.patent svg { width: 1.3rem; height: 1.3rem; flex: none; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 2fr 3fr; gap: 4rem; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.contact-list svg { width: 1.35rem; height: 1.35rem; color: var(--green); flex: none; margin-top: 0.15rem; }
.contact-list a { font-weight: 700; font-size: 1.1rem; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid #b9b3a6;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 3px solid var(--flame-light); border-color: var(--flame-dark); }
.field textarea { min-height: 140px; resize: vertical; }
.cf-turnstile { margin: 0.5rem 0 1rem; min-height: 65px; }
.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status.is-ok { color: var(--green-dark); }
.form-status.is-error { color: var(--label-red-text); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 2fr 3fr; gap: 4rem; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night);
  color: #d6d9de;
  padding: 3.5rem 0 2rem;
  font-size: 0.98rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--flame-light); }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
.footer-logo { background: var(--white); display: inline-block; padding: 0.6rem 0.8rem; border-radius: var(--radius); margin-bottom: 1rem; }
.footer-logo img { width: 190px; }
.footer-tagline { color: #8fd18f; font-style: italic; font-weight: 700; }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 0.75rem; letter-spacing: 0; }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.fine { border-top: 1px solid #2c2f35; padding-top: 1.5rem; font-size: 0.85rem; color: #a9aeb6; }
.fine p { margin: 0 0 0.4rem; }
.fine a { color: #c9cdd3; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 94vw;
  max-height: 94vh;
}
.lightbox::backdrop { background: rgba(10, 12, 15, .88); }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; border-radius: var(--radius); background: #fff; }
.lightbox p { color: #fff; margin: 0.5rem 0 0; font-size: 0.95rem; }
.lightbox button {
  position: fixed;
  top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- 404 ---------- */
.notfound { padding: var(--space) 0; text-align: center; }
.notfound img { margin: 0 auto 2rem; max-width: 420px; width: 100%; border-radius: var(--radius); }
.notfound .cta-row { justify-content: center; }
