/* ==========================================================================
   Modern House Idea — main stylesheet
   Column layout uses the Bootstrap grid (bootstrap-grid.min.css, loaded first).
   1 Tokens · 2 Base · 3 Header · 4 Buttons · 5 Hero · 6 Ideas & checklist
   7 Services · 8 Sections · 9 Blog · 10 Forms · 11 Footer
   12 Responsive · 13 Motion & print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --night: #10151c;
  --night-800: #171e27;
  --night-700: #232c37;
  --snow: #f6f8f9;
  --frost: #e9eef1;
  --white: #ffffff;
  --line: #d4dce2;
  --ink: #151b22;
  --muted: #55606b;
  --on-dark: #c3ccd5;
  --aurora: #0c7656;
  --aurora-700: #095c43;
  --aurora-bright: #45dfa8;
  --sky: #4fb3f0;
  --violet: #9b86f5;
  --aurora-grad: linear-gradient(110deg, #3fe0a6 0%, #4fb3f0 55%, #9b86f5 100%);
  --danger: #a3241a;
  --danger-bg: #fbeae8;
  --success: #17603f;
  --success-bg: #e2f2ea;

  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.18rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.9rem, 1.35rem + 2vw, 2.9rem);
  --fs-h1: clamp(2.4rem, 1.5rem + 3.8vw, 4.4rem);

  --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 6.5rem;
  --r: 4px;
  --r-lg: 8px;
  --measure: 68ch;
  --shadow: 0 24px 50px -32px rgba(16, 21, 28, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--snow); color: var(--ink); font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
img { object-fit: cover; background: var(--frost); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 var(--s-4); color: var(--night); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.015em; }
h4 { font-size: .8rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: var(--s-5) 0 var(--s-3); }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
a { color: var(--aurora); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--night); }
ul, ol { padding-left: 1.2rem; }
strong { font-weight: 600; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--aurora-bright); color: var(--night); padding: .75rem 1rem; border-radius: var(--r); font-weight: 600; }
.skip-link:focus { top: .75rem; color: var(--night); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: .06em; }
.lead { font-size: var(--fs-lg); color: var(--muted); line-height: 1.65; }
.label, .overline { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--aurora); margin-bottom: var(--s-4); }
.label::before, .overline::before { content: ""; width: 22px; height: 3px; background: var(--aurora-grad); }
.aurora-text { background: var(--aurora-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
img.img-failed { object-position: -9999px -9999px; background: linear-gradient(135deg, var(--night-700), var(--night)); }

/* 3. Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--night); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-inner { display: flex; align-items: center; gap: var(--s-5); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); white-space: nowrap; flex: none; }
.brand img { width: 40px; height: 40px; background: none; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1; }
.brand:hover { color: var(--white); }
.primary-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.nav-link { position: relative; display: block; padding: .6rem .85rem; font-weight: 500; font-size: .98rem; color: var(--on-dark); text-decoration: none; }
.nav-link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 3px; background: var(--aurora-grad); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover { color: var(--white); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--white); }
.mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: var(--s-4); }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; color: var(--white); text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--aurora-bright); }
.header-phone:hover { color: var(--aurora-bright); }
.nav-toggle { display: none; align-items: center; gap: .6rem; min-height: 46px; padding: 0 .9rem; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: var(--white); border-radius: var(--r); font: inherit; font-weight: 500; cursor: pointer; margin-left: auto; }
.nav-toggle-bars { position: relative; width: 20px; height: 2px; background: currentColor; transition: background-color .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-header :focus-visible { outline-color: var(--aurora-bright); }

/* 4. Buttons --------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .75rem 1.5rem; border-radius: var(--r); border: 1.5px solid transparent; font-family: var(--font-head); font-weight: 600; font-size: .98rem; letter-spacing: -.005em; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: .5rem 1.15rem; }
.btn-block { width: 100%; }
.btn-aurora { background: var(--aurora); color: var(--white); }
.btn-aurora:hover { background: var(--aurora-700); color: var(--white); }
.btn-line { border-color: var(--night); color: var(--night); background: transparent; }
.btn-line:hover { background: var(--night); color: var(--white); }
.btn-line-light { border-color: rgba(255, 255, 255, .5); color: var(--white); background: transparent; }
.btn-line-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }
.btn-text { background: none; border: 0; padding: .4rem 0; font: inherit; font-weight: 600; color: var(--aurora); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn:disabled { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.btn-row-end { justify-content: flex-end; }
.more-link { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; color: var(--night); text-decoration: none; }
.more-link svg { width: 18px; height: 18px; color: var(--aurora); transition: transform .2s var(--ease); }
.more-link:hover { color: var(--aurora); }
.more-link:hover svg { transform: translateX(4px); }

/* 5. Hero ------------------------------------------------------------------ */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(88vh, 780px); color: var(--white); overflow: hidden; background: var(--night); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; background: var(--night-700); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 21, 28, .94) 0%, rgba(16, 21, 28, .78) 45%, rgba(16, 21, 28, .3) 100%), linear-gradient(0deg, rgba(16, 21, 28, .9) 0%, transparent 45%); }
.hero-inner { position: relative; z-index: 1; padding-top: var(--s-9); padding-bottom: var(--s-6); }
.hero-copy { max-width: 40rem; }
.hero h1 { color: var(--white); }
.hero .lead { color: var(--on-dark); margin-bottom: var(--s-6); }
.hero .label { color: var(--aurora-bright); }
.hero-specs { list-style: none; padding: 0; margin: var(--s-8) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.hero-specs li { display: flex; flex-direction: column; gap: .3rem; padding-top: var(--s-4); border-top: 1px solid rgba(255, 255, 255, .25); color: var(--white); font-weight: 500; }
.hero-specs .mono { font-size: .75rem; text-transform: uppercase; color: var(--aurora-bright); }
.hero :focus-visible { outline-color: var(--aurora-bright); }

/* 6. Ideas & checklist ----------------------------------------------------- */
.style-picker { border: 0; margin: 0 0 var(--s-5); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.style-option label { display: flex; flex-direction: column; gap: .7rem; height: 100%; padding: var(--s-4); border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--white); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.style-option label:hover { border-color: var(--night); }
.style-option input:checked + label { border-color: var(--aurora); box-shadow: inset 0 0 0 1.5px var(--aurora); }
.style-option input:focus-visible + label { outline: 3px solid var(--sky); outline-offset: 3px; }
.style-swatches { display: flex; height: 28px; border-radius: var(--r); overflow: hidden; }
.style-swatches span { flex: 1; }
.style-name { font-family: var(--font-head); font-weight: 600; color: var(--night); }
.style-panels { display: grid; gap: var(--s-5); }
.style-panel { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.style-panel[hidden] { display: none; }
.style-panel h3 { font-size: 1.6rem; }
.style-summary { color: var(--muted); max-width: 46rem; }
.palette { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.palette li { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-sm); }
.swatch { width: 34px; height: 34px; border-radius: var(--r); border: 1px solid rgba(0, 0, 0, .1); flex: none; }
.sw-birch { background: #efe8dc; } .sw-oat { background: #d8c7a6; } .sw-fog { background: #b9c0c4; } .sw-moss { background: #6f7d55; }
.sw-char { background: #2b2f33; } .sw-cedar { background: #a0643a; } .sw-stone { background: #8d8a83; } .sw-spruce { background: #2f4a3c; }
.sw-white { background: #f7f7f4; } .sw-sand { background: #d9cbb1; } .sw-ash { background: #9aa0a3; } .sw-ink { background: #1d2733; }
.sw-slate { background: #4a5866; } .sw-glacier { background: #bfe3ee; } .sw-aurora { background: #3fe0a6; }
.dash-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.dash-list li { position: relative; padding-left: 1.5rem; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 2px; background: var(--aurora); }
.svc-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.svc-links a { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--night); text-decoration: none; }
.svc-links a:hover { color: var(--aurora); text-decoration: underline; }
.svc-links svg { width: 20px; height: 20px; color: var(--aurora); }
.meter { height: 12px; border-radius: 12px; background: var(--frost); overflow: hidden; margin: var(--s-2) 0 var(--s-3); }
.meter-fill { --pct: 0%; display: block; height: 100%; width: var(--pct); min-width: 12px; border-radius: 12px; background: var(--aurora-grad); transition: width .4s var(--ease); }
.meter-text { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--night); }
.check-help { color: var(--muted); }
.checklist-form fieldset { border: 0; margin: 0; padding: 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; gap: .6rem; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; align-items: start; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); transition: border-color .2s, background-color .2s; }
.checklist li:has(input:checked) { border-color: var(--aurora); background: #eef8f3; }
.checklist input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--aurora); cursor: pointer; }
.checklist label { cursor: pointer; }

/* 7. Services -------------------------------------------------------------- */
.bento-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; gap: var(--s-3); }
.bento-wide { grid-column: span 2; }
.bento { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--r-lg); color: var(--white); text-decoration: none; background: var(--night-700); }
.bento img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s var(--ease); }
.bento::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16, 21, 28, .92) 0%, rgba(16, 21, 28, .45) 55%, rgba(16, 21, 28, .1) 100%); }
.bento:hover img { transform: scale(1.05); }
.bento:hover { color: var(--white); }
.bento-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: .2rem; padding: var(--s-5); }
.bento-tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aurora-bright); }
.bento-name { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.bento-short { font-size: .9rem; color: var(--on-dark); }
.bento:focus-visible { outline-color: var(--sky); }
.svc-index { position: sticky; top: 100px; padding: var(--s-5); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.svc-index h2 { font-size: .8rem; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-3); }
.svc-index ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.svc-index a { display: flex; align-items: center; gap: .6rem; padding: .45rem .5rem; border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; }
.svc-index a:hover { background: var(--frost); color: var(--night); }
.svc-index svg { width: 18px; height: 18px; color: var(--aurora); flex: none; }
.svc-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); scroll-margin-top: 100px; transition: box-shadow .3s var(--ease); }
.svc-card:hover { box-shadow: var(--shadow); }
.svc-card-photo { position: relative; aspect-ratio: 10 / 7; overflow: hidden; }
.svc-card-photo img { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card-photo img { transform: scale(1.04); }
.svc-card-tag { position: absolute; left: var(--s-4); top: var(--s-4); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); background: rgba(16, 21, 28, .82); padding: .3rem .6rem; border-radius: var(--r); }
.svc-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: var(--s-5) var(--s-5) var(--s-6); border-top: 3px solid transparent; border-image: var(--aurora-grad) 1; }
.svc-card-body h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.35rem; }
.svc-card-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r); background: var(--frost); color: var(--aurora); flex: none; }
.svc-card-ico svg { width: 22px; height: 22px; }
.svc-card-body > p:not(.card-note) { color: var(--muted); margin-bottom: var(--s-5); }
.svc-card-body .btn { margin-top: auto; }
.card-note { font-size: var(--fs-sm); background: var(--frost); color: var(--night-700); padding: .6rem .9rem; border-left: 3px solid var(--aurora); margin-bottom: var(--s-5); }

