/* SHINECOR — Sunroom v3 (mock-up, 2026-10-30; v2 + independent review fixes)
   Bright, friendly, a little playful: butter, sky, cream, navy. Rounded blocks, pill tags,
   a few tilted photo cards. One type scale, one spacing scale. Blue = good / do this,
   orange = careful / not this (owner has red-green color weakness: never red vs green).
   Every control is at least 44 px tall (review A2). */

/* Self-hosted fonts (review m10): the Latin subsets of the Google Fonts files, variable weight, no third-party request */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/nunito-latin-variable.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("/fonts/bricolage-grotesque-latin-variable.woff2") format("woff2"); }

:root {
  /* color */
  --cream: #FFFBF2;
  --butter: #FDEDB0;
  --butter-soft: #FFF4CF;
  --sky: #D6EBFA;
  --sky-soft: #EBF5FD;
  --sky-logo: #93D8F8;
  --peach: #FAD9C4;
  --white: #FFFFFF;
  --navy: #1E2748;      /* text, borders */
  --navy-2: #4A5170;    /* secondary text */
  --blue: #2B4FA2;      /* buttons, links, "yes" */
  --blue-dark: #1E3A7B;
  --orange: #A3470A;    /* "careful", "not this" */
  --line: rgba(30, 39, 72, .14);

  /* type */
  --display: "Bricolage Grotesque", ui-rounded, system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: .8125rem;   /* 13 */
  --fs-sm: .9375rem;   /* 15 */
  --fs-base: 1.0625rem;/* 17 */
  --fs-lg: 1.25rem;    /* 20 */
  --fs-h4: 1.25rem;
  --fs-h3: clamp(1.375rem, 1.1rem + .9vw, 1.625rem);
  --fs-h2: clamp(1.875rem, 1.2rem + 2.6vw, 2.875rem);
  --fs-h1: clamp(2.375rem, 1.3rem + 4.4vw, 4.25rem);

  /* space: 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --section: clamp(56px, 4vw + 36px, 96px);
  --gutter: 16px;
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-xl: 40px;
  --shadow: 0 1px 2px rgba(30,39,72,.06), 0 10px 28px rgba(30,39,72,.10);
  --lift: 0 5px 0 var(--navy);
}
@media (min-width: 768px) { :root { --gutter: 32px; --fs-base: 1.125rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--cream); color: var(--navy); font: 400 var(--fs-base)/1.6 var(--body); overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
picture { display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--blue-dark); }
p { margin: 0 0 var(--s4); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
strong, b { font-weight: 800; }

/* focus: always visible, navy ring with a cream gap */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .pill-link:focus-visible { outline-offset: 4px; border-radius: 999px; }
/* on navy the ring turns light blue (navy-on-navy would be invisible) */
.site-foot :focus-visible, .bg-navy :focus-visible { outline-color: var(--sky-logo); }

.skip { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 50; font-weight: 800; }
.skip:focus { top: 12px; color: #fff; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * .6); }
/* rounded color blocks, inset from the page edge */
.panel { margin-inline: clamp(8px, 2vw, 24px); border-radius: var(--r-xl); padding-block: var(--section); }
.panel + .panel, .section + .panel { margin-top: 0; }
.bg-butter { background: var(--butter); }
.bg-sky { background: var(--sky); }
.bg-peach { background: var(--peach); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); color: #fff; }
.stack > * + * { margin-top: var(--s4); }
.grid-2 { display: grid; gap: var(--s6); }
.grid-3 { display: grid; gap: var(--s5); }
.grid-4 { display: grid; gap: var(--s4); }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
  .grid-2.top { align-items: start; }
  .grid-2.wide-left { grid-template-columns: 1.15fr .85fr; }
  .grid-2.wide-right { grid-template-columns: .85fr 1.15fr; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
@media (min-width: 960px) { .grid-2.flip > :first-child { order: 2; } }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 var(--s4); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.02; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4 { font-size: var(--fs-h4); line-height: 1.2; letter-spacing: -.01em; }
.lead { font-size: var(--fs-lg); line-height: 1.55; color: var(--navy-2); max-width: 36em; }
.muted { color: var(--navy-2); }
.small { font-size: var(--fs-sm); color: var(--navy-2); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.head { max-width: 760px; margin-bottom: var(--s7); }
.head.center { margin-inline: auto; }
.head p:last-child { margin-bottom: 0; }

/* pill tags (the slight tilt is the Sunroom signature) */
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--butter); color: var(--navy); border-radius: 999px; padding: 5px 14px; font: 800 var(--fs-sm)/1.2 var(--body); letter-spacing: .01em; margin-bottom: var(--s4); }
.pill.tilt { transform: rotate(-2deg); }  /* the Sunroom tilt, kept for the one pill at the top of each page */
.pill .i { width: 16px; height: 16px; }
.pill.on-butter { background: var(--white); }
.pill.sky { background: var(--sky); }
.pill.white { background: var(--white); }
.tags { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: 0; }
.tags li { background: var(--white); border: 2px solid var(--navy); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: var(--fs-sm); }

/* icons: 24 grid, 2 px round strokes, currentColor */
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-lg { width: 32px; height: 32px; }
.icon-dot { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sky); color: var(--navy); flex: none; }
.icon-dot.butter { background: var(--butter); }
.icon-dot.peach { background: var(--peach); }
.icon-dot.white { background: var(--white); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border-radius: 999px; border: 2px solid var(--navy); background: var(--blue); color: #fff; font: 700 1.0625rem/1.2 var(--display); text-decoration: none; box-shadow: var(--lift); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 7px 0 var(--navy); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--navy); }
.btn .i { width: 20px; height: 20px; }
.btn-ghost { background: var(--white); color: var(--navy); }
.btn-ghost:hover { background: var(--sky-soft); color: var(--navy); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .9375rem; box-shadow: 0 3px 0 var(--navy); }
.btn-sm:hover { box-shadow: 0 5px 0 var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: center; }
.amazon-note { font-size: var(--fs-sm); color: var(--navy-2); margin-top: var(--s3); }
.text-link { font-weight: 800; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; }
.text-link .i { width: 18px; height: 18px; transition: transform .15s; }
.text-link:hover { text-decoration: underline; }
.text-link:hover .i { transform: translateX(3px); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 251, 242, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 72px; }
.logo { display: block; flex: none; border-radius: 8px; padding-block: 6px; }
.logo img { width: 168px; height: auto; }
@media (min-width: 960px) { .site-head .wrap { min-height: 84px; } .logo img { width: 210px; } }
.nav-toggle { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 2px solid var(--navy); border-radius: 999px; padding: 8px 16px; font: 800 var(--fs-sm)/1 var(--body); color: var(--navy); cursor: pointer; min-height: 44px; }
.nav-toggle .i { width: 20px; height: 20px; }
.nav-toggle .close { display: none; }
.nav-toggle[aria-expanded="true"] .open { display: none; }
.nav-toggle[aria-expanded="true"] .close { display: block; }
.main-nav ul { list-style: none; padding: 0; margin: 0; }
.main-nav a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; border-radius: 999px; }
.main-nav a .i { width: 20px; height: 20px; color: var(--blue); }
.main-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.main-nav a[aria-current="page"] .i { color: var(--sky-logo); }
@media (max-width: 959.98px) {
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(30,39,72,.12); padding: var(--s3) var(--gutter) var(--s5); }
  .main-nav[hidden] { display: none; }
  .main-nav ul { display: grid; gap: var(--s1); }
  .main-nav a { padding: 12px 16px; font-size: 1.125rem; }
  .main-nav a:hover { background: var(--sky-soft); }
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .main-nav[hidden] { display: block; }
  .main-nav ul { display: flex; gap: var(--s1); }
  .main-nav a { padding: 10px 16px; font-size: 1rem; transition: background-color .15s; }
  .main-nav a:hover { background: var(--sky); color: var(--navy); }
  .main-nav a[aria-current="page"]:hover { background: var(--navy); color: #fff; }
}

/* breadcrumb */
.crumbs { font-size: var(--fs-sm); color: var(--navy-2); padding-top: var(--s5); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--navy-2); }
.crumbs ol { align-items: center; }
.crumbs li { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a { color: var(--navy-2); font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.crumbs [aria-current] { color: var(--navy); font-weight: 700; }

/* ---------- hero ---------- */
.hero { padding-block: var(--s7) var(--section); }
.hero .grid-2 { gap: var(--s7); }
.hero h1 { margin-bottom: var(--s5); }
.hero .lead { margin-bottom: var(--s6); }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); list-style: none; padding: 0; margin: var(--s6) 0 0; font-weight: 700; font-size: var(--fs-sm); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .i { color: var(--blue); width: 20px; height: 20px; }
.price-line { margin-top: var(--s4); font-size: var(--fs-sm); color: var(--navy-2); }

/* tilted photo cards: used only in the home hero and the guide intros */
.photo-pair { max-width: 560px; width: 100%; margin-inline: auto; position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; padding: var(--s4) 0 var(--s5); }
.snap { background: var(--white); padding: 10px 10px 14px; border-radius: 10px; box-shadow: var(--shadow); margin: 0; }
.snap img { border-radius: 4px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.snap figcaption { font: 700 var(--fs-sm)/1.3 var(--display); text-align: center; margin-top: 10px; display: flex; justify-content: center; align-items: center; gap: 6px; }
.snap figcaption .i { width: 18px; height: 18px; color: var(--blue); }
.photo-pair .snap:first-child { grid-column: 1 / 10; grid-row: 1; transform: rotate(-3deg); z-index: 1; }
.photo-pair .snap:first-child figcaption { justify-content: flex-start; padding-left: 6px; }
.photo-pair .snap:last-child { grid-column: 6 / 13; grid-row: 1; margin-top: 66%; transform: rotate(3deg); z-index: 2; }

/* ---------- cards ---------- */
.card { background: var(--white); border: 2px solid var(--navy); border-radius: var(--r-lg); padding: var(--s5); }
.card.soft { border-color: transparent; box-shadow: var(--shadow); }
.card.lift { box-shadow: 0 6px 0 var(--navy); }
@media (min-width: 768px) { .card { padding: var(--s6); } }
.card h3 { margin-bottom: var(--s3); }
.card .icon-dot + h3 { margin-top: var(--s4); }
.h3 { font-size: var(--fs-h3); line-height: 1.15; margin-bottom: var(--s3); }

/* film cards (home) */
.film-card { display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--navy); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 6px 0 var(--navy); }
.film-card .ph { position: relative; }
.film-card .ph img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.film-card .ph .pill { position: absolute; left: 16px; top: 16px; margin: 0; box-shadow: 0 2px 8px rgba(30,39,72,.15); }
.film-card .body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s4); flex: 1; }
@media (min-width: 768px) { .film-card .body { padding: var(--s6); } }
.film-card h3 { margin: 0; }
.film-card .for { font: 800 var(--fs-sm)/1.2 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin: 0 0 var(--s2); }
.film-card .foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.price-from { font: 800 1.5rem/1 var(--display); }
.price-from small { display: block; font: 600 var(--fs-xs)/1.4 var(--body); color: var(--navy-2); margin-top: 4px; }

