/* ==========================================================================
   SHDH Timber — shared styles
   High-contrast palette: ink black / bone white / signal yellow
   ========================================================================== */

:root {
  --ink: #0b0b0b;
  --ink-2: #1a1a1a;
  --ink-3: #2a2a2a;
  --bone: #f5f2ea;
  --paper: #ffffff;
  --muted: #6b6b6b;
  --line: #d9d4c7;
  --line-dark: #333333;
  --accent: #ffd400;
  --accent-ink: #0b0b0b;

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }

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

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--accent); color: var(--ink); padding: 8px 14px; z-index: 200;
}
.skip-link:focus { left: 8px; }

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

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent); }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--bone); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  background: transparent; color: var(--ink);
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.btn-dark { background: var(--ink); color: var(--bone); }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-ghost-light { border-color: var(--bone); color: var(--bone); }
.btn-ghost-light:hover { background: var(--bone); color: var(--ink); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem;
  text-decoration: none; border-bottom: 3px solid var(--accent); padding-bottom: 2px;
}

/* ---------- Image placeholders ---------- */
.ph {
  position: relative;
  background-color: #e6e1d4;
  background-image: repeating-linear-gradient(
    135deg, transparent 0 14px, rgba(11, 11, 11, 0.06) 14px 15px
  );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  overflow: hidden;
  color: var(--muted);
}
.ph::after {
  content: attr(data-label);
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--paper); color: var(--ink);
  padding: 6px 10px; border: 1px solid var(--ink);
  max-width: 80%; text-align: center;
}
.ph-dark {
  background-color: var(--ink-2);
  background-image: repeating-linear-gradient(
    135deg, transparent 0 14px, rgba(255, 255, 255, 0.05) 14px 15px
  );
  border-color: var(--line-dark);
}
.ph-dark::after { background: var(--ink); color: var(--bone); border-color: var(--bone); }
.ph-wide { aspect-ratio: 16 / 9; }
.ph-square { aspect-ratio: 1 / 1; }
.ph-tall { aspect-ratio: 4 / 5; }
.ph-banner { aspect-ratio: 21 / 9; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink); color: var(--bone);
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--bone);
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.25rem; letter-spacing: -0.01em; text-transform: uppercase;
}
.logo-mark { height: 68px; width: auto; }
.logo-since {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; color: var(--accent);
  padding-left: 10px; border-left: 1px solid var(--line-dark);
}
.footer-logo { display: inline-block; }
.footer-logo img { height: 130px; width: auto; }
.logo small { display: block; font-size: 0.6rem; letter-spacing: 0.25em; font-weight: 600; opacity: .7; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  color: var(--bone); text-decoration: none;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase;
  background: none; border: 0; cursor: pointer;
  border-radius: var(--radius);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); }
