/* ==========================================================================
   Dream Kitchens — site styles
   Mobile-first. Colors are tokens; change them here and the whole site follows.
   Contrast notes (WCAG AA):
     champagne #E8D5B0 on navy #12233F ........ 10.9:1
     white on hunter #2F5636 ................... 8.4:1
     navy on cream #F6EDDA ..................... 13.5:1
     hunter #2F5636 on cream #F6EDDA ........... 7.2:1
     muted #4A5568 on white .................... 7.5:1
   ========================================================================== */

:root {
  --navy: #12233F;
  --navy-700: #1B3157;
  --navy-900: #0B1729;
  --champagne: #E8D5B0;
  --champagne-200: #EFE1C4;
  --cream: #F6EDDA;
  --cream-50: #FBF7EE;
  --hunter: #2F5636;
  --hunter-600: #24442A;
  --white: #FFFFFF;
  --ink: #12233F;
  --muted: #4A5568;
  --line: #E3D7BF;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(18, 35, 63, .06), 0 8px 24px rgba(18, 35, 63, .08);
  --shadow-lg: 0 2px 4px rgba(18, 35, 63, .06), 0 18px 40px rgba(18, 35, 63, .14);
  --header-h: 68px;
  --gutter: 20px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.85rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
a { color: var(--hunter); text-underline-offset: .18em; }
a:hover { color: var(--hunter-600); }
address { font-style: normal; }
ul, ol { padding: 0; margin: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--hunter); outline-offset: 3px; border-radius: 4px; }
.section-navy :focus-visible, .site-header :focus-visible, .hero :focus-visible,
.cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--champagne); }

.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--champagne); color: var(--navy); padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: .55em 1.1em; font-size: .9375rem; }
.btn-lg { min-height: 54px; padding: .85em 1.7em; font-size: 1.0625rem; }
.btn-green { background: var(--hunter); color: var(--white); }
.btn-green:hover { background: var(--hunter-600); color: var(--white); box-shadow: 0 6px 18px rgba(47, 86, 54, .35); }
.btn-navy { background: var(--navy); color: var(--champagne); }
.btn-navy:hover { background: var(--navy-700); color: var(--champagne-200); }
.btn-champagne { background: var(--champagne); color: var(--navy); }
.btn-champagne:hover { background: var(--champagne-200); color: var(--navy); }
.btn-outline-light { border-color: rgba(232, 213, 176, .8); color: var(--champagne); background: transparent; }
.btn-outline-light:hover { background: rgba(232, 213, 176, .12); color: var(--white); border-color: var(--champagne); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row-center { justify-content: center; }

.text-link { font-weight: 700; color: var(--hunter); }

.eyebrow {
  font: 700 .8125rem/1.3 var(--font-sans);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--champagne); margin-bottom: .9em;
}
.eyebrow-green { color: var(--hunter); }
.pill {
  display: inline-block; padding: .25em .8em; border-radius: 999px;
  background: var(--champagne); color: var(--navy);
  font: 700 .75rem/1.4 var(--font-sans); letter-spacing: .08em; text-transform: uppercase;
}
.pill-green { background: var(--hunter); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(232, 213, 176, .14);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 23, 41, .35); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { text-decoration: none; margin-right: auto; }
.wordmark {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 1.65rem; line-height: 1; letter-spacing: .01em;
  color: var(--champagne); white-space: nowrap;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { white-space: nowrap; }
.header-phone {
  display: none; align-items: center; gap: 6px;
  color: var(--champagne); text-decoration: none; font-weight: 700; font-size: .9375rem; white-space: nowrap;
}
.header-phone:hover { color: var(--white); }
.header-actions .btn-sm { min-height: 40px; padding: .5em .95em; font-size: .875rem; }

.nav-toggle {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 1px solid rgba(232, 213, 176, .35);
  border-radius: 10px; color: var(--champagne); cursor: pointer;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav drawer */
.primary-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--navy);
  border-top: 1px solid rgba(232, 213, 176, .14);
  padding: 8px var(--gutter) 24px;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  box-shadow: 0 18px 30px rgba(11, 23, 41, .4);
}
.primary-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .25s var(--ease); }
.primary-nav a {
  display: block; padding: 14px 4px; color: var(--cream);
  text-decoration: none; font-weight: 600; font-size: 1.125rem;
  border-bottom: 1px solid rgba(232, 213, 176, .12);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--champagne); }
