/* =========================================================
   SiaBid website styles
   ---------------------------------------------------------
   ALL COLOURS LIVE IN THE :root BLOCK BELOW.
   To change to your Pantone colours, change the hex values
   here only. Every page uses these names.
   ========================================================= */

:root {
  /* --- Brand colours (the four to swap for Pantone first) --- */
  --charcoal: #16120F;        /* header, hero, testimonials, footer */
  --ember: #C2410C;           /* main buttons, finance band, accents */
  --cream: #F6F1EA;           /* page background */
  --sand: #EDE4D8;            /* alternate section background */

  /* --- Shades that go with them --- */
  --charcoal-raised: #241D18; /* cards on charcoal */
  --charcoal-photo: #2A221C;  /* photo boxes on charcoal */
  --charcoal-line: #2E2620;   /* thin lines on charcoal */
  --charcoal-outline: #5A4A3E;/* outlined buttons on charcoal */
  --charcoal-outline-2: #6B5A4C;
  --ember-deep: #9A3412;      /* small orange text and links on light backgrounds */
  --ember-light: #F0A877;     /* small orange text on charcoal */
  --ember-mist: #FDE5D6;      /* small print on the orange band */
  --sand-deep: #DCD0C1;       /* photo boxes on sand */
  --sand-line: #A8978A;       /* dashed photo-box borders on sand */
  --white: #FFFFFF;
  --line: #E2D8CC;            /* card borders */
  --control-border: #C9BBAC;  /* form fields, outlined buttons */

  /* --- Text colours --- */
  --ink: #1C1714;             /* headings and main text */
  --ink-strong-body: #3A302A;
  --ink-body: #4A3F37;        /* paragraphs */
  --ink-soft: #5C4F45;
  --ink-muted: #6B5A4C;       /* captions, secondary text */
  --on-dark: #E9DFD3;         /* links and quotes on charcoal */
  --on-dark-2: #D9CEC2;
  --on-dark-muted: #CFC3B6;   /* supporting text on charcoal */
  --on-dark-faint: #B8A99A;
  --on-dark-fainter: #A8998B;

  /* --- Draft notice (terms page) --- */
  --notice: #FFF4E5;
  --notice-border: #F0C79A;
  --notice-ink: #5C3A12;

  /* --- Type --- */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  /* --- Shape and spacing --- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --section-pad: 96px;
  --header-h: 76px;
}

@media (max-width: 959px) {
  :root { --section-pad: 64px; --header-h: 64px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: var(--ember-deep); }
a:hover { color: var(--ember); }
:focus-visible { outline: 3px solid var(--ember-light); outline-offset: 2px; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.02; }
h1 { font-size: 76px; line-height: 0.98; letter-spacing: -0.5px; }
h2 { font-size: 54px; }
h3 { font-size: 28px; font-weight: 700; line-height: 1.2; }
.page-title { font-size: 68px; }
@media (max-width: 959px) {
  h1 { font-size: 48px; }
  .page-title { font-size: 46px; }
  h2 { font-size: 38px; }
}

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 959px) { .container { padding-left: 20px; padding-right: 20px; } }
.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-lg { display: flex; flex-direction: column; gap: 48px; }
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.row > * { min-width: 0; }

.bg-charcoal { background: var(--charcoal); color: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-white { background: var(--white); }
.bg-ember { background: var(--ember); color: var(--white); }

.eyebrow { font-weight: 600; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--ember-deep); }
.bg-charcoal .eyebrow { color: var(--ember-light); }
.lead { font-size: 21px; color: var(--on-dark-2); max-width: 600px; }
.muted { color: var(--ink-muted); }
.body { color: var(--ink-body); }
.small { font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius-sm);
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 18px; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 16px; }
.btn-primary { background: var(--ember); color: var(--white); }
.btn-primary:hover { background: var(--ember-deep); color: var(--white); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--charcoal-raised); color: var(--white); }
.btn-outline { border-color: var(--control-border); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark { border-color: var(--charcoal-outline-2); color: var(--cream); background: transparent; }
.btn-outline-dark:hover { border-color: var(--cream); color: var(--cream); }
.btn-outline-white { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--charcoal); color: var(--cream);
  border-bottom: 1px solid var(--charcoal-line);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-compact { box-shadow: 0 6px 20px rgba(0,0,0,0.28); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; transition: padding 0.25s ease; }
.site-header.is-compact .header-inner { padding-top: 8px; padding-bottom: 8px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: 2px; color: var(--cream); text-decoration: none; transition: font-size 0.25s ease; }
.logo:hover { color: var(--cream); }
.site-header.is-compact .logo { font-size: 26px; }
.main-nav { display: flex; gap: 28px; font-weight: 500; font-size: 16px; }
.main-nav a { color: var(--on-dark); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--white); }
.main-nav a[aria-current="page"] { color: var(--ember-light); border-bottom-color: var(--ember-light); }
.header-actions { display: flex; gap: 12px; align-items: center; }
.header-actions .btn-phone { border-color: var(--charcoal-outline); color: var(--cream); }
.icon-btn {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--charcoal-outline); border-radius: var(--radius-sm);
  background: transparent; color: var(--cream); cursor: pointer; padding: 0;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { display: none; border-top: 1px solid var(--charcoal-line); padding: 8px 20px 20px; flex-direction: column; }
.mobile-menu a.mm-link { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--charcoal-line); color: var(--cream); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.mobile-menu a.mm-link[aria-current="page"] { color: var(--ember-light); }
.mobile-menu .btn { margin-top: 16px; }
.site-header.menu-open .mobile-menu { display: flex; }

@media (max-width: 959px) {
  .main-nav, .header-actions { display: none; }
  .icon-btn { display: inline-flex; }
  .header-inner { padding-top: 12px; padding-bottom: 12px; }
}
@media (min-width: 960px) {
  .mobile-only { display: none !important; }
}

/* ---------- Phone bottom bar ---------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--charcoal); border-top: 1px solid var(--charcoal-line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
}
.mobile-bar .btn { flex: 1 1 0; min-height: 50px; }
@media (max-width: 959px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
}

/* ---------- Hero ---------- */
.hero-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.hero-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 24px; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 12px; font-size: 16px; color: var(--on-dark-muted); }
.page-hero-inner { display: flex; flex-direction: column; gap: 20px; padding-top: 72px; padding-bottom: 80px; }
.page-hero-inner .lead { font-size: 20px; max-width: 640px; }
.page-hero-inner .lead a { color: var(--ember-light); font-weight: 600; }
@media (max-width: 959px) {
  .hero-inner { padding-top: 48px; padding-bottom: 64px; }
  .page-hero-inner { padding-top: 48px; padding-bottom: 56px; }
}

