/* New Beginnings Finishing — live site styles
   Tokens copied from ../tokens/*.css so this folder is fully self-contained. */
:root {
  /* Color */
  --nb-paper: #F9F7F2;
  --nb-ink: #2D2D2D;
  --nb-gold: #C5A059;
  --nb-olive: #5A5A40;
  --nb-olive-hover: #6b6b4d;
  --nb-border: #E8E2D6;
  --nb-muted: #666666;
  --nb-white: #ffffff;
  --nb-input-bg: #fcfcfc;

  /* Type */
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: "Helvetica Neue", Arial, system-ui, sans-serif;
  --text-hero: 68px;
  --text-h2: 48px;
  --text-h2-sm: 40px;
  --text-h3: 30px;
  --text-card-title: 24px;
  --text-lead: 20px;
  --text-body-lg: 18px;
  --text-body-md: 14px;
  --text-caption: 12px;
  --text-eyebrow: 14px;
  --text-label: 10px;
  --text-button: 14px;
  --text-button-sm: 12px;
  --tracking-eyebrow: 0.2em;
  --tracking-button: 0.15em;
  --tracking-label: 0.1em;
  --tracking-footer-heading: 0.3em;

  /* Layout */
  --container-max: 1280px;
  --container-pad: 32px;
  --section-pad-y: 96px;
  --radius-chip: 2px;
  --radius-logo: 4px;
  --radius-button: 6px;
  --radius-photo: 16px;
  --radius-card: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-button: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
  --shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-dramatic: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --overlay-hero: linear-gradient(to right, rgba(45, 45, 45, 0.6), transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--nb-paper); }
body { font-family: var(--font-sans); color: var(--nb-ink); }
a { text-decoration: none; color: inherit; }
::selection { background: rgba(197, 160, 89, 0.3); }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 24px 0; background: transparent; transition: all 0.3s ease;
}
.site-header.is-solid,
.site-header.is-static {
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nb-border); box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  padding: 12px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--nb-olive);
  text-transform: uppercase; user-select: none;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: var(--text-button-sm); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; transition: color 0.2s;
}
.nav-link:hover { color: var(--nb-gold); }
.nav-divider { height: 16px; width: 1px; background: var(--nb-border); }
.nav-phone { display: flex; align-items: center; gap: 8px; font-size: var(--text-body-md); font-weight: 700; transition: color 0.2s; }
.nav-phone:hover { color: var(--nb-olive); }
.nav-cta {
  background: var(--nb-olive); color: var(--nb-white); padding: 0 24px; min-height: 44px;
  display: flex; align-items: center; border-radius: var(--radius-chip);
  font-size: var(--text-button-sm); font-weight: 700; text-transform: uppercase;
  letter-spacing: var(--tracking-button); box-shadow: var(--shadow-md); transition: background 0.2s; cursor: pointer; border: none;
}
.nav-cta:hover { background: var(--nb-olive-hover); }
.nav-toggle { display: none; }

/* Transparent header sits on a dark hero photo — nav needs to be light until scrolled solid */
.site-header:not(.is-solid):not(.is-static) .logo,
.site-header:not(.is-solid):not(.is-static) .nav-link,
.site-header:not(.is-solid):not(.is-static) .nav-phone,
.site-header:not(.is-solid):not(.is-static) .nav-toggle {
  color: var(--nb-white);
}
.site-header:not(.is-solid):not(.is-static) .nav-divider { background: rgba(255,255,255,0.3); }
.site-header:not(.is-solid):not(.is-static) .nav-link:hover { color: var(--nb-gold); }
.site-header:not(.is-solid):not(.is-static) .nav-phone:hover { color: var(--nb-gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 18px 40px; border-radius: var(--radius-button);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-button);
  transition: background 0.2s, transform 0.15s, border-color 0.2s; cursor: pointer; border: none;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--nb-olive); color: var(--nb-white); box-shadow: var(--shadow-button); }
.btn-primary:hover { background: var(--nb-olive-hover); }
.btn-gold { background: var(--nb-gold); color: var(--nb-ink); }
.btn-gold:hover { background: #d4b06a; }
.btn-outline { background: var(--nb-white); color: var(--nb-ink); border: 1px solid var(--nb-border); }
.btn-outline:hover { border-color: var(--nb-gold); }
.btn-outline-dark { background: transparent; color: var(--nb-white); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline-dark:hover { border-color: var(--nb-gold); }

/* ---------- Eyebrow / heading system ---------- */
.eyebrow {
  color: var(--nb-gold); font-weight: 700; font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; display: block;
}
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; margin: 0; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--nb-gold); }
.section-intro { text-align: center; max-width: 672px; margin: 0 auto 64px auto; }
.section-intro p { color: var(--nb-muted); line-height: 1.6; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center; padding-top: 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: var(--overlay-hero); pointer-events: none; }
.hero-grid {
  position: relative; z-index: 10; display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center; width: 100%;
}
.hero h1 { font-size: var(--text-hero); color: var(--nb-white); line-height: 1.1; margin: 0 0 24px 0; }
.hero-lead { font-size: var(--text-lead); color: rgba(255,255,255,0.9); max-width: 512px; margin: 0 0 32px 0; font-weight: 300; line-height: 1.6; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 16px; }
.chip {
  display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px); padding: 8px 16px; border-radius: var(--radius-chip);
  border: 1px solid rgba(255,255,255,0.2); color: var(--nb-white); font-size: 12px;
  font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-button);
}
.chip svg { flex-shrink: 0; color: var(--nb-gold); }