.primary-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--champagne); padding-left: 14px; }
.nav-phone-mobile { color: var(--champagne) !important; border-bottom: 0 !important; margin-top: 8px; }

@media (min-width: 560px) {
  .header-phone { display: inline-flex; }
}

@media (min-width: 1200px) {
  :root { --header-h: 78px; }
  .nav-toggle, .primary-nav .nav-phone-mobile { display: none; }
  .primary-nav {
    position: static; inset: auto; padding: 0; background: none; border: 0;
    max-height: none; overflow: visible; transform: none; opacity: 1; visibility: visible; box-shadow: none;
  }
  .primary-nav ul { display: flex; gap: 2px; }
  .primary-nav a {
    padding: 8px 10px; font-size: .9375rem; border: 0; position: relative; color: var(--cream);
  }
  .primary-nav a::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px;
    background: var(--champagne); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav a[aria-current="page"] { box-shadow: none; padding-left: 10px; }
  .brand { margin-right: 12px; }
  .primary-nav { margin-right: auto; }
  .header-actions { gap: 18px; }
  .header-actions .btn-sm { min-height: 44px; padding: .55em 1.15em; font-size: .9375rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy);
  min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
}
.hero-media, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
}
.hero-media { z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 23, 41, .25) 0%, rgba(11, 23, 41, .55) 40%, rgba(11, 23, 41, .94) 100%);
}
.hero-content { padding-block: 120px 56px; color: var(--white); }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero h1 .accent { color: var(--champagne); font-style: italic; display: block; }
.hero .lead { font-size: 1.125rem; max-width: 40ch; color: var(--cream); margin-bottom: 1.75em; }
.hero .eyebrow { color: var(--champagne); }

@media (min-width: 800px) {
  .hero { align-items: center; }
  .hero::before {
    background: linear-gradient(90deg, rgba(11, 23, 41, .94) 0%, rgba(11, 23, 41, .78) 38%, rgba(11, 23, 41, .15) 75%, rgba(11, 23, 41, 0) 100%);
  }
  .hero-content { padding-block: 96px; }
  .hero .lead { font-size: 1.1875rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: hero-settle 1.8s var(--ease) both; }
  .hero-content > * { animation: rise .9s var(--ease) both; }
  .hero-content > *:nth-child(2) { animation-delay: .08s; }
  .hero-content > *:nth-child(3) { animation-delay: .16s; }
  .hero-content > *:nth-child(4) { animation-delay: .24s; }
}
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Trust strip ---------- */
.trust { background: var(--champagne); color: var(--navy); }
.trust-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px;
  padding-block: 18px; font-size: .9375rem; line-height: 1.35;
}
.trust-list li { position: relative; padding-left: 1.3em; }
.trust-list li::before { content: "✦"; position: absolute; left: 0; color: var(--hunter); font-size: .8em; }
@media (min-width: 900px) {
  .trust-list { grid-template-columns: repeat(4, auto); justify-content: space-between; padding-block: 20px; font-size: 1rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 10vw, 112px); }
.section-tight { padding-block: clamp(44px, 7vw, 72px); }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--champagne); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p:last-child { color: var(--muted); font-size: 1.125rem; }

/* Steps */
.steps { display: grid; gap: 20px; counter-reset: none; }
.step {
  position: relative; padding: 28px 24px 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-50);
}
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 50%; background: var(--navy); color: var(--champagne);
  font: 600 1.5rem/1 var(--font-serif);
}
.step p { color: var(--muted); margin: 0; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (min-width: 640px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.crew-note {
  margin-top: 28px; padding: 24px 26px; border-radius: var(--radius);
  background: var(--cream); border-left: 5px solid var(--hunter);
}
.crew-note h3 { font-size: 1.45rem; margin-bottom: .35em; }
.crew-note p { color: var(--ink); margin: 0; max-width: 70ch; }

/* Service cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  color: var(--ink); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.card picture, .card .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover img { transform: scale(1.04); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: 1rem; }
.card-link { margin-top: auto; font-weight: 700; color: var(--hunter); }
.card-link span { display: inline-block; transition: transform .25s var(--ease); }
.card:hover .card-link span { transform: translateX(4px); }

/* Placeholder image */
.ph {
  display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(18, 35, 63, .04) 0 12px, transparent 12px 24px),
    var(--champagne-200);
  color: var(--navy); border: 2px dashed rgba(18, 35, 63, .3);
  font: 700 .8125rem/1.4 var(--font-sans); letter-spacing: .12em;
}
.ph small { font-weight: 600; letter-spacing: .02em; font-size: .875rem; text-transform: none; }

/* Brands */
.brand-groups { display: grid; gap: 28px; }
@media (min-width: 800px) { .brand-groups { grid-template-columns: 1fr 1fr; gap: 48px; } }
.brand-groups h3 { font-size: 1.25rem; margin-bottom: .7em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: .55em 1.1em; border-radius: 999px; border: 1px solid var(--line);
  background: var(--cream-50); font-weight: 600; font-size: .9375rem;
}

/* Split layout */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .split-reverse { grid-template-columns: .9fr 1.1fr; }
}
.section-navy p { color: var(--cream); }

