:root {
    /* Neutral (stone) */
    --stone-50: #f8f6f3;
    --stone-100: #f1ede7;
    --stone-200: #e3ddd3;
    --stone-300: #c9c1b4;
    --stone-500: #8a8276;
    --stone-700: #4d4840;
    --stone-800: #2f2c28;
    --stone-900: #1a1816;

    /* Primary (evergreen) */
    --primary-100: #e2ebe7;
    --primary-300: #8fae9f;
    --primary-500: #3f6656;
    --primary-700: #2a4539;
    --primary-800: #1f2a26;
    --primary-900: #141c19;

    /* Secondary (sandstone) */
    --secondary-100: #f4ede2;
    --secondary-300: #ddc9a8;
    --secondary-500: #b89a6c;

    /* Accent (brass / gold leaf) */
    --accent-100: #f6ecd9;
    --accent-300: #e0c592;
    --accent-500: #c7a46b;
    --accent-700: #8f7040;

    --success-100: #e3f2e8; --success-500: #2f7d4f; --success-700: #1f5a37;
    --warning-100: #fbf0d9; --warning-500: #b7791f; --warning-700: #87580f;
    --error-100: #f9e3df; --error-500: #b3412f; --error-700: #852c1f;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px;
    --radius: 4px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(26, 24, 22, .06), 0 2px 8px rgba(26, 24, 22, .04);
    --shadow-md: 0 8px 24px rgba(26, 24, 22, .08), 0 2px 6px rgba(26, 24, 22, .05);
    --shadow-lg: 0 24px 48px rgba(26, 24, 22, .16);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--stone-800);
    background: var(--stone-50);
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--primary-500); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-700); }
h1, h2, h3, .h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--stone-900);
    margin: 0 0 var(--s2);
    letter-spacing: -.005em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3, .h3 { font-size: 1.5rem; }
p { margin: 0 0 var(--s2); }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 3px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--s3); }
.narrow { max-width: 800px; }
.center { text-align: center; margin-top: var(--s6); }
.muted { color: var(--stone-500); }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li + li { margin-top: var(--s1); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent-500); color: var(--stone-900); padding: var(--s1) var(--s2); z-index: 1000; }
.skip-link:focus { left: var(--s2); top: var(--s2); }

.eyebrow {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent-700);
    margin-bottom: var(--s2);
}
.eyebrow--light { color: var(--accent-300); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
    padding: 14px 28px;
    font: 500 .95rem/1.2 var(--font-sans);
    letter-spacing: .02em;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 10px 18px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary-700); color: #fff; }
.btn--primary:hover { background: var(--primary-800); color: #fff; box-shadow: var(--shadow-md); }
.btn--accent { background: var(--accent-500); color: var(--stone-900); }
.btn--accent:hover { background: var(--accent-300); color: var(--stone-900); box-shadow: 0 8px 24px rgba(199, 164, 107, .35); }
.btn--outline { border-color: var(--stone-300); color: var(--stone-800); background: transparent; }
.btn--outline:hover { border-color: var(--primary-700); color: var(--primary-700); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.btn.is-loading::before {
    content: ''; width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

.link-arrow { display: inline-flex; align-items: center; gap: var(--s1); font-weight: 500; color: var(--primary-500); }
.link-arrow::after { content: '\2192'; transition: transform .25s var(--ease); }
.link-arrow:hover::after, .card:hover .link-arrow::after { transform: translateX(4px); }

/* Topbar */
.topbar { background: var(--primary-900); color: var(--stone-300); font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: var(--s2); padding-top: var(--s1); padding-bottom: var(--s1); }
.topbar__links { display: flex; gap: var(--s3); }
.topbar a { color: var(--stone-200); }
.topbar a:hover { color: var(--accent-300); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(248, 246, 243, .92);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--stone-200); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--stone-900); }
.brand:hover { color: var(--stone-900); }
.brand__logo { height: 52px; width: auto; transition: transform .4s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-4deg); }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font: 600 1.4rem/1.1 var(--font-serif); }
.brand__tag { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--stone-500); margin-top: 2px; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__tag { color: var(--stone-300); }
.brand--light .brand__logo { background: var(--stone-50); border-radius: var(--radius-lg); padding: 4px 6px; height: 60px; }

