@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Zilla+Slab:wght@500;600;700&display=swap');

:root {
  --background: #f7f5ef;
  --foreground: #17171a;
  --card: #ffffff;
  --muted: #5c5c60;
  --border: #17171a;
  --signal: #d8341f;
  --signal-foreground: #ffffff;
  --secondary: #ece9e0;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.font-display {
  font-family: "Zilla Slab", Georgia, serif;
}

.tnum { font-variant-numeric: tabular-nums; }

.misreg {
  text-shadow: 0.055em 0.055em 0 rgba(216, 52, 31, 0.28);
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.header-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand img { height: 42px; width: auto; object-fit: contain; }
.main-nav { margin-left: 1.5rem; display: none; gap: 0.25rem; }
.main-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: var(--signal); }

.header-search {
  margin-left: auto;
  display: none;
  align-items: center;
  max-width: 320px;
  flex: 1;
}
.header-search input {
  height: 40px;
  width: 100%;
  border: 1px solid rgba(23,23,26,0.3);
  background: var(--card);
  padding: 0 0.75rem;
  font-size: 0.9rem;
  outline: none;
}
.header-search input:focus { border-color: var(--foreground); }
.header-search button {
  height: 40px;
  width: 44px;
  flex-shrink: 0;
  border: 1px solid var(--foreground);
  border-left: none;
  background: var(--foreground);
  color: var(--background);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-search button:hover { background: var(--signal); border-color: var(--signal); }

.menu-toggle {
  margin-left: auto;
  height: 40px; width: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(23,23,26,0.15);
  padding: 1rem 1.25rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.6rem 0.25rem;
  font-size: 1rem;
  font-weight: 500;
  border-left: 2px solid transparent;
}
.mobile-menu a:hover { border-left-color: var(--signal); color: var(--signal); }
.mobile-search { display: flex; margin-bottom: 0.75rem; }
.mobile-search input {
  height: 44px; width: 100%; border: 1px solid rgba(23,23,26,0.3);
  background: var(--card); padding: 0 0.75rem; font-size: 0.95rem; outline: none;
}
.mobile-search button {
  height: 44px; width: 48px; border: 1px solid var(--foreground); border-left: none;
  background: var(--foreground); color: var(--background); cursor: pointer;
}

@media (min-width: 768px) {
  .header-search { display: flex; }
}
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 48px;
  padding: 0 1.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border: 1px solid var(--foreground);
  transition: all 0.15s ease;
}
.btn-primary { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn-primary:hover { background: var(--foreground); border-color: var(--foreground); }
.btn-outline { background: transparent; color: var(--foreground); }
.btn-outline:hover { background: var(--foreground); color: var(--background); }
.btn-outline-light { background: transparent; color: var(--background); border-color: rgba(247,245,239,0.5); }
.btn-outline-light:hover { background: var(--background); color: var(--foreground); border-color: var(--background); }

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--border); }
.hero-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0;
}
.eyebrow {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.28em; color: var(--signal);
}
.hero h1 {
  font-family: "Zilla Slab", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.02;
  margin: 0.75rem 0;
  letter-spacing: -0.01em;
}
.hero p.lead { max-width: 32rem; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
.hero-stats {
  margin-top: 3rem; display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem; border-top: 1px solid rgba(23,23,26,0.2); padding-top: 1.25rem; max-width: 30rem;
}
.hero-stats dt { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.hero-stats dd { font-family: "Zilla Slab", Georgia, serif; font-size: 1.9rem; font-weight: 700; margin: 0.2rem 0 0; }
.hero-figure { position: relative; border: 1px solid var(--foreground); background: var(--card); }
.hero-figure img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.hero-figure figcaption {
  display: flex; justify-content: space-between; border-top: 1px solid var(--foreground);
  padding: 0.5rem 1rem; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted);
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 6fr 6fr; align-items: center; } }

/* Hero slider */
.hero-slider {
  position: relative; border: 1px solid var(--foreground); background: var(--card);
  aspect-ratio: 4/3; overflow: hidden; touch-action: pan-y;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 0.6s ease; z-index: 1;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.hero-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: rgba(23,23,26,0.85); color: #f7f5ef;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 1rem; font-size: 0.64rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
}
.hero-slider-dots { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 4; display: flex; gap: 0.4rem; }
.hero-slider-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 1px solid #fff;
  background: rgba(255,255,255,0.35); padding: 0; cursor: pointer;
}
.hero-slider-dots button.active { background: #fff; }
.hero-slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.6);
  background: rgba(23,23,26,0.5); color: #fff; display: flex; align-items: center;
  justify-content: center; cursor: pointer; font-size: 1rem;
}
.hero-slider-nav:hover { background: var(--signal); border-color: var(--signal); }
.hero-slider-prev { left: 0.6rem; }
.hero-slider-next { right: 0.6rem; }
@media (max-width: 480px) {
  .hero-slider-nav { width: 28px; height: 28px; }
  .hero-slide-caption { font-size: 0.58rem; padding: 0.45rem 0.75rem; }
}

