/* ==========================================================
   Outdoor Lighting VB — main stylesheet
   Theme: Bright Marine + Cornflower Ocean
   Nav: Amber Gold | Footer: Straw Gold
   ========================================================== */

:root {
  --marine: #0B5D8F;
  --marine-bright: #1478B8;
  --marine-deep: #073E61;
  --cornflower: #6495ED;
  --cornflower-soft: #A9C3F5;
  --ocean-mist: #EAF1FD;
  --ocean-foam: #F6F9FF;
  --amber: #FFB300;
  --amber-dark: #E09A00;
  --straw: #E8CF7A;
  --straw-deep: #D4B654;
  --ink: #0B2239;
  --ink-soft: #3C5268;
  --white: #FFFFFF;
  --radius: 18px;
  --radius-lg: 30px;
  --shadow: 0 14px 40px rgba(7, 62, 97, 0.14);
  --shadow-sm: 0 6px 18px rgba(7, 62, 97, 0.10);
  --wrap: 1200px;
  --font-display: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ocean-foam);
  overflow-x: clip;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--marine-bright); }
a:hover { color: var(--marine-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--marine-bright); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--amber); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--cornflower); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 8px 22px rgba(255, 179, 0, .35); }
.btn-amber:hover { background: #FFC233; color: var(--ink); }
.btn-marine { background: var(--marine); color: var(--white); }
.btn-marine:hover { background: var(--marine-deep); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--marine-deep); }
.btn-outline { border-color: var(--marine); color: var(--marine); background: transparent; }
.btn-outline:hover { background: var(--marine); color: var(--white); }

/* ==========================================================
   HEADER — amber gold bar with centred pill navigation
   ========================================================== */
.topline {
  background: var(--marine-deep); color: #D6E4F7; font-size: .85rem;
}
.topline .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; flex-wrap: wrap; }
.topline a { color: var(--straw); text-decoration: none; }
.topline a:hover { color: var(--white); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--amber);
  border-bottom: 3px solid var(--marine);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(11, 34, 57, .22); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand svg { width: 50px; height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.brand-tag { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--marine-deep); font-weight: 700; margin-top: 4px; }

.main-nav ul {
  list-style: none; margin: 0; padding: 6px;
  display: flex; gap: 4px;
  background: rgba(255, 255, 255, .38); border-radius: 999px;
}
.main-nav a {
  display: block; padding: 9px 15px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover { background: rgba(11, 93, 143, .14); color: var(--marine-deep); }
.main-nav a[aria-current="page"] { background: var(--marine); color: var(--white); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: var(--marine); 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: 2px; background: var(--white); border-radius: 2px;
  position: relative; transition: transform .25s ease, background .25s ease;
}
.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); }

/* ==========================================================
   HOME — split hero with arched video window
   ========================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(100, 149, 237, .45), transparent 45%),
    linear-gradient(135deg, var(--marine-deep) 0%, var(--marine) 55%, var(--marine-bright) 100%);
  color: var(--white);
  padding: clamp(48px, 7vw, 92px) 0 clamp(64px, 8vw, 110px);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .eyebrow { color: var(--straw); }
.hero .lead { color: #D9E6F8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 36px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 520px; }
.hero-stats div {
  border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 14px 16px;
  background: rgba(255,255,255,.06);
}
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--amber); line-height: 1.1; }
.hero-stats span { font-size: .85rem; color: #CFE0F6; }

.arch-frame {
  position: relative;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 6px solid rgba(255, 179, 0, .9);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  background: var(--ink);
}
.arch-frame video, .arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute; right: 16px; bottom: 16px;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(11, 34, 57, .72); color: var(--white); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.video-toggle:hover { background: var(--amber); color: var(--ink); }
.hero-visual { position: relative; max-width: 460px; justify-self: center; width: 100%; }
.hero-badge {
  position: absolute; left: -34px; bottom: 44px;
  background: var(--white); color: var(--ink); border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 230px;
}
.hero-badge img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.hero-badge p { margin: 0; font-size: .85rem; line-height: 1.35; }
.hero-badge strong { display: block; color: var(--marine); }

/* Marquee ribbon */
.ribbon { background: var(--cornflower); color: var(--white); overflow: hidden; padding: 14px 0; }
.ribbon-track { display: flex; gap: 48px; width: max-content; animation: ribbon 32s linear infinite; }
.ribbon-track span { font-family: var(--font-display); font-size: 1.2rem; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.ribbon-track span::after { content: "✦"; color: var(--amber); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* Intro split */
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.photo-stack { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-stack img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.photo-stack img:nth-child(2) { margin-top: 48px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ocean-mist); color: var(--marine); font-weight: 700; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
}

/* Zone tabs */
.zones { background: var(--white); }
.tab-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 30px 0 34px; }
.tab-btn {
  border: 2px solid var(--cornflower-soft); background: var(--ocean-foam); color: var(--ink);
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; cursor: pointer;
  font-family: inherit; transition: all .2s ease;
}
.tab-btn:hover { border-color: var(--cornflower); }
.tab-btn[aria-selected="true"] { background: var(--marine); border-color: var(--marine); color: var(--white); }
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.tab-panel .pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--ocean-mist); color: var(--marine-deep); font-size: .85rem; font-weight: 600; }

