/* ==========================================================
   Flooring Installation — main stylesheet
   Theme: white + dark orange, carrot orange nav, golden apricot footer
   Edit colours in :root below.
   ========================================================== */

:root {
  --white: #ffffff;
  --cream: #fff8f1;
  --sand: #fdeedd;
  --orange-dark: #c2410c;   /* dark orange (primary) */
  --orange-deep: #9a3412;   /* hover / deep accents */
  --carrot: #ed9121;        /* navigation bar */
  --apricot: #f5b461;       /* footer (golden apricot) */
  --ink: #2b1a0e;
  --ink-soft: #5c4636;
  --line: #f0d9c2;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px -22px rgba(74, 32, 6, 0.45);
  --wrap: 1200px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: var(--orange-dark); text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }

h1, h2, h3 { line-height: 1.18; margin: 0 0 0.6em; color: var(--ink); }
h1 { font-family: var(--font-display); font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-dark); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 8px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--orange-dark) 0 14px, transparent 14px 17px, var(--carrot) 17px 34px);
}

.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange-dark); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); color: #fff; }
.btn-outline { border-color: var(--orange-dark); color: var(--orange-dark); background: transparent; }
.btn-outline:hover { background: var(--orange-dark); color: #fff; }
.btn-light { background: #fff; color: var(--orange-deep); }
.btn-light:hover { background: var(--sand); color: var(--orange-deep); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ==========================================================
   Header / navigation (carrot orange)
   ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--carrot);
  box-shadow: 0 2px 0 rgba(0,0,0,.06), 0 10px 24px -18px rgba(74,32,6,.7);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); flex: none; }
.brand svg { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.01em; }
.brand-text span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.brand:hover { color: var(--ink); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.2rem; }
.main-nav a {
  display: block; padding: 0.55rem 0.8rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap;
}
.main-nav a:hover { background: rgba(255,255,255,.35); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--white); color: var(--orange-deep); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: rgba(255,255,255,.3); cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background-color .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--carrot); border-top: 1px solid rgba(0,0,0,.08);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-open .main-nav { max-height: 80vh; overflow-y: auto; box-shadow: 0 20px 30px -20px rgba(0,0,0,.4); }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 0.75rem 1.25rem 1.25rem; gap: 0.25rem; }
  .main-nav a { padding: 0.8rem 1rem; border-radius: 10px; font-size: 1.02rem; }
}

/* ==========================================================
   Home — hero
   ========================================================== */
.hero {
  position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(180deg, var(--cream), var(--white) 70%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy .lead { margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }

.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-facts li {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft);
}
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--carrot); transform: rotate(45deg); }

.hero-media { position: relative; padding: 0 0 2.2rem 2.2rem; }
.hero-media::before { /* staggered plank block behind the video */
  content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 70%; border-radius: var(--radius);
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(255,255,255,.55) 22px 24px),
    linear-gradient(135deg, var(--orange-dark), var(--carrot));
}
.video-frame {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 16 / 9; background: var(--ink);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.4rem; border: 0; border-radius: 999px;
  padding: 0.5rem 0.9rem; font: 600 0.85rem var(--font); background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer;
}
.video-toggle svg { width: 14px; height: 14px; }
.hero-tag {
  position: absolute; right: -0.5rem; top: -1.2rem; z-index: 3;
  background: #fff; border-radius: 12px; padding: 0.7rem 1rem; box-shadow: var(--shadow);
  font-size: 0.85rem; font-weight: 700; color: var(--orange-deep); max-width: 220px; line-height: 1.35;
  border-left: 5px solid var(--carrot);
}
.hero-thumbs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-top: 0.8rem; }
.hero-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 3px solid #fff; box-shadow: 0 8px 18px -12px rgba(0,0,0,.5); }

