/* ==========================================================================
   Noble Fencing — styles
   Palette: forest green, warm wood, cream, charcoal, brass accent
   ========================================================================== */
:root {
  --green-900: #12261B;
  --green-800: #1E3B2C;
  --green-700: #28503B;
  --green-600: #336548;
  --wood-600: #9C5F2C;
  --wood-500: #B8733A;
  --wood-400: #C98B4E;
  --wood-300: #E2A868;
  --brass: #D9A441;
  --cream-50: #FBF8F2;
  --cream-100: #F6F1E7;
  --cream-200: #ECE3D2;
  --ink: #1D2320;
  --ink-soft: #4A524D;
  --line: #E3DACB;
  --white: #fff;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(18, 38, 27, .06), 0 2px 8px rgba(18, 38, 27, .06);
  --shadow: 0 10px 30px -10px rgba(18, 38, 27, .25);
  --shadow-lg: 0 30px 60px -20px rgba(18, 38, 27, .35);
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--wood-600); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--green-900); letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.018em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -60px; background: var(--brass); color: var(--green-900); padding: .6rem 1rem; border-radius: 6px; z-index: 200; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.small { font-size: .875rem; }
.muted { color: var(--ink-soft); }
@media (max-width: 640px) { .hide-sm { display: none; } }
@media (max-width: 820px) { .hide-md { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 600 1rem/1.2 var(--font-body); padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--wood-500); color: var(--white); box-shadow: 0 8px 20px -8px rgba(156, 95, 44, .8); }
.btn--primary:hover { background: var(--wood-600); color: var(--white); }
.btn--ghost { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.18); color: var(--white); border-color: var(--white); }
.btn--outline { color: var(--green-800); border-color: var(--green-800); background: transparent; }
.btn--outline:hover { background: var(--green-800); color: var(--white); }
.btn--sm { padding: .6rem 1.1rem; font-size: .95rem; }
.btn--lg { padding: 1rem 1.65rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--wood-600); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s; }

.eyebrow { font: 700 .8rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--wood-600); margin-bottom: .9rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--wood-300); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--green-900); color: #DCE6DF; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar p { margin: 0; display: flex; gap: .6rem; align-items: center; }
.topbar__langs { color: var(--wood-300); font-weight: 500; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.topbar a:hover { color: var(--wood-300); }
.topbar__meta { gap: 1.25rem !important; }
@media (max-width: 640px) {
  .topbar { font-size: .8rem; }
  .topbar__inner { justify-content: center; min-height: 34px; }
  .topbar__meta { display: none !important; }
  .topbar__langs { white-space: nowrap; }
}

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 248, 242, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(18,38,27,.35); border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--green-800); }
.brand img { width: 40px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 700 1.55rem/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: var(--green-800); }
.brand__sub { font: 600 .68rem/1 var(--font-body); letter-spacing: .42em; text-transform: uppercase; color: var(--wood-500); margin-top: .3rem; }
.brand--light .brand__name { color: var(--white); }
.brand--light .brand__sub { color: var(--wood-300); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: .25rem; }
.nav a { display: block; padding: .5rem .8rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--green-700); background: var(--cream-200); }
.nav a, .header__actions .btn { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 901px) { .nav ul { gap: 0; } .nav a { padding: .5rem .5rem; font-size: .92rem; } }
.nav__mobile-only { display: none; }
.header__actions { display: flex; align-items: center; gap: .9rem; }
.header__phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; color: var(--green-800); white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; color: var(--green-800); padding: .5rem; margin-right: -.5rem; cursor: pointer; border-radius: 8px; }
.nav-toggle .icon { width: 28px; height: 28px; }