/* tick lists: blue tick = yes, orange cross = no */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.ticks .i { margin-top: 2px; }
.ticks .yes { color: var(--blue); }
.ticks .no { color: var(--orange); }

/* step path cards (home) */
.path { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.path-card { position: relative; display: flex; flex-direction: column; gap: var(--s3); height: 100%; background: var(--white); border-radius: var(--r-lg); padding: var(--s5); text-decoration: none; color: var(--navy); border: 2px solid var(--navy); transition: transform .18s ease, box-shadow .18s ease; }
.path-card:hover { transform: translateY(-4px); box-shadow: 0 8px 0 var(--navy); color: var(--navy); }
.path-card .n { font: 800 var(--fs-sm)/1 var(--body); color: var(--navy-2); letter-spacing: .08em; text-transform: uppercase; }
.path-card h3 { margin: 0; }
.path-card p { margin: 0; color: var(--navy-2); }
.path-card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--blue); }
.path-card .go .i { width: 18px; height: 18px; transition: transform .15s; }
.path-card:hover .go .i { transform: translateX(4px); }

/* compare table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 2px solid var(--navy); border-radius: var(--r-lg); overflow: hidden; font-size: var(--fs-sm); }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--navy); color: #fff; font: 700 1rem/1.2 var(--display); }
.compare tbody th { font-weight: 800; width: 28%; background: var(--sky-soft); }
@media (min-width: 768px) { .compare { font-size: 1rem; } .compare th, .compare td { padding: 18px 22px; } }
@media (max-width: 599.98px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody th { width: auto; border-bottom: 0; padding-bottom: 6px; }
  .compare td { border-bottom: 0; padding-top: 4px; padding-bottom: 4px; }
  .compare td::before { content: attr(data-film) ": "; font-weight: 800; }
  .compare tr { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
  .compare tr:last-child { border-bottom: 0; }
}

/* fact strip */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s5); }
/* one column on phones and tablets, three only from 960 px (review D4) */
@media (min-width: 600px) and (max-width: 959.98px) { .facts { gap: var(--s5) var(--s6); } .fact { max-width: 34em; } }
@media (min-width: 960px) { .facts { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }
.fact { display: flex; gap: var(--s4); align-items: flex-start; }
.fact h3 { font-size: var(--fs-h4); margin-bottom: var(--s2); }
.fact p { margin: 0; color: var(--navy-2); }

/* dashed heads-up boxes */
.note { display: grid; grid-template-columns: 28px 1fr; gap: var(--s3); align-items: start; background: var(--white); border: 2px dashed var(--navy); border-radius: var(--r-md); padding: var(--s4) var(--s5); }
.note .i { width: 26px; height: 26px; color: var(--blue); margin-top: 1px; }
.note.warn .i { color: var(--orange); }
.note p { margin: 0; }
.note p + p { margin-top: var(--s2); }
.note strong:first-child { font-family: var(--display); font-weight: 700; }
.note.sun { background: var(--butter-soft); }

/* media */
.photo { border-radius: var(--r-lg); overflow: hidden; background: var(--sky); }
.photo img, .photo video { width: 100%; object-fit: cover; }
.r43 img, .r43 video { aspect-ratio: 4 / 3; }
.r169 img, .r169 video { aspect-ratio: 16 / 9; }
.r1 img { aspect-ratio: 1; }
figure { margin: 0; }
.cap { font-size: var(--fs-sm); color: var(--navy-2); margin-top: var(--s3); }
.thumb-sm { max-width: 320px; }

/* ---------- product page ---------- */
.pd { padding-block: var(--s5) var(--section); }
.pd .grid-2 { gap: var(--s6); align-items: start; }
@media (min-width: 960px) { .pd .grid-2 { grid-template-columns: 1.08fr .92fr; gap: var(--s8); } .pd-info { position: sticky; top: 108px; } }
.stage { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); aspect-ratio: 4 / 3; }
.stage picture { height: 100%; }
.stage img, .stage video { width: 100%; height: 100%; object-fit: cover; }
.stage-cap { font-size: var(--fs-sm); color: var(--navy-2); margin: var(--s3) 0 0; min-height: 3em; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s2); margin-top: var(--s3); list-style: none; padding: 0; }
.thumbs button { position: relative; display: block; width: 100%; padding: 0; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 3px solid transparent; background: var(--sky); cursor: pointer; transition: border-color .15s, transform .15s; }
.thumbs button:hover { transform: translateY(-2px); }
.thumbs button[aria-pressed="true"] { border-color: var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .play-badge { position: absolute; inset: 0; display: grid; place-items: center; }
.thumbs .play-badge span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); }
.thumbs .play-badge .i { width: 16px; height: 16px; fill: currentColor; stroke: none; margin-left: 2px; }
.pd-info h1 { font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.25rem); margin-bottom: var(--s4); }
.pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: var(--s5) 0 var(--s2); }
.pd-price .price-from { font-size: 2.25rem; }
.pd-price span { font-size: var(--fs-sm); color: var(--navy-2); }
.pd-info .btn-row { margin: var(--s5) 0 0; }
.pd-perks { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.perk { display: grid; grid-template-columns: 44px 1fr; gap: var(--s3); align-items: start; }
.perk .icon-dot { width: 44px; height: 44px; border-radius: 14px; }
.perk .icon-dot .i { width: 22px; height: 22px; }
.perk p { margin: 0; color: var(--navy-2); }
.perk b { color: var(--navy); font-family: var(--display); font-weight: 700; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); }
.disclosure { margin-top: var(--s5); }