/* ---------- Sections ---------- */
section { border-bottom: 1px solid var(--border); }
section.bg-card { background: var(--secondary); }
section.bg-dark { background: var(--foreground); color: var(--background); }
.section-inner { padding: 3.5rem 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.section-head h2 { font-family: "Zilla Slab", Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0.3rem 0 0; }
.link-arrow { font-size: 0.9rem; font-weight: 600; color: var(--signal); }
.link-arrow:hover { text-decoration: underline; }

/* Category list */
.cat-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--border); display: grid; }
.cat-list li { border-bottom: 1px solid rgba(23,23,26,0.2); }
.cat-list a { display: flex; align-items: baseline; justify-content: space-between; padding: 1rem 0.5rem; gap: 1rem; transition: background 0.15s, color 0.15s; }
.cat-list a:hover { background: var(--foreground); color: var(--background); }
.cat-num { font-size: 0.75rem; font-weight: 700; color: var(--signal); margin-right: 1rem; }
.cat-label { font-family: "Zilla Slab", Georgia, serif; font-size: 1.25rem; font-weight: 600; }
@media (min-width: 640px) { .cat-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cat-list { grid-template-columns: 1fr 1fr 1fr; } }

/* Pillars / grid cards */
.pillar-grid {
  display: grid; gap: 1px; background: var(--foreground); border: 1px solid var(--foreground);
  margin-top: 2.5rem;
}
.pillar-card { background: var(--background); padding: 1.5rem; transition: background 0.15s, color 0.15s; }
.pillar-card:hover { background: var(--foreground); color: var(--background); }
.pillar-card h3 { font-family: "Zilla Slab", Georgia, serif; font-size: 1.25rem; margin: 1.1rem 0 0.4rem; }
.pillar-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.pillar-card:hover p { color: rgba(247,245,239,0.75); }
@media (min-width: 640px) { .pillar-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pillar-grid { grid-template-columns: repeat(4,1fr); } }

.icon { color: var(--signal); }

/* Steps */
.steps-grid { display: grid; gap: 2rem; margin-top: 2.5rem; border-top: 1px solid rgba(247,245,239,0.2); padding-top: 2rem; }
.steps-grid .step-num { font-size: 0.85rem; font-weight: 700; color: var(--signal); }
.steps-grid h3 { font-family: "Zilla Slab", Georgia, serif; font-size: 1.4rem; margin: 0.6rem 0 0.3rem; }
.steps-grid p { font-size: 0.9rem; color: rgba(247,245,239,0.7); margin: 0; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3,1fr); } }

/* Why grid */
.why-wrap { display: grid; gap: 2.5rem; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.why-list li { border-top: 1px solid rgba(23,23,26,0.25); padding-top: 1.1rem; }
.why-list .num { font-size: 0.75rem; font-weight: 700; color: var(--signal); }
.why-list h3 { font-family: "Zilla Slab", Georgia, serif; font-size: 1.1rem; margin: 0.4rem 0 0.3rem; }
.why-list p { font-size: 0.9rem; color: var(--muted); margin: 0; }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-wrap { grid-template-columns: 4fr 8fr; } }

/* Assurances */
.assure-grid { display: grid; gap: 1px; background: var(--foreground); border-top: 1px solid var(--foreground); }
.assure-card { background: var(--secondary); padding: 1.5rem; }
.assure-top { display: flex; justify-content: space-between; align-items: center; }
.assure-card h3 { font-family: "Zilla Slab", Georgia, serif; font-size: 1.1rem; margin: 1rem 0 0.3rem; }
.assure-card p { font-size: 0.87rem; color: var(--muted); margin: 0; }
@media (min-width: 640px) { .assure-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .assure-grid { grid-template-columns: repeat(4,1fr); } }

/* CTA banner */
.cta-banner { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; padding: 3.5rem 0; }
.cta-banner h2 { font-family: "Zilla Slab", Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.4rem); max-width: 32rem; margin: 0.4rem 0 0; }

/* ---------- Product grid ---------- */
.product-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2,1fr); margin-top: 1.5rem; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4,1fr); } }

.product-card {
  border: 1px solid rgba(23,23,26,0.25); background: var(--card);
  display: flex; flex-direction: column; transition: border-color 0.15s;
}
.product-card:hover { border-color: var(--foreground); }
.product-thumb { aspect-ratio: 1/1; overflow: hidden; background: #f1f0eb; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(23,23,26,0.15); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 0.9rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--signal); }
.product-title { font-family: "Zilla Slab", Georgia, serif; font-size: 1.05rem; font-weight: 600; margin: 0.35rem 0 0; line-height: 1.25; }
.product-link { margin-top: auto; padding-top: 0.9rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--foreground); }
.product-link:hover { color: var(--signal); }