.feature-list { display: grid; gap: 14px; }
@media (min-width: 600px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list li {
  padding: 22px; border-radius: var(--radius);
  background: rgba(232, 213, 176, .07); border: 1px solid rgba(232, 213, 176, .2);
}
.feature-list h3 { font-size: 1.3rem; margin-bottom: .35em; }
.feature-photo { display: block; width: calc(100% + 44px); max-width: none; margin: -22px -22px 16px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.brand-more { display: inline-block; margin-top: 14px; }
.shop-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.shop-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-list p { margin: 0; font-size: .975rem; opacity: .92; }

/* Locations */
.locations { display: grid; gap: 20px; }
@media (min-width: 900px) { .locations { grid-template-columns: repeat(3, 1fr); } }
.loc {
  display: flex; flex-direction: column;
  padding: 28px 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  border-top: 5px solid var(--navy);
}
.loc-soon { background: var(--cream); border-top-color: var(--hunter); }
.loc-tag { font: 700 .75rem/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--hunter); margin-bottom: .8em; }
.loc h3 { font-size: 1.6rem; }
.loc address { margin-bottom: 1em; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; margin: 0 0 1.25em; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; color: var(--muted); }
.loc-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.loc-note { color: var(--ink); font-weight: 600; font-size: .9375rem; margin: -.25em 0 1em; }
.loc-main { border-top-color: var(--hunter); }
.loc-emails { list-style: none; margin: 0 0 1em; padding: 0; font-size: .875rem; color: var(--muted); }
.loc-emails li + li { margin-top: 2px; }
.loc a[href^="mailto"] { overflow-wrap: anywhere; }
.loc-main .loc-tag { color: var(--navy); }
.loc-photo { display: block; width: calc(100% + 48px); max-width: none; margin: -28px -24px 22px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--radius) - 5px) calc(var(--radius) - 5px) 0 0; }
.loc-photo img { width: 100%; height: 100%; object-fit: cover; }
/* "Text it to me / Email it to me": opens the visitor's own messages or email app with the details filled in */
.send-me { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.send-me-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  border: 1.5px solid var(--hunter); color: var(--hunter); font-weight: 700; font-size: .875rem; text-decoration: none;
}
.send-me-link::before { content: "\2709"; font-size: 1em; }
.send-me-link[href^="sms"]::before { content: "\1F4AC"; }
.send-me-link:hover { background: var(--hunter); color: var(--white); }
.send-me-link:focus-visible { outline: 3px solid var(--champagne); outline-offset: 2px; }