/* ---------- Photo placeholders ---------- */
.photo {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px; border-radius: var(--radius-md); font-size: 16px;
  background: var(--sand); color: var(--ink-muted);
}
.photo-dark { background: var(--charcoal-photo); border: 1px dashed var(--charcoal-outline-2); color: var(--on-dark-faint); }
.photo-sand { background: var(--sand-deep); border: 1px dashed var(--sand-line); color: var(--ink-muted); }
.photo-hero { flex: 1 1 320px; height: 460px; }
.photo-story { flex: 1 1 320px; height: 400px; }
@media (max-width: 959px) { .photo-hero, .photo-story { height: 260px; } }

/* ---------- Cards ---------- */
.card { background: var(--white); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 300px; }
.card p { color: var(--ink-body); }
.card-dark { background: var(--charcoal-raised); }
.feature { flex: 1 1 240px; display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--ember); padding-top: 20px; }
.feature h3 { font-size: 26px; }
.feature p { color: var(--ink-body); }

.product {
  flex: 1 1 300px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; background: var(--white);
}
.product .photo { border-radius: 0; height: 220px; }
.product-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.product-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.product-head h3 { font-size: 36px; font-weight: 800; }
.price { font-family: var(--font-display); font-size: 40px; font-weight: 800; }
.price-note { font-size: 16px; font-weight: 600; color: var(--ink-muted); }
.product .btn-row { margin-top: auto; padding-top: 8px; }

/* ---------- Steps ---------- */
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 32px; }
.steps li { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--font-display); font-size: 64px; font-weight: 800; line-height: 1; color: var(--ember); }
.steps p { color: var(--ink-body); }

/* ---------- Testimonials ---------- */
.quote { margin: 0; flex: 1 1 280px; background: var(--charcoal-raised); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; font-size: 20px; color: var(--on-dark); }
.quote figcaption { font-size: 16px; color: var(--on-dark-faint); }

/* ---------- Finance / CTA bands ---------- */
.band-inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.band-text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 18px; }
.band-text h2 { font-size: 60px; line-height: 1; }
.band-text .big { font-size: 20px; max-width: 600px; }
.band-text .fine { font-size: 15px; color: var(--ember-mist); }
@media (max-width: 959px) { .band-text h2 { font-size: 42px; } }
.cta-band { padding-top: 64px; padding-bottom: 64px; }
@media (max-width: 959px) { .cta-band { padding-top: 48px; padding-bottom: 48px; } }