/* tier table */
.tier-wrap { background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--navy); }
.tiers { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tiers th, .tiers td { padding: 11px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.tiers thead th { background: var(--navy); color: #fff; font: 700 var(--fs-sm)/1.2 var(--display); }
.tiers td:last-child, .tiers th:last-child { text-align: right; font-weight: 800; }
.tiers tbody tr:last-child td { border-bottom: 0; }
.tiers tbody tr.ex td { background: var(--sky-soft); }
.tiers .ex-tag { font-size: var(--fs-xs); font-weight: 800; color: var(--blue); margin-left: 8px; }

/* ---------- guide pages ---------- */
.guide-hero { padding-block: var(--s7) var(--s8); }
.guide-hero .lead { margin-bottom: var(--s6); }
.toc { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; min-height: 44px; border-radius: 999px; background: var(--white); border: 2px solid var(--navy); color: var(--navy); font-weight: 800; font-size: var(--fs-sm); text-decoration: none; counter-increment: toc; transition: background-color .15s; }
.toc a::before { content: counter(toc); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--butter); font: 800 var(--fs-xs)/1 var(--body); }
.toc a:hover { background: var(--sky-soft); }
.step-block + .step-block { margin-top: var(--s4); }
.step-num { display: inline-flex; align-items: center; gap: 10px; font: 800 var(--fs-sm)/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--navy-2); margin-bottom: var(--s3); }
.step-num b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 1rem/1 var(--display); letter-spacing: 0; }
.bg-navy .step-num { color: #fff; }
.fig-card { background: var(--white); border: 2px solid var(--navy); border-radius: var(--r-lg); padding: var(--s4); }
@media (min-width: 768px) { .fig-card { padding: var(--s5); } }
.fig-card figcaption, .fig-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-top: var(--s3); font-size: var(--fs-sm); color: var(--navy-2); }
.replay { display: inline-flex; align-items: center; gap: 6px; font: 800 var(--fs-sm)/1 var(--body); background: var(--white); border: 2px solid var(--blue); color: var(--blue); border-radius: 999px; padding: 8px 16px; cursor: pointer; min-height: 44px; }
.replay:hover { background: var(--sky-soft); }
.replay .i { width: 16px; height: 16px; }