/* ---------- Quote card / form ---------- */
.quote-card {
  background: var(--nb-white); padding: 40px; border-radius: var(--radius-photo);
  box-shadow: var(--shadow-dramatic); border: 1px solid var(--nb-border);
}
.quote-card h3 { font-size: var(--text-h3); margin: 0 0 8px 0; }
.quote-card > p { color: var(--nb-muted); font-size: 14px; margin: 0 0 32px 0; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.field label {
  font-size: var(--text-label); font-weight: 700; text-transform: uppercase;
  letter-spacing: var(--tracking-label); color: var(--nb-olive); margin-left: 4px;
}
.field input, .field select {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-button);
  border: 1px solid var(--nb-border); background: var(--nb-input-bg); min-height: 48px;
  font-size: 14px; font-family: inherit; outline: none; appearance: none;
}
.field input:focus, .field select:focus { border-color: var(--nb-olive); box-shadow: 0 0 0 1px var(--nb-olive); }
.quote-submit {
  width: 100%; background: var(--nb-olive); color: var(--nb-white); padding: 20px; border: none;
  border-radius: var(--radius-button); font-weight: 700; font-size: 14px; text-transform: uppercase;
  letter-spacing: var(--tracking-button); box-shadow: var(--shadow-button); cursor: pointer; margin-top: 8px;
  transition: background 0.2s, transform 0.15s;
}
.quote-submit:hover { background: var(--nb-olive-hover); transform: scale(1.01); }
.quote-submit:active { transform: scale(0.99); }
.quote-submit.is-sent { background: var(--nb-olive); }

/* ---------- Trust badges strip ---------- */
.trust-strip {
  padding: 48px 16px; border-top: 1px solid var(--nb-border); border-bottom: 1px solid var(--nb-border);
  background: var(--nb-white);
}
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 48px 96px; }
.trust-item {
  display: flex; align-items: center; gap: 12px; font-size: var(--text-label); font-weight: 700;
  text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--nb-olive); opacity: 0.8;
}
.trust-dot { width: 8px; height: 8px; background: var(--nb-gold); border-radius: 50%; }

/* ---------- Gallery / before-after section ---------- */
.gallery-section { padding: var(--section-pad-y) 0; background: var(--nb-white); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.gallery-grid h2 { font-size: var(--text-h2); margin: 16px 0 24px 0; line-height: 1.2; }
.gallery-grid > div > p { font-size: var(--text-body-lg); color: var(--nb-muted); font-weight: 300; line-height: 1.6; margin: 0 0 32px 0; }
.check-list { list-style: none; padding: 0; margin: 0 0 32px 0; display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; align-items: center; gap: 12px; }
.check-list .dot { width: 20px; height: 20px; background: var(--nb-ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.check-list span:last-child { font-weight: 500; color: rgba(45,45,45,0.8); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--nb-ink); font-weight: 700; transition: color 0.2s; }
.text-link:hover { color: var(--nb-gold); }

.before-after {
  position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius-photo);
  cursor: col-resize; user-select: none; touch-action: pan-y; border: 1px solid rgba(45,45,45,0.1);
  box-shadow: var(--shadow-dramatic);
}
.before-after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { z-index: 1; }
.ba-before-wrap { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-before-wrap img { filter: grayscale(1) brightness(0.75); }
.ba-tag { position: absolute; top: 16px; padding: 4px 12px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; border-radius: var(--radius-chip); z-index: 3; }
.ba-tag-before { left: 16px; background: rgba(0,0,0,0.5); color: var(--nb-white); backdrop-filter: blur(4px); }
.ba-tag-after { right: 16px; background: var(--nb-olive); color: var(--nb-white); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; width: 4px; background: var(--nb-white); left: 50%;
  cursor: col-resize; box-shadow: 0 0 10px rgba(0,0,0,0.5); z-index: 4;
}
.ba-handle-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px;
  background: var(--nb-white); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card-hover); border: 1px solid var(--nb-olive);
}
.ba-more { align-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-button); color: var(--nb-olive); transition: color 0.2s; margin: 0 auto; }
.ba-more:hover { color: var(--nb-gold); }
.gallery-visual { display: flex; flex-direction: column; gap: 24px; }

