:root {
  --navy-900: #161a22;
  --navy-800: #1e2430;
  --navy-700: #2e3644;
  --navy-100: #efe8de;
  --paper: #f2ebe3;
  --paper-2: #faf6f1;
  --cedar: #a0532a;
  --cedar-dark: #87451f;
  /* accent copper for text, buttons and lines */
  --cedar-text: #a0532a;
  --cedar-text-light: #f0b98f;
  /* brighter copper for headline accents on dark photos and sections */
  --cedar-bright: #d9844c;
  --cedar-50: #e9dbcd;
  --ink: #1e2430;
  --muted: #5a5e66;
  --line: #dcd2c6;
  --white: #ffffff;
  --grid: rgba(30,36,48,.07);
  --radius: 2px;
  --wrap: 1180px;
  --display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0 0 .5em; letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 600; }
h3 { font-size: 24px; font-weight: 600; letter-spacing: .03em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--cedar-text); }
.hero .accent, .page-hero .accent, .process .accent, .contact .accent { color: var(--cedar-bright); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cedar-text); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.contact .eyebrow { color: var(--cedar-text-light); }
.blueprint {
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius); border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: background .15s, border-color .15s;
}
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--cedar); outline-offset: 3px; }
.btn-cedar { background: var(--cedar); color: var(--white); }
.btn-cedar:hover { background: var(--cedar-dark); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: var(--white); }

/* Utility bar */
.topbar { background: var(--navy-900); color: #d8cfc4; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { text-decoration: none; color: var(--white); font-weight: 700; }
.topbar .right { display: flex; gap: 22px; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper-2); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; flex-direction: row; align-items: center; justify-content: center; padding-top: 12px; padding-bottom: 12px; gap: 28px; }
/* Home button: leads the nav row, separated by a hairline */
.home-btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink);
  font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 28px 8px 0; border-right: 1px solid var(--line);
}
.home-btn svg { color: var(--cedar); flex: none; }
.home-btn:hover { color: var(--cedar-text); }
.home-btn[aria-current="page"] { color: var(--cedar-text); }
/* Logo on the hero photo */
.hero-logo { display: inline-block; margin-bottom: 26px; opacity: .82; transition: opacity .2s; }
.hero-logo:hover { opacity: 1; }
.hero-logo img { display: block; height: 101px; width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.55)) drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.logo { display: block; text-decoration: none; }
.logo img { height: 77px; width: auto; }
footer .logo img { height: 84px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.nav a:not(.btn):hover { color: var(--cedar-text); }
.nav .btn { padding: 11px 18px; }
.menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative; color: var(--white);
  background: linear-gradient(90deg, rgba(22,26,34,.62) 0%, rgba(22,26,34,.46) 45%, rgba(22,26,34,.10) 100%),
              url("img/bg-home-porch.jpg") center 40%/cover no-repeat;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 660px); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 88px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 66px); font-weight: 600; text-shadow: 0 2px 24px rgba(0,0,0,.45), 0 1px 3px rgba(0,0,0,.3); }
.hero .eyebrow { text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.hero .lead { border-left: 1px solid rgba(255,255,255,.5); padding-left: 20px; }
.hero .lead { font-size: 19px; color: #f4eee6; max-width: 560px; text-shadow: 0 1px 10px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.4); }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero .areas { color: var(--cedar-text-light); }

.quote-card {
  background: var(--paper-2); color: var(--ink); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.35); border-top: 4px solid var(--cedar);
}
.quote-card h2 { font-size: 30px; margin-bottom: 4px; }
.quote-card .note { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 11px 12px; border: 1px solid #d8cfc4; border-radius: var(--radius); background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--cedar); outline-offset: 0; border-color: transparent; }
textarea { min-height: 88px; resize: vertical; }
.quote-card .btn { width: 100%; margin-top: 16px; }
.form-small { font-size: 12px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.form-thanks { display: none; padding: 24px 0; text-align: center; }
form.sent .form-fields { display: none; }
form.sent .form-thanks { display: block; }
.form-error { margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid #b3261e; background: #fbeceb; color: #7a1712; font-size: 14px; border-radius: var(--radius); }
.form-error a { color: inherit; font-weight: 600; }
.lead-form button[disabled] { opacity: .7; cursor: wait; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
input[type="file"] { padding: 9px 10px; font-size: 14px; }

/* Value strip */
.strip { background: var(--navy-800); color: var(--white); border-bottom: 4px solid var(--cedar); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 34px; padding-bottom: 34px; }
.strip .wrap > div { padding: 4px 24px; border-left: 1px solid rgba(255,255,255,.16); }
.strip .wrap > div:first-child { border-left: 0; padding-left: 0; }
.strip h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; color: var(--cedar-text-light); margin-bottom: 8px; }
.strip p { font-size: 15px; color: #d8cfc4; margin: 0; }

section { padding: 96px 0; scroll-margin-top: 120px; }

/* Why us split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
/* photo set inside an offset frame line */
.split img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; outline: 1px solid var(--cedar); outline-offset: 14px; }
.checks { list-style: none; padding: 0; margin: 28px 0 32px; border-top: 1px solid var(--line); }
.checks li { position: relative; padding: 14px 0 14px 36px; border-bottom: 1px solid var(--line); }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px;
  border: 1px solid var(--cedar); background: var(--cedar-50); transform: rotate(45deg);
}
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Services */
.services { background: var(--navy-100); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.service {
  position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; text-decoration: none;
}
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,26,34,0) 35%, rgba(22,26,34,.6) 62%, rgba(22,26,34,.9) 100%); }
.service h3, .service p { text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.service > *:not(img) { position: relative; z-index: 1; }
.service:hover img { transform: scale(1.05); }
.service h3 { font-size: 34px; }
.service p { color: #e2dad0; font-size: 15px; }
.service .more { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cedar-text-light); border-top: 1px solid rgba(255,255,255,.3); padding-top: 12px; }
/* thin inset frame line on each card */
.service::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.28); z-index: 1; pointer-events: none; }