/* Shop toolbar */
.shop-head { border-bottom: 1px solid var(--border); padding-bottom: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.shop-head h1 { font-family: "Zilla Slab", Georgia, serif; font-size: clamp(2.2rem, 5vw, 3rem); margin: 0.4rem 0 0; }
.shop-toolbar { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  border: 1px solid rgba(23,23,26,0.25); background: var(--card); padding: 0.5rem 0.85rem;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  cursor: pointer;
}
.chip:hover { border-color: var(--foreground); }
.chip.active { border-color: var(--foreground); background: var(--foreground); color: var(--background); }
.chip.active.signal { border-color: var(--signal); background: var(--signal); color: #fff; }
.empty-state { padding: 3rem 0; text-align: center; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--foreground); color: var(--background); }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; }
.footer-logo-img { height: 44px; width: auto; object-fit: contain; }
.footer-name { font-family: "Zilla Slab", Georgia, serif; font-size: 1.1rem; font-weight: 700; display: block; }
.footer-sub { font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: rgba(247,245,239,0.6); }
.footer-grid p { font-size: 0.88rem; color: rgba(247,245,239,0.7); line-height: 1.6; }
.footer-grid h3 { font-family: "Zilla Slab", Georgia, serif; font-size: 1rem; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-grid ul a { font-size: 0.88rem; color: rgba(247,245,239,0.7); }
.footer-grid ul a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.88rem; color: rgba(247,245,239,0.7); margin-bottom: 0.7rem; }
.footer-bottom { border-top: 1px solid rgba(247,245,239,0.15); padding: 1.1rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: space-between; font-size: 0.72rem; color: rgba(247,245,239,0.5); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4,1fr); } }

/* ---------- Generic content pages ---------- */
.page-head { padding: 3rem 0 2rem; }
.page-head h1 { font-family: "Zilla Slab", Georgia, serif; font-size: clamp(2.2rem, 5vw, 3rem); margin: 0.4rem 0 0; }
.policy { max-width: 42rem; margin: 0 auto; padding: 3rem 0; }
.policy-section { border-top: 1px solid rgba(23,23,26,0.2); padding: 1.75rem 0; }
.policy-section h2 { font-family: "Zilla Slab", Georgia, serif; font-size: 1.3rem; margin: 0 0 0.6rem; }
.policy-section p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; margin: 0; }
.policy-updated { font-size: 0.78rem; color: var(--muted); margin-top: 0.5rem; }

/* FAQ accordion */
.faq-list { margin-top: 2rem; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid rgba(23,23,26,0.2); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.2rem 0; display: flex; align-items: baseline; gap: 1rem; font-family: inherit;
}
.faq-q .num { font-size: 0.72rem; font-weight: 700; color: var(--signal); flex-shrink: 0; }
.faq-q .q-text { font-family: "Zilla Slab", Georgia, serif; font-size: 1.05rem; font-weight: 600; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.2s ease; padding-left: 2.1rem; }
.faq-a p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 0 0 1.2rem; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-toggle-icon { margin-left: auto; flex-shrink: 0; transition: transform 0.15s; }
.faq-item.open .faq-toggle-icon { transform: rotate(45deg); }

/* Contact page */
.contact-grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.contact-card { border: 1px solid var(--border); background: var(--card); padding: 1.5rem; }
.contact-card h2 { font-family: "Zilla Slab", Georgia, serif; font-size: 1.25rem; margin: 0 0 1.2rem; }
.contact-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; font-size: 0.9rem; }
.contact-card ul li { display: flex; align-items: flex-start; gap: 0.6rem; }
.contact-note { border: 1px solid rgba(23,23,26,0.2); padding: 1.25rem; background: repeating-radial-gradient(rgba(216,52,31,0.5) 1px, transparent 1.4px); background-size: 8px 8px; }
.contact-note-inner { background: var(--background); padding: 1rem; }
.contact-form { border: 1px solid var(--border); background: var(--card); padding: 1.75rem; }
.form-row { display: grid; gap: 1.1rem; margin-bottom: 1.1rem; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.78rem; font-weight: 600; margin-bottom: 0.35rem; }
.field input, .field textarea {
  width: 100%; border: 1px solid rgba(23,23,26,0.3); background: var(--background);
  padding: 0.65rem 0.75rem; font-family: inherit; font-size: 0.92rem; outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--foreground); }
.field textarea { min-height: 120px; resize: vertical; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }

/* Product detail */
.pd-grid { display: grid; gap: 2.5rem; margin-top: 2rem; }
.pd-image { border: 1px solid var(--border); background: var(--card); aspect-ratio: 1/1; overflow: hidden; }
.pd-image img { width: 100%; height: 100%; object-fit: cover; }
.pd-cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--signal); }
.pd-title { font-family: "Zilla Slab", Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0.5rem 0 1rem; }
.pd-desc { color: var(--muted); font-size: 1rem; line-height: 1.65; }
.pd-note { margin-top: 1.5rem; border: 1px solid rgba(23,23,26,0.2); background: var(--secondary); padding: 1rem 1.2rem; font-size: 0.88rem; color: var(--muted); }
@media (min-width: 1024px) { .pd-grid { grid-template-columns: 1fr 1fr; } }

/* 404 */
.notfound { text-align: center; padding: 6rem 0; }
.notfound .code { font-family: "Zilla Slab", Georgia, serif; font-size: clamp(4rem,14vw,8rem); font-weight: 700; color: var(--signal); line-height: 1; }

.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;
}