/* ---------- Services ---------- */
.services-section { padding: var(--section-pad-y) 0; background: var(--nb-paper); }
.services-section.on-white { background: var(--nb-white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card {
  display: block; background: var(--nb-white); padding: 40px; border-radius: var(--radius-card);
  border: 1px solid rgba(45,45,45,0.05); box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-card-hover); }
.service-card .icon { margin-bottom: 24px; color: var(--nb-gold); }
.service-card h3 { font-size: var(--text-card-title); margin: 0 0 16px 0; }
.service-card p { color: var(--nb-muted); font-size: 14px; line-height: 1.6; margin: 0 0 24px 0; }
.service-card .learn-more {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-button);
  color: var(--nb-olive); display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- Reviews ---------- */
.reviews-section { padding: var(--section-pad-y) 0; background: var(--nb-ink); overflow: hidden; position: relative; }
.reviews-section .container { position: relative; }
.reviews-orb { position: absolute; top: -96px; left: -96px; width: 256px; height: 256px; background: rgba(197,160,89,0.1); border-radius: 50%; filter: blur(64px); }
.reviews-header { text-align: center; margin-bottom: 64px; position: relative; z-index: 10; }
.stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 16px; }
.reviews-header h2 { color: var(--nb-white); font-size: var(--text-h2-sm); margin: 0 0 16px 0; }
.reviews-header p { color: rgba(255,255,255,0.6); margin: 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; z-index: 10; }
.review-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(4px); padding: 32px; border-radius: var(--radius-card); border: 1px solid rgba(255,255,255,0.1); }
.review-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; gap: 12px; flex-wrap: wrap; }
.review-top .svc { text-align: right; flex-shrink: 0; }
.review-top h4 { color: var(--nb-white); font-weight: 700; margin: 0 0 4px 0; font-size: 16px; font-family: var(--font-sans); }
.review-top .loc { color: var(--nb-gold); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: var(--tracking-button); }
.review-top .svc { font-size: 10px; color: rgba(255,255,255,0.3); text-transform: uppercase; font-weight: 700; letter-spacing: var(--tracking-button); }
.review-card blockquote { color: rgba(255,255,255,0.8); font-style: italic; font-size: 14px; line-height: 1.6; margin: 0; }