/* moving floor strip */
.floor-strip { background: var(--orange-dark); color: #fff; overflow: hidden; padding: 0.9rem 0; }
.floor-strip-track { display: flex; width: max-content; animation: strip 36s linear infinite; }
.floor-strip ul { display: flex; list-style: none; margin: 0; padding: 0; }
.floor-strip li { display: flex; align-items: center; gap: 1.2rem; padding-right: 1.2rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.92rem; white-space: nowrap; }
.floor-strip li::after { content: ""; width: 26px; height: 6px; border-radius: 2px; background: var(--apricot); }
@keyframes strip { to { transform: translateX(-50%); } }

/* ==========================================================
   Generic sections
   ========================================================== */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-cream { background: var(--cream); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--ink-soft); }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.split-head p { color: var(--ink-soft); margin: 0; }

/* ---------- Services as staggered floorboards ---------- */
.boards { display: grid; gap: 1rem; }
.board {
  display: grid; grid-template-columns: 76px 1fr; gap: 1.2rem; align-items: start;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; width: 88%; position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.board:nth-child(even) { margin-left: auto; }
.board:hover { border-color: var(--carrot); box-shadow: var(--shadow); }
.board::after { /* board end grain */
  content: ""; position: absolute; top: 14px; bottom: 14px; right: 14px; width: 6px; border-radius: 3px;
  background: repeating-linear-gradient(180deg, var(--apricot) 0 6px, transparent 6px 10px);
}
.board-num {
  font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--orange-dark);
  border-right: 2px solid var(--line); padding-right: 0.8rem;
}
.board h3 { margin-bottom: 0.35rem; }
.board p { margin: 0; color: var(--ink-soft); padding-right: 1.4rem; }

/* ---------- Floor type cards (home) ---------- */
.type-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.type-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; border-radius: var(--radius);
  overflow: hidden; background: #fff; text-decoration: none; color: var(--ink); border: 1.5px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.type-card:nth-child(4), .type-card:nth-child(5) { grid-column: span 3; }
.type-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.type-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.type-card-body { padding: 1.1rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.type-card-body h3 { margin: 0; }
.type-card-body p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }
.type-card .more { margin-top: auto; padding-top: 0.6rem; font-weight: 700; color: var(--orange-dark); font-size: 0.92rem; }
.type-card .more::after { content: " →"; }