.primary-nav { display: flex; align-items: center; gap: var(--s4); }
.primary-nav ul { display: flex; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.primary-nav ul a {
    position: relative; display: block; padding: var(--s1) 12px;
    font-size: .925rem; font-weight: 500; color: var(--stone-700);
}
.primary-nav ul a::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px;
    background: var(--accent-500); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
}
.primary-nav ul a:hover, .primary-nav ul a.is-active { color: var(--stone-900); }
.primary-nav ul a:hover::after, .primary-nav ul a.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--stone-900); margin: 5px 0; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s var(--ease) forwards; }
.hero__media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(20, 28, 25, .88) 0%, rgba(20, 28, 25, .6) 45%, rgba(20, 28, 25, .15) 100%),
                linear-gradient(0deg, rgba(20, 28, 25, .6) 0%, transparent 40%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__content { position: relative; padding-top: var(--s12); padding-bottom: var(--s12); max-width: 1200px; }
.hero__content > * { max-width: 680px; animation: fadeUp .9s var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: .1s; }
.hero__content > *:nth-child(3) { animation-delay: .2s; }
.hero__content > *:nth-child(4) { animation-delay: .3s; }
.hero h1 { color: #fff; }
.hero__lead { font-size: 1.15rem; color: var(--stone-200); margin-bottom: var(--s4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Trust bar */
.trust { background: var(--primary-800); color: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: var(--s4) var(--s3); border-left: 1px solid rgba(255, 255, 255, .08); text-align: center; }
.trust__item:first-child { border-left: 0; }
.trust__item strong { display: block; font: 600 2rem/1.2 var(--font-serif); color: var(--accent-500); }
.trust__item span { font-size: .85rem; color: var(--stone-300); }

/* Page hero */
.page-hero {
    background: radial-gradient(ellipse at top right, rgba(199, 164, 107, .14), transparent 55%), var(--primary-800);
    color: var(--stone-200);
    padding: var(--s10) 0 var(--s8);
}
.page-hero--tall { padding: var(--s12) 0; }
.page-hero h1 { color: #fff; max-width: 820px; animation: fadeUp .8s var(--ease) both; }
.page-hero p { max-width: 640px; font-size: 1.1rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: var(--s1); font-size: .825rem; margin-bottom: var(--s3); color: var(--stone-300); }
.breadcrumbs a { color: var(--accent-300); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs a::after { content: '/'; margin-left: var(--s1); color: var(--stone-500); }

/* Sections */
.section { padding: var(--s12) 0; }
.section--tint { background: var(--stone-100); }
.section--dark { background: var(--primary-900); color: var(--stone-200); }
.section--dark h2 { color: #fff; }
.section-head { max-width: 640px; margin: 0 auto var(--s6); text-align: center; }
.section-head p { color: var(--stone-500); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s10); align-items: center; }
.split--top { align-items: start; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split__body p { color: var(--stone-700); }

.check-list { list-style: none; padding: 0; margin: var(--s3) 0; }
.check-list li { position: relative; padding-left: var(--s4); margin-bottom: 12px; }
.check-list li::before {
    content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--accent-100) 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='%238f7040' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
    display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    color: inherit; box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: inherit; }
.card.is-hidden { display: none; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-200); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: var(--s3); flex: 1; display: flex; flex-direction: column; }
.card__body p { font-size: .925rem; color: var(--stone-500); flex: 1; }
.card__body h3, .card__body .h3 { font-size: 1.4rem; margin-bottom: var(--s1); }
.card__kicker { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-700); margin-bottom: var(--s1); }

.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s1); margin-bottom: var(--s5); }
.filter-btn {
    padding: 10px 20px; border-radius: 999px; border: 1px solid var(--stone-300); background: transparent;
    font: 500 .875rem var(--font-sans); color: var(--stone-700); cursor: pointer;
    transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--primary-500); color: var(--primary-700); }
.filter-btn.is-active { background: var(--primary-800); border-color: var(--primary-800); color: #fff; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); counter-reset: s; }
.steps li { padding: var(--s4) var(--s3); border-top: 1px solid var(--stone-300); transition: border-color .3s var(--ease); }
.steps li:hover { border-color: var(--accent-500); }
.steps__num { display: block; font: 600 1rem var(--font-serif); color: var(--accent-700); margin-bottom: var(--s2); letter-spacing: .1em; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--stone-500); font-size: .95rem; }

/* Areas */
.areas { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s8); align-items: center; }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pill-list li {
    padding: 8px 18px; border-radius: 999px; font-size: .9rem;
    border: 1px solid rgba(255, 255, 255, .18); color: var(--stone-100);
    transition: background .25s var(--ease), border-color .25s var(--ease);
}
.pill-list li:hover { background: rgba(199, 164, 107, .14); border-color: var(--accent-500); }
.pill-list--dark { margin-top: var(--s3); }
.pill-list--dark li { border-color: var(--stone-300); color: var(--stone-700); background: #fff; }
.pill-list--dark li:hover { border-color: var(--accent-500); background: var(--accent-100); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.feature { background: #fff; padding: var(--s4); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border-top: 3px solid var(--accent-500); transition: transform .3s var(--ease); }
.feature:hover { transform: translateY(-4px); }
.feature h3 { font-size: 1.35rem; }
.feature p { color: var(--stone-500); font-size: .95rem; margin: 0; }

/* Gallery item */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.photo {
    display: block; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg); overflow: hidden; background: var(--stone-200); box-shadow: var(--shadow-sm);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s var(--ease); }
.photo:hover img { transform: scale(1.06); filter: brightness(1.05); }

.sample-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.sample, .swatch { margin: 0; text-align: center; }
.sample figcaption, .swatch figcaption { margin-top: 12px; font-weight: 500; color: var(--stone-700); }
.sample__plate {
    aspect-ratio: 3 / 2; display: grid; place-items: center; padding: var(--s2);
    border-radius: var(--radius-lg); color: var(--stone-300); font-size: 1.6rem; text-align: center;
    background: radial-gradient(circle at 30% 20%, #3a3a3a, #121212 70%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), var(--shadow-md);
    transition: color .4s var(--ease), text-shadow .4s var(--ease);
}
.sample:hover .sample__plate { color: var(--accent-300); text-shadow: 0 0 12px rgba(224, 197, 146, .35); }
.ls-roman { font-family: var(--font-serif); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: 1.25rem; }
.ls-script { font-family: 'Great Vibes', cursive; font-size: 2rem; }
.ls-block { font-family: var(--font-sans); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 1.05rem; }
.ls-gothic { font-family: 'UnifrakturMaguntia', serif; font-size: 1.7rem; }

.swatch-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); }
.swatch__stone {
    display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 1;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md); position: relative; overflow: hidden;
    transition: transform .4s var(--ease);
}
.swatch__stone img { width: 100%; height: 100%; object-fit: cover; }
.swatch__stone::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .22) 0%, transparent 40%); pointer-events: none; }
.swatch:hover .swatch__stone { transform: scale(1.04) rotate(-1deg); }

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.mini-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; }
.mini-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mini-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 28, 25, .85), transparent 60%); }
.mini-card span { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; font-size: .875rem; font-weight: 500; line-height: 1.3; }
.mini-card:hover { color: #fff; }
.mini-card:hover img { transform: scale(1.08); }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 500; background: rgba(13, 16, 15, .92);
    display: grid; place-items: center; padding: var(--s4); opacity: 0; transition: opacity .25s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; transform: scale(.96); transition: transform .3s var(--ease); }