.nav-link .chev { transition: transform .2s ease; font-size: 0.7em; }
.has-mega.open .chev { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(760px, 92vw);
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--accent);
  padding: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  opacity: 0; visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-mega.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega a {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px; border-radius: var(--radius);
  text-decoration: none;
}
.mega a:hover { background: var(--bone); }
.mega-icon {
  flex: 0 0 40px; height: 40px;
  background: var(--ink); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 0.8rem;
  border-radius: 2px;
}
.mega strong { display: block; font-family: var(--font-display); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.02em; }
.mega span.desc { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.mega-all {
  grid-column: 1 / -1; justify-content: space-between; align-items: center !important;
  background: var(--ink); color: var(--bone); margin-top: 6px;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem;
}
.mega-all:hover { background: var(--accent) !important; color: var(--ink); }

.nav-toggle {
  display: none;
  background: none; border: 2px solid var(--bone); color: var(--bone);
  width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto;
  position: relative; transition: transform .2s ease, background .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-family: var(--font-display); font-weight: 700;
  padding: 20px 0;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.breadcrumbs a { text-decoration: none; color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-dark { background: var(--ink); color: var(--bone); }
.section-paper { background: var(--paper); }
.section-accent { background: var(--accent); color: var(--ink); }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { max-width: 46ch; margin: 0; color: var(--muted); }
.section-dark .section-head p { color: #b5b5b5; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; }

/* ---------- Home hero ---------- */
.hero {
  background: var(--ink); color: var(--bone);
  padding: clamp(48px, 8vw, 96px) 0 0;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: #cfcfcf; max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 56px; }
.hero .ph { border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; }
.hero-img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.hero-stats div { padding: 28px 24px 32px 0; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--accent); line-height: 1; }
.hero-stats span { font-size: 0.85rem; color: #b5b5b5; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: var(--bone); padding: clamp(48px, 7vw, 88px) 0; }
.page-hero .breadcrumbs { padding-top: 0; }
.page-hero .breadcrumbs a { color: #9a9a9a; }
.page-hero .breadcrumbs [aria-current] { color: var(--bone); }
.page-hero .lead { color: #cfcfcf; max-width: 56ch; margin: 0; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.product-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.product-card .ph { border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; }
.product-card .card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 2px solid var(--ink); }
.product-card-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .tag {
  align-self: flex-start;
  font-family: var(--font-display); font-weight: 800; font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--ink); color: var(--accent); padding: 4px 8px;
}
.product-card h3 { margin: 4px 0 0; text-transform: uppercase; }
.product-card p { color: var(--muted); font-size: 0.92rem; margin: 0; flex: 1; }
.product-card .more { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.08em; margin-top: 12px; }

.feature {
  border-top: 3px solid var(--accent);
  padding-top: 20px;
}
.feature .num { font-family: var(--font-display); font-weight: 900; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.section-dark .feature .num { color: #8a8a8a; }
.feature h3 { text-transform: uppercase; margin-top: 8px; }
.feature p { color: var(--muted); margin: 0; }
.section-dark .feature p { color: #b5b5b5; }

/* ---------- CTA band ---------- */
.cta-band {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta-band h2 { margin: 0; }
.cta-band p { margin: 12px 0 0; max-width: 52ch; }

/* ---------- Fleet banner ---------- */
.fleet { background: var(--ink); color: var(--bone); border-radius: var(--radius); }
.fleet-copy {
  padding: clamp(28px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.fleet-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 8px; }
.fleet-copy h2 em { font-style: normal; color: var(--accent); }
.fleet-copy p { color: #cfcfcf; margin: 0; }

/* ---------- Product page ---------- */
.product-hero { padding: 0 0 clamp(48px, 6vw, 80px); }
.product-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }

/* A fixed 4:3 stage keeps the arrows in one place; each photo is scaled to fit inside it,
   and the black frame hugs the photo. "Fill" shots and placeholders take the whole stage. */
.gallery-stage { position: relative; aspect-ratio: 4 / 3; container-type: size; display: grid; place-items: center; }
/* Side strips reserved for the arrows, so no photo ever sits underneath them */
.gallery-stage.has-nav { padding: 0 56px; }
.gallery-main { border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.gallery-main img { display: block; width: auto; height: auto; max-width: calc(100cqw - 4px); max-height: calc(100cqh - 4px); }
.gallery-stage.is-fill .gallery-main { width: 100%; height: 100%; }
.gallery-stage.is-fill .gallery-main > * { width: 100%; height: 100%; max-width: none; max-height: none; aspect-ratio: auto; border: 0; border-radius: 0; }
.gallery-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
/* Thumbnails: a row of 4 that scrolls sideways when there are more photos */
.gallery-thumbs {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4);
  gap: 12px; margin-top: 12px; padding-bottom: 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.gallery-thumbs button { scroll-snap-align: start; }

.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--accent); color: var(--ink);
  font-weight: 900; font-size: 1.1rem; cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s ease, color .15s ease;
}
.gallery-nav:hover { background: var(--ink); color: var(--accent); }
.gallery-nav.prev { left: 2px; }
.gallery-nav.next { right: 2px; }
.gallery-count {
  margin: 8px 0 0; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--muted);
}
.gallery-thumbs button {
  padding: 0; border: 2px solid transparent; background: none; cursor: pointer; border-radius: var(--radius);
}
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.gallery-thumbs .ph { aspect-ratio: 1 / 1; }
.gallery-thumbs .ph::after { font-size: 0.6rem; padding: 3px 6px; }

.product-info h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 12px; }
.product-info .tagline { font-size: 1.15rem; color: var(--ink-3); margin-bottom: 28px; }
.product-badge {
  display: inline-block; background: var(--accent); color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 10px; margin-bottom: 16px;
}

.quick-facts {
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper);
  margin: 0 0 28px;
}
.quick-facts div {
  display: grid; grid-template-columns: 140px 1fr; gap: 16px;
  padding: 14px 18px;
}
.quick-facts div + div { border-top: 1px solid var(--line); }
.quick-facts dt { font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.quick-facts dd { margin: 0; font-weight: 600; }

.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-note { font-size: 0.85rem; color: var(--muted); margin-top: 16px; }

/* In-page sub navigation */
.subnav {
  position: sticky; top: calc(var(--header-h) + 3px); z-index: 50;
  background: var(--bone); border-bottom: 2px solid var(--ink);
}
.subnav ul {
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 0;
  overflow-x: auto; scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; white-space: nowrap;
  padding: 16px 16px 14px;
  font-family: var(--font-display); font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border-bottom: 4px solid transparent; color: var(--muted);
}
.subnav a:hover { color: var(--ink); }
.subnav a.active { color: var(--ink); border-bottom-color: var(--accent); }

.overview-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); }
.overview-grid ul.checks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks li::before { content: "■"; color: var(--accent); -webkit-text-stroke: 1px var(--ink); font-size: 0.8em; }

.variant-card {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  display: flex; flex-direction: column; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.variant-card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--accent); }
.variant-body { padding: 20px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.variant-body h3 { margin: 0; font-size: 1.8rem; text-transform: uppercase; }
.variant-body h3 small { font-size: 0.5em; color: var(--muted); text-transform: none; }
.variant-body p { margin: 4px 0 0; color: var(--muted); font-size: 0.9rem; }
.variant-grade { display: block; margin-bottom: 6px; font-family: var(--font-display); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.variant-count { font-family: var(--font-display); font-weight: 900; background: var(--ink); color: var(--accent); padding: 6px 10px; font-size: 0.8rem; white-space: nowrap; }

/* Spec table */
.table-scroll { position: relative; overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.spec-table thead th {
  background: var(--ink); color: var(--bone);
  font-family: var(--font-display); font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.spec-table tbody th { font-weight: 700; width: 34%; }
.spec-table tbody tr:last-child > * { border-bottom: 0; }
.spec-table tbody tr:hover { background: #fbf8ef; }
.spec-note { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }

/* Certificate under the specs table */
.cert-figure { margin: 40px 0 0; max-width: 520px; }
.cert-figure img { width: 100%; height: auto; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.cert-figure figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
.cert-figure figcaption a { color: var(--ink); font-weight: 700; }

/* FAQ accordion */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 2px solid var(--bone); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 32px; height: 32px;
  display: grid; place-items: center;
  border: 2px solid var(--bone); border-radius: 50%;
  font-size: 1.2rem; line-height: 1;
  transition: transform .2s ease, background .2s ease;
}
.faq details[open] summary::after { content: "–"; background: var(--accent); border-color: var(--accent); color: var(--ink); }
.faq summary:hover { color: var(--accent); }
.faq .answer { padding: 0 56px 24px 0; color: #cfcfcf; }

/* About page slideshow: one large photo that fades to the next every few seconds */
.slideshow { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--ink); }
.slideshow .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.slideshow .slide.is-active { opacity: 1; }
.slideshow .gallery-nav.prev { left: 16px; }
.slideshow .gallery-nav.next { right: 16px; }
/* Plain arrows on the slideshow: no circle, white with a shadow so they stand out on any photo */
.slideshow .gallery-nav {
  background: transparent; border: 0; color: #fff;
  font-size: 2rem; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
.slideshow .gallery-nav:hover { background: transparent; color: var(--accent); }

/* Photo beside text (home page About section) */
.feature-photo { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; border: 2px solid var(--ink); border-radius: var(--radius); }

/* Highlight callout (About page award) */
.callout {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 28px; padding: 18px 22px;
  background: var(--ink); color: var(--bone);
  border-left: 6px solid var(--accent); border-radius: var(--radius);
}
.callout strong { font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.02em; }
.callout span { color: #b5b5b5; font-size: 0.92rem; }
.callout-award { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px; }
.callout-imgs { display: flex; gap: 12px; flex: 0 0 auto; }
.callout-award img { width: 135px; height: auto; background: var(--paper); border-radius: 2px; }
.callout-award div { flex: 1 1 160px; display: flex; flex-direction: column; gap: 4px; }
/* The two awards always sit side by side; on phones the text moves underneath them */
@media (max-width: 900px) { .callout-award img { width: 110px; } }
@media (max-width: 600px) {
  .callout-award { flex-direction: column; align-items: flex-start; gap: 14px; }
  .callout-award div { flex: none; }
}

/* Coming soon product page */
.coming-soon { padding-bottom: clamp(64px, 9vw, 120px); }
.coming-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; margin-top: 24px; }
.coming-title {
  font-size: clamp(4rem, 13vw, 10rem); line-height: 0.88;
  color: var(--accent); margin: 8px 0 28px;
}
.coming-soon .lead { margin-bottom: 32px; }
.notify-form { background: var(--bone); color: var(--ink); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--accent); }
.notify-form h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 24px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block; margin-bottom: 6px;
  font-family: var(--font-display); font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 14px;
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--accent); }
.form-status {
  margin-top: 16px; padding: 14px 16px; border-left: 4px solid var(--accent);
  background: var(--paper); display: none;
}
.form-status.show { display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Contact info panel */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.info-panel { background: var(--ink); color: var(--bone); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); }
.info-panel dl { margin: 0; display: grid; gap: 22px; }
.info-panel dt { font-family: var(--font-display); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.info-panel dd { margin: 0; }
.info-panel a { text-decoration: none; }
.info-panel a:hover { color: var(--accent); }

/* Contact page Google Map */
.map-embed { aspect-ratio: 21 / 9; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 600px) { .map-embed { aspect-ratio: 4 / 3; } }

/* Cut list builder */
.cutlist { width: 100%; border-collapse: collapse; min-width: 720px; }
.cutlist th {
  text-align: left; background: var(--ink); color: var(--bone);
  font-family: var(--font-display); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 12px;
}
.cutlist td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cutlist select, .cutlist input {
  width: 100%; padding: 10px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); font: inherit;
}
.cutlist .remove {
  background: none; border: 2px solid var(--ink); width: 38px; height: 38px; border-radius: var(--radius); cursor: pointer; font-weight: 900;
}
.cutlist .remove:hover { background: var(--ink); color: var(--accent); }
.cutlist-summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 20px;
}
.cutlist-total { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.cutlist-total strong { font-size: 1.6rem; margin-left: 8px; }

/* Prose (legal pages) */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose p, .prose li { color: var(--ink-3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #bdbdbd; border-top: 6px solid var(--accent); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-top h4 {
  color: var(--bone); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-top a { text-decoration: none; }
.footer-top a:hover { color: var(--accent); }
.footer-brand p { max-width: 34ch; margin: 18px 0; font-size: 0.92rem; }
.footer-contact li { font-size: 0.92rem; }
.footer-contact span { display: block; color: #8a8a8a; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 22px; padding-bottom: 22px; font-size: 0.82rem;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-abn { margin-left: 16px; font-size: 0.75rem; opacity: 0.7; white-space: nowrap; }
@media (max-width: 600px) { .footer-abn { display: block; margin: 4px 0 0; } }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + 3px) 0 0 0;
    background: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 32px;
    overflow-y: auto;
    /* Fade in place rather than slide from off-screen, which would widen the page on phones */
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 0; font-size: 1.2rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .mega {
    position: static; transform: none; width: auto;
    box-shadow: none; border: 0; padding: 8px 0;
    background: transparent; color: var(--bone);
    grid-template-columns: 1fr;
    display: none; opacity: 1; visibility: visible;
  }
  .has-mega.open .mega { display: grid; transform: none; }
  .mega a:hover { background: var(--ink-2); }
  .mega span.desc { color: #9a9a9a; }
  .main-nav .btn { margin-top: 24px; }

  .hero-grid, .product-hero-grid, .overview-grid, .faq-grid, .grid-2, .contact-grid, .coming-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .quick-facts div { grid-template-columns: 1fr; gap: 2px; }
  .faq .answer { padding-right: 0; }
  .btn { width: 100%; }
  .hero-actions .btn, .product-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