/* ---------- CTA sections ---------- */
.cta-light { padding: var(--section-pad-y) 16px; background: var(--nb-paper); text-align: center; }
.cta-light h2 { font-size: var(--text-h2); margin: 0 auto 32px auto; max-width: 672px; line-height: 1.2; }
.cta-light .fine-print { margin: 48px 0 0 0; color: var(--nb-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-button); opacity: 0.6; }
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-dark { padding: var(--section-pad-y) 16px; background: var(--nb-ink); text-align: center; }
.cta-dark .container { max-width: 768px; }
.cta-dark h2 { color: var(--nb-white); font-size: 44px; margin: 0 0 16px 0; line-height: 1.2; }
.cta-dark p { color: rgba(255,255,255,0.6); margin: 0 0 40px 0; font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--nb-ink); color: var(--nb-white); padding: 96px 0 48px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-brand { display: flex; flex-direction: column; gap: 24px; }
.footer-mark { display: flex; align-items: center; gap: 8px; }
.footer-mark .badge { width: 32px; height: 32px; background: var(--nb-white); display: flex; align-items: center; justify-content: center; border-radius: var(--radius-logo); color: var(--nb-ink); font-family: var(--font-serif); font-weight: 700; font-style: italic; }
.footer-mark h2 { font-size: 18px; text-transform: uppercase; letter-spacing: -0.02em; font-family: var(--font-serif); font-weight: 700; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; max-width: 320px; font-weight: 300; margin: 0; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: var(--tracking-footer-heading); font-weight: 700; margin: 0 0 32px 0; color: rgba(255,255,255,0.3); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-col.areas ul { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 8px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col a:hover { color: var(--nb-gold); }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.6); font-weight: 300; }
.footer-contact svg { flex-shrink: 0; color: var(--nb-gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; color: rgba(255,255,255,0.2); }
.footer-bottom-links { display: flex; gap: 32px; }
.footer-bottom a:hover { color: var(--nb-gold); }
.footer-bottom.simple { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.site-footer.simple { padding: 48px 0; border-top: 1px solid rgba(255,255,255,0.08); }

/* ---------- Sub-page hero (service pages) ---------- */
.page-hero { padding: 160px 0 80px 0; background: var(--nb-white); border-bottom: 1px solid var(--nb-border); }
.page-hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-button); color: var(--nb-muted); margin-bottom: 24px; transition: color 0.2s; }
.back-link:hover { color: var(--nb-gold); }
.page-hero h1 { font-size: 56px; line-height: 1.1; margin: 0 0 24px 0; }
.page-hero-lead { font-size: 19px; color: var(--nb-muted); font-weight: 300; line-height: 1.65; margin: 0 0 32px 0; max-width: 560px; }
.page-hero-photo { aspect-ratio: 4/3; border-radius: var(--radius-photo); overflow: hidden; border: 1px solid rgba(45,45,45,0.1); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.benefits-section { padding: var(--section-pad-y) 0; background: var(--nb-paper); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.benefit-card { background: var(--nb-white); padding: 40px; border-radius: var(--radius-card); border: 1px solid rgba(45,45,45,0.05); box-shadow: var(--shadow-sm); }
.benefit-card h3 { font-size: 22px; margin: 0 0 12px 0; }
.benefit-card p { color: var(--nb-muted); font-size: 14px; line-height: 1.6; margin: 0; }

.process-section { padding: var(--section-pad-y) 0; background: var(--nb-white); border-top: 1px solid var(--nb-border); }
.process-section .container { max-width: 960px; }
.process-header { text-align: center; margin-bottom: 64px; }
.process-header h2 { font-size: var(--text-h2-sm); margin: 16px 0 0 0; }
.process-step { display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--nb-border); align-items: flex-start; }
.process-step .num { font-family: var(--font-serif); font-size: 40px; font-style: italic; color: var(--nb-gold); line-height: 1; }
.process-step h3 { font-size: 24px; margin: 0 0 8px 0; }
.process-step p { color: var(--nb-muted); font-size: 15px; line-height: 1.65; margin: 0; max-width: 640px; }
.process-footnote { text-align: center; margin: 48px 0 0 0; color: var(--nb-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-button); opacity: 0.7; }

/* ---------- Gallery page ---------- */
.gallery-header { padding: 160px 0 64px 0; background: var(--nb-paper); }
.gallery-header .container { max-width: 1440px; padding: 0 48px; }
.gallery-header h1 { font-size: 88px; line-height: 1.04; letter-spacing: -0.02em; margin: 24px 0 0 0; }
.gallery-filter { background: var(--nb-paper); border-top: 1px solid var(--nb-border); border-bottom: 1px solid var(--nb-border); position: sticky; top: 68px; z-index: 40; }
.gallery-filter .container { max-width: 1440px; padding: 20px 48px; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.filter-buttons { display: flex; gap: 28px; align-items: baseline; }
.filter-buttons button {
  background: none; border: none; padding: 0 0 4px 0; cursor: pointer; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: rgba(102,102,102,0.6); border-bottom: 2px solid transparent;
  transition: color 0.2s;
}
.filter-buttons button:hover { color: var(--nb-gold); }
.filter-buttons button.active { color: var(--nb-ink); border-bottom-color: var(--nb-gold); }
.count-label { font-family: var(--font-serif); font-style: italic; font-size: 14px; color: var(--nb-muted); }
.projects-section { padding: 96px 0 128px 0; background: var(--nb-paper); }
.projects-section .container { max-width: 1440px; padding: 0 48px; display: flex; flex-direction: column; gap: 96px; }
.project-figure { margin: 0; display: flex; flex-direction: column; gap: 20px; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.project-figure:hover { transform: translateY(-8px); }
.project-figure .frame { overflow: hidden; background: var(--nb-white); border: 1px solid rgba(45,45,45,0.08); }
.project-figure img { width: 100%; height: 100%; object-fit: cover; }
.project-figure figcaption { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.project-figure .p-num { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--nb-gold); }
.project-figure .p-title { font-family: var(--font-serif); font-size: 28px; letter-spacing: -0.01em; }
.project-figure .p-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--nb-muted); margin-left: auto; white-space: nowrap; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 1; }
[data-reveal].pre-reveal { clip-path: inset(0 0 100% 0); }
[data-reveal].pre-reveal img { transform: scale(1.25); }
[data-reveal] { transition: clip-path 1.1s cubic-bezier(0.16,1,0.3,1); }
[data-reveal] img { transition: transform 1.5s cubic-bezier(0.16,1,0.3,1); }

/* ---------- Quote modal (sub-pages) ---------- */
.quote-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.quote-modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(45,45,45,0.6); backdrop-filter: blur(2px); }
.modal-panel { position: relative; z-index: 1; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%;
  border: none; background: var(--nb-paper); color: var(--nb-ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; z-index: 2;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .page-hero .container, .gallery-grid { grid-template-columns: 1fr; }
  .services-grid, .benefits-grid, .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 44px; }
  .gallery-header h1 { font-size: 56px; }
  .page-hero { padding-top: 120px; }
  .nav { display: none; }
  .nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--nb-paper); flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px; box-shadow: var(--shadow-md); }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: none; cursor: pointer; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .page-hero h1 { font-size: 40px; }
}
