/* North Georgia Outdoor Living — site styles
   Built from the owners' logo: the porch-house badge (pine lettering and trim, a golden sun,
   butter-yellow house, forest pines, green grass) on its cream ground.
   Signature: the window frame of a finished porch, in the logo's deep pine. It frames the hero
   and shapes the product "window wall". The sun gold is the one action color. */

@font-face { font-family: 'Literata'; src: url('/fonts/literata-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('/fonts/publicsans-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* Sampled from the logo (assets/logo/ngol-logo-hires.png) */
  --navy: #1F4F4E;        /* logo pine: lettering, house trim → headings */
  --blue: #8A5414;        /* porch-post brown, deepened for text: links, small accents */
  --blue-press: #6B3F0C;
  --gold: #E0A838;        /* the sun: primary buttons */
  --gold-press: #C9922A;
  --butter: #F0D890;      /* the house */
  --grass: #90A850;       /* the lawn */
  --forest: #406850;      /* the pines */
  --night: #183F3E;       /* deep pine band: estimate CTA, hero sill */
  --mist: #FEFCF3;        /* the logo's cream ground: page background */
  --pane: #F7EFD6;        /* soft butter: alternate sections */
  --rule: #E3D8B8;        /* hairlines */
  --sky: #F0D890;         /* butter, as the light accent on dark */
  --frame: #173837;       /* window frames: deep pine */
  --ink: #213330;         /* body text */
  --muted: #55625D;
  --white: #fff;

  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --space: clamp(4rem, 9vw, 7.5rem);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-press); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--sky); }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.12;
  letter-spacing: -.012em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 66ch; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { font-weight: 650; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.section--pane { background: var(--pane); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 58ch; }
.kicker { font-family: var(--serif); font-style: normal; font-size: 1.05rem; color: var(--blue); margin-bottom: .6rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem; border-radius: var(--radius); border: 2px solid var(--gold);
  background: var(--gold); color: var(--night); font: 650 1rem/1.2 var(--sans); text-decoration: none;
  cursor: pointer; transition: background-color .18s, border-color .18s, transform .18s var(--ease-out); }
.btn:hover { background: var(--gold-press); border-color: var(--gold-press); color: var(--night); }
.btn:active { transform: translateY(1px); }
.btn--line { background: transparent; color: var(--navy); border-color: currentColor; }
.btn--line:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.on-dark .btn--line { color: var(--white); }
.on-dark .btn--line:hover { background: var(--white); color: var(--night); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.textlink { font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.textlink:hover { color: var(--blue); text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--mist); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 5rem; max-width: 92rem; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; flex: none; }
.logo__badge { width: 56px; height: 56px; }
.logo__word { width: 190px; height: auto; }
.header-cta { white-space: nowrap; flex: none; }
@media (max-width: 30rem) { .logo { gap: .4rem; } .logo__word { width: 118px; } .logo__badge { width: 40px; height: 40px; } }
.nav { display: none; }
.nav__list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__list > li { margin: 0; position: relative; }
.nav a, .nav__more { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .7rem; white-space: nowrap; color: var(--ink);
  font: 500 .97rem/1 var(--sans); text-decoration: none; border: 0; background: none; cursor: pointer; border-radius: var(--radius); }
.nav a:hover, .nav__more:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav__core { font-weight: 650 !important; color: var(--navy) !important; }
.nav__more svg { width: 12px; margin-left: .35rem; transition: transform .2s var(--ease-out); }
.nav__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown { position: absolute; left: -.5rem; top: calc(100% + .35rem); min-width: 15rem; padding: .5rem;
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(23, 56, 55, .35); list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease-out), visibility 0s .18s; }
.dropdown.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s var(--ease-out); }
.dropdown li { margin: 0; }
.dropdown a { display: flex; width: 100%; padding: .55rem .75rem; min-height: 44px; }
.dropdown a:hover { background: var(--pane); }
.header-phone { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 700; font-size: 1.02rem; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 17px; color: var(--blue); }
.header-phone:hover { color: var(--blue); }
@media (max-width: 30rem) { .header-phone { font-size: .9rem; gap: .25rem; } .header-phone svg { width: 14px; } .site-header .wrap { gap: .6rem; } }
@media (min-width: 84rem) and (max-width: 90rem) { .nav a, .nav__more { padding: 0 .5rem; } }
.header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid var(--rule); background: var(--white); border-radius: var(--radius); cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 22px; }