/* Bento collection mosaic */
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  margin-top: 40px;
}
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  display: block; text-decoration: none; color: var(--white); background: var(--ink);
  box-shadow: var(--shadow-sm);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 34, 57, .88)); }
.tile-body { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.tile-body h3 { color: var(--white); margin: 0 0 4px; }
.tile-body p { margin: 0; font-size: .9rem; color: #D6E4F7; }
.tile-count {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  background: var(--amber); color: var(--ink); font-weight: 700; font-size: .78rem;
  padding: 5px 12px; border-radius: 999px;
}
.tile.t-tall { grid-row: span 2; }
.tile.t-wide { grid-column: span 2; }

/* Steps */
.steps-section { background: linear-gradient(180deg, var(--ocean-mist), var(--ocean-foam)); }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--white); border-radius: var(--radius); padding: 64px 22px 24px;
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--cornflower);
}
.steps li::before {
  content: "0" counter(step); position: absolute; top: 18px; left: 22px;
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--amber-dark);
}
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* Showcase */
.showcase { display: grid; grid-template-columns: 1.25fr .75fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--marine-deep); }
.showcase-media { position: relative; min-height: 420px; }
.showcase-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase-card { padding: clamp(28px, 4vw, 52px); color: var(--white); display: flex; flex-direction: column; justify-content: center; }
.showcase-card h2 { color: var(--white); }
.showcase-card p { color: #D6E4F7; }
.showcase-card .eyebrow { color: var(--straw); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq details {
  background: var(--white); border-radius: 14px; margin-bottom: 12px;
  border: 1px solid #D9E4F6; box-shadow: 0 2px 8px rgba(7,62,97,.04);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 700; font-family: var(--font-display); font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--ocean-mist); color: var(--marine);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-body);
}
.faq details[open] summary::after { content: "–"; background: var(--amber); color: var(--ink); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--ink-soft); }

/* CTA band */
.cta-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(120deg, var(--cornflower) 0%, var(--marine-bright) 100%);
  color: var(--white); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  padding: clamp(30px, 5vw, 56px);
}
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; color: #EEF4FF; max-width: 56ch; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================
   INNER PAGE BANNER
   ========================================================== */