/* Forms */
label { display: block; font-weight: 700; font-size: .9375rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .7em .9em; min-height: 48px;
  border: 1.5px solid #B9AE98; border-radius: var(--radius-sm); background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(47, 86, 54, .35); border-color: var(--hunter); }
.inline-field { display: flex; gap: 8px; }
.inline-field input { flex: 1; min-width: 0; }
.inline-field .btn { flex: none; }
.form-msg { margin: .6em 0 0; font-weight: 700; color: var(--hunter); min-height: 1.4em; }
.form-msg.is-error { color: #A12A2A; }

/* Contractor band */
.pro { display: grid; gap: 20px; align-items: center; }
.pro h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.pro p { color: var(--muted); margin: 0; max-width: 62ch; }
@media (min-width: 900px) { .pro { grid-template-columns: 1fr auto; gap: 48px; } }

/* Quote */
.quote-card {
  margin: 0; padding: clamp(32px, 6vw, 56px);
  background: var(--navy); color: var(--champagne); border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.quote-card::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px;
  border-radius: 50%; border: 28px solid rgba(47, 86, 54, .55);
}
.quote-card blockquote { margin: 0; }
.quote-card p { font: italic 600 clamp(1.8rem, 4vw, 2.5rem)/1.2 var(--font-serif); margin-bottom: .6em; position: relative; z-index: 1; }
.quote-card figcaption { color: var(--cream); font-weight: 600; position: relative; z-index: 1; }

/* CTA band */
.cta-band {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 20% 0%, rgba(47, 86, 54, .45), transparent 55%),
                    radial-gradient(ellipse at 90% 100%, rgba(232, 213, 176, .12), transparent 50%);
  color: var(--cream); text-align: center; padding-block: clamp(64px, 10vw, 104px);
}
.cta-band h2 { color: var(--champagne); max-width: 20ch; margin-inline: auto; }
.cta-band p { font-size: 1.125rem; margin-bottom: 1.75em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--cream); padding-top: 64px; font-size: .9375rem; }
.site-footer a { color: var(--champagne); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; } }
.footer-brand .wordmark { display: inline-block; font-size: 2rem; margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; }
.footer-loc h2 { font-size: 1.35rem; color: var(--champagne); margin-bottom: .2em; }
.footer-tag { font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-bottom: .8em; }
.footer-loc address, .footer-loc p { margin-bottom: .6em; }
.footer-bottom {
  margin-top: 48px; padding-block: 24px 32px; border-top: 1px solid rgba(232, 213, 176, .16);
  display: grid; gap: 14px;
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom nav a { text-decoration: none; }
.copyright { opacity: .75; font-size: .875rem; }

/* ---------- Scroll reveal (only when JS + motion allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Small phones: keep the header on one line ---------- */
@media (max-width: 419px) {
  :root { --gutter: 16px; }
  .header-inner { gap: 8px; }
  .wordmark { font-size: 1.3rem; }
  .header-actions { gap: 8px; }
  .header-actions .btn-sm { min-height: 40px; padding: .45em .8em; font-size: .8125rem; }
}
@media (max-width: 359px) {
  .wordmark { font-size: 1.15rem; }
  .header-actions .btn-sm { display: none; }
}
.primary-nav .nav-cta-mobile { display: flex; margin-top: 12px; padding: .75em 1.4em; border: 0; color: var(--white); font-size: 1rem; }
@media (min-width: 1200px) { .primary-nav .nav-cta-mobile { display: none; } }
@media (max-width: 359px) { .trust-list { grid-template-columns: 1fr; } .inline-field { flex-wrap: wrap; } }

/* ---------- Fixes ---------- */
h1, h2, h3, .step-num, .quote-card p { font-variant-numeric: lining-nums; }
.site-footer .btn-champagne, .site-footer .btn-champagne:hover { color: var(--navy); }
.loc-actions { flex-direction: column; align-items: flex-start; }

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* Page banner */
.page-hero {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 0% 0%, rgba(47, 86, 54, .4), transparent 55%);
  color: var(--cream);
  padding-block: clamp(48px, 8vw, 88px);
  overflow: hidden;
}
.page-hero-inner { display: grid; gap: 32px; align-items: center; }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 6vw, 3.6rem); max-width: 16ch; }
.page-hero h1 em { color: var(--champagne); }
.page-hero .lead { font-size: 1.125rem; max-width: 46ch; color: var(--cream); }
.page-hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.page-hero-media img, .page-hero-media .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .page-hero-inner { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
@media (prefers-reduced-motion: no-preference) {
  .page-hero-inner > * { animation: rise .8s var(--ease) both; }
  .page-hero-inner > *:nth-child(2) { animation-delay: .12s; }
}

.breadcrumbs { font-size: .875rem; margin-bottom: 18px; color: var(--champagne-200); }
.breadcrumbs a { color: var(--champagne); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }

/* Prose */
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--muted); }
.check-list { display: grid; gap: 10px; margin: 0 0 1.25em; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--hunter) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.section-navy .check-list li { color: var(--cream); }

/* Simple tiles (no image) */
.tiles { display: grid; gap: 18px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles-3 { grid-template-columns: repeat(3, 1fr); } }
.tile {
  padding: 26px 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.section-cream .tile { border-color: transparent; }
.tile h3 { font-size: 1.45rem; margin-bottom: .35em; }
.tile p { color: var(--muted); margin: 0; }
.tile p + p { margin-top: .75em; }
.tile .tile-kicker { font: 700 .75rem/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--hunter); margin-bottom: .6em; }