/* ---------- Showcase pair ---------- */
.showcase { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.4rem; align-items: stretch; }
.showcase figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.showcase img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.showcase figcaption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(255,255,255,.94); border-radius: 10px; padding: 0.7rem 1rem; font-size: 0.93rem; color: var(--ink-soft);
}
.showcase figcaption strong { display: block; color: var(--orange-deep); font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; }
.showcase-side { display: grid; gap: 1.4rem; grid-template-rows: auto 1fr; }
.showcase-note { background: var(--orange-dark); color: #fff; border-radius: var(--radius); padding: 1.6rem; }
.showcase-note h3 { color: #fff; }
.showcase-note p { margin: 0; color: #ffe7d2; }

/* ---------- Process: stepped staircase ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; align-items: end; counter-reset: step; }
.step {
  counter-increment: step; position: relative; background: #fff; border-radius: var(--radius);
  border-top: 6px solid var(--carrot); padding: 1.3rem 1.2rem 1.4rem; box-shadow: 0 10px 26px -20px rgba(74,32,6,.6);
}
.step:nth-child(1) { margin-bottom: 0; }
.step:nth-child(2) { margin-bottom: 1.5rem; }
.step:nth-child(3) { margin-bottom: 3rem; }
.step:nth-child(4) { margin-bottom: 4.5rem; }
.step:nth-child(5) { margin-bottom: 6rem; border-top-color: var(--orange-dark); }
.step::before {
  content: "Step " counter(step); display: block; font-size: 0.76rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange-dark); margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.step p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.steps-base { height: 10px; border-radius: 5px; margin-top: 1rem; background: repeating-linear-gradient(90deg, var(--orange-dark) 0 60px, var(--carrot) 60px 64px, var(--apricot) 64px 120px, #fff 120px 124px); }

/* ---------- Benefits ---------- */
.benefit-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.benefit-photo { position: relative; }
.benefit-photo img { border-radius: 200px 200px var(--radius) var(--radius); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.benefit-photo::after {
  content: ""; position: absolute; inset: auto -12px -12px auto; width: 45%; height: 30%; z-index: -1; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, var(--apricot) 0 10px, var(--carrot) 10px 20px);
}
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.benefit-list li { padding: 1.2rem; border-radius: var(--radius); background: var(--cream); border: 1.5px solid var(--line); }
.benefit-list svg { width: 38px; height: 38px; color: var(--orange-dark); margin-bottom: 0.6rem; }
.benefit-list h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.benefit-list p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery { columns: 3 280px; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin: 0 0 1rem; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.gallery-item button { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; }
.gallery-item img { width: 100%; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item figcaption { padding: 0.7rem 0.9rem; font-size: 0.9rem; color: var(--ink-soft); background: #fff; border: 1.5px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1200px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(28, 14, 4, .88); }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; height: auto; margin: 0 auto; border-radius: 10px; object-fit: contain; }
.lightbox p { color: #fff; text-align: center; margin: 0.7rem 0 0; }
.lightbox-close {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer;
}

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 22px; padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--orange-dark); color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center;
}
.cta-box::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; opacity: .22; transform: rotate(12deg);
  background:
    repeating-linear-gradient(90deg, #fff 0 36px, transparent 36px 40px),
    repeating-linear-gradient(0deg, transparent 0 36px, var(--orange-dark) 36px 40px);
}
.cta-box h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-box p { color: #ffe7d2; margin: 0; }
.cta-contact { position: relative; display: grid; gap: 0.8rem; justify-items: start; }
.cta-contact address { font-style: normal; color: #ffe7d2; font-size: 0.97rem; }
.cta-contact .btn { max-width: 100%; overflow-wrap: anywhere; }

/* ==========================================================
   Inner page banner
   ========================================================== */
.page-banner { background: var(--cream); padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1.5px solid var(--line); }
.page-banner-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: center; }
.breadcrumb { font-size: 0.9rem; margin-bottom: 0.8rem; color: var(--ink-soft); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--carrot); }
.banner-arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); border: 6px solid #fff; box-shadow: var(--shadow); }
.banner-arch { max-width: 360px; justify-self: end; width: 100%; }

/* ---------- Flooring tabs ---------- */
.tabs-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.8rem; padding: 0.5rem; background: var(--cream); border-radius: 999px; border: 1.5px solid var(--line); width: fit-content; max-width: 100%; }
.tab-btn {
  border: 0; background: transparent; padding: 0.65rem 1.1rem; border-radius: 999px; font: 700 0.95rem var(--font); color: var(--ink-soft); cursor: pointer;
}
.tab-btn:hover { color: var(--orange-deep); }
.tab-btn[aria-selected="true"] { background: var(--orange-dark); color: #fff; }
.tabs-list { display: none; }
.js .tabs-list { display: flex; }

.floor-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding: 1.8rem 0; border-top: 1.5px solid var(--line); scroll-margin-top: 100px; }
.js .floor-panel { border-top: 0; padding-top: 0; }
.js .floor-panel[hidden] { display: none; }
.floor-panel figure { margin: 0; }
.floor-panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.floor-panel figure.tall img { aspect-ratio: 3 / 4; max-height: 560px; }
.floor-panel figcaption { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.5rem; }
.panel-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.2rem; }
.panel-box { background: var(--cream); border-radius: var(--radius-sm); padding: 1rem 1.1rem; border-left: 4px solid var(--carrot); }
.panel-box h4 { margin: 0 0 0.4rem; font-size: 0.95rem; color: var(--orange-deep); }
.panel-box ul { margin: 0; padding-left: 1.1rem; font-size: 0.95rem; color: var(--ink-soft); }
.panel-box li + li { margin-top: 0.25rem; }

/* ---------- Video feature ---------- */
.video-feature { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.video-feature ol { padding-left: 1.2rem; color: var(--ink-soft); }
.video-feature li + li { margin-top: 0.4rem; }

/* ---------- Craft cards ---------- */
.craft-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.craft-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--line); display: flex; flex-direction: column; }
.craft-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.craft-card div { padding: 1rem 1.1rem 1.2rem; }
.craft-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.craft-card p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- Planning checklist ---------- */
.checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 0; counter-reset: q; }
.checklist li { counter-increment: q; background: #fff; border: 1.5px dashed var(--carrot); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.2rem 3.6rem; position: relative; color: var(--ink-soft); }
.checklist li::before { content: counter(q, decimal-leading-zero); position: absolute; left: 1.1rem; top: 1.1rem; font: 700 1.2rem var(--font-display); color: var(--orange-dark); }
.checklist strong { display: block; color: var(--ink); margin-bottom: 0.2rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 0.8rem; }
.faq details { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 0 1.3rem; }
.faq details[open] { border-color: var(--carrot); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.05rem; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--orange-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); }