/* Projects */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 14px 18px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
.gallery figcaption span { color: var(--cedar-text); white-space: nowrap; }
.gallery-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* Process */
.process { background: linear-gradient(rgba(22,26,34,.74), rgba(22,26,34,.5)), url("img/bg-process.jpg") center/cover; color: var(--white); }
/* timeline: one ruled line with a square marker per step */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.35); }
.step { position: relative; padding: 36px 28px 0 0; }
.step::before { content: ""; position: absolute; top: -7px; left: 0; width: 13px; height: 13px; background: var(--cedar); }
.step .num { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--cedar-text-light); margin-bottom: 10px; }
.step h3 { font-size: 28px; margin-bottom: 10px; }
.step p { margin: 0; color: #ede6dc; font-size: 15px; }
.process h2, .process .eyebrow, .step h3, .step p, .step .num { text-shadow: 0 1px 8px rgba(0,0,0,.55); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.review { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.stars { color: var(--cedar-text); letter-spacing: 3px; font-size: 18px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 20px; font-size: 16px; flex: 1; }
.review .who { font-family: var(--display); font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; border-top: 1px solid var(--line); padding-top: 16px; }
.review .where { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.reviews-more { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* Materials band */
.materials { background-color: var(--cedar-50); }
.spec { margin: 8px 0 32px; border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid #d3c0ad; }
.spec dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cedar-text); padding-top: 3px; }
.spec dd { margin: 0; font-weight: 600; min-width: 0; }

/* Contact */
.contact { background: var(--navy-900); color: var(--white); }
.contact .split { align-items: start; }
.contact .lead { color: #d8cfc4; font-size: 18px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ic { width: 42px; height: 42px; border: 1px solid var(--navy-700); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 20px; height: 20px; stroke: var(--cedar-text-light); }
.contact-list a { text-decoration: none; font-weight: 700; }
.contact-list small { display: block; color: #b3a99d; font-size: 13px; }

/* Footer */
footer { background: var(--navy-800); color: #d8cfc4; font-size: 15px; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer h3 { color: var(--white); font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; line-height: inherit; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--white); }
footer .logo { color: var(--white); margin-bottom: 16px; }
.foot-bottom { border-top: 1px solid var(--navy-700); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #9e958a; }

/* SkyLift photo */
#skylift .split, #additions .split { align-items: start; }
#skylift .checks, #additions .checks { margin-bottom: 8px; }
#additions { background-color: var(--paper-2); }
#additions .skylift-photo img { outline: 0; max-height: none; aspect-ratio: 4 / 3; }
.skylift-photo { margin: 0; position: sticky; top: 160px; background: var(--paper-2); border: 1px solid var(--line); }
#skylift .skylift-photo img { outline: 0; max-height: none; aspect-ratio: 4 / 3; }
.skylift-photo figcaption { padding: 14px 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.skylift-photo figcaption span { color: var(--muted); white-space: nowrap; }

/* Current page in the nav */
.nav a[aria-current="page"]:not(.btn) { color: var(--cedar-text); box-shadow: inset 0 -2px 0 var(--cedar); padding-bottom: 4px; }
/* Structures dropdown */
.nav-drop { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-drop.is-current .nav-drop-top { color: var(--cedar-text); box-shadow: inset 0 -2px 0 var(--cedar); padding-bottom: 4px; }
.drop-toggle { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; transition: transform .2s; }
.drop-toggle:hover { color: var(--cedar-text); }
.nav-drop.open .drop-toggle { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: 100%; left: -18px; z-index: 60; min-width: 210px; padding: 14px 0 8px;
  display: none; flex-direction: column; background: var(--paper-2); border-top: 3px solid var(--cedar); box-shadow: 0 16px 32px rgba(22,26,34,.16);
  margin-top: 10px;
}
/* invisible bridge so the menu doesn't close while the pointer crosses the gap */
.drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-drop:hover .drop-menu, .nav-drop.open .drop-menu { display: flex; }
.nav .drop-menu a { padding: 10px 20px; font-size: 15px; white-space: nowrap; }
.nav .drop-menu a:hover, .nav .drop-menu a:focus-visible { background: var(--cedar-50); color: var(--cedar-text); }
.nav .drop-menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--cedar); padding-bottom: 10px; }

/* "Also from our crew" links under the main services */
.also { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.also a {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 14px;
  padding: 22px 26px; background: var(--paper-2); border: 1px solid var(--line); text-decoration: none;
}
.also a:hover { border-color: var(--cedar); }
.also strong { font-family: var(--display); font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; display: block; }
.also span { color: var(--muted); font-size: 15px; }
.also .go { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cedar-text); white-space: nowrap; }

/* Inner-page hero: one column, shorter than the home hero */
.page-hero {
  position: relative; color: var(--white);
  background: linear-gradient(90deg, rgba(22,26,34,.72) 0%, rgba(22,26,34,.4) 60%, rgba(22,26,34,.1) 100%), var(--hero-img) var(--hero-pos, center)/cover no-repeat;
}
.page-hero .wrap { position: relative; padding-top: 48px; padding-bottom: 80px; max-width: var(--wrap); }
.page-hero .hero-logo img { height: 84px; }
.page-hero h1 { font-size: clamp(42px, 5.6vw, 70px); font-weight: 600; max-width: 760px; text-shadow: 0 2px 24px rgba(0,0,0,.45), 0 1px 3px rgba(0,0,0,.3); }
.page-hero .lead { font-size: 19px; color: #f4eee6; max-width: 600px; border-left: 1px solid rgba(255,255,255,.5); padding-left: 20px; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.page-hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cedar-text-light); margin-bottom: 22px; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.crumbs a { color: var(--white); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Service tiles: hairline cards with a spec tag */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--ink); }
.tile { padding: 28px 32px 32px 0; border-bottom: 1px solid var(--line); }
.tile:nth-child(even) { padding: 28px 0 32px 32px; border-left: 1px solid var(--line); }
.tile .tag { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cedar-text); margin-bottom: 10px; }
.tile h3 { font-size: 28px; margin-bottom: 10px; }
.tile p { margin: 0; color: var(--muted); }

.spec-note { font-size: 14px; color: var(--muted); margin: -16px 0 28px; }

/* Five-step process */
.steps-5 { grid-template-columns: repeat(5, 1fr); }

/* FAQ */
.faq { max-width: 860px; margin: 40px auto 0; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--display); font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--mono); font-size: 24px; color: var(--cedar-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 720px; }

/* Signature pavilion styles */
.styles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.style-card { display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s; }
.style-card:hover { border-color: var(--cedar); }
.style-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.style-card .body { padding: 20px 22px 24px; border-top: 3px solid var(--cedar); }
.style-card .tag { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cedar-text); margin-bottom: 8px; }
.style-card h3 { font-size: 26px; margin-bottom: 8px; }
.style-card p { margin: 0; color: var(--muted); font-size: 15px; }
.style-notes { display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0 0; border-top: 1px solid var(--ink); }
.style-notes div { padding: 14px 20px 14px 0; border-bottom: 1px solid var(--line); }
.style-notes dt { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cedar-text); margin-bottom: 4px; }
.style-notes dd { margin: 0; font-weight: 600; }
.style-notes dd a { color: inherit; text-decoration-color: var(--cedar); text-underline-offset: 3px; }
.styles-grid.four { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.styles-grid.four .style-card h3 { font-size: 24px; }

/* Stains & metal roof colors (home) */
.finishes { background: var(--paper-2); padding: 72px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.finishes h2 { font-size: clamp(28px, 3.2vw, 40px); }
.finishes-intro { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 16px; }
.finish-cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; margin-top: 36px; align-items: start; }
.finish-title { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--cedar-text); padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.stain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stain-list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.stain-list img { display: block; width: 56px; height: 34px; object-fit: cover; border-radius: var(--radius); }
.stain-list strong { display: block; font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; line-height: 1.15; }
.stain-list span { color: var(--muted); font-size: 13px; line-height: 1.35; }
.metal-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px 8px; }
.metal-grid li { font-family: var(--mono); font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); line-height: 1.25; }
.metal-grid .chip { display: block; height: 34px; margin-bottom: 5px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); background-image: linear-gradient(90deg, rgba(255,255,255,.12) 0 2px, transparent 2px) !important; background-size: 14px 100% !important; }
.panel-spec { margin-top: 18px; padding: 14px 18px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.panel-label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cedar-text); margin-bottom: 6px; }
.panel-spec svg { display: block; width: 100%; max-width: 520px; height: auto; }
.panel-spec .panel-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.panel-spec .panel-dim { fill: none; stroke: var(--cedar); stroke-width: 1; }
.panel-spec .panel-text { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; fill: var(--muted); }
.finish-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.finish-note a { color: var(--cedar-text); font-weight: 600; text-decoration: none; }
@media (max-width: 960px) {
  .finish-cols { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .finishes { padding: 56px 0; }
  .metal-grid { grid-template-columns: repeat(4, 1fr); }
}
.photo-soon {
  aspect-ratio: 4 / 3; display: grid; place-items: center; background-color: var(--navy-800); color: #d8cfc4;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.photo-soon span { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.3); padding: 8px 12px; }

/* Style photo carousel */
.style-card { position: relative; }
.style-card[data-gallery]::after {
  content: attr(data-label); position: absolute; top: 12px; right: 12px; pointer-events: none;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(22,26,34,.8); color: var(--white); padding: 6px 10px; transition: background .2s;
}
.style-card[data-gallery]:hover::after, .style-card[data-gallery]:focus-visible::after { background: var(--cedar); }
html.cz-open { overflow: hidden; }
dialog.carousel {
  width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid rgba(255,255,255,.14); background: var(--navy-900); color: var(--white);
  display: none; flex-direction: column; overflow: hidden;
}
dialog.carousel[open] { display: flex; }
dialog.carousel::backdrop { background: rgba(14,16,21,.84); backdrop-filter: blur(3px); }
.cz-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px 14px 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.cz-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cedar-text-light); margin-bottom: 4px; }
.cz-title { margin: 0; font-size: 26px; color: var(--white); }
.carousel button { font: inherit; cursor: pointer; }
.cz-close, .cz-nav {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  background: rgba(22,26,34,.72); color: var(--white); border: 1px solid rgba(255,255,255,.28); transition: background .2s, border-color .2s;
}
.cz-close:hover, .cz-nav:hover { background: var(--cedar); border-color: var(--cedar); }
.cz-stage { position: relative; flex: 0 1 auto; min-height: 220px; height: min(66vh, 640px); background: #11141a; touch-action: pan-y; user-select: none; }
.cz-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.cz-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.cz-prev { left: 14px; }
.cz-next { right: 14px; }
.cz-bottom { display: flex; align-items: center; gap: 18px; padding: 12px 16px 14px 22px; border-top: 1px solid rgba(255,255,255,.12); }
.cz-count { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: #d8cfc4; white-space: nowrap; }
.cz-thumbs { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.cz-thumbs button { flex: 0 0 76px; height: 56px; padding: 0; border: 2px solid transparent; background: none; opacity: .55; transition: opacity .2s; }
.cz-thumbs button:hover { opacity: .9; }
.cz-thumbs button[aria-current] { border-color: var(--cedar); opacity: 1; }
.cz-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cz-quote { white-space: nowrap; }
/* gallery photos: a plain larger view, no thumbnails or quote button */
dialog.carousel.photo-mode .cz-thumbs, dialog.carousel.photo-mode .cz-quote { display: none; }
/* the photo floats on the backdrop: thin frame, deep shadow, no panel behind it */
dialog.carousel.photo-mode { width: auto; max-width: calc(100vw - 16px); background: transparent; border: 0; overflow: visible; }
dialog.carousel.photo-mode .cz-top, dialog.carousel.photo-mode .cz-bottom { border: 0; background: transparent; padding-left: 64px; padding-right: 64px; }
dialog.carousel.photo-mode .cz-top { position: relative; justify-content: center; text-align: center; padding-top: 0; padding-bottom: 12px; }
dialog.carousel.photo-mode .cz-close { position: absolute; right: 0; top: 0; }
dialog.carousel.photo-mode .cz-title { text-shadow: 0 1px 8px rgba(0,0,0,.6); }
dialog.carousel.photo-mode .cz-stage { height: auto; min-height: 0; background: transparent; padding: 0 64px; display: flex; justify-content: center; }
dialog.carousel.photo-mode .cz-img {
  position: static; display: block; width: auto; height: auto;
  max-width: min(1200px, calc(100vw - 160px)); max-height: calc(100dvh - 190px);
  border: 6px solid #fff; outline: 1px solid rgba(22,26,34,.25); outline-offset: -1px;
  box-shadow: 0 34px 80px rgba(0,0,0,.6), 0 10px 26px rgba(0,0,0,.4);
}
dialog.carousel.photo-mode .cz-prev { left: 0; }
dialog.carousel.photo-mode .cz-next { right: 0; }
dialog.carousel.photo-mode .cz-bottom { justify-content: center; padding-top: 16px; padding-bottom: 0; }
.gallery figure:has(.fig-open) { position: relative; cursor: zoom-in; }
.gallery figure:has(.fig-open) img { transition: transform .35s ease; }
.gallery figure:has(.fig-open):hover img, .gallery figure:has(.fig-open:focus-visible) img { transform: scale(1.03); }
.fig-open { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.fig-open:focus-visible { outline: 2px solid var(--cedar); outline-offset: -4px; }

/* Add-ons page */
.addons-grid .style-card { scroll-margin-top: 90px; }
@media (min-width: 961px) { .addons-grid .style-card:last-child:nth-child(3n+1) { grid-column: 2; } }
.swatch { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.25); }
.check-grid { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.check-grid legend { padding: 0; margin-bottom: 8px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.check-grid label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 400; text-transform: none; letter-spacing: 0; font-family: inherit; color: var(--ink); margin: 0; cursor: pointer; }
.check-grid input { width: 18px; height: 18px; padding: 0; margin: 0; border-radius: 2px; accent-color: var(--cedar); flex: none; }
.check-grid input:focus { outline-offset: 2px; }
.form-grid fieldset.check-grid { padding: 12px 14px 14px; border: 1px solid #d8cfc4; background: var(--white); }
.form-grid .check-grid legend { padding: 0 6px; margin-left: -6px; }
/* hero quick form: add-ons fold away so the form stays short */
.addon-toggle { border: 1px solid #d8cfc4; background: var(--white); }
.addon-toggle summary {
  cursor: pointer; list-style: none; padding: 11px 12px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.addon-toggle summary::-webkit-details-marker { display: none; }
.addon-toggle summary::after { content: "+"; font-size: 18px; color: var(--cedar); line-height: 1; }
.addon-toggle[open] summary::after { content: "\2212"; }
.addon-toggle[open] summary { border-bottom: 1px solid #d8cfc4; }
.addon-toggle-body { display: grid; gap: 12px; padding: 12px; }
.addon-toggle .check-grid { border: 0; padding: 0; background: none; }

/* Text-message consent under every quote form */
.sms-consent { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; cursor: pointer;
  font-family: inherit; font-size: 12.5px; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.5; color: var(--muted); }
.sms-consent input { width: 18px; height: 18px; padding: 0; margin: 1px 0 0; flex: none; accent-color: var(--cedar); }
.sms-consent a { color: var(--cedar-text); }

/* Privacy policy and other text pages */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 6px; }
.legal h2 { font-size: 26px; margin: 40px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: var(--ink); line-height: 1.7; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--cedar-text); }
.legal-date { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }

/* 404 page */
.notfound { padding: 72px 0 96px; }
.notfound .wrap { max-width: 980px; }
.notfound h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 14px; }
.notfound-lede { font-size: 18px; line-height: 1.6; color: var(--ink); max-width: 640px; margin-bottom: 28px; }
.notfound-links { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.notfound-links a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.notfound-links a:hover { border-color: var(--cedar); }
.notfound-links strong { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--cedar-text); }
.notfound-links span { font-size: 14px; color: var(--muted); }
.notfound-call { margin-top: 32px; color: var(--ink); }
.notfound-call a { color: var(--cedar-text); font-weight: 600; }
@media (max-width: 760px) {
  .notfound { padding: 48px 0 64px; }
  .notfound-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) { .notfound-links { grid-template-columns: 1fr; } }
.crumbs-dark { color: var(--cedar-text); text-shadow: none; }
.crumbs-dark a { color: var(--ink); }

/* Responsive */
@media (max-width: 1599px) and (min-width: 761px) {
  .site-header .wrap { gap: 16px; }
  .nav { gap: 16px; }
  .nav a, .home-btn { font-size: 14px; letter-spacing: .06em; }
  .nav .btn { padding: 10px 14px; }
  .home-btn { padding-right: 16px; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .nav { gap: 12px; }
  .nav a, .home-btn { font-size: 13px; letter-spacing: .04em; }
  .home-btn span { display: none; }
}
@media (max-width: 960px) {
  .styles-grid, .styles-grid.four, .style-notes { grid-template-columns: 1fr 1fr; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .strip .wrap { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .strip .wrap > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .service-grid, .gallery, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps-5 { grid-template-columns: 1fr 1fr 1fr; }
  .also { grid-template-columns: 1fr 1fr; }
  .skylift-photo { position: static; }
  /* on one column, lead with the text so the heading comes first */
  #additions .skylift-photo { order: 2; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .topbar .left { display: none; }
  .topbar .wrap { justify-content: center; }
  .site-header .wrap { flex-direction: row; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
  .home-btn { border-right: 0; padding: 10px 0; }
  .hero-logo { margin-bottom: 20px; }
  .hero-logo img, .page-hero .hero-logo img { height: 66px; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); cursor: pointer; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper-2); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.12); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  /* text spans the full photo on phones, so the overlay stays even */
  .hero { background-image: linear-gradient(rgba(22,26,34,.14), rgba(22,26,34,.14)), url("img/hero-porch-tall.jpg"); background-position: center top; }
  .strip .wrap, .service-grid, .gallery, .reviews-grid, .foot-grid, .form-grid, .steps { grid-template-columns: 1fr; }
  .strip .wrap > div { border-left: 0; padding: 0; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .split img { outline-offset: 8px; }
  .service { min-height: 340px; }
  .also, .tiles, .steps-5, .styles-grid, .styles-grid.four, .style-notes { grid-template-columns: 1fr; }
  dialog.carousel { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .cz-top { padding: 10px 10px 10px 16px; }
  .cz-title { font-size: 21px; }
  .cz-stage { height: min(56vh, 82vw); }
  dialog.carousel.photo-mode .cz-top, dialog.carousel.photo-mode .cz-bottom, dialog.carousel.photo-mode .cz-stage { padding-left: 8px; padding-right: 8px; }
  dialog.carousel.photo-mode .cz-img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 170px); border-width: 4px; }
  dialog.carousel.photo-mode .cz-top { padding-right: 56px; padding-left: 56px; }
  dialog.carousel.photo-mode .cz-close { right: 8px; }
  dialog.carousel.photo-mode .cz-prev { left: 14px; }
  dialog.carousel.photo-mode .cz-next { right: 14px; }
  .cz-nav { width: 40px; height: 40px; }
  .cz-prev { left: 8px; }
  .cz-next { right: 8px; }
  .cz-bottom { flex-wrap: wrap; gap: 10px; padding: 10px 12px 12px; }
  .cz-thumbs { order: 3; flex-basis: 100%; }
  .cz-thumbs button { flex-basis: 60px; height: 44px; }
  .cz-quote { margin-left: auto; padding: 10px 16px; }
  .tile, .tile:nth-child(even) { padding: 24px 0; border-left: 0; }
  .page-hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  .page-hero { background: linear-gradient(rgba(22,26,34,.5), rgba(22,26,34,.62)), var(--hero-img-sm, var(--hero-img)) var(--hero-pos-sm, center)/cover no-repeat; }
  .nav a[aria-current="page"]:not(.btn) { box-shadow: none; padding-bottom: 12px; }
  .nav-drop { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-drop .drop-toggle { display: none; }
  .nav-drop.is-current .nav-drop-top { box-shadow: none; padding-bottom: 12px; }
  .drop-menu, .nav-drop:hover .drop-menu { position: static; display: flex; min-width: 0; margin: 0; padding: 0 0 0 16px; border: 0; box-shadow: none; background: none; }
  .drop-menu::before { display: none; }
  .nav .drop-menu a { padding: 10px 4px; font-size: 15px; }
  .nav .drop-menu a[aria-current="page"] { box-shadow: none; padding-bottom: 10px; }
}

/* Meet the owner: a slim tab on the right edge of the home page that opens a video */
.owner-tab {
  position: fixed; right: 0; top: 50%; z-index: 40; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px; padding: 16px 9px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--white); background: rgba(22,26,34,.9); border: 1px solid rgba(255,255,255,.18); border-left: 0;
  cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: background .2s;
}
.owner-tab[hidden] { display: none; }
.owner-tab svg { transform: rotate(90deg); color: var(--cedar-text-light); flex: none; }
.owner-tab:hover, .owner-tab:focus-visible { background: var(--cedar); }
.owner-tab:hover svg, .owner-tab:focus-visible svg { color: var(--white); }
dialog.owner-video {
  width: min(960px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0;
  border: 1px solid rgba(255,255,255,.14); background: var(--navy-900); color: var(--white); overflow: hidden;
}
dialog.owner-video.portrait { width: fit-content; }
dialog.owner-video::backdrop { background: rgba(14,16,21,.84); backdrop-filter: blur(3px); }
/* soft entrance: backdrop fades, window fades up; reversed on close */
dialog.owner-video[open] { animation: ov-in .45s cubic-bezier(.22,.61,.36,1) both; }
dialog.owner-video[open]::backdrop { animation: ov-fade .45s ease both; }
dialog.owner-video.closing { animation: ov-out .3s ease both; }
dialog.owner-video.closing::backdrop { animation: ov-fade-out .3s ease both; }
@keyframes ov-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ov-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(8px) scale(.99); } }
@keyframes ov-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ov-fade-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { dialog.owner-video[open], dialog.owner-video[open]::backdrop, dialog.owner-video.closing, dialog.owner-video.closing::backdrop { animation-duration: .01s; } }
.ov-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 12px 12px 20px; }
.ov-top h3 { margin: 0; font-size: 24px; color: var(--white); }
.ov-close { font: inherit; cursor: pointer; }
.ov-frame { aspect-ratio: 16 / 9; max-height: calc(100dvh - 100px); background: #000; }
dialog.owner-video.portrait .ov-frame { aspect-ratio: 9 / 16; width: auto; height: min(calc(100dvh - 110px), 760px); max-width: calc(100vw - 26px); }
.ov-frame video, .ov-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: #000; }
@media (max-width: 760px) {
  .owner-tab { padding: 12px 7px; font-size: 12px; gap: 8px; letter-spacing: .12em; }
  .owner-tab svg { width: 14px; height: 14px; }
}
.ov-soon { display: grid; place-items: center; height: 100%; color: #d8cfc4; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px; }
.ov-soon span { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.3); padding: 8px 12px; }

/* Finishes: included vs upgrade badges, paint column, metal-roof layout */
.finish-badge { display: inline-block; margin-left: 8px; padding: 2px 7px; font-size: 12px; letter-spacing: .1em; vertical-align: 1px; color: var(--ink); background: var(--cedar-50); border-radius: var(--radius); }
.finish-badge.upgrade { color: var(--white); background: var(--cedar); }
.paint-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.paint-list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.paint-tile { display: block; width: 56px; height: 34px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); overflow: hidden; }
.paint-list strong { display: block; line-height: 1.15; font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.paint-list span { color: var(--muted); font-size: 13px; line-height: 1.35; }
.finish-cols.metal-cols { grid-template-columns: 1.25fr 1fr; }
.metal-cols .panel-spec { margin-top: 0; }
@media (max-width: 960px) { .finish-cols.metal-cols { grid-template-columns: 1fr; } }

/* Two-photo gallery (pergolas) */
.gallery.two { grid-template-columns: 1fr 1fr; max-width: 900px; margin-left: auto; margin-right: auto; }
.gallery.two img { aspect-ratio: 5 / 4; }
@media (max-width: 760px) { .gallery.two { grid-template-columns: 1fr; } }

/* Four-across gallery (concrete): 2 across on tablets, 1 on phones */
.gallery.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery.four figcaption { padding: 12px 14px; font-size: 12px; }
@media (max-width: 960px) { .gallery.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .gallery.four { grid-template-columns: 1fr; } }

/* Upright photos inside a gallery (tall phone shots) */
.gallery figure.tall img { aspect-ratio: 3 / 4; }
@media (min-width: 761px) and (max-width: 960px) { .gallery figure.tall img { aspect-ratio: 4 / 3; } }

/* Full-width style card (Krewe Pavilion): photo left, text right */
.style-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.style-card.wide img { aspect-ratio: 1 / 1; height: 100%; max-height: 460px; }
.style-card.wide .body { border-top: 0; border-left: 3px solid var(--cedar); padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.style-card.wide h3 { font-size: 34px; }
.style-card.wide p { font-size: 17px; max-width: 520px; }
.krewe-cta { margin-top: 20px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--cedar-text); }
@media (max-width: 760px) {
  .style-card.wide { display: flex; }
  .style-card.wide img { aspect-ratio: 4 / 3; height: auto; max-height: none; object-position: center 15%; }
  .style-card.wide .body { border-left: 0; border-top: 3px solid var(--cedar); padding: 20px 22px 24px; }
  .style-card.wide h3 { font-size: 26px; }
  .style-card.wide p { font-size: 15px; }
}
/* Krewe wide card: photo-count badge sits on the photo's top-right corner */
@media (min-width: 761px) { .style-card.wide[data-gallery]::after { right: auto; left: calc(40% - 12px); transform: translateX(-100%); } }

/* Quote pop-up: the main form in a window over any page */
dialog.quote-pop {
  width: min(600px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px);
  padding: 0; border: 0; background: transparent; overflow: visible;
}
dialog.quote-pop::backdrop { background: rgba(14,16,21,.78); backdrop-filter: blur(3px); }
dialog.quote-pop[open] { animation: qp-in .28s ease-out; }
@keyframes qp-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
dialog.quote-pop .quote-card { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; padding-top: 30px; }
.qp-close {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer;
}
.qp-close:hover, .qp-close:focus-visible { background: rgba(0,0,0,.06); color: var(--ink); }
dialog.quote-pop h2 { padding-right: 40px; }
@media (prefers-reduced-motion: reduce) { dialog.quote-pop[open] { animation: none; } }
@media (max-width: 760px) { dialog.quote-pop .quote-card { padding: 24px 18px 20px; } }

/* gallery: a lone photo on the last row sits in the middle */
.gallery.center-last > figure:last-child:nth-child(3n+1) { grid-column: 2; }
@media (max-width: 960px) {
  .gallery.center-last > figure:last-child:nth-child(3n+1) { grid-column: auto; }
  .gallery.center-last > figure:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
}
@media (max-width: 760px) {
  .gallery.center-last > figure:last-child:nth-child(odd) { grid-column: auto; width: auto; justify-self: stretch; }
}
@media (min-width: 761px) {
  .gallery.two.center-last > figure:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
}

/* "Also include" on the quote form: label above like the other fields, each choice its own box */
.form-grid fieldset.include-grid { border: 0; padding: 0; background: none; gap: 8px 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); }
.form-grid .include-grid legend { float: left; width: 100%; grid-column: 1 / -1; padding: 0; margin: 0 0 -2px; font-size: 12px; font-weight: 500; }
.include-grid label { padding: 11px 12px; border: 1px solid #d8cfc4; border-radius: var(--radius); background: var(--white); white-space: nowrap; transition: border-color .15s; }
.include-grid label:hover, .include-grid label:has(input:checked) { border-color: var(--cedar); }

/* Quote form: one set of text styles throughout */
input::placeholder, textarea::placeholder { color: #8a8e96; opacity: 1; }
input[type="file"] { font-size: 16px; padding: 7px 8px; color: var(--muted); cursor: pointer; }
input[type="file"]::file-selector-button {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  padding: 8px 12px; margin-right: 12px; border: 1px solid #d8cfc4; border-radius: var(--radius); background: var(--paper-2); cursor: pointer;
}
input[type="file"]::file-selector-button:hover { border-color: var(--cedar); }
.form-small { font-size: 12.5px; }

/* Quick answers chat: header button and the chat window */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ask-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cedar-text); background: transparent; border: 1px solid var(--cedar); border-radius: var(--radius);
  transition: background .15s, color .15s; white-space: nowrap;
}
.ask-btn:hover, .ask-btn[aria-expanded="true"] { background: var(--cedar-50); }
.ask-btn:focus-visible { outline: 2px solid var(--cedar); outline-offset: 3px; }
.ask-btn svg { flex: none; }
.ask-btn-m { display: none; }
.ask-short { display: none; }
@media (min-width: 1181px) { .site-header .wrap { max-width: 1600px; } }
@media (max-width: 1599px) and (min-width: 761px) { .ask-btn { font-size: 14px; letter-spacing: .06em; padding: 9px 12px; } .nav .ask-long { display: none; } .nav .ask-short { display: inline; } }
@media (max-width: 1180px) and (min-width: 761px) { .nav .ask-short { display: none; } .nav .ask-btn { padding: 8px 9px; } }
@media (max-width: 1000px) and (min-width: 761px) { .site-header .wrap { gap: 12px; } .nav { gap: 12px; } .nav a, .home-btn { letter-spacing: .04em; } .home-btn { padding-right: 12px; } }
@media (max-width: 900px) and (min-width: 761px) { .nav { gap: 9px; } .nav .btn { padding: 9px 10px; } }
@media (max-width: 760px) {
  .nav .ask-btn { display: none; }
  .ask-btn-m { display: inline-flex; margin-left: auto; margin-right: 10px; height: 44px; padding: 0 14px; font-size: 15px; }
}

.chat {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 380px; height: min(580px, calc(100dvh - 110px));
  display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 18px 50px rgba(14,16,21,.28); overflow: hidden; animation: chat-in .22s ease-out;
}
.chat[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 18px; background: var(--navy-800); color: var(--white); }
.chat-head strong { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; }
.chat-head span { display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--cedar-text-light); margin-top: 2px; }
.chat-x { display: grid; place-items: center; width: 38px; height: 38px; color: var(--white); background: none; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); cursor: pointer; }
.chat-x:hover { border-color: var(--white); }
.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 88%; padding: 10px 13px; font-size: 14.5px; line-height: 1.5; border-radius: 10px; overflow-wrap: anywhere; }
.chat-msg.bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 2px; }
.chat-msg.me { align-self: flex-end; background: var(--cedar); color: var(--white); border-bottom-right-radius: 2px; }
.chat-msg a { color: var(--cedar-text); font-weight: 600; }
.chat-more { display: block; margin-top: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.chat-more:hover { text-decoration: underline; }
.chat-msg.typing { display: flex; gap: 5px; padding: 14px 15px; }
.chat-msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #a9a39b; animation: chat-dot 1s infinite ease-in-out; }
.chat-msg.typing i:nth-child(2) { animation-delay: .15s; }
.chat-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-chips button { font: inherit; font-size: 13px; padding: 7px 11px; color: var(--ink); background: transparent; border: 1px solid #cdbfb0; border-radius: 999px; cursor: pointer; }
.chat-chips button:hover { border-color: var(--cedar); color: var(--cedar-text); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat-form input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #d8cfc4; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.chat-form input:focus { outline: 2px solid var(--cedar); outline-offset: -1px; border-color: var(--cedar); }
.chat-form button { flex: none; width: 44px; display: grid; place-items: center; color: var(--white); background: var(--cedar); border: 0; border-radius: var(--radius); cursor: pointer; }
.chat-form button:hover { background: var(--cedar-dark); }
.chat-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 12px; background: var(--white); border-top: 1px solid var(--line); }
.chat-foot a { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--cedar-text); text-decoration: none; white-space: nowrap; }
.chat-foot a:hover { text-decoration: underline; }
.chat-foot a.chat-quote { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px; color: var(--white); background: var(--cedar); border-radius: var(--radius); font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: .08em; }
.chat-foot a.chat-quote:hover { background: var(--cedar-dark); text-decoration: none; }
@media (max-width: 760px) {
  .chat { inset: 0; width: auto; height: 100dvh; border: 0; border-radius: 0; }
  .chat-msg { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .chat { animation: none; } .chat-msg.typing i { animation: none; opacity: .6; } }
.chat-note { margin: 0; padding: 0 14px 6px; background: var(--white); font-size: 12px; color: var(--muted); }
.chat-note a { color: var(--muted); }

/* Home: financing band above the signature pavilions */
section.finance-band { padding: 0; background: var(--navy-800); color: var(--white); border-top: 4px solid var(--cedar); }
.finance-band .wrap { padding-top: 22px; padding-bottom: 22px; }
.finance-band p { margin: 0; text-align: center; font-size: 17px; line-height: 1.5; }
.finance-band strong { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: .06em; text-transform: uppercase; margin-right: 10px; }
.finance-band a { display: inline-flex; align-items: center; gap: 6px; color: var(--cedar-text-light); font-weight: 600; text-underline-offset: 3px; }
.finance-band a:hover { color: var(--white); }
@media (max-width: 760px) { .finance-band strong { display: block; margin: 0 0 4px; } }

/* Home hero: brighter photo, with the text on a see-through charcoal panel */
.hero-text { padding: 40px 44px 44px; background: rgba(30,36,48,.31); border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.hero-text .lead { max-width: none; }
@media (max-width: 760px) { .hero-text { padding: 26px 22px 28px; border-radius: 12px; } }

/* Accessibility pass (UI UX Pro Max review): bigger tap areas without changing the look */
.topbar a { display: inline-block; padding: 13px 6px; margin: -13px -6px; }
.form-small a, .foot-bottom a, .chat-note a { display: inline-block; padding: 14px 4px; margin: -14px -4px; }
.owner-tab::after { content: ""; position: absolute; inset: -8px; }

/* Skip link: hidden until a keyboard user tabs to it */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--navy-900); color: var(--white); font-family: var(--display); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Respect the "reduce motion" setting everywhere */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .gallery figure:has(.fig-open):hover img, .gallery figure:has(.fig-open:focus-visible) img { transform: none; }
}
main:focus { outline: none; }
.form-thanks h2:focus { outline: none; }
/* Wide card with a landscape photo (Pontchartrain on Home): photo takes 60% so the whole pavilion shows */
@media (min-width: 761px) {
  .style-card.wide.wide-photo { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .style-card.wide.wide-photo img { aspect-ratio: 3 / 2; }
  .style-card.wide.wide-photo[data-gallery]::after { left: calc(60% - 12px); }
}
/* "Craftsmanship you can see": the photo beside it is portrait, so let it run taller next to the long text */
@media (min-width: 961px) { #why .split > img { max-height: 760px; object-position: center 40%; } }