/* Media + text rows */
.media-row { display: grid; gap: 28px; align-items: center; }
.media-row + .media-row { margin-top: clamp(48px, 8vw, 88px); }
.media-row figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-row figure img, .media-row figure .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-row p { color: var(--muted); }
@media (min-width: 900px) {
  .media-row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .media-row.flip figure { order: 2; }
}

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
  padding: 0 20px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative;
  font-weight: 700; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font: 600 1.6rem/1 var(--font-serif); color: var(--hunter); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  font: 700 .9375rem/1 var(--font-sans); padding: 12px 18px; min-height: 44px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--champagne); border-color: var(--navy); }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.gallery li[hidden] { display: none; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; font: inherit; text-align: left;
}
.gallery .thumb { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.gallery img, .gallery .ph { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s var(--ease); }
.gallery .ph { font-size: .6875rem; padding: 8px; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .cap { display: block; padding: 8px 2px 0; font-size: .875rem; color: var(--muted); }
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; overflow: visible;
}
.lightbox::backdrop { background: rgba(11, 23, 41, .88); }
.lightbox-inner { position: relative; padding-top: 56px; }
.lightbox img, .lightbox .ph { width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--radius-sm); background: var(--navy-900); }
.lightbox .ph { aspect-ratio: 4 / 3; background: var(--champagne-200); }
.lightbox p { color: var(--cream); text-align: center; margin: 12px 0 0; }
.lightbox-close {
  position: absolute; top: 0; right: 0; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(232, 213, 176, .5); background: var(--navy); color: var(--champagne);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* Contact + form */
.contact-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; } }
.form-card {
  padding: clamp(24px, 4vw, 40px); border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--hunter);
}
.form-card h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field .hint { font-weight: 400; color: var(--muted); font-size: .875rem; }
.req { color: #A12A2A; }
textarea { min-height: 120px; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5em;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2312233F' stroke-width='2'/%3E%3C/svg%3E") right 1em center/12px no-repeat;
}
.was-validated input:invalid, .was-validated select:invalid, .was-validated textarea:invalid { border-color: #A12A2A; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 22px; }
.form-foot small { color: var(--muted); }
.thanks { text-align: center; padding: clamp(24px, 5vw, 48px) 8px; }
.thanks h2 { color: var(--hunter); }
.thanks:focus { outline: none; }
.side-card { padding: 26px 24px; border-radius: var(--radius); background: var(--cream); }
.side-card + .side-card { margin-top: 18px; }
.side-card h2 { font-size: 1.5rem; }
.side-card p:last-child { margin-bottom: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice {
  padding: 14px 18px; border-radius: var(--radius-sm); background: var(--cream);
  border-left: 4px solid var(--hunter); color: var(--ink); font-size: .9375rem; margin: 0 0 1.25em;
}
.center { text-align: center; }
.section-head.center { margin-inline: auto; }
.section-navy .media-row p { color: var(--cream); }
.section-navy .media-row + .media-row { border-top: 1px solid rgba(232, 213, 176, .15); padding-top: clamp(48px, 8vw, 88px); }
.contact-layout > * { min-width: 0; }
.side-card a, .site-footer a { overflow-wrap: anywhere; }
@media (min-width: 1040px) { .cards-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.cards-2 .card:hover { transform: none; }
.cards-2 .ph { aspect-ratio: 4 / 3; }
.section-navy .card h3 { color: var(--navy); }
.section-navy .card p { color: var(--muted); }

/* Photo slideshow (custom pieces cards). Arrows show on hover; hovering also plays it. */
.slideshow { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.slides { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.card .slide picture { display: block; height: 100%; aspect-ratio: auto; }
.slide.is-contain img { object-fit: contain; }
.card:hover .slideshow img { transform: none; }
.slide-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0 0 4px;
  border: 0; border-radius: 50%; background: rgba(11, 23, 41, .75); color: var(--white);
  font: 400 2rem/1 var(--font-sans); cursor: pointer;
  transition: opacity .25s var(--ease), background .2s;
}
.slide-btn:hover, .slide-btn:focus-visible { background: var(--navy-900); }
.slide-btn:focus-visible { outline: 3px solid var(--champagne); outline-offset: 2px; }
.slide-prev { left: 10px; }
.slide-next { right: 10px; }
.slide-count {
  position: absolute; right: 10px; bottom: 10px; margin: 0; padding: 2px 10px; border-radius: 999px;
  background: rgba(11, 23, 41, .75); color: var(--white); font: 700 .8125rem/1.6 var(--font-sans);
  transition: opacity .25s var(--ease);
}
.slide-label {
  position: absolute; left: 10px; bottom: 10px; padding: 3px 12px; border-radius: 999px;
  background: rgba(11, 23, 41, .8); color: var(--white); font: 700 .875rem/1.5 var(--font-sans);
}
/* "How we help you pick" tiles: a small slideshow under the text, and budget ballparks */
.pick-tiles .tile { display: flex; flex-direction: column; }
.tile-media { aspect-ratio: 16 / 10; margin-top: 18px; border-radius: var(--radius-sm); }
.tile-media .slide picture { display: block; height: 100%; }
.tile-media .slide img { width: 100%; height: 100%; object-fit: cover; }
.tile-media .slide.is-contain img { object-fit: contain; }
.ballpark { margin-top: 18px; padding: 18px 18px 14px; border-radius: var(--radius-sm); background: var(--cream-50); border: 1px solid var(--line); }
.ballpark-title { font: 700 .75rem/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--hunter); margin: 0 0 .8em; }
.ballpark ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ballpark li { display: grid; grid-template-columns: 4.6em 1fr; gap: 12px; align-items: baseline; }
.ballpark-amt { font: 700 1.35rem/1 var(--font-serif); color: var(--navy); }
@media (max-width: 479px) { .ballpark li { grid-template-columns: 1fr; gap: 4px; } }
.tile .ballpark li span:last-child { color: var(--muted); font-size: .9375rem; }
.tile .ballpark-note { margin-top: 12px; font-size: .8125rem; color: var(--muted); }

/* Design page hero: rendering slideshow */
.page-hero-show { aspect-ratio: 4 / 3; margin-top: 0; border-radius: 0; }
.render-credit { margin: 10px 0 0; font-size: .8125rem; color: var(--champagne-200); }

/* Design page: free items vs. paid design package */
.tile-pkg { border-top: 4px solid var(--navy); }
.tile-pkg .tile-kicker { color: var(--navy); }

/* Design page: floor plan -> elevation -> rendering strip */
.plan-strip { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .plan-strip { grid-template-columns: repeat(3, 1fr); } }
.plan-strip figure { margin: 0; }
.plan-frame { aspect-ratio: 8 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan-frame img { width: 100%; height: 100%; object-fit: cover; }
.plan-frame-drawing img { object-fit: contain; padding: 6px; }
.plan-strip figcaption { margin-top: 12px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.plan-strip figcaption strong { color: var(--ink); }
.plan-step {
  flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: var(--champagne); font: 700 .875rem/1 var(--font-sans);
}
.plan-note { margin: 0 0 40px; font-size: .875rem; color: var(--muted); font-style: italic; }

/* Countertop slides: a slab chip next to the color name */
.slide-label-chip { display: flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: 12px; }
a.slide-label-chip { color: var(--white); text-decoration: none; transition: background .2s; }
a.slide-label-chip::after { content: "↗"; font-size: .8em; opacity: .8; }
a.slide-label-chip:hover { background: var(--navy-900); color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
a.slide-label-chip:focus-visible { outline: 3px solid var(--champagne); outline-offset: 2px; }
.slide-label .chip {
  width: 44px; height: 44px; flex: none; object-fit: cover; border-radius: 8px;
  border: 2px solid var(--white); box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
.section-navy .card .photo-credit { margin: .75em 0 0; font-size: .8125rem; color: var(--muted); }

/* Cabinet brand cards: photo slideshow, short blurb, link to the maker's site */
@media (min-width: 1040px) { .brand-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.brand-cards .card:hover { transform: none; }
.brand-card .card-link { align-self: flex-start; padding-top: .9em; text-decoration: none; }
.brand-card .card-link:hover span[aria-hidden] { transform: translateX(4px); }
.brand-ph {
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
}
.brand-ph span { font: 600 clamp(1.75rem, 3vw, 2.25rem)/1 var(--font-serif); color: var(--champagne); letter-spacing: .02em; }
p.photo-credit { margin: 1.25em 0 0; font-size: .8125rem; color: var(--muted); }
html:not(.js) .slide-btn, html:not(.js) .slide-count { display: none; }
@media (hover: hover) {
  .slideshow .slide-btn, .slideshow .slide-count { opacity: 0; }
  .slideshow:hover .slide-btn, .slideshow:hover .slide-count,
  .slideshow:focus-within .slide-btn, .slideshow:focus-within .slide-count { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-active { transition: none; } }
