:root {
  --bg: #fff8ef;
  --surface: #fffdf9;
  --surface-strong: #f2e4f0;
  --surface-soft: #e9d8ea;
  --ink: #32183d;
  --muted: #6d5c72;
  --faint: #907d95;
  --accent: #7652a6;
  --accent-strong: #61408f;
  --accent-soft: #d8c1e5;
  --accent-ink: #fffaf7;
  --warm: #d8846c;
  --error: #a13d48;
  --line: rgba(67, 34, 78, .15);
  --line-strong: rgba(67, 34, 78, .28);
  --shadow: 0 24px 70px rgba(71, 42, 80, .15);
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --radius: 4px;
  --container: 1180px;
  --section: clamp(5.3rem, 10vw, 9.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

body[data-theme="sunset"] {
  --bg: #fff1e5;
  --surface: #fffaf5;
  --surface-strong: #f7dccb;
  --surface-soft: #efd0c7;
  --ink: #452239;
  --muted: #795f68;
  --faint: #9e838a;
  --accent: #8d5799;
  --accent-strong: #6c3d7d;
  --accent-soft: #e2c1d6;
  --accent-ink: #fffaf7;
  --warm: #bd6d59;
  --error: #9b4654;
  --line: rgba(75, 34, 58, .16);
  --line-strong: rgba(75, 34, 58, .29);
  --shadow: 0 24px 70px rgba(104, 57, 66, .14);
}

body[data-theme="night"] {
  --bg: #21142d;
  --surface: #2d1e3b;
  --surface-strong: #3b2850;
  --surface-soft: #493261;
  --ink: #fff8f1;
  --muted: #dbcde1;
  --faint: #b29bbd;
  --accent: #d7b5f0;
  --accent-strong: #e0c2f4;
  --accent-soft: #62467b;
  --accent-ink: #261533;
  --warm: #f2ad91;
  --error: #ffb4ab;
  --line: rgba(255, 248, 241, .17);
  --line-strong: rgba(255, 248, 241, .32);
  --shadow: 0 24px 70px rgba(10, 5, 18, .33);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background .45s var(--ease), color .45s var(--ease);
}
body, button, input, textarea { -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: min(var(--container), calc(100% - 3rem)); margin: 0 auto; }
.section-pad { padding: var(--section) 0; }
.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: fixed; top: 1rem; left: 1rem; z-index: 100; transform: translateY(-200%); background: var(--accent); color: var(--accent-ink); padding: .7rem 1rem; font-weight: 700; transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand-logo { display: block; width: clamp(148px, 18vw, 190px); padding: 4px 7px; overflow: hidden; border: 1px solid rgba(118, 82, 166, .17); border-radius: 999px; background: #fff; box-shadow: 0 8px 22px rgba(83, 51, 96, .08); }
.brand-logo img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 2rem; font-size: .77rem; font-weight: 700; letter-spacing: .03em; }
.main-nav a { opacity: .72; transition: opacity .2s, color .2s; }
.main-nav a:hover, .main-nav a:focus-visible { opacity: 1; color: var(--accent-strong); }
.main-nav .nav-cta { opacity: 1; padding: .7rem 1rem; border: 1px solid var(--line-strong); }
.main-nav .nav-cta span { color: var(--accent-strong); margin-left: .4rem; }
.nav-toggle { display: none; background: transparent; border: 0; padding: .6rem; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

.eyebrow { margin: 0 0 1.4rem; color: var(--accent-strong); font-size: .66rem; font-weight: 800; letter-spacing: .15em; line-height: 1.35; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: .55rem; height: .55rem; margin-right: .55rem; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 5px color-mix(in srgb, var(--warm) 17%, transparent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.065em; }
h1 { max-width: 850px; margin-bottom: 1.65rem; font-size: clamp(4rem, 8vw, 7.4rem); line-height: .87; }
h1 em, h2 em { color: var(--accent-strong); font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.08em; }
h2 { margin-bottom: 1.4rem; font-size: clamp(2.7rem, 5.3vw, 5.3rem); line-height: .92; }
h3 { font-size: clamp(1.55rem, 2.4vw, 2.25rem); line-height: .98; }
.body-large { max-width: 610px; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.6; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .8rem 1.1rem; border: 1px solid transparent; border-radius: 999px; font-size: .73rem; font-weight: 800; letter-spacing: .035em; text-align: center; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; }
.button:hover, .button:focus-visible { transform: translateY(-3px); }
.button-primary { background: var(--accent-strong); color: var(--accent-ink); box-shadow: 0 12px 24px color-mix(in srgb, var(--accent-strong) 22%, transparent); }
.button-primary:hover, .button-primary:focus-visible { background: var(--accent); }
.button-secondary { border-color: var(--line-strong); color: var(--ink); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--accent-strong); color: var(--accent-strong); }
.text-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--accent-strong); font-size: .72rem; font-weight: 800; letter-spacing: .05em; }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span, .text-link:focus-visible span { transform: translate(3px, -3px); }

.hero { padding-top: 2rem; background: var(--bg); }
.demo-controls { display: grid; grid-template-columns: 1.05fr 1.25fr 1fr; align-items: center; gap: 1rem; margin-bottom: clamp(3.5rem, 7vw, 6rem); padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 68%, transparent); }
.demo-label { display: flex; flex-direction: column; gap: .15rem; color: var(--faint); font-size: .67rem; line-height: 1.3; }
.demo-label .eyebrow { margin: 0; color: var(--accent-strong); font-size: .58rem; }
.control-group { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.control-title { flex: 0 0 auto; color: var(--faint); font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.control-buttons { display: flex; flex-wrap: wrap; gap: .32rem; }
.theme-button, .layout-button { display: inline-flex; align-items: center; gap: .35rem; min-height: 32px; padding: .4rem .55rem; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--muted); font-size: .62rem; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.theme-button:hover, .theme-button:focus-visible, .layout-button:hover, .layout-button:focus-visible { color: var(--ink); border-color: var(--line-strong); }
.theme-button.is-active, .layout-button.is-active { background: var(--surface-strong); border-color: var(--line-strong); color: var(--ink); }
.theme-button i { width: 11px; height: 11px; display: inline-block; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--accent); }
.theme-button[data-theme-choice="sunset"] i { background: #8d5799; }
.theme-button[data-theme-choice="night"] i { background: #d7b5f0; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero-lead { max-width: 585px; margin-bottom: 2rem; color: var(--muted); font-size: clamp(1.03rem, 1.55vw, 1.2rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.15rem; }
.hero-note { display: flex; align-items: center; gap: .7rem; margin-top: 3.7rem; color: var(--faint); font-size: .7rem; letter-spacing: .04em; }
.note-line { width: 43px; height: 1px; background: var(--warm); }
.hero-art { position: relative; width: min(100%, 480px); justify-self: end; }
.hero-image-frame { position: relative; aspect-ratio: .82; overflow: hidden; background: var(--surface-strong); box-shadow: var(--shadow); }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.82); transition: transform .7s var(--ease), filter .4s; }
.hero-art:hover .hero-image-frame img { transform: scale(1.03); filter: saturate(1); }
.image-overlay { position: absolute; inset: 0; background: linear-gradient(145deg, rgba(50, 24, 61, .12), transparent 55%, rgba(216, 132, 108, .2)); mix-blend-mode: multiply; }
.art-stamp { position: absolute; top: 1.5rem; left: -2rem; display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; width: 132px; padding: 1rem; background: var(--accent-strong); color: var(--accent-ink); box-shadow: var(--shadow); }
.stamp-number { font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.stamp-copy { font-family: var(--display); font-size: 1.08rem; font-weight: 800; line-height: .92; letter-spacing: -.04em; }
.art-caption { position: absolute; right: -3.8rem; bottom: 4rem; display: flex; align-items: center; gap: .7rem; color: var(--accent-strong); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transform: rotate(90deg) translateX(100%); transform-origin: right bottom; white-space: nowrap; }
.caption-rule { width: 40px; height: 1px; background: var(--accent-strong); }
.signal-row { display: flex; align-items: center; gap: .7rem; margin-top: clamp(3.5rem, 8vw, 7rem); padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.signal-symbol { color: var(--accent-strong); font-size: 1rem; }
.signal-end { margin-left: auto; color: var(--accent-strong); letter-spacing: .04em; text-transform: none; }

.problem { background: var(--surface); }
.split-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, .85fr); gap: clamp(3rem, 11vw, 10rem); align-items: center; }
.section-intro h2 { max-width: 650px; }
.section-intro .text-link { margin-top: 1.6rem; }
.problem-visual { position: relative; min-height: 550px; }
.photo-card { overflow: hidden; background: var(--surface-strong); }
.photo-card-tall { width: min(78%, 370px); height: 550px; margin-left: auto; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.8); transition: transform .7s var(--ease), filter .4s; }
.problem-visual:hover .photo-card img { transform: scale(1.03); filter: saturate(1); }
.metric-card { position: absolute; left: 0; bottom: 2.5rem; width: min(71%, 330px); padding: 1.6rem; background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }
.metric-kicker { display: block; margin-bottom: 1.7rem; font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.metric-card strong { display: block; font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: .98; letter-spacing: -.055em; }
.metric-arrow { display: block; margin-top: 1.6rem; font-size: 1.6rem; text-align: right; }

.services { background: var(--bg); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 4rem; }
.section-heading h2 { margin-bottom: 0; }
.heading-aside { max-width: 340px; margin: 0 0 .4rem; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { min-height: 380px; padding: clamp(1.4rem, 3vw, 2.3rem); background: var(--bg); transition: transform .35s var(--ease), background .35s, color .35s; }
.service-card:hover { position: relative; z-index: 1; transform: translateY(-9px); background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }
.service-card:hover p, .service-card:hover .service-index { color: color-mix(in srgb, var(--accent-ink) 68%, transparent); }
.service-card:hover .service-icon, .service-card:hover .card-link { color: var(--accent-ink); }
.service-card-featured { background: var(--surface-strong); }
.service-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 5rem; }
.service-index { color: var(--accent-strong); font-size: .67rem; font-weight: 800; letter-spacing: .12em; }
.service-icon { color: var(--accent-strong); font-size: 1.45rem; line-height: .8; }
.service-card h3 { margin-bottom: 1.4rem; }
.service-card p { max-width: 280px; margin-bottom: 2.2rem; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.card-link { display: inline-flex; gap: .45rem; align-items: center; color: var(--accent-strong); font-size: .68rem; font-weight: 800; }
.card-link span { transition: transform .25s var(--ease); }
.card-link:hover span, .card-link:focus-visible span { transform: translate(3px, -3px); }

.process { background: var(--surface); }
.process-header { display: grid; grid-template-columns: .8fr 1.2fr .75fr; align-items: end; gap: 3rem; margin-bottom: 5rem; }
.process-header h2 { margin-bottom: 0; }
.process-header > p:last-child { max-width: 290px; margin-bottom: .35rem; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.process-list { border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 80px minmax(0, 1fr) 180px; gap: 2rem; align-items: start; padding: 2.35rem 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease), background .3s; }
.process-step:hover { padding-left: 1.2rem; padding-right: 1.2rem; background: color-mix(in srgb, var(--surface-strong) 42%, transparent); }
.step-marker { color: var(--accent-strong); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.step-content h3 { margin-bottom: .5rem; font-size: clamp(1.7rem, 3.3vw, 3.1rem); }
.step-content p { max-width: 550px; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.step-word { justify-self: end; color: var(--faint); font-family: var(--serif); font-size: 1.25rem; font-style: italic; }

.difference { background: var(--bg); }
.difference-grid { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1fr); gap: clamp(3rem, 10vw, 10rem); align-items: center; }
.difference-image { position: relative; max-width: 470px; }
.difference-image::before { position: absolute; top: -1rem; left: -1rem; width: 70%; height: 70%; border: 1px solid var(--warm); content: ""; }
.difference-image img { position: relative; width: 100%; aspect-ratio: .83; object-fit: cover; object-position: center; filter: saturate(.76); transition: filter .4s; }
.difference-image:hover img { filter: saturate(1); }
.difference-tag { position: absolute; right: -1.3rem; bottom: 2rem; display: flex; gap: .65rem; align-items: center; padding: .7rem .9rem; background: var(--accent); color: var(--accent-ink); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.difference-copy h2 { max-width: 700px; }
.difference-copy > p { max-width: 570px; }
.difference-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.difference-points > div { display: flex; gap: .55rem; }
.difference-points span { color: var(--accent-strong); font-size: 1.1rem; }
.difference-points p { margin: 0; color: var(--muted); font-size: .73rem; line-height: 1.4; }
.difference-points strong { color: var(--ink); font-size: .76rem; }

.faq { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 10vw, 10rem); }
.faq-intro p:last-child { max-width: 280px; color: var(--muted); font-size: .92rem; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.45rem 0; cursor: pointer; list-style: none; font-family: var(--display); font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 750; letter-spacing: -.04em; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--accent-strong); font-family: var(--body); font-size: 1.3rem; font-weight: 400; transition: transform .25s; }
details[open] summary span { transform: rotate(45deg); }
details p { max-width: 590px; margin: -.2rem 3rem 1.5rem 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.contact { background: var(--surface-strong); }
.contact-shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 9vw, 9rem); padding: clamp(2rem, 6vw, 6rem); background: var(--bg); }
.contact-copy h2 { max-width: 550px; }
.contact-copy > p:not(.eyebrow) { max-width: 450px; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.contact-details { display: grid; gap: .75rem; max-width: 450px; margin-top: 2.2rem; }
.contact-detail { display: flex; flex-direction: column; gap: .15rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 48%, transparent); transition: border-color .2s, transform .2s, background .2s; }
.contact-detail:hover, .contact-detail:focus-visible { border-color: var(--accent-strong); background: var(--surface); transform: translateX(4px); }
.contact-detail-label { color: var(--accent-strong); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-detail strong { overflow-wrap: anywhere; font-size: .98rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.contact-note { display: flex; gap: .7rem; max-width: 420px; margin-top: 2.4rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .7rem; line-height: 1.45; }
.contact-note-icon { color: var(--accent-strong); font-size: 1rem; }
.contact-form { padding-top: .4rem; }
.form-heading { margin-bottom: 2.1rem; }
.form-kicker { color: var(--accent-strong); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.form-heading h3 { margin: .5rem 0 0; font-size: clamp(2rem, 3.6vw, 3rem); }
.form-intro { margin: .8rem 0 0; color: var(--faint); font-size: .72rem; line-height: 1.45; }
.form-intro span, .label-optional { color: var(--accent-strong); }
.form-row { margin-bottom: 1.25rem; }
.form-row label { display: block; margin-bottom: .45rem; color: var(--muted); font-size: .69rem; font-weight: 700; }
.form-row label span { margin-left: .2rem; color: var(--accent-strong); }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: .8rem 0; border: 0; border-bottom: 1px solid var(--line-strong); outline: 0; border-radius: 0; background: transparent; color: var(--ink); font-size: .95rem; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.form-row select { min-height: 44px; cursor: pointer; }
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--faint); opacity: .8; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--accent-strong); box-shadow: 0 2px 0 0 var(--accent-strong); }
.form-row.has-error input, .form-row.has-error select, .form-row.has-error textarea { border-color: var(--error); }
.form-row.has-error input:focus, .form-row.has-error select:focus, .form-row.has-error textarea:focus { box-shadow: 0 2px 0 0 var(--error); }
.field-help, .field-error { margin: .35rem 0 0; font-size: .68rem; line-height: 1.45; }
.field-help { color: var(--faint); }
.field-error { display: none; color: var(--error); }
.form-row.has-error .field-error { display: block; }
.button-full { width: 100%; margin-top: .55rem; }
.form-status { min-height: 1.3rem; margin: .9rem 0 0; color: var(--accent-strong); font-size: .75rem; line-height: 1.4; }
.form-disclaimer { margin: .4rem 0 0; color: var(--faint); font-size: .65rem; line-height: 1.45; }

.thank-you { min-height: calc(100vh - 180px); display: grid; align-items: center; background: var(--bg); }
.thank-you-shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(3rem, 9vw, 8rem); align-items: center; }
.thank-you-copy h1 { max-width: 680px; margin-bottom: 1.6rem; font-size: clamp(3.8rem, 7vw, 6.8rem); }
.thank-you-copy > p:not(.eyebrow) { max-width: 600px; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.2rem); line-height: 1.6; }
.thank-you-copy .body-large { margin-bottom: 0; }
.thank-you-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.thank-you-note { max-width: 550px; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .72rem; line-height: 1.5; }
.thank-you-note a { color: var(--accent-strong); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.thank-you-card { padding: clamp(1.5rem, 4vw, 2.4rem); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.thank-you-card-mark { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 2rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: var(--serif); font-size: 2rem; font-style: italic; }
.thank-you-card h2 { margin-bottom: .8rem; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.thank-you-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.thank-you-card .contact-details { margin-top: 1.6rem; }

.site-footer { padding: 1.6rem 0; background: var(--bg); border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.footer-copy { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.footer-inner p, .footer-top, .footer-contact { margin: 0; color: var(--faint); font-size: .65rem; }
.footer-contact { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.footer-contact a { color: var(--muted); overflow-wrap: anywhere; }
.footer-contact a:hover, .footer-contact a:focus-visible, .footer-top:hover, .footer-top:focus-visible { color: var(--accent-strong); }
.footer-top { color: var(--muted); white-space: nowrap; }
.footer-top span { color: var(--accent-strong); margin-left: .35rem; }

:focus-visible { outline: 2px solid var(--warm); outline-offset: 4px; }
.js-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }
.js-ready .reveal-delay-short { transition-delay: .08s; }
.js-ready .reveal-delay { transition-delay: .16s; }

body[data-layout="b"] .hero-grid { grid-template-columns: minmax(390px, .85fr) minmax(0, .96fr); }
body[data-layout="b"] .hero-copy { order: 2; }
body[data-layout="b"] .hero-art { order: 1; justify-self: start; }
body[data-layout="b"] .art-caption { left: auto; right: -3.5rem; transform: rotate(90deg) translateX(100%); transform-origin: right top; }

@media (max-width: 900px) {
  .container { width: min(var(--container), calc(100% - 2.4rem)); }
  .hero-grid, body[data-layout="b"] .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(290px, .8fr); gap: 2.5rem; }
  .hero-art, body[data-layout="b"] .hero-art { justify-self: end; }
  .hero-copy { order: 1 !important; }
  .hero-art { order: 2 !important; }
  .art-caption { display: none; }
  .demo-controls { grid-template-columns: 1fr; align-items: start; }
  .control-group { justify-content: space-between; }
  .section-heading, .process-header { grid-template-columns: 1fr; display: grid; align-items: start; gap: 1.3rem; }
  .section-heading { margin-bottom: 2.8rem; }
  .process-header { grid-template-columns: 1fr 1fr; }
  .process-header .eyebrow { grid-column: 1 / -1; }
  .process-header h2 { grid-column: 1; }
  .process-header > p:last-child { grid-column: 2; align-self: end; }
  .difference-grid, .faq-grid, .thank-you-shell { gap: 3.5rem; }
}

@media (max-width: 680px) {
  .container { width: min(var(--container), calc(100% - 2rem)); }
  .header-inner { min-height: 68px; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: calc(100% + 1px); right: 1rem; left: 1rem; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .65rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .8rem .65rem; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav .nav-cta { margin-top: .4rem; text-align: center; }
  .hero { padding-top: 1.2rem; }
  .hero-grid, body[data-layout="b"] .hero-grid { display: flex; flex-direction: column; gap: 3.5rem; min-height: 0; }
  .hero-copy, body[data-layout="b"] .hero-copy { order: 1; }
  .hero-art, body[data-layout="b"] .hero-art { order: 2; width: min(100%, 460px); align-self: end; }
  h1 { font-size: clamp(3.45rem, 16vw, 5.8rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: .8rem; }
  .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .hero-note { margin-top: 2.5rem; }
  .signal-row { flex-wrap: wrap; gap: .5rem .8rem; line-height: 1; }
  .signal-end { width: 100%; margin-top: .8rem; }
  .demo-controls { margin-bottom: 1.2rem; padding: .8rem; }
  .control-group { align-items: start; flex-direction: column; gap: .45rem; }
  .control-buttons { width: 100%; }
  .theme-button, .layout-button { flex: 1; justify-content: center; min-height: 36px; }
  .problem-visual { min-height: 460px; }
  .photo-card-tall { width: 76%; height: 460px; }
  .metric-card { bottom: 1.8rem; width: 72%; padding: 1.25rem; }
  .metric-kicker { margin-bottom: 1.1rem; }
  .split-grid { grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
  .problem-visual { width: 100%; min-height: 0; }
  .photo-card-tall { width: 100%; height: auto; aspect-ratio: 16 / 9; margin-left: 0; }
  .section-intro { text-align: center; }
  .section-intro h2, .section-intro .body-large { margin-inline: auto; }
  .section-intro .text-link { display: flex; width: fit-content; margin-inline: auto; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 1.5rem; }
  .service-top { margin-bottom: 3.3rem; }
  .process-header { display: block; }
  .process-header h2 { margin-bottom: 1.3rem; }
  .process-header > p:last-child { max-width: 340px; }
  .process-step { grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; padding: 1.8rem 0; }
  .step-word { grid-column: 2; justify-self: start; margin-top: -.5rem; }
  .difference-grid, .faq-grid, .contact-shell, .thank-you-shell { grid-template-columns: 1fr; }
  .difference-image { width: 83%; margin: 0 auto; }
  .difference-points { grid-template-columns: 1fr; gap: 1rem; }
  .faq-grid { gap: 2.8rem; }
  .contact-shell { padding: 1.5rem; gap: 2.5rem; }
  .contact-actions { align-items: stretch; flex-direction: column; }
  .contact-note { margin-top: 2rem; }
  .thank-you { min-height: auto; }
  .thank-you-copy h1 { font-size: clamp(3.4rem, 15vw, 5.4rem); }
  .thank-you-actions { align-items: stretch; flex-direction: column; }
  .footer-inner { align-items: start; flex-wrap: wrap; }
  .footer-copy { order: 3; width: 100%; }
  .footer-top { margin-left: auto; }
}

@media (max-width: 390px) {
  .brand-logo { width: 143px; }
  .demo-controls { padding: .7rem; }
  .control-buttons { display: grid; grid-template-columns: 1fr; }
  .theme-button, .layout-button { width: 100%; }
  h1 { font-size: clamp(3.15rem, 15.6vw, 4.8rem); }
  .thank-you-copy h1 { font-size: clamp(3rem, 14.5vw, 4.6rem); }
  .art-stamp { left: -.5rem; }
  .metric-card { width: 78%; }
  .contact-shell { padding: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
}