@media (min-width: 48rem) { .header-cta { display: inline-flex; min-height: 44px; padding-block: .55rem; } }
@media (min-width: 84rem) {
  .nav { display: block; }
  .menu-btn { display: none; }
}


/* Mobile menu: a panel that slides in from the right */
.mobile-menu { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.mobile-menu__scrim { position: absolute; inset: 0; background: rgba(23, 56, 55, .5); opacity: 0; transition: opacity .25s; }
.mobile-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(24rem, 88vw); background: var(--mist);
  padding: 1rem 1.25rem 2rem; overflow-y: auto; transform: translateX(100%); transition: transform .32s var(--ease-out);
  display: flex; flex-direction: column; }
.mobile-menu.is-open { visibility: visible; }
.mobile-menu.is-open .mobile-menu__scrim { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu li { margin: 0; border-bottom: 1px solid var(--rule); }
.mobile-menu a { display: flex; align-items: center; min-height: 52px; color: var(--ink); text-decoration: none; font-size: 1.08rem; }
.mobile-menu a[aria-current="page"] { color: var(--blue); font-weight: 650; }
.mobile-menu .core a { font: 600 1.3rem/1.2 var(--serif); color: var(--navy); }
.mobile-menu__label { font-size: .9rem; color: var(--muted); margin: 1.4rem 0 .2rem; }
.mobile-menu__sub a { padding-left: .5rem; font-size: 1rem; min-height: 46px; }
.mobile-menu__actions { margin-top: auto; padding-top: 1.5rem; display: grid; gap: .6rem; }
body.menu-open { overflow: hidden; }

/* Sticky call bar on phones */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--rule); border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 56px; font-weight: 650;
  text-decoration: none; background: var(--white); color: var(--navy); }
.callbar a + a { background: var(--gold); color: var(--night); }
.callbar svg { width: 18px; }
body { padding-bottom: 56px; }
@media (min-width: 48rem) { .callbar { display: none; } body { padding-bottom: 0; } }