/* ==========================================================
   Contact page
   ========================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.contact-card { position: relative; padding: 2rem; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--line); overflow: hidden; }
.contact-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: repeating-linear-gradient(180deg, var(--orange-dark) 0 40px, var(--carrot) 40px 44px, var(--apricot) 44px 80px, #fff 80px 84px); }
.contact-card .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--sand); color: var(--orange-dark); margin-bottom: 1rem; }
.contact-card .icon svg { width: 28px; height: 28px; }
.contact-card h2 { font-size: 1.5rem; }
.contact-card address { font-style: normal; font-size: 1.15rem; line-height: 1.6; }
.contact-email { font-size: clamp(1rem, 2.2vw, 1.2rem); font-weight: 700; overflow-wrap: anywhere; }
.contact-extra { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.contact-extra img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.tick-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 0.6rem; }
.tick-list li { position: relative; padding-left: 2rem; color: var(--ink-soft); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 5px; background: var(--orange-dark); -webkit-mask: none; }
.tick-list li::after { content: ""; position: absolute; left: 6px; top: calc(0.35em + 3px); width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ==========================================================
   Legal pages — each has its own layout
   ========================================================== */
.legal-meta { display: inline-block; font-size: 0.9rem; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 0.35rem 0.9rem; color: var(--ink-soft); }
.legal-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 0.2em; }
.legal-body h3 { margin-top: 1.4rem; }
.legal-body ul, .legal-body ol { padding-left: 1.3rem; color: var(--ink-soft); }
.legal-body p { color: var(--ink-soft); }
.legal-body li + li { margin-top: 0.35rem; }

/* Privacy: sidebar table of contents */
.privacy-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.toc { position: sticky; top: 100px; background: var(--cream); border-radius: var(--radius); padding: 1.3rem; border: 1.5px solid var(--line); }
.toc h2 { font-family: var(--font); font-size: 0.8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep); }
.toc ol { margin: 0; padding-left: 1.1rem; font-size: 0.94rem; }
.toc li + li { margin-top: 0.35rem; }
.privacy-section { padding: 1.4rem 0; border-bottom: 1.5px solid var(--line); scroll-margin-top: 100px; }
.privacy-section:last-child { border-bottom: 0; }

