/* Innomoto refreshed design. Used by layouts/modern.njk. */

/* Self-hosted Latin subsets (SIL Open Font License), preloaded in the layout */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700 800;
  font-stretch: 87.5%;
  font-display: swap;
  src: url("/fonts/archivo-condensed-latin.woff2") format("woff2");
}

:root {
  --ink: #16181b;
  --ink-soft: #3a3f45;
  --muted: #4a4f56;
  --muted-on-dark: #c9ccd0;
  --paper: #ffffff;
  --sand: #f4f2ef;
  --line: #e6e3df;
  --line-strong: #c9c5bf;
  --brand: #c0392b;
  --brand-dark: #8f2a20;
  --brand-tint: #f0a59c;
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
a { color: var(--ink); }
a:hover { color: var(--brand-dark); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}
.btn-lg { padding: 16px 26px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost-light { color: #fff; border-color: var(--muted); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Shared type */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin: 0;
}
.display {
  font-family: var(--display);
  font-stretch: 87.5%;
  font-weight: 800;
  line-height: 1.06;
  margin: 0;
}
.section-title { font-size: clamp(32px, 3.6vw, 46px); }
.lead { font-size: 18px; color: var(--muted); margin: 0; }
.section { padding: 96px 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 48px; }
.sand { background: var(--sand); }
.dark { background: var(--ink); color: #fff; }
.dark .lead { color: var(--muted-on-dark); }

.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; gap: 10px; }
.checklist svg { flex: none; margin-top: 3px; }

/* Top bar */
.topbar { background: var(--ink); color: #d6d8db; font-size: 13px; }
.topbar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-top: 10px; padding-bottom: 10px; }
.topbar-group { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.topbar a { color: #fff; text-decoration: none; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand img { height: 50px; width: auto; }
.nav-toggle { display: none; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.main-nav a:not(.btn) { text-decoration: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
  }
  .main-nav { display: none; }
  .nav-open .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(22, 24, 27, 0.08);
  }
  .nav-open .main-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-open .main-nav .btn { margin-top: 16px; justify-content: center; }
}

/* Hero */
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-copy h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -0.01em; }
.hero-copy .lead { max-width: 560px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--ink-soft); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-media { flex: 1 1 460px; min-width: 0; position: relative; }
.hero-media img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius); }
.hero-badge {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: max-content;
  background: var(--paper);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.35;
  box-shadow: 0 6px 24px rgba(22, 24, 27, 0.18);
}
.hero-badge strong { display: block; font-size: 14px; font-weight: 600; }
.hero-badge span { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) {
  .hero-media img { height: 320px; }
}

/* Brands */
.brands { border-bottom: 1px solid var(--line); }
.brands-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.brands .eyebrow { color: #5a5f66; }
.brand-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 44px; }
.brand-logos img { height: 56px; width: auto; filter: grayscale(1); opacity: 0.75; }