.lightbox.is-open figure { transform: none; }
.lightbox img { max-height: 80vh; border-radius: var(--radius); }
.lightbox figcaption { color: var(--stone-200); text-align: center; margin-top: var(--s2); }
.lightbox__close { position: absolute; top: var(--s2); right: var(--s3); background: none; border: 0; color: #fff; font-size: 2.5rem; line-height: 1; cursor: pointer; z-index: 2; }
.lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(20, 28, 25, .5); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
    transition: background .25s var(--ease), border-color .25s var(--ease);
}
.lightbox__nav:hover { background: var(--accent-500); border-color: var(--accent-500); color: var(--stone-900); }
.lightbox__nav--prev { left: var(--s3); }
.lightbox__nav--next { right: var(--s3); }
.lightbox__nav[hidden] { display: none; }
.lightbox img { transition: opacity .2s var(--ease); }
.lightbox img.is-swapping { opacity: 0; }

/* Cemetery forms */
.form-links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-bottom: var(--s6); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: var(--s5); box-shadow: var(--shadow-sm); border: 1px solid var(--stone-200); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.form-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.form-card h2 { font-size: 1.75rem; }
.form-card p { color: var(--stone-500); margin-bottom: var(--s3); }
.notice { background: var(--accent-100); border-left: 3px solid var(--accent-500); padding: var(--s4); border-radius: var(--radius); }
.notice p { margin: 0; color: var(--stone-700); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s8); align-items: start; }
.info-block { padding-bottom: var(--s3); margin-bottom: var(--s3); border-bottom: 1px solid var(--stone-200); }
.info-block:last-child { border-bottom: 0; }
.info-block h2 { font-size: 1.25rem; margin-bottom: var(--s1); }
.info-block address { margin-bottom: var(--s1); color: var(--stone-700); }
.big-link { display: block; font: 600 1.75rem/1.3 var(--font-serif); color: var(--primary-700); }
.contact__form { background: #fff; padding: var(--s6); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.field { margin-bottom: var(--s3); }
.field label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: var(--s1); color: var(--stone-700); }
.field label span { color: var(--error-500); }
.field input, .field textarea, .field select {
    width: 100%; padding: 12px 14px; font: 400 1rem/1.5 var(--font-sans); color: var(--stone-900);
    background: var(--stone-50); border: 1px solid var(--stone-300); border-radius: var(--radius);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--primary-500); background: #fff; box-shadow: 0 0 0 3px var(--primary-100); }