@media (max-width: 1080px) { .header__phone span { display: none; } .header__phone .icon { width: 22px; height: 22px; } }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: calc(var(--header-h) + 0px) 0 auto 0; background: var(--cream-50); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s ease; max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; padding: .75rem 1.25rem 1.25rem; gap: 0; }
  .nav a { padding: .95rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav__mobile-only { display: block; }
  .nav__mobile-only a { color: var(--wood-600); font-weight: 700; border-bottom: 0; }
  .header__phone { display: none; }
}
@media (max-width: 420px) { .brand__name { font-size: 1.3rem; } .header__actions .btn--sm { padding: .55rem .85rem; font-size: .88rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; color: var(--white); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--green-900) url("../img/hero-redwood-fence.jpg") center/cover no-repeat; }
.hero__media picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 60% 50%; }
.hero__credit { position: absolute; right: 1.25rem; bottom: 1rem; margin: 0; font-size: .75rem; color: rgba(255,255,255,.78); background: rgba(0,0,0,.28); padding: .25rem .6rem; border-radius: 999px; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12, 28, 19, .93) 0%, rgba(12, 28, 19, .78) 38%, rgba(12, 28, 19, .18) 75%, rgba(12, 28, 19, .05) 100%), linear-gradient(0deg, rgba(12,28,19,.55), transparent 40%); }
.hero__content { padding: 6rem 0 6.5rem; max-width: var(--container); }
.hero__content > * { max-width: 640px; }
.hero h1 { color: var(--white); max-width: 12ch; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--wood-300); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 56ch; color: #E6EDE8; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.25rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .95rem; color: #E6EDE8; }
.hero__chips li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__chips .icon { color: var(--wood-300); }
.hero__pause { position: absolute; right: 1.25rem; bottom: 1.25rem; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.25); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.hero__pause:hover { background: rgba(0,0,0,.45); }
@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero__content { padding: 3.5rem 0 4.5rem; }
  .hero__overlay { background: linear-gradient(180deg, rgba(12,28,19,.78) 0%, rgba(12,28,19,.55) 55%, rgba(12,28,19,.72) 100%); }
  .hero__ctas .btn { width: 100%; }
  .hero__chips { gap: .5rem 1rem; font-size: .9rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.25rem, 9vw, 7.5rem) 0; }
.section--sand { background: var(--cream-100); }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 4rem; align-items: end; }
.section__head--split h2 { margin-bottom: 0; }
.section__head--split .section__lead { margin: 0; }
@media (max-width: 860px) { .section__head--split { grid-template-columns: 1fr; } }
.section--cream { background: var(--cream-100); }
.section--dark { background: var(--green-900); color: #DCE6DF; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--wood { position: relative; color: #F1E9DC; background: var(--green-800); isolation: isolate; }
.section--wood::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,38,27,.96), rgba(18,38,27,.86)), url("../img/wood-texture.webp") center/cover; }
.section--wood h2, .section--wood h3 { color: var(--white); }
.section__head { max-width: 760px; margin-bottom: 3rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__lead { font-size: 1.125rem; color: var(--ink-soft); }
.section--dark .section__lead { color: #C3D0C7; }

/* ---------- Styles ---------- */
.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.style-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.style-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.style-card__media { position: relative; }
.style-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.obj-60 { object-position: 50% 60%; }
.style-card__num { position: absolute; left: 1rem; bottom: -1.25rem; width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--green-800); color: var(--wood-300); font: 800 1.1rem/1 var(--font-head); border: 3px solid var(--white); }
.style-card__body { padding: 2rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.style-card__body h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.style-card__where { display: flex; gap: .4rem; align-items: flex-start; font-size: .86rem; font-weight: 600; color: var(--wood-600); margin-bottom: .7rem; }
.style-card__where .icon { margin-top: .15em; }
.style-card__body > p:not(.style-card__where) { font-size: .96rem; color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.tags li { font-size: .75rem; font-weight: 600; letter-spacing: .02em; padding: .3rem .65rem; border-radius: 999px; background: var(--cream-100); color: var(--green-700); border: 1px solid var(--line); }
.styles__cta { text-align: center; margin: 2.5rem 0 0; font-weight: 500; }
@media (max-width: 1000px) { .styles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .styles { grid-template-columns: 1fr; } }

/* ---------- Spotlight ---------- */
.spotlight { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--green-900); color: #DCE6DF; }
.spotlight__media { position: relative; min-height: 460px; }
.spotlight__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.spotlight__tag { position: absolute; z-index: 1; left: 1rem; bottom: 1rem; font-size: .75rem; color: #fff; background: rgba(0,0,0,.4); padding: .25rem .6rem; border-radius: 999px; }
.spotlight__body { padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem); }
.spotlight__body h2 { color: var(--white); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin: 1.75rem 0 2rem; }
.specs div { border-top: 2px solid var(--wood-500); padding-top: .6rem; }
.specs dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wood-300); font-weight: 700; }
.specs dd { margin: .2rem 0 0; color: #EDE7DC; font-size: .95rem; }
.spotlight__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; } .spotlight__media { min-height: 0; aspect-ratio: 4 / 3; } }
@media (max-width: 480px) { .specs { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__media { position: relative; overflow: hidden; }
.service__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.service:hover .service__img { transform: scale(1.05); }
.service__label { position: absolute; left: .8rem; top: .8rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(251,248,242,.94); color: var(--green-800); padding: .3rem .6rem; border-radius: 999px; }
.service__img--top { object-position: center 80%; }
.service__body { padding: 1.25rem 1.35rem 1.5rem; }
.service__body h3 { margin-bottom: .4rem; }
.service__body p { font-size: .96rem; color: var(--ink-soft); margin: 0; }
.service--alt { background: var(--cream-100); border-style: dashed; border-color: var(--wood-400); justify-content: center; }
.service--alt .service__body p { margin-bottom: 1rem; }
.service__icon { margin: 1.5rem 1.35rem 0; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--green-800); color: var(--wood-300); }
.service__icon .icon { width: 28px; height: 28px; }
@media (max-width: 1080px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.why__media { position: relative; }
.why__media > img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; object-fit: cover; object-position: 30% 50%; width: 100%; }
.why__badge { position: absolute; right: -1rem; bottom: -1.5rem; background: var(--green-800); color: var(--white); padding: 1rem 1.3rem; border-radius: var(--radius); display: flex; gap: .85rem; align-items: center; box-shadow: var(--shadow); border: 2px solid var(--brass); }
.why__badge p { margin: 0; line-height: 1.3; font-size: .95rem; }
.why__badge strong { font-family: var(--font-head); font-size: 1.1rem; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.75rem; margin-top: 2rem; }
.features li { display: flex; gap: .9rem; align-items: flex-start; }
.features h3 { font-size: 1.05rem; margin-bottom: .2rem; font-family: var(--font-body); font-weight: 700; }
.features p { font-size: .94rem; color: var(--ink-soft); margin: 0; }
.features__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--wood-500); display: grid; place-items: center; }
.features__icon .icon { width: 22px; height: 22px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why__media > img { aspect-ratio: 16 / 10; } .why__badge { right: 1rem; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; padding: 0; margin: 0; list-style: none; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--wood-400) 0 10px, transparent 10px 18px); z-index: 0; }
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 1.1rem; border-radius: 50%; background: var(--green-800); color: var(--white); font: 700 1.35rem/1 var(--font-head); box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--line); }
.step p { color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 1.25rem; }
  .step { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; padding: 0; }
  .step__num { grid-row: span 2; margin: 0; }
  .step h3 { margin: .35rem 0 .25rem; }
  .step p { margin: 0; }
}