/* ---------- Form ---------- */
.demo-wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.demo-info { flex: 1 1 400px; display: flex; flex-direction: column; gap: 18px; }
.demo-phone { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--ink); text-decoration: none; }
.demo-form { flex: 1 1 480px; min-width: 0; background: var(--white); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 959px) { .demo-form { padding: 24px; } }
.field { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea {
  font: inherit; min-height: 48px; padding: 0 14px; border: 1px solid var(--control-border);
  border-radius: var(--radius-sm); background: var(--white); color: var(--ink);
}
.field textarea { padding: 12px 14px; resize: vertical; }
.form-note { font-size: 14px; color: var(--ink-soft); }

/* ---------- Chips, pills, tables ---------- */
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--control-border); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.chip-dark { border-color: var(--charcoal-outline); color: var(--cream); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.code-tag { align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.5px; background: var(--charcoal); color: var(--cream); border-radius: 4px; padding: 2px 8px; }
.toggle {
  font: inherit; font-size: 16px; font-weight: 600; min-height: 44px; padding: 0 18px;
  border-radius: 999px; cursor: pointer; border: 1px solid var(--control-border);
  background: var(--white); color: var(--ink);
}
.toggle[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }
.toggle-sq { border-radius: var(--radius-sm); font-size: 15px; min-height: 40px; padding: 0 14px; }
.toggle-sq[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); color: var(--white); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 17px; }
.compare thead tr { background: var(--charcoal); color: var(--cream); }
.compare th, .compare td { text-align: left; padding: 14px 20px; }
.compare thead th { font-family: var(--font-display); font-size: 26px; font-weight: 800; padding-top: 16px; padding-bottom: 16px; }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 600; color: var(--ink-body); }
.specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.specs div { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 14px; color: var(--ink-muted); }
.specs dd { margin: 0; font-weight: 600; }

/* ---------- Grills page ---------- */
.name-tile { flex: 1 1 160px; background: var(--white); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.name-tile .big { font-family: var(--font-display); font-size: 64px; font-weight: 800; line-height: 1; }
.name-tile.dark { background: var(--charcoal); color: var(--cream); }
.name-example { background: var(--sand); border-radius: var(--radius-md); padding: 24px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; }
.name-example b { font-family: var(--font-display); font-size: 40px; font-weight: 800; }
.grill-detail { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.grill-detail .photo { flex: 1 1 420px; height: 420px; }
.grill-detail .info { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 959px) { .grill-detail .photo { height: 260px; } }

/* ---------- Accessories ---------- */
.item-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.item { flex: 1 1 300px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.item[hidden] { display: none; }
.item .photo { border-radius: 0; height: 160px; }
.item-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.item-body h2 { font-size: 28px; font-weight: 700; line-height: 1.1; }
.item-body p { color: var(--ink-body); font-size: 16px; }
.fits { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; }
.fits span.f { font-weight: 600; border: 1px solid var(--control-border); border-radius: 999px; padding: 2px 10px; }
.item-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.item-price { font-family: var(--font-display); font-size: 26px; font-weight: 800; }
.info-box { flex: 1 1 320px; background: var(--sand); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.info-box h2 { font-size: 26px; font-weight: 700; }

/* ---------- Finder ---------- */
.finder { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.question { margin: 0; border: 0; padding: 28px; background: var(--white); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 16px; }
.question legend { padding: 0; font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.15; float: left; width: 100%; }
.answer {
  font: inherit; font-weight: 600; flex: 1 1 160px; min-height: 56px; padding: 0 16px;
  border-radius: 8px; cursor: pointer; border: 2px solid var(--control-border); background: var(--white); color: var(--ink);
}
.answer[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); color: var(--white); }
.result { background: var(--charcoal); color: var(--cream); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.result[hidden] { display: none; }
.result-code { font-family: var(--font-display); font-size: 76px; font-weight: 800; line-height: 1; }
.result .why { font-size: 19px; color: var(--on-dark); }
.result .note { font-size: 17px; color: var(--ember-light); }
@media (max-width: 959px) { .result { padding: 24px; } .result-code { font-size: 56px; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 20px 96px; display: flex; flex-direction: column; gap: 36px; }
.legal h1 { font-size: 56px; line-height: 1; }
.legal h2 { font-size: 30px; font-weight: 700; }
.legal section { display: flex; flex-direction: column; gap: 10px; }
.legal ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal .todo { color: var(--ink-muted); font-size: 16px; }
.legal .box { background: var(--white); border-radius: var(--radius-md); padding: 32px; }
.draft-notice { background: var(--notice); border: 1px solid var(--notice-border); border-radius: 8px; padding: 16px 20px; font-size: 16px; color: var(--notice-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--on-dark-muted); padding: 64px 0 40px; font-size: 15px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.footer-cols > * { min-width: 0; display: flex; flex-direction: column; gap: 10px; flex: 1 1 150px; }
.footer-cols .brand-col { flex: 2 1 260px; }
.footer-head { font-weight: 600; color: var(--cream); letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-legal { border-top: 1px solid var(--charcoal-line); margin-top: 40px; padding-top: 24px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--on-dark-fainter); }
.footer-legal a { color: var(--on-dark-muted); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .site-header, .header-inner, .logo { transition: none; }
}