.page-banner {
  position: relative; color: var(--white); overflow: hidden;
  background: var(--marine-deep);
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
}
.page-banner > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,62,97,.95) 20%, rgba(11,93,143,.55) 100%);
}
.page-banner .wrap { position: relative; z-index: 1; }
.page-banner h1 { color: var(--white); max-width: 18ch; }
.page-banner p { color: #D9E6F8; max-width: 60ch; font-size: 1.1rem; margin: 0; }
.crumbs { font-size: .88rem; margin-bottom: 16px; color: var(--straw); }
.crumbs a { color: var(--straw); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.banner-plain { background: linear-gradient(135deg, var(--marine-deep), var(--marine)); }
.banner-plain::before { display: none; }

/* ==========================================================
   COLLECTIONS
   ========================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; }
.filter-btn {
  font-family: inherit; font-weight: 700; font-size: .92rem; cursor: pointer;
  padding: 10px 18px; border-radius: 12px; border: 2px solid var(--marine);
  background: transparent; color: var(--marine); transition: all .2s ease;
}
.filter-btn:hover { background: var(--ocean-mist); }
.filter-btn.is-active { background: var(--marine); color: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  border: 1px solid #DDE7F7; transition: transform .25s ease, box-shadow .25s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product[hidden] { display: none; }
.product-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.zoom-btn {
  position: absolute; right: 12px; top: 12px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--marine-deep); font-weight: 700; font-size: .8rem;
  padding: 7px 12px; border-radius: 999px; font-family: inherit;
}
.zoom-btn:hover { background: var(--amber); color: var(--ink); }
.product-tag {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--amber); color: var(--ink); font-size: .75rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; letter-spacing: .04em;
}
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: .35em; }
.product-body > p { color: var(--ink-soft); font-size: .97rem; }
.specs { margin: 4px 0 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; }
.specs dt { font-weight: 700; color: var(--marine); }
.specs dd { margin: 0; color: var(--ink-soft); }
.product-body .btn { margin-top: auto; align-self: flex-start; padding: 11px 20px; font-size: .92rem; }

.guide-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--white); }
.guide-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.guide-table th, .guide-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid #E3EBF8; vertical-align: top; }
.guide-table thead th { background: var(--marine); color: var(--white); font-family: var(--font-display); font-size: 1.05rem; }
.guide-table tbody tr:nth-child(even) { background: var(--ocean-foam); }
.guide-table td:first-child { font-weight: 700; color: var(--marine-deep); }

.note-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.note-card { background: var(--white); border-radius: var(--radius); padding: 28px; border-left: 5px solid var(--amber); box-shadow: var(--shadow-sm); }
.note-card p { margin: 0; color: var(--ink-soft); }
.note-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--ocean-mist); color: var(--marine); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(5, 20, 34, .92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.lightbox figcaption { color: var(--white); margin-top: 12px; text-align: center; font-family: var(--font-display); font-size: 1.1rem; }
.lightbox-close {
  position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--amber); color: var(--ink); font-size: 1.5rem; cursor: pointer; line-height: 1;
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: -64px; position: relative; z-index: 2; }
.contact-card {
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow); display: flex; gap: 20px; align-items: flex-start;
}
.contact-card .icon {
  flex-shrink: 0; width: 60px; height: 60px; border-radius: 18px;
  background: var(--amber); color: var(--ink); display: flex; align-items: center; justify-content: center;
}
.contact-card h2 { font-size: 1.5rem; margin-bottom: .3em; }
.contact-card a.big, .contact-card address {
  font-style: normal; font-size: 1.2rem; font-weight: 700; color: var(--marine); word-break: break-word;
  text-decoration: none; display: block; margin-bottom: 10px;
}
.contact-card a.big:hover { text-decoration: underline; }
.contact-card p { color: var(--ink-soft); margin: 0 0 16px; }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.contact-split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.numbered { counter-reset: n; list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.numbered li::before {
  content: counter(n); width: 36px; height: 36px; border-radius: 10px;
  background: var(--marine); color: var(--white); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================================
   LEGAL — three different layouts
   ========================================================== */
.legal-date { display: inline-block; margin-top: 18px; background: rgba(255,255,255,.14); padding: 6px 14px; border-radius: 999px; font-size: .88rem; color: var(--straw); }

/* Privacy: sticky index + numbered sections */
.privacy-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.toc {
  position: sticky; top: 110px; background: var(--white); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--amber);
}
.toc h2 { font-size: 1.1rem; margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .93rem; }
.toc li { margin-bottom: 6px; }
.toc a { text-decoration: none; color: var(--ink-soft); }
.toc a:hover { color: var(--marine); text-decoration: underline; }
.privacy-body section { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); margin-bottom: 20px; box-shadow: 0 2px 10px rgba(7,62,97,.05); scroll-margin-top: 110px; }
.privacy-body h2 { font-size: 1.5rem; display: flex; gap: 12px; align-items: baseline; }
.privacy-body h2 span { color: var(--amber-dark); font-size: 1.1rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 10px 0 6px; }
.data-table th, .data-table td { border: 1px solid #DCE6F6; padding: 12px 14px; text-align: left; vertical-align: top; }
.data-table th { background: var(--ocean-mist); color: var(--marine-deep); }
.table-scroll { overflow-x: auto; }
.table-scroll .data-table { min-width: 560px; }

/* Terms: definitions strip + article grid */
.defs { background: var(--marine); color: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); margin-bottom: 40px; }
.defs h2 { color: var(--white); }
.defs dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; margin: 0; }
.defs dt { font-weight: 700; color: var(--amber); font-family: var(--font-display); font-size: 1.1rem; }
.defs dd { margin: 4px 0 0; color: #D9E6F8; font-size: .96rem; }
.articles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.article {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border: 1px solid #DCE6F6; position: relative;
}
.article .art-no {
  display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--marine-bright); background: var(--ocean-mist); padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}
.article p:last-child, .article ul:last-child { margin-bottom: 0; }
.article.full { grid-column: 1 / -1; border: 2px solid var(--amber); }