.field.has-error input, .field.has-error textarea { border-color: var(--error-500); box-shadow: 0 0 0 3px var(--error-100); }
.field__error { display: block; min-height: 0; font-size: .8rem; color: var(--error-700); margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: var(--s2); border-radius: var(--radius); margin-bottom: var(--s3); font-size: .95rem; animation: fadeUp .4s var(--ease); }
.alert[hidden] { display: none; }
.alert--success { background: var(--success-100); color: var(--success-700); border: 1px solid rgba(47, 125, 79, .25); }
.alert--error { background: var(--error-100); color: var(--error-700); border: 1px solid rgba(179, 65, 47, .25); }

/* CTA band & footer */
.cta-band { background: linear-gradient(120deg, var(--primary-700), var(--primary-800)); color: var(--stone-200); padding: var(--s8) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: var(--s1); }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

.site-footer { background: var(--primary-900); color: var(--stone-300); padding: var(--s10) 0 var(--s4); font-size: .925rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s5); }
.site-footer h3 { color: #fff; font: 600 .75rem var(--font-sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: var(--s2); }
.site-footer a { color: var(--stone-200); }
.site-footer a:hover { color: var(--accent-300); }
.site-footer .muted { color: var(--stone-500); margin-top: var(--s1); }
.site-footer__blurb { margin-top: var(--s3); max-width: 340px; color: var(--stone-300); }
.site-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s8); padding-top: var(--s3); border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; color: var(--stone-500); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
    .card-grid, .feature-grid, .steps { grid-template-columns: repeat(2, 1fr); }
    .photo-grid { grid-template-columns: repeat(3, 1fr); }
    .swatch-grid { grid-template-columns: repeat(4, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .primary-nav { gap: var(--s2); }
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .primary-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        flex-direction: column; align-items: stretch; gap: var(--s3);
        background: var(--stone-50); padding: var(--s4) var(--s3);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    }
    .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .primary-nav ul { flex-direction: column; gap: 0; }
    .primary-nav ul a { padding: var(--s2) 0; font: 600 1.6rem var(--font-serif); border-bottom: 1px solid var(--stone-200); }
    .primary-nav ul a::after { display: none; }
    .split, .areas, .contact, .form-links { grid-template-columns: 1fr; gap: var(--s5); }
    .card-grid--3, .sample-grid, .swatch-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-grid, .swatch-grid { grid-template-columns: repeat(3, 1fr); }
    .trust__grid { grid-template-columns: repeat(2, 1fr); }
    .trust__item:nth-child(3) { border-left: 0; }
    .trust__item { border-top: 1px solid rgba(255, 255, 255, .08); }
}

@media (max-width: 640px) {
    .topbar__inner > span:first-child { display: none; }
    .topbar__inner { justify-content: center; }
    .topbar__links a:last-child { display: none; }
    .section { padding: var(--s8) 0; }
    .page-hero { padding: var(--s8) 0 var(--s6); }
    .card-grid, .card-grid--3, .feature-grid, .steps, .site-footer__grid, .field-row { grid-template-columns: 1fr; }
    .mini-grid, .photo-grid, .swatch-grid { grid-template-columns: repeat(2, 1fr); }
    .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; }
    .lightbox__nav--prev { left: var(--s1); }
    .lightbox__nav--next { right: var(--s1); }
    .brand__logo { height: 44px; }
    .contact__form { padding: var(--s3); }
    .hero__content { padding-top: var(--s10); padding-bottom: var(--s8); }
    .brand__name { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