/* ---------- Hero: the view through the window ---------- */
.hero { position: relative; background: var(--frame); color: var(--white); overflow: hidden; }
.hero__media { position: relative; height: 58vh; min-height: 20rem; }
@media (min-width: 56rem) { .hero__media { height: calc(100svh - 4.5rem); min-height: 36rem; max-height: 60rem; } }
.hero__media picture, .hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video { opacity: 0; transition: opacity .8s ease; }
.hero__media video.is-playing { opacity: 1; }
/* The window frame: heavy frame-black bars around the view, drawn in once on load */
.mullions { position: absolute; inset: 0; pointer-events: none; --bar: clamp(10px, 1.2vw, 18px); }
.mullions i { position: absolute; background: var(--frame); }
.mullions .t, .mullions .b { left: 0; right: 0; height: var(--bar); transform-origin: left; }
.mullions .t { top: 0; } .mullions .b { bottom: 0; transform-origin: right; }
.mullions .l, .mullions .r { top: 0; bottom: 0; width: var(--bar); transform-origin: top; }
.mullions .l { left: 0; } .mullions .r { right: 0; transform-origin: bottom; }
.hero__sill { position: relative; z-index: 2; }
.hero > .hero__sill { margin-top: -3rem; }
@media (min-width: 56rem) { .hero > .hero__sill { position: absolute; left: 0; right: 0; bottom: clamp(2rem, 6vh, 4rem); margin: 0; } }
.hero__panel { background: var(--night); padding: clamp(1.5rem, 3.4vw, 2.75rem); max-width: 46rem;
  border-top: 6px solid var(--frame); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.hero__panel h1 { color: var(--white); margin-bottom: .35em; }
.hero__panel .kicker { color: var(--sky); }
.hero__panel p { color: #E9E4CC; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.hero__links { margin-top: 1.4rem; }
.hero__links .textlink { color: var(--white); }
.hero__after { height: 3rem; background: var(--mist); }

@media (prefers-reduced-motion: no-preference) {
  .js .mullions .t, .js .mullions .b { animation: mullion-h 1s var(--ease-out) .1s both; }
  .js .mullions .l, .js .mullions .r { animation: mullion-v 1s var(--ease-out) .25s both; }
  .js .hero .hero__panel { animation: sill-up .8s var(--ease-out) .2s both; }
}
@keyframes mullion-v { from { transform: scaleY(0); } }
@keyframes mullion-h { from { transform: scaleX(0); } }
@keyframes sill-up { from { opacity: 0; transform: translateY(2.5rem); } }

/* Page hero for inner pages: photo band with the same sill */
.page-hero { position: relative; background: var(--frame); }
.page-hero__media { height: clamp(16rem, 42vw, 30rem); position: relative; }
.page-hero__media picture, .page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero__sill { margin-top: -6rem; }
.page-hero--plain { background: var(--night); padding-top: clamp(3rem, 7vw, 5rem); }
.page-hero--plain .hero__sill { margin-top: 0; }
.page-hero--plain .hero__panel { box-shadow: none; border-top: 0; padding-left: 0; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.crumbs { font-size: .92rem; color: var(--sky); margin-bottom: .6rem; }
.crumbs a { color: var(--sky); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .7; }

/* ---------- Core services: two large, unequal panels ---------- */
.core { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 56rem) { .core { grid-template-columns: 7fr 5fr; align-items: start; } .core > :last-child { margin-top: 5rem; } }
.core__item { text-decoration: none; color: inherit; display: block; }
.core__img { overflow: hidden; border: 8px solid var(--frame); background: var(--frame); }
.core__img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .6s var(--ease-out); }
.core__item:hover .core__img img { transform: scale(1.03); }
.core__item h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 1.1rem 0 .4rem; }
.core__item p { color: var(--muted); }
.core__item .textlink { display: inline-block; margin-top: .2rem; }

/* ---------- Promise list ---------- */
.promise { display: grid; gap: 1.75rem 2.5rem; list-style: none; padding: 0; margin: 2.5rem 0 0; }
@media (min-width: 44rem) { .promise { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .promise--4 { grid-template-columns: repeat(4, 1fr); } }
.promise li { margin: 0; padding-top: 1rem; border-top: 2px solid var(--navy); }
.promise strong { display: block; font: 600 1.15rem/1.3 var(--serif); color: var(--navy); margin-bottom: .35rem; }
.promise span { color: var(--muted); }

/* ---------- Window wall: products as panes in one black frame ---------- */
.split-head { display: grid; gap: 1rem 3rem; align-items: end; margin-bottom: 2.5rem; }
@media (min-width: 56rem) { .split-head { grid-template-columns: 1fr 1fr; } }
.window-wall { display: grid; gap: 8px; padding: 8px; background: var(--frame); list-style: none; margin: 0;
  grid-template-columns: repeat(2, 1fr); }
@media (min-width: 48rem) { .window-wall { grid-template-columns: repeat(4, 1fr); } .window-wall .wide { grid-column: span 2; } }
.window-wall li { margin: 0; }
.pane { position: relative; display: block; height: 100%; color: var(--white); text-decoration: none; background: #222; overflow: hidden; }
.pane img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease-out), filter .3s; }
.window-wall .wide .pane img { aspect-ratio: 8.1 / 3; }
@media (max-width: 47.99rem) { .window-wall .wide { grid-column: span 2; } }
.pane { display: flex; flex-direction: column; }
.pane picture { overflow: hidden; }
.pane__label { flex: 1; padding: .8rem .9rem .85rem; background: var(--frame);
  font: 600 1.05rem/1.2 var(--serif); display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.pane__label small { font: 400 .82rem/1.3 var(--sans); color: #CFD8C4; display: block; margin-top: .15rem; }
.pane:hover img { transform: scale(1.04); }
.pane:hover .pane__label { color: var(--sky); }
@media (prefers-reduced-motion: no-preference) {
  .js .window-wall.reveal li { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-out); }
  .js .window-wall.reveal.is-in li { clip-path: inset(0 0 0 0); }
  .js .window-wall.reveal.is-in li:nth-child(2) { transition-delay: .08s; }
  .js .window-wall.reveal.is-in li:nth-child(3) { transition-delay: .16s; }
  .js .window-wall.reveal.is-in li:nth-child(4) { transition-delay: .24s; }
  .js .window-wall.reveal.is-in li:nth-child(5) { transition-delay: .32s; }
  .js .window-wall.reveal.is-in li:nth-child(6) { transition-delay: .4s; }
  .js .window-wall.reveal.is-in li:nth-child(7) { transition-delay: .48s; }
  .js .window-wall.reveal.is-in li:nth-child(8) { transition-delay: .56s; }
}

/* ---------- Before / after ---------- */
.compare { display: grid; gap: 8px; background: var(--frame); padding: 8px; margin: 0; }
@media (min-width: 44rem) { .compare { grid-template-columns: 1fr 1fr; } }
.compare figure { margin: 0; position: relative; }
.compare img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.compare figcaption { position: absolute; top: .75rem; left: .75rem; background: var(--frame); color: var(--white);
  font-weight: 650; font-size: .9rem; padding: .3rem .65rem; }
.caption { color: var(--muted); font-size: .95rem; margin-top: .9rem; }

/* ---------- Two-column feature (owners, process) ---------- */
.feature { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 56rem) { .feature { grid-template-columns: 1fr 1fr; } .feature--flip > :first-child { order: 2; } }
.feature__img { border: 8px solid var(--frame); background: var(--frame); }
.feature__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature__img--tall img { aspect-ratio: 4 / 5; }

/* ---------- Steps: a real sequence ---------- */
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.4rem 0;
  border-top: 1px solid var(--rule); margin: 0; }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step); font: 600 2rem/1 var(--serif); color: var(--blue); }
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 56rem) { .steps--row { grid-template-columns: repeat(5, 1fr); gap: 0 1.5rem; }
  .steps--row li { grid-template-columns: 1fr; border-bottom: 0 !important; align-content: start; }
  .steps--row li::before { margin-bottom: .2rem; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 2rem 3rem; margin-top: 2.5rem; }
@media (min-width: 56rem) { .reviews { grid-template-columns: 1fr 1fr; } }
.review { margin: 0; padding: 0 0 0 1.5rem; border-left: 3px solid var(--blue); }
.review blockquote { margin: 0; font: 400 clamp(1.15rem, 1.8vw, 1.35rem)/1.55 var(--serif); color: var(--ink); }
.review blockquote p { max-width: none; }
.review figcaption { margin-top: .8rem; color: var(--muted); font-size: .95rem; }
.stars { color: var(--blue); letter-spacing: .1em; font-size: 1rem; display: block; margin-bottom: .6rem; }

/* ---------- Towns ---------- */
.towns { columns: 2 10rem; gap: 2rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.towns li { break-inside: avoid; padding: .3rem 0; border-bottom: 1px solid var(--rule); margin: 0; }

/* ---------- Deep band ---------- */
.band { background: var(--night); color: #E9E4CC; }
.band h2 { color: var(--white); }
.band p { color: #E9E4CC; }
.band a:not(.btn) { color: var(--sky); }
.band__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .band__grid { grid-template-columns: 3fr 2fr; } }
.band__phone { font: 600 clamp(1.8rem, 3.5vw, 2.6rem)/1.1 var(--serif); color: var(--white) !important; text-decoration: none; display: inline-block; margin-bottom: 1rem; }

/* ---------- Prose / product pages ---------- */
.layout { display: grid; gap: 3rem; }
@media (min-width: 64rem) { .layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4.5rem; } }
.prose h2 { margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; }
.prose ul { margin: 0 0 1.2em; }
.prose li::marker { color: var(--blue); }
.source-note { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 2.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: .4rem 0 1.4rem; }
.chips li { margin: 0; padding: .35rem .75rem; border: 1px solid var(--rule); background: var(--white); border-radius: var(--radius); font-size: .95rem; }
.chip-group { margin: .9rem 0 0; font-weight: 650; color: var(--navy); font-size: .98rem; }
.aside { align-self: start; position: sticky; top: 6rem; background: var(--white); border: 1px solid var(--rule);
  border-top: 6px solid var(--frame); padding: 1.5rem; }
.aside h2 { font-size: 1.4rem; }
.aside ul { list-style: none; padding: 0; margin: 1rem 0 1.25rem; }
.aside li { padding: .45rem 0; border-bottom: 1px solid var(--rule); margin: 0; font-size: .97rem; }
.aside .btn { width: 100%; }
.aside__phone { display: block; text-align: center; margin-top: .8rem; font-weight: 650; }
.figure-row { display: grid; gap: 8px; padding: 8px; background: var(--frame); margin: 2rem 0; }
@media (min-width: 40rem) { .figure-row { grid-template-columns: 1fr 1fr; } }
.figure-row figure { margin: 0; position: relative; }
.figure-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figure-row figcaption { font-size: .85rem; color: #D5DCCB; padding: .5rem .25rem .1rem; }
.note-generated { font-size: .82rem; color: var(--muted); margin-top: .5rem; }

/* FAQ */
.faq { margin-top: 1.5rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  min-height: 56px; padding: .9rem 0; font: 600 1.12rem/1.35 var(--serif); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq .answer { padding: 0 0 1.2rem; color: var(--ink); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Compare table (porch enclosure vs 3-season room) */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .98rem; background: var(--white); }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { background: var(--night); color: var(--white); font-family: var(--serif); font-weight: 600; }
tbody th { color: var(--navy); font-weight: 650; width: 30%; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 8px; padding: 8px; background: var(--frame); grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.gallery figure { margin: 0; background: #222; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .2s; }
.gallery button:hover img { opacity: .88; }
.gallery figcaption { color: #D5DCCB; font-size: .9rem; padding: .55rem .7rem .7rem; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 80rem); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 14, 28, .9); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border: 8px solid var(--frame); }
.lightbox p { color: var(--white); text-align: center; margin: .75rem auto 0; }
.lightbox__close { position: fixed; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--white); color: var(--night); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* ---------- Owners ---------- */
.owners { display: grid; gap: 3rem; margin-top: 2.5rem; }
@media (min-width: 56rem) { .owners { grid-template-columns: 1fr 1fr; } }
.owner h3 { font-size: 1.7rem; }
.owner .means { border-left: 3px solid var(--blue); padding-left: 1rem; color: var(--navy); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; background: var(--white); border: 1px solid var(--rule); border-top: 6px solid var(--frame);
  padding: clamp(1.25rem, 3vw, 2rem); }
.form .row { display: grid; gap: 1.1rem; }
@media (min-width: 40rem) { .form .row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: .35rem; font-size: .97rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .8rem; font: 400 1rem/1.4 var(--sans);
  color: var(--ink); background: var(--mist); border: 1px solid #B9C4DA; border-radius: var(--radius); }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); background: var(--white); }
.field [aria-invalid="true"] { border-color: #B42318; }
.field .error { color: #B42318; font-size: .9rem; margin: .35rem 0 0; }
.form__status { margin: 0; font-weight: 600; }
.form__status.is-error { color: #B42318; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.contact-list li { display: flex; gap: .75rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
.contact-list svg { width: 20px; color: var(--blue); flex: none; }

/* ---------- Warranty ---------- */
.warranty-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0; }
.warranty-list li { padding: 1rem 0; border-top: 1px solid var(--rule); margin: 0; }
.warranty-list strong { display: block; font: 600 1.1rem/1.3 var(--serif); color: var(--navy); margin-bottom: .3rem; }
.pdf-frame { width: 100%; height: 80vh; border: 8px solid var(--frame); background: var(--white); margin-top: 2rem; display: none; }
@media (min-width: 64rem) { .pdf-frame { display: block; } }

/* ---------- Footer ---------- */
.site-footer { background: #122F2E; color: #D5DCCB; padding-block: 3.5rem 2rem; font-size: .97rem; }
.site-footer a { color: #F3EFDC; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 56rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer .logo__badge { width: 72px; height: 72px; }
.site-footer .logo__word { width: 210px; }
.site-footer h2 { font: 600 1rem/1.3 var(--sans); color: var(--white); margin-bottom: .8rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(240, 216, 144, .2); display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .9rem; }

/* 404 / thank you */
.center-page { min-height: 55vh; display: grid; align-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Home hero: a compact sill panel so the windows and view stay visible */
.hero .hero__panel { max-width: 35rem; padding: clamp(1rem, 2vw, 1.5rem) clamp(1.1rem, 2.2vw, 1.75rem); }
.hero .hero__panel h1 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); margin-bottom: .3em; }
.hero .hero__panel .kicker { font-size: .95rem; margin-bottom: .3rem; }
.hero .hero__panel p { font-size: 1rem; margin-bottom: .2rem; }
.hero .hero__links { margin-top: .9rem; }
@media (min-width: 56rem) { .hero > .hero__sill { bottom: clamp(1.5rem, 4vh, 2.5rem); } }
/* Home hero panel: left, vertically centered, compact */
@media (min-width: 56rem) {
  .hero > .hero__sill { top: 50%; bottom: auto; transform: translateY(-50%); }
  .hero .hero__panel { max-width: 28rem; }
  .hero .hero__panel h1 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); }
  .hero .hero__panel p { font-size: .95rem; }
}
@media (min-width: 56rem) { .hero > .hero__sill > .wrap { max-width: none; padding-inline: clamp(2rem, 3vw, 3rem); } }

/* Promise carousel (home): all seven promises, scroll or use the arrows */
.carousel { position: relative; }
.carousel__controls { display: flex; gap: .5rem; justify-content: flex-end; margin-top: -3.25rem; margin-bottom: 1rem; }
.carousel__btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--navy); background: transparent; color: var(--navy);
  font: 600 1.6rem/1 var(--serif); cursor: pointer; transition: background-color .18s, color .18s, opacity .18s; }
.carousel__btn:hover { background: var(--navy); color: var(--mist); }
.carousel__btn[disabled] { opacity: .3; cursor: default; background: transparent; color: var(--navy); }
.promise--scroll { display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 17rem); gap: 1.5rem; margin-top: 0;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 1rem; scrollbar-width: thin; }
@media (min-width: 56rem) { .promise--scroll { grid-auto-columns: calc((100% - 4.5rem) / 4); } }
.promise--scroll li { scroll-snap-align: start; }
.promise.promise--scroll { grid-template-columns: none; }
.promise--scroll { scrollbar-width: none; }
.promise--scroll::-webkit-scrollbar { display: none; }

/* JTodd video feature */
.video-feature { display: grid; gap: 2rem; align-items: center; }
.video-feature__frame { background: var(--frame); padding: 8px; max-width: 26rem; width: 100%; justify-self: center; }
.video-feature video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; background: var(--frame); }
.video-feature__text .btn { margin-top: 1.5rem; }
.video-feature--gallery { margin-bottom: 3rem; }
@media (min-width: 48rem) { .video-feature { grid-template-columns: minmax(0, 26rem) 1fr; gap: 4rem; } .video-feature__frame { justify-self: start; } }