/* 8. Sections -------------------------------------------------------------- */
.section { padding: var(--s-9) 0; }
.section-tight { padding: var(--s-6) 0; }
.section-top-tight { padding-top: var(--s-6); }
.bg-frost { background: var(--frost); }
.bg-night { position: relative; background: var(--night); color: var(--on-dark); }
.bg-night::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--aurora-grad); }
.bg-night h2, .bg-night h3 { color: var(--white); }
.bg-night .overline { color: var(--aurora-bright); }
.bg-night .section-title p { color: var(--on-dark); }
.bg-night :focus-visible { outline-color: var(--aurora-bright); }
.section-title { max-width: 46rem; margin-bottom: var(--s-7); }
.section-title p { color: var(--muted); font-size: var(--fs-lg); }
.section-title-center { margin-left: auto; margin-right: auto; text-align: center; }
.title-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-7); }
.title-row .section-title { margin-bottom: 0; }
.frame-photo { position: relative; aspect-ratio: 10 / 11; max-width: 460px; margin: 0 auto; }
.frame-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid transparent; border-image: var(--aurora-grad) 1; }
.frame-photo img { position: relative; width: 100%; height: 100%; border-radius: var(--r); box-shadow: var(--shadow); }
.frame-photo-wide { aspect-ratio: 11 / 8; max-width: 560px; }
.ak-card { height: 100%; padding: var(--s-6) var(--s-5); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); background: var(--night-800); }
.ak-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--night-700); color: var(--aurora-bright); margin-bottom: var(--s-4); }
.ak-ico svg { width: 24px; height: 24px; }
.ak-card p { font-size: var(--fs-sm); }
.pillar-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.pillar-list li { display: flex; gap: var(--s-4); align-items: flex-start; padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.pillar-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.pillar-list h3 { margin-bottom: var(--s-2); }
.pillar-list p { color: var(--muted); }
.pillar-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--night); color: var(--aurora-bright); flex: none; }
.pillar-ico svg { width: 24px; height: 24px; }
.value-card, .who-card { height: 100%; padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.value-card .pillar-ico, .who-card .pillar-ico { margin-bottom: var(--s-4); }
.value-card p, .who-card p { color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; border-top: 3px solid transparent; border-image: var(--aurora-grad) 1; }
.step { height: 100%; padding: var(--s-6) var(--s-5) var(--s-5) 0; }
.steps li + li .step { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.step-label { display: block; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aurora); margin-bottom: var(--s-4); }
.step-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: var(--frost); color: var(--night); margin-bottom: var(--s-4); }
.bg-frost .step-ico { background: var(--white); }
.step-ico svg { width: 22px; height: 22px; }
.step p { color: var(--muted); }
.faq-box { border-top: 1px solid var(--line); }
.faq-box details { border-bottom: 1px solid var(--line); }
.faq-box summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) 0; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--night); cursor: pointer; list-style: none; }
.faq-box summary::-webkit-details-marker { display: none; }
.faq-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); color: var(--night); flex: none; transition: transform .25s var(--ease), background-color .25s; }
.faq-mark svg { width: 18px; height: 18px; }
details[open] .faq-mark { transform: rotate(45deg); background: var(--night); color: var(--white); border-color: var(--night); }
.faq-body { padding: 0 0 var(--s-5); color: var(--muted); max-width: 60rem; }
.news-panel { padding: var(--s-7) clamp(1.25rem, 4vw, 3.5rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); border-left: 4px solid transparent; border-image: var(--aurora-grad) 1; }
.news-panel h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.news-panel p { color: var(--muted); }
.cta-panel { position: relative; overflow: hidden; padding: var(--s-8) clamp(1.25rem, 5vw, 4rem); border-radius: var(--r-lg); background: var(--night); color: var(--on-dark); }
.cta-panel::before { content: ""; position: absolute; left: -10%; right: -10%; top: -60%; height: 120%; background: radial-gradient(ellipse at 30% 100%, rgba(63, 224, 166, .28), transparent 60%), radial-gradient(ellipse at 75% 100%, rgba(155, 134, 245, .25), transparent 60%); pointer-events: none; }
.cta-panel .row { position: relative; z-index: 1; }
.cta-panel h2 { color: var(--white); max-width: 22ch; }
.cta-panel .label { color: var(--aurora-bright); }
.cta-panel :focus-visible { outline-color: var(--aurora-bright); }
.page-hero { position: relative; padding: var(--s-8) 0; background: var(--frost); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 42rem; }
.page-hero .frame-photo { max-width: 400px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 var(--s-5); font-family: var(--font-mono); font-size: .82rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--aurora); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--ink); }
.status-page { padding: var(--s-9) 0; }
.status-page h1 { max-width: 18ch; }
.status-page .lead { max-width: 38rem; margin-bottom: var(--s-6); }
.callout { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-lg); background: #fff4dc; color: #4d3a12; margin-top: var(--s-6); border-left: 4px solid #d8a026; }
.callout svg { width: 24px; height: 24px; color: #8a5f12; margin-top: 2px; }
.callout a { color: #4d3a12; }

/* 9. Blog ------------------------------------------------------------------ */
.post-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.post-card-photo { display: block; aspect-ratio: 10 / 7; overflow: hidden; }
.post-card-photo img { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.post-card:hover .post-card-photo img { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: var(--s-5); }
.post-card h2, .post-card h3 { font-size: 1.28rem; }
.post-card h2 a, .post-card h3 a { color: var(--night); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--aurora); text-decoration: underline; }
.post-card p { color: var(--muted); }
.post-card .more-link { margin-top: auto; }
.post-rows { display: grid; gap: var(--s-6); }
.post-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.post-row-photo { display: block; min-height: 300px; }
.post-row-photo img { width: 100%; height: 100%; }
.post-row-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(1.5rem, 4vw, 3.5rem); }
.post-row-body h2 { font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); }
.post-row-body h2 a { color: var(--night); text-decoration: none; }
.post-row-body h2 a:hover { color: var(--aurora); text-decoration: underline; }
.post-row-body p { color: var(--muted); }
.article-head { padding-top: var(--s-7); background: var(--frost); }
.article-head-text { max-width: 54rem; padding-bottom: var(--s-6); }
.article-head h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); }
.byline { font-size: .85rem; color: var(--muted); text-transform: uppercase; }
.article-banner { margin: 0; background: var(--snow); }
.article-banner img { width: 100%; height: clamp(260px, 42vw, 520px); }
.article-banner figcaption { font-size: .85rem; color: var(--muted); padding-top: var(--s-2); }
.prose { max-width: var(--measure); }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); margin-top: var(--s-7); scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 var(--s-5); padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 2px; background: var(--aurora); }
.article-foot { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.copy-status { margin-top: var(--s-3); font-weight: 600; color: var(--success); }
.copy-status:empty { display: none; }
.sidebar { position: sticky; top: 100px; display: grid; gap: var(--s-5); }
.side-card { padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.side-card h2 { font-size: 1.25rem; }
.toc h2 { font-size: .8rem; text-transform: uppercase; color: var(--muted); }
.side-card-night { background: var(--night); border-color: var(--night); color: var(--on-dark); }
.side-card-night h2 { color: var(--white); }
.side-card-night .pillar-ico { background: var(--night-700); margin-bottom: var(--s-4); }
.side-card-night :focus-visible { outline-color: var(--aurora-bright); }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.toc a { display: block; padding: .4rem 0 .4rem .9rem; border-left: 2px solid var(--line); color: var(--ink); text-decoration: none; font-size: var(--fs-sm); }
.toc a:hover { border-left-color: var(--aurora); color: var(--aurora); }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.tick-list li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; }
.tick-list svg { width: 22px; height: 22px; color: var(--aurora); margin-top: 2px; }

/* 10. Forms ---------------------------------------------------------------- */
.form-shell { padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.form-intro { color: var(--muted); }
.form { display: grid; gap: var(--s-5); }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label { font-weight: 600; color: var(--night); }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 52px; padding: .75rem 1rem; border: 1.5px solid #b3bec7; border-radius: var(--r); background: var(--white); color: var(--ink); font: inherit; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 170px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--aurora); box-shadow: 0 0 0 3px rgba(12, 118, 86, .22); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .925rem; font-weight: 600; margin: .4rem 0 0; }
.field .field-error { margin-top: 0; }
.field-error:empty { display: none; }
.hint { font-size: .9rem; color: var(--muted); margin: 0; }
.checkbox { display: grid; grid-template-columns: 24px 1fr; gap: .7rem; align-items: start; }
.checkbox input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--aurora); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: var(--s-4) var(--s-5); border-radius: var(--r); font-weight: 600; }
.form-alert svg { width: 22px; height: 22px; margin-top: 2px; }
.form-alert p { margin: 0; }
.form-alert[hidden] { display: none; }
.form-alert-error { background: var(--danger-bg); color: var(--danger); }
.form-alert-success { background: var(--success-bg); color: var(--success); }
.inline-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3); align-items: start; }
.contact-card { padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); background: var(--night); color: var(--on-dark); }
.contact-card h2 { color: var(--white); font-size: 1.5rem; }
.contact-card h3 { color: var(--aurora-bright); font-size: .78rem; text-transform: uppercase; margin-bottom: .3rem; }
.contact-card a { color: var(--white); }
.contact-card .more-link { color: var(--white); margin-top: var(--s-3); }
.contact-card .more-link svg { color: var(--aurora-bright); }
.contact-card .pillar-ico { background: var(--night-700); }
.contact-card :focus-visible { outline-color: var(--aurora-bright); }
.contact-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.contact-rows li { display: flex; gap: var(--s-4); min-width: 0; }
.contact-rows li > div { min-width: 0; overflow-wrap: anywhere; }
.contact-rows p { margin: 0; }