/* Two ways to buy */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.path-card { border-radius: 12px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.path-card h3 { font-size: 34px; font-weight: 700; }
.path-card p { margin: 0; font-size: 17px; }
.path-card .btn-row { margin-top: auto; padding-top: 12px; }
.path-wholesale { background: var(--ink); color: #fff; }
.path-wholesale .eyebrow { color: var(--brand-tint); }
.path-wholesale p { color: var(--muted-on-dark); }
.path-wholesale .checklist { color: #e6e7e9; }
.path-retail { background: var(--sand); }
.path-retail p { color: var(--muted); }
@media (max-width: 600px) {
  .path-card { padding: 28px; }
}

/* Steps */
.steps-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.steps-head .section-head { margin-bottom: 0; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.steps li { border-top: 2px solid var(--brand); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--display); font-stretch: 87.5%; font-weight: 800; font-size: 40px; line-height: 1; color: var(--brand-tint); }
.steps h3 { margin: 0; font-size: 19px; font-weight: 600; }
.steps p { margin: 0; color: var(--muted-on-dark); font-size: 15px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 32px; }
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature-icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--sand); display: flex; align-items: center; justify-content: center; }
.feature h3 { margin: 0; font-size: 19px; font-weight: 600; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Community */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { display: flex; flex-direction: column; gap: 4px; }
.gallery strong { font-size: 17px; font-weight: 600; }
.gallery span { color: var(--muted); font-size: 15px; }

/* Visit */
.visit { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.visit-media { flex: 1 1 520px; min-width: 0; }
.visit-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--radius); }
.visit-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.details { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 14px 24px; }
.details dt { font-weight: 600; }
.details dd { margin: 0; color: var(--ink-soft); }
.visit-info p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 480px) {
  .details { grid-template-columns: 1fr; gap: 2px; }
  .details dd { margin-bottom: 12px; }
}

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-on-dark); font-size: 15px; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-about { display: flex; flex-direction: column; gap: 14px; }
.footer-about p { margin: 0; max-width: 360px; }
.footer-logo { background: var(--paper); border-radius: 8px; padding: 10px 14px; align-self: flex-start; }
.footer-logo img { height: 40px; width: auto; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink-soft); display: flex; align-items: center; justify-content: center; color: #fff; }
.social a:hover { border-color: #fff; color: #fff; }
.bir-seal { width: 100%; max-width: 340px; border-radius: 4px; margin-top: 10px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav h2 { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: #fff; }
.site-footer nav a { color: var(--muted-on-dark); text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2e3237; margin-top: 48px; padding-top: 24px; font-size: 13px; color: #9a9ea4; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

/* Check-mark colours */
.hero-trust svg, .checklist svg { color: var(--brand-dark); }
.path-wholesale .checklist svg { color: var(--brand-tint); }

/* ---------- Inner pages ---------- */

/* Page header */
.page-hero { background: var(--sand); }
.page-hero-inner { padding-top: 64px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 14px; }
.page-hero-inner > * { max-width: 760px; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 58px); }

/* Long-form text */
.prose { max-width: 720px; color: var(--ink-soft); }
.prose h2 { font-family: var(--display); font-stretch: 87.5%; font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--ink); margin: 0 0 12px; }
.prose p, .prose ul { margin: 0 0 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose section { padding-bottom: 24px; margin-bottom: 32px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.prose section:last-child { border-bottom: 0; margin-bottom: 0; }

/* Legal pages: contents list beside the text */
.legal { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.legal .prose { flex: 999 1 560px; min-width: 0; }
.toc { flex: 1 1 240px; position: sticky; top: 24px; background: var(--sand); border-radius: var(--radius); padding: 24px; }
.toc h2 { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.toc a { text-decoration: none; color: var(--ink-soft); }
.toc a:hover { color: var(--brand-dark); text-decoration: underline; }
@media (max-width: 900px) {
  .toc { position: static; order: -1; }
}

/* About: milestones */
.milestones { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.milestone { border-top: 2px solid var(--brand); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.milestone .year { font-family: var(--display); font-stretch: 87.5%; font-weight: 800; font-size: 44px; line-height: 1; color: var(--brand-dark); }
.milestone h3 { margin: 0; font-size: 19px; font-weight: 600; }
.milestone p { margin: 0; color: var(--muted); font-size: 15px; }
.wide-photo { width: 100%; height: clamp(240px, 36vw, 480px); object-fit: cover; border-radius: var(--radius); }

/* About: BIR registration */
.registration { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; background: var(--sand); border-radius: 12px; padding: 40px; }
.registration-copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; }
.registration-copy h2 { font-size: clamp(26px, 2.6vw, 34px); }
.registration-copy p { margin: 0; color: var(--muted); }
.registration .bir-seal { flex: 0 1 430px; max-width: 430px; margin: 0; border: 1px solid var(--line); }
@media (max-width: 600px) {
  .registration { padding: 24px; }
}

/* How to order: numbered steps on a light background */
.steps-light li { border-top-color: var(--brand); }
.steps-light .step-num { color: var(--brand-dark); }
.steps-light p { color: var(--muted); }
.cta-band { background: var(--ink); color: #fff; border-radius: 12px; padding: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band h2 { font-size: clamp(28px, 3vw, 38px); }
.cta-band p { margin: 8px 0 0; color: var(--muted-on-dark); }
@media (max-width: 600px) {
  .cta-band { padding: 28px; }
}

/* Contact */
.map-embed { display: block; width: 100%; height: 420px; border: 0; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.contact-card { background: var(--sand); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.contact-card h2 { margin: 0; font-size: 19px; font-weight: 600; }
.contact-card p { margin: 0; color: var(--ink-soft); }
.form-wrap > * { max-width: 760px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 12px 14px;
  min-height: 48px;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions button { font: inherit; cursor: pointer; }
.form-actions button:disabled { opacity: 0.6; cursor: default; }
.form-status { margin: 0; font-weight: 500; }
.hidden-field { position: absolute; left: -9999px; }

/* FAQs */
.faq-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.faq-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--brand-dark); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list .answer { padding: 0 0 20px; color: var(--ink-soft); max-width: 680px; }
.faq-list .answer p { margin: 0 0 12px; }
.help-box { flex: 1 1 260px; background: var(--sand); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.help-box h2 { margin: 0; font-size: 19px; font-weight: 600; }
.help-box p { margin: 0; color: var(--ink-soft); }