/* FAQ (tips) */
.faq-group + .faq-group { margin-top: var(--s7); }
.faq-group > h2 { display: flex; align-items: center; gap: var(--s3); font-size: var(--fs-h3); margin-bottom: var(--s4); }
.faq { background: var(--white); border: 2px solid var(--navy); border-radius: var(--r-md); }
.faq + .faq { margin-top: var(--s3); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: var(--s3); align-items: center; padding: var(--s4) var(--s5); font: 700 1.125rem/1.3 var(--display); border-radius: var(--r-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--sky-soft); }
.faq summary .tog { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--butter); transition: transform .2s; }
.faq summary .tog .i { width: 18px; height: 18px; }
.faq-q { font: 700 1.125rem/1.3 var(--display); letter-spacing: -.01em; margin: 0; }
.faq[open] summary .tog { transform: rotate(45deg); }
.faq .a { padding: 0 var(--s5) var(--s5); }
.faq .a .photo { margin-top: var(--s4); max-width: 440px; }
.faq .a ul { padding-left: 20px; }
.faq .a li + li { margin-top: 6px; }

/* closing CTA */
.cta { text-align: center; }
.cta .btn-row { justify-content: center; margin-top: var(--s5); }

/* ---------- footer ---------- */
.site-foot { background: var(--navy); color: #E7EAF3; margin-top: var(--section); padding-block: var(--s8) var(--s6); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.site-foot a { color: #fff; text-decoration: none; font-weight: 700; }
.site-foot a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; gap: var(--s6); }
@media (min-width: 600px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-brand img { width: 170px; background: #fff; padding: 10px 14px; border-radius: 14px; }
.foot-brand p { margin-top: var(--s4); max-width: 26em; color: #E7EAF3; }
.site-foot h2 { font: 800 var(--fs-xs)/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--sky-logo); margin: 0 0 var(--s4); }
.site-foot ul { list-style: none; padding: 0; display: grid; gap: 0; }
.site-foot li a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-logo { display: inline-block; border-radius: 14px; }
.sold { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: var(--fs-sm); margin-top: var(--s4); }
.sold .i { width: 18px; height: 18px; color: var(--sky-logo); }
.foot-base { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); justify-content: space-between; font-size: var(--fs-sm); color: #C9CEDD; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .btn:hover, .path-card:hover, .thumbs button:hover { transform: none; }
}

/* ---------- two-state photo pair (Rainbow: in direct sun / without direct sun) ---------- */
.two-state { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s5); }
.two-state figure { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--sky); }
.two-state img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.two-state figcaption { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; background: var(--white); color: var(--navy); border-radius: 999px; padding: 4px 12px; font: 800 var(--fs-xs)/1.3 var(--body); box-shadow: 0 2px 8px rgba(30,39,72,.18); }
.two-state figcaption .i { width: 16px; height: 16px; color: var(--blue); }
.two-state.in-card { margin: 0; gap: 2px; background: var(--navy); }
.two-state.in-card figure { border-radius: 0; }
.two-state.in-card img { aspect-ratio: 2 / 3; }
.two-state + .cap { margin-top: var(--s3); }

/* ---------- privacy draft ---------- */
.prose h2 { font-size: var(--fs-h3); margin: var(--s7) 0 var(--s3); }
.prose h2:first-child, .prose h1 + h2 { margin-top: var(--s5); }
.prose p { max-width: 40em; }

/* French-door listings box (product pages, measure step five, order guide) */
.door-links { margin: var(--s2) 0 0; padding-left: 1.2em; }
.door-links li + li { margin-top: var(--s2); }
.door-links + p { margin-top: var(--s2); }
.door-note a { font-weight: 800; }
.video-fig { margin: 0; }
.video-fig .cap { margin-top: var(--s2); }
@media (max-width: 767px) { .nf-hero { padding-bottom: 0; } .nf-hero + .section-tight { padding-top: var(--s5); } }