/* 11. Footer --------------------------------------------------------------- */
.site-footer { position: relative; background: var(--night); color: var(--on-dark); padding: var(--s-8) 0 var(--s-5); margin-top: var(--s-7); }
.aurora-line { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--aurora-grad); }
.site-footer a { color: #e6ecf1; text-decoration: none; }
.site-footer a:hover { color: var(--aurora-bright); text-decoration: underline; }
.site-footer .brand, .site-footer .brand:hover { color: var(--white); text-decoration: none; }
.site-footer :focus-visible { outline-color: var(--aurora-bright); }
.footer-blurb { margin: var(--s-5) 0; max-width: 34rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-contact li { display: flex; align-items: center; gap: .6rem; min-width: 0; overflow-wrap: anywhere; }
.footer-contact svg { width: 20px; height: 20px; color: var(--aurora-bright); flex: none; }
.footer-col h2 { font-family: var(--font-mono); font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--aurora-bright); margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-split { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-5) !important; }
.footer-sub { margin-top: var(--s-6); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .12); font-size: var(--fs-sm); }
.footer-bottom p { margin: 0; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r); border: 0; background: var(--night); color: var(--aurora-bright); box-shadow: var(--shadow); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--aurora); color: var(--white); }

/* 12. Responsive ----------------------------------------------------------- */
@media (max-width: 1399.98px) {
  .header-phone { display: none; }
}
@media (max-width: 1199.98px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-actions + .nav-toggle { margin-left: 0; }
  .primary-nav { position: fixed; top: var(--nav-top, 77px); left: 0; right: 0; bottom: 0; z-index: 120; margin: 0; background: var(--night); padding: var(--s-5) clamp(16px, 4vw, 40px) var(--s-7); overflow-y: auto; display: none; }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-link { font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; padding: 1rem 0; color: var(--white); }
  .nav-link::after { left: 0; right: auto; width: 48px; bottom: .55rem; }
  .mobile-extra { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
  .m-link { display: inline-flex; align-items: center; gap: .6rem; font-weight: 500; color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
  .m-link svg { width: 22px; height: 22px; color: var(--aurora-bright); flex: none; }
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 230px; }
  .style-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .section { padding: var(--s-8) 0; }
  .hero-specs { grid-template-columns: minmax(0, 1fr); margin-top: var(--s-7); }
  .sidebar, .svc-index { position: static; }
  .svc-index ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero .frame-photo { max-width: 340px; margin-left: 0; }
  .btn-row-end { justify-content: flex-start; }
  .section-title { margin-bottom: var(--s-6); }
  .steps li:nth-child(odd) .step { border-left: 0; padding-left: 0; }
  .post-row { grid-template-columns: minmax(0, 1fr); }
  .post-row-photo { min-height: 240px; }
}
@media (max-width: 767.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .bento-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 210px; }
  .bento-wide { grid-column: auto; }
  .inline-field { grid-template-columns: minmax(0, 1fr); }
  .inline-field .btn { width: 100%; }
  .header-actions .btn { display: none; }
  .footer-split { grid-template-columns: minmax(0, 1fr); }
  .steps li .step { border-left: 0 !important; padding-left: 0 !important; }
  .svc-index ul { grid-template-columns: minmax(0, 1fr); }
  .frame-photo::before { inset: 12px -10px -10px 12px; }
  .frame-photo { margin-right: 10px; }
}
@media (max-width: 480px) {
  .brand-name { font-size: 1.05rem; }
  .brand img { width: 34px; height: 34px; }
  .header-inner { gap: var(--s-3); min-height: 68px; }
  .nav-toggle-text { display: none; }
  .nav-toggle { width: 46px; padding: 0; justify-content: center; }
  .style-picker { grid-template-columns: minmax(0, 1fr); }
  .palette { grid-template-columns: minmax(0, 1fr); }
  .btn { padding-left: 1.15rem; padding-right: 1.15rem; }
}
@media (max-width: 360px) {
  .brand-name { font-size: .98rem; }
  .brand { gap: .5rem; }
}

/* 13. Motion & print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .back-to-top, .news-panel, .cta-panel, .sidebar { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
  .hero { min-height: 0; color: #000; }
  .hero-media { display: none; }
  .section { padding: 1.5rem 0; }
}