/* Cookie: question blocks + browser grid */
.cookie-intro { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); margin-bottom: 44px; }
.cookie-intro .icon { width: 84px; height: 84px; border-radius: 50%; background: var(--straw); display: flex; align-items: center; justify-content: center; color: var(--marine-deep); }
.cookie-intro p:last-child { margin: 0; }
.qa { border-left: 4px solid var(--cornflower); padding: 4px 0 4px 26px; margin-bottom: 38px; }
.qa h2 { font-size: 1.55rem; }
.browser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.browser-grid div { background: var(--ocean-mist); border-radius: 14px; padding: 18px; }
.browser-grid h3 { font-size: 1.05rem; margin-bottom: 6px; }
.browser-grid p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

.legal-contact { background: var(--straw); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.legal-contact h2 { font-size: 1.5rem; margin-bottom: .3em; }
.legal-contact p, .legal-contact address { margin: 0; font-style: normal; }

/* ==========================================================
   FOOTER — straw gold, wave top, headline row + columns
   ========================================================== */
.site-footer { background: var(--straw); color: var(--ink); position: relative; margin-top: 40px; }
.footer-wave { display: block; width: 100%; height: 48px; color: var(--straw); margin-top: -47px; }
.footer-head {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 36px 0 30px; border-bottom: 2px dashed rgba(11, 34, 57, .25);
}
.footer-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; max-width: 24ch; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 40px 0; }
.footer-cols h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-body); font-weight: 800; color: var(--marine-deep); margin-bottom: 14px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols a { color: var(--ink); text-decoration: none; }
.footer-cols a:hover { color: var(--marine); text-decoration: underline; }
.footer-brand p { font-size: .95rem; margin: 14px 0 0; color: #2E3F52; }
.footer-brand .brand-name { font-size: 1.35rem; }
.footer-cols address { font-style: normal; line-height: 1.7; }
.footer-bottom {
  background: var(--straw-deep); font-size: .9rem;
}
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; flex-wrap: wrap; }
.footer-bottom nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; }
.footer-bottom a { color: var(--ink); text-decoration: none; font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }
.to-top {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--marine); color: var(--white); font-size: 1.2rem;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.to-top:hover { background: var(--marine-deep); color: var(--white); text-decoration: none; }

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

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1120px) {
  .main-nav a { padding: 9px 11px; font-size: .9rem; }
}
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--amber); border-bottom: 3px solid var(--marine);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .35s ease, visibility .35s;
    box-shadow: 0 16px 30px rgba(11,34,57,.2);
  }
  .nav-open .main-nav { max-height: 520px; visibility: visible; }
  .main-nav ul {
    flex-direction: column; background: transparent; border-radius: 0;
    width: min(100% - 32px, var(--wrap)); margin: 0 auto; padding: 12px 0 20px; gap: 6px;
  }
  .main-nav a { padding: 13px 18px; font-size: 1.05rem; border-radius: 12px; background: rgba(255,255,255,.35); }

  .hero-grid, .intro-grid, .tab-panel, .faq-grid, .contact-split { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; }
  .hero-badge { left: -12px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .showcase-media { min-height: 0; aspect-ratio: 4 / 3; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .note-cards { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .privacy-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .browser-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .topline .wrap { justify-content: center; text-align: center; }
  .topline .tl-extra { display: none; }
  .nav-bar { min-height: 66px; }
  .brand svg { width: 42px; height: 42px; }
  .brand-name { font-size: 1.1rem; }
  .brand-tag { font-size: .62rem; letter-spacing: .12em; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .hero-stats div { padding: 10px; }
  .hero-stats strong { font-size: 1.25rem; }
  .hero-stats span { font-size: .75rem; }
  .hero-badge { display: none; }
  .arch-frame { aspect-ratio: 1 / 1; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .tile.t-tall, .tile.t-wide { grid-row: auto; grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .photo-stack img:nth-child(2) { margin-top: 28px; }
  .cta-band, .legal-contact, .footer-head { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; margin-top: -40px; }
  .contact-card { flex-direction: column; }
  .defs dl, .articles { grid-template-columns: 1fr; }
  .cookie-intro { grid-template-columns: 1fr; }
  .browser-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom .wrap { flex-direction: column; text-align: center; }
  .footer-bottom nav ul { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Visually hidden, still read by screen readers */
.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; }

/* Let grid/flex children shrink so wide tables scroll inside their box instead of stretching the page */
.privacy-layout > *, .hero-grid > *, .intro-grid > *, .tab-panel > *, .faq-grid > *, .contact-split > *, .articles > *, .showcase > * { min-width: 0; }