/* Terms: numbered clauses */
.terms-intro { background: var(--orange-dark); color: #fff; border-radius: var(--radius); padding: 1.6rem 1.8rem; margin-bottom: 2rem; }
.terms-intro p { color: #ffe7d2; margin: 0; }
.clause { display: grid; grid-template-columns: 90px 1fr; gap: 1.2rem; padding: 1.4rem 0; border-top: 2px dotted var(--apricot); }
.clause-no { font: 700 2.2rem/1 var(--font-display); color: var(--carrot); }
.defs { display: grid; grid-template-columns: 180px 1fr; gap: 0.6rem 1.2rem; margin: 0; }
.defs dt { font-weight: 700; color: var(--ink); }
.defs dd { margin: 0; color: var(--ink-soft); }

/* Cookie: question cards + table */
.cookie-qa { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.qa-card { background: var(--cream); border-radius: var(--radius); padding: 1.5rem; border: 1.5px solid var(--line); }
.qa-card.wide { grid-column: 1 / -1; background: #fff; }
.qa-card h2 { font-size: 1.3rem; }
.qa-card p:last-child, .qa-card ul:last-child { margin-bottom: 0; }
.table-scroll { width: 100%; overflow-x: auto; border-radius: var(--radius-sm); border: 1.5px solid var(--line); }
.cookie-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.95rem; }
.cookie-table th, .cookie-table td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-table th { background: var(--carrot); color: var(--ink); }
.cookie-table tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; }
.pill-no { background: var(--sand); color: var(--orange-deep); }
.pill-maybe { background: #fff1c9; color: #7a4a00; }

/* ==========================================================
   Footer (golden apricot)
   ========================================================== */
.site-footer { background: var(--apricot); color: var(--ink); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 2.5rem; padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; }
.footer-brand p { margin: 1rem 0 1.2rem; max-width: 34ch; color: #4a2f17; }
.footer-brand .brand-text span { color: #4a2f17; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-cols h2 { font-family: var(--font); font-size: 0.8rem; letter-spacing: .16em; text-transform: uppercase; color: #6a2a07; margin-bottom: 0.9rem; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-cols a { color: var(--ink); text-decoration: none; font-weight: 600; }
.footer-cols a:hover { color: var(--orange-deep); text-decoration: underline; }
.footer-cols address { font-style: normal; line-height: 1.6; }
.footer-email { overflow-wrap: anywhere; }
.footer-planks { height: 12px; background: repeating-linear-gradient(90deg, var(--orange-dark) 0 90px, var(--apricot) 90px 94px, var(--carrot) 94px 170px, var(--apricot) 170px 174px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; padding: 1.2rem 0 1.5rem; border-top: 1.5px solid rgba(74, 32, 6, .18); font-size: 0.92rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.footer-bottom a { color: var(--ink); }
.btn-footer { background: var(--ink); color: #fff; }
.btn-footer:hover { background: var(--orange-deep); color: #fff; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .craft-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
  .step:nth-child(n) { margin-bottom: 0; }
  .step:nth-child(5) { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-grid, .page-banner-grid, .benefit-layout, .showcase, .video-feature, .contact-extra, .cta-box, .split-head, .privacy-layout { grid-template-columns: 1fr; }
  .hero-media { padding: 0 0 1.6rem 1.6rem; }
  .hero-tag { right: 0; }
  .banner-arch { justify-self: start; max-width: 300px; }
  .type-card, .type-card:nth-child(4), .type-card:nth-child(5) { grid-column: span 3; }
  .type-card:nth-child(5) { grid-column: 1 / -1; }
  .board { width: 100%; }
  .floor-panel { grid-template-columns: 1fr; }
  .floor-panel figure.tall img { aspect-ratio: 4 / 3; }
  .checklist { grid-template-columns: 1fr 1fr; }
  .benefit-photo { max-width: 420px; }
  .toc { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .brand svg { width: 42px; height: 42px; }
  .brand-text strong { font-size: 1.1rem; }
  .brand-text span { font-size: 0.6rem; letter-spacing: .18em; }
  .hero-media { padding: 0 0 1.2rem 1.2rem; }
  .hero-tag { position: static; margin-bottom: 0.8rem; max-width: none; }
  .type-grid { grid-template-columns: 1fr; }
  .type-card, .type-card:nth-child(n) { grid-column: auto; }
  .board { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.2rem 1.3rem; }
  .board-num { border-right: 0; padding-right: 0; font-size: 1.8rem; }
  .steps { grid-template-columns: 1fr; }
  .benefit-list, .panel-cols, .checklist, .cookie-qa, .craft-grid, .footer-cols { grid-template-columns: 1fr; }
  .clause { grid-template-columns: 1fr; gap: 0.3rem; }
  .defs { grid-template-columns: 1fr; }
  .defs dd { margin-bottom: 0.6rem; }
  .tabs-list { border-radius: var(--radius); }
  .tab-btn { flex: 1 1 auto; }
  .contact-card { padding: 1.6rem 1.4rem 1.6rem 1.8rem; }
  .cta-contact .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.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; }
.cookie-qa > *, .hero-grid > *, .privacy-layout > *, .floor-panel > * { min-width: 0; }
a[href^="mailto:"] { overflow-wrap: anywhere; word-break: break-word; }