/* ---------- Gallery ---------- */
.gallery__note { display: inline-block; font-size: .88rem; color: #C3D0C7; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); padding: .45rem .9rem; border-radius: 999px; margin: 0; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: -1rem 0 2.25rem; }
.filter { font: 600 .92rem/1 var(--font-body); padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #E6EDE8; cursor: pointer; transition: .2s; }
.filter:hover { border-color: var(--wood-300); color: var(--white); }
.filter.is-active { background: var(--wood-500); border-color: var(--wood-500); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; grid-auto-flow: dense; }
.gallery__item--wide { grid-column: span 2; }
.gallery.is-filtered .gallery__item--wide { grid-column: auto; }
.gallery__item--wide .gallery__link img { aspect-ratio: auto; height: 100%; min-height: 100%; }
.gallery__note { display: inline-flex !important; gap: .5rem; align-items: flex-start; text-align: left; max-width: 720px; border-radius: 14px !important; }
.gallery__note .icon { margin-top: .2em; color: var(--wood-300); }
.gallery__item { border-radius: var(--radius); overflow: hidden; background: #0c1a12; }
.gallery__item.is-hidden { display: none; }
.gallery__link { position: relative; display: block; color: var(--white); text-decoration: none; height: 100%; }
.gallery__link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.gallery__link:hover img, .gallery__link:focus-visible img { transform: scale(1.05); }
.gallery__cap { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem .9rem; background: linear-gradient(0deg, rgba(8,18,12,.9), rgba(8,18,12,0)); display: flex; flex-direction: column; gap: .1rem; }
.gallery__title { font-weight: 600; font-size: .98rem; line-height: 1.3; }
.gallery__city { font-size: .82rem; color: var(--wood-300); letter-spacing: .02em; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery__item--wide { grid-column: auto; } .gallery__item--wide .gallery__link img { aspect-ratio: 4 / 3; height: auto; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } .filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -1.25rem; padding: 0 1.25rem .25rem; scrollbar-width: none; } .filter { white-space: nowrap; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(6, 14, 9, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { margin: 0; max-width: min(1200px, 92vw); display: flex; flex-direction: column; align-items: center; }
.lightbox__img { max-height: 80vh; max-width: 100%; width: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__cap { color: #EDE7DC; margin-top: .9rem; text-align: center; display: flex; flex-wrap: wrap; gap: .35rem 1rem; justify-content: center; align-items: baseline; }
.lightbox__text { font-weight: 600; }
.lightbox__count, .lightbox__note { font-size: .85rem; color: #A9B8AE; }
.lightbox__btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255,255,255,.2); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; } }

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto; gap: 1rem; }
.video-card { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--green-900); box-shadow: var(--shadow-sm); }
.video-card video { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-card--feature { grid-column: span 2; }
.video-card--feature video { aspect-ratio: 21 / 9; }
.video-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .85rem; color: var(--white); font-weight: 600; background: linear-gradient(0deg, rgba(8,18,12,.85), transparent); pointer-events: none; }
.video-card--feature figcaption { font-size: 1.2rem; padding: 3rem 1.5rem 1.25rem; font-family: var(--font-head); }
.video-card__toggle { position: absolute; top: .8rem; right: .8rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.35); color: var(--white); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.video-card__toggle:hover { background: rgba(0,0,0,.55); }
@media (max-width: 900px) { .videos { grid-template-columns: 1fr 1fr; } .video-card--feature { grid-column: span 2; } .video-card--feature video { aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .videos { grid-template-columns: 1fr; } .video-card--feature { grid-column: auto; } }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.areas__intro p { color: #D6DED8; }
.areas__intro .btn { margin-top: .5rem; }
.areas__lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.area-group { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.1rem; backdrop-filter: blur(2px); }
.area-group h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; margin-bottom: .9rem; }
.area-group h3 .icon { color: var(--wood-300); }
.area-group li { padding: .32rem 0; border-bottom: 1px dashed rgba(255,255,255,.14); font-size: .97rem; color: #EDE7DC; }
.area-group li:last-child { border-bottom: 0; }
@media (max-width: 1000px) { .areas { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .areas__lists { grid-template-columns: 1fr 1fr; } .area-group:first-child { grid-row: span 2; } }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial { position: relative; margin: 0; background: var(--white); border-radius: var(--radius); padding: 2.25rem 1.6rem 1.6rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.testimonial--placeholder { border: 2px dashed var(--wood-400); background: rgba(255,255,255,.7); }
.testimonial__tag { position: absolute; top: -.8rem; left: 1.4rem; background: var(--wood-500); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.stars { display: flex; gap: .15rem; color: var(--brass); margin-bottom: .8rem; opacity: .55; }
.testimonial blockquote { margin: 0 0 1rem; font-size: 1.02rem; color: var(--ink-soft); font-style: italic; }
.testimonial figcaption { font-weight: 600; font-size: .92rem; color: var(--green-800); }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-wrap .section__head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 600; font-size: 1.07rem; position: relative; color: var(--green-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .25rem; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--cream-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%239C5F2C' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--wood-600); }
.faq__a { padding: 0 0 1.25rem; color: var(--ink-soft); }
.faq__a p { margin: 0; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .section__head { position: static; margin-bottom: 1rem; } }

/* ---------- Quote ---------- */
.quote-section { background: radial-gradient(1200px 500px at 10% 0%, rgba(184,115,58,.18), transparent 60%), var(--green-900); }
.quote { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.quote__info > p { color: #C9D5CD; }
.contact-list { display: grid; gap: 1.1rem; margin: 2rem 0; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; color: #EDE7DC; }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(255,255,255,.07); color: var(--wood-300); border: 1px solid rgba(255,255,255,.12); }
.contact-list__label { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #9FB0A5; margin-bottom: .1rem; }
.contact-list a { color: var(--white); font-weight: 600; font-size: 1.1rem; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--wood-300); }
.quote__langs { color: var(--wood-300) !important; font-weight: 600; }
.quote-form { background: var(--cream-50); color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-lg); border-top: 5px solid var(--wood-500); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; margin-bottom: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--green-900); }
.field label span { color: var(--wood-600); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid #D5CAB6; border-radius: 10px; padding: .75rem .85rem; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field input[type="file"] { padding: .55rem .6rem; font-size: .9rem; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(51, 101, 72, .18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #B3261E; }
.field__hint { font-size: .8rem; color: var(--ink-soft); margin: 0; }
.form-error { background: #FBE9E7; color: #8C1D18; border-radius: 8px; padding: .7rem .9rem; font-size: .93rem; font-weight: 500; }
.form-fineprint { font-size: .85rem; color: var(--ink-soft); margin: .9rem 0 0; text-align: center; }
.form-success { margin-top: 1.25rem; background: #E6F0EA; border: 1px solid #B9D2C2; border-radius: 12px; padding: 1.1rem 1.25rem; }
.form-success h3 { font-family: var(--font-body); font-size: 1.1rem; }
.form-success p { font-size: .95rem; margin-bottom: .5rem; }
@media (max-width: 960px) { .quote { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #0D1C14; color: #B5C2B9; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 4rem 0 3rem; }
.footer__brand p { margin-top: 1rem; max-width: 34ch; }
.footer__langs { color: var(--wood-300); font-weight: 600; }
.footer__title { font: 700 .8rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 1.1rem; }
.footer__links li, .footer__contact li { margin-bottom: .55rem; }
.footer__contact li { display: flex; gap: .6rem; align-items: center; }
.footer__contact .icon { color: var(--wood-300); }
.site-footer a { color: #DCE4DE; text-decoration: none; }
.site-footer a:hover { color: var(--wood-300); }
.social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); margin-top: .75rem; }
.social:hover { background: var(--wood-500); border-color: var(--wood-500); color: var(--white) !important; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.25rem 0; }
.footer__bottom p { margin: 0; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Mobile CTA bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: 68px; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(251,248,242,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.25); }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .8rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .mobile-cta__call { color: var(--green-800); border: 2px solid var(--green-800); }
  .mobile-cta__quote { background: var(--wood-500); color: var(--white); }
}

/* ---------- Simple pages (thanks / 404 / credits) ---------- */
.simple-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; background: var(--cream-100); }
.simple-page .card { background: var(--white); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--shadow); max-width: 620px; margin-inline: auto; }
.simple-page img.mark { width: 64px; margin: 0 auto 1.25rem; }
.prose { max-width: 820px; margin-inline: auto; text-align: left; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: .55rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }

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

/* Gallery mosaic (redesign) */
.gallery { grid-auto-rows: 230px; }
.gallery__item--wide { grid-row: span 2; }
.gallery.is-filtered .gallery__item--wide { grid-row: auto; }
.gallery__link img, .gallery__item--wide .gallery__link img { aspect-ratio: auto; width: 100%; height: 100%; min-height: 0; }
@media (max-width: 900px) { .gallery { grid-auto-rows: 200px; } }
@media (max-width: 520px) {
  .gallery { grid-auto-rows: auto; }
  .gallery__item--wide { grid-row: auto; }
  .gallery__link img, .gallery__item--wide .gallery__link img { aspect-ratio: 4 / 3; height: auto; }
}

/* ---------- Decks & patio covers ---------- */
.decks__subhead { font-size: 1.5rem; margin: 2.75rem 0 1.25rem; }
.decks__subhead--flush { margin-top: 0; }
#decks .section__head + .decks__subhead { margin-top: 0; }
.styles--four { grid-template-columns: repeat(4, 1fr); }
.styles--four .style-card__body h3 { font-size: 1.2rem; }
.decks__note { margin: 1.5rem 0 0; color: var(--ink-soft); max-width: 70ch; }
.decks__note.small { margin-top: .5rem; }
.decks__included { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.decks__cta { background: var(--green-800); color: #EDE7DC; border-radius: var(--radius); padding: 2rem 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.decks__cta h3 { color: var(--white); font-size: 1.45rem; margin: 0; }
.decks__cta p { margin: 0; }
@media (max-width: 1080px) { .styles--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .decks__included { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .styles--four { grid-template-columns: 1fr; } .decks__cta .btn--lg { width: 100%; justify-content: center; white-space: normal; } }

/* ---------- Reviews coming soon ---------- */
.reviews-soon { max-width: 760px; margin-inline: auto; text-align: center; background: var(--white); border: 2px dashed var(--wood-400); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 3rem); box-shadow: var(--shadow-sm); }
.reviews-soon .eyebrow { justify-content: center; }
.reviews-soon__icon { display: grid; margin-inline: auto; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green-800); color: var(--wood-300); margin-bottom: 1rem; }
.reviews-soon__icon .icon { width: 26px; height: 26px; }
.reviews-soon__ctas { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.75rem; }
