/* RawShoot Studio, Meta Ads landing page. Mobile first. Two fonts, brand palette from the main site. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/CormorantGaramond-normal-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/CormorantGaramond-italic-500.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/Jost-variable.woff2") format("woff2"); }

:root {
  --maroon: #43101C;
  --deep: #2E0A12;
  --gold: #C9A86A;
  --gold-soft: #E4C9B0;
  --crimson: #9A2B3B;
  --crimson-dark: #7E2230;
  --cream: #F6F0E4;
  --cream-2: #EFE6D2;
  --card: #FBF7EE;
  --line: #D8C9A8;
  --text: #43101C;
  --muted: #5A3B40;
  --error: #B3261E;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 4px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 17px/1.55 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 6.5vw, 3.2rem); text-wrap: balance; }
h3 { font-size: 1.7rem; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; margin-top: 28px; }
.small { font-size: 0.875rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.form-section :focus-visible, .site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
main :focus-visible { outline-color: var(--crimson); }
.hero :focus-visible, .form-section :focus-visible { outline-color: var(--gold); }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--deep); padding: 10px 16px; z-index: 200; border-radius: var(--radius); font-weight: 500; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; text-align: center; transition: background-color .2s, color .2s, border-color .2s, transform .2s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--crimson); color: var(--cream); }
.btn-primary:hover { background: var(--crimson-dark); }
.btn-gold { background: var(--gold); color: var(--deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { background: transparent; color: var(--crimson); border-color: var(--crimson); }
.btn-ghost:hover { background: var(--crimson); color: var(--cream); }
.btn-skip { background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; letter-spacing: 0.04em; text-transform: none; font-size: 0.95rem; }
.btn-large { min-height: 56px; padding: 14px 28px; font-size: 0.9rem; }
.btn-small { min-height: 44px; padding: 8px 14px; font-size: 0.72rem; white-space: nowrap; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.link { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link:hover { color: var(--crimson); }
.site-footer .link:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--maroon); border-bottom: 1px solid rgba(201, 168, 106, 0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { border-radius: 8px; flex: none; width: 40px; height: 40px; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.04em; color: var(--gold); font-weight: 500; white-space: nowrap; }
.brand-name span { display: none; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-soft); margin-left: 6px; vertical-align: middle; }
@media (min-width: 440px) { .brand-name span { display: inline; } }

/* ---------- Hero ---------- */
.hero { background: var(--deep); color: var(--cream); display: flex; flex-direction: column; }
.hero-media { position: relative; aspect-ratio: 1 / 1; max-height: 46svh; width: 100%; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(46,10,18,0) 55%, var(--deep) 100%); }
.hero-copy { padding-top: 4px; padding-bottom: 44px; margin-top: -28px; position: relative; z-index: 1; }
.eyebrow { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--crimson); margin-bottom: 14px; }
.hero .eyebrow, .eyebrow.light { color: var(--gold); }
.hero h1 { font-size: clamp(2.6rem, 11vw, 4.6rem); margin-bottom: 18px; text-wrap: balance; }
.hero h1 em { color: var(--gold); font-style: italic; font-weight: 500; }
.lead { font-size: 1.15rem; color: var(--gold-soft); max-width: 34ch; margin-bottom: 26px; }
.hero .btn { width: 100%; }
.microcopy { margin-top: 12px; font-size: 0.92rem; color: var(--gold-soft); text-align: center; }

/* ---------- Trust ---------- */
.trust { background: var(--maroon); color: var(--cream); border-top: 1px solid rgba(201, 168, 106, 0.2); }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-top: 6px; padding-bottom: 6px; }
.trust-list li { padding: 18px 12px; border-bottom: 1px solid rgba(201, 168, 106, 0.2); }
.trust-list li:nth-child(odd) { border-right: 1px solid rgba(201, 168, 106, 0.2); padding-left: 0; }
.trust-list li:nth-last-child(-n + 2) { border-bottom: 0; }
.trust-list strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.1; color: var(--gold); }
.trust-list span { display: block; font-size: 0.85rem; color: var(--gold-soft); margin-top: 4px; line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section.alt { background: var(--cream-2); }
.section h2 { margin-bottom: 28px; }
.lead-dark { font-size: 1.1rem; color: var(--muted); margin: -8px 0 28px; }

.cards { display: grid; gap: 16px; }
.cards li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cards h3 { margin-bottom: 10px; color: var(--maroon); }
.cards p { color: var(--muted); }
.quotes li { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.quotes blockquote { margin: 0; }
.quotes blockquote p { font-family: var(--serif); font-style: italic; font-size: 1.55rem; line-height: 1.25; color: var(--maroon); }
.quotes blockquote p::before { content: "\201C"; display: block; font-size: 3.2rem; line-height: 0.6; color: var(--gold); margin-bottom: 4px; }
.cite { font-size: 0.78rem !important; letter-spacing: 0.16em; text-transform: uppercase; color: var(--crimson) !important; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.photo { display: block; width: 100%; padding: 0; border: 0; background: var(--line); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo:hover img { transform: scale(1.03); }

.checks li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 16px; height: 8px; border-left: 2px solid var(--crimson); border-bottom: 2px solid var(--crimson); transform: rotate(-45deg); }

.steps { display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 4px 58px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--maroon); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; }
.steps strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.steps span { display: block; color: var(--muted); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; font-size: 1.05rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--crimson); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* ---------- Form ---------- */
.form-section { background: var(--maroon); color: var(--cream); padding: 56px 0 72px; }
.form-section h2 { margin-bottom: 10px; }
.form-intro { color: var(--gold-soft); margin-bottom: 26px; }
.form-card { background: var(--cream); color: var(--text); border-radius: 6px; padding: 22px 18px 20px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); }
.progress { margin-bottom: 20px; }
.progress-label { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--crimson); font-weight: 500; margin-bottom: 8px; }
.progress-bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 20%; background: var(--crimson); border-radius: 3px; transition: width .3s ease; }

.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step legend { padding: 0; margin-bottom: 14px; font-family: var(--serif); font-size: 1.9rem; line-height: 1.12; font-weight: 500; outline: none; }
.step legend:focus-visible { outline: 3px solid var(--crimson); outline-offset: 4px; }
.optional { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--crimson); vertical-align: middle; margin-left: 6px; }
.hint { color: var(--muted); font-size: 0.95rem; margin: -4px 0 14px; }

.choice-grid { display: grid; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 56px; padding: 12px 16px 12px 50px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); font-weight: 500; transition: border-color .15s, background-color .15s; position: relative; }
.choice span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 2px solid var(--muted); border-radius: 50%; background: #fff; }
.choice:hover span { border-color: var(--crimson); }
.choice input:checked + span { border-color: var(--crimson); background: #fff; box-shadow: 0 0 0 1px var(--crimson); }
.choice input:checked + span::before { border-color: var(--crimson); background: radial-gradient(circle, var(--crimson) 0 45%, #fff 50%); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.field { display: block; margin-bottom: 6px; }
.label { display: block; font-size: 0.95rem; font-weight: 500; margin-bottom: 6px; }
input[type="text"], input[type="tel"], input[type="date"] { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); }
input[type="text"]:focus, input[type="tel"]:focus, input[type="date"]:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--crimson); }
input[aria-invalid="true"] { border-color: var(--error); }
input:disabled { background: var(--cream-2); color: var(--muted); }
.phone { display: flex; align-items: stretch; }
.phone .prefix { display: grid; place-items: center; padding: 0 14px; background: var(--cream-2); border: 1.5px solid var(--line); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); color: var(--muted); }
.phone input { border-radius: 0 var(--radius) var(--radius) 0; }
.choice-grid + .field { margin-top: 16px; }
.field + .check, .check + .check, .check + .error, .field + .error { margin-top: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; cursor: pointer; }
.check input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--crimson); }
.check span { font-size: 0.95rem; line-height: 1.45; }
.error { color: var(--error); font-size: 0.92rem; margin: 6px 0 0; font-weight: 500; }
.form-error { margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--error); border-radius: var(--radius); background: #fff4f2; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.nav .btn-primary { flex: 1 1 auto; min-width: 160px; order: 2; }
.nav .btn-ghost { order: 1; }
.nav .btn-skip { order: 3; }

.thanks { text-align: center; padding: 18px 6px 10px; }
.thanks h3 { font-size: 2.2rem; margin-bottom: 12px; color: var(--maroon); outline: none; }
.thanks p { color: var(--muted); }
.thanks .small { margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--gold-soft); padding: 36px 0 calc(36px + 70px + var(--safe-bottom)); font-size: 0.92rem; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); margin-bottom: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 16px 0; }
.footer-links .link { min-height: 44px; display: inline-flex; align-items: center; color: var(--cream); }
.site-footer .small { color: var(--gold-soft); }

/* ---------- Sticky CTA and consent ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + var(--safe-bottom)); background: linear-gradient(to top, rgba(246, 240, 228, 0.98) 70%, rgba(246, 240, 228, 0)); }
.sticky-cta .btn { width: 100%; box-shadow: 0 6px 20px rgba(67, 16, 28, 0.3); }

.consent { position: fixed; left: 10px; right: 10px; bottom: calc(10px + var(--safe-bottom)); z-index: 60; max-width: 560px; background: var(--card); color: var(--text); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 6px; padding: 14px 14px 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); max-height: 80svh; overflow: auto; }
.consent h2 { font-size: 1.3rem; margin-bottom: 4px; }
.consent p { font-size: 0.85rem; line-height: 1.4; color: var(--muted); }
.consent-age { margin: 8px 0 0; }
.consent-age span { font-size: 0.85rem; }
.consent-age input { width: 22px; height: 22px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.consent-actions .btn { padding: 8px 6px; font-size: 0.68rem; letter-spacing: 0.06em; min-height: 46px; }
.consent-actions .btn-ghost { grid-column: 1 / -1; }
.consent .small { margin-top: 8px; min-height: 1em; color: var(--error); font-weight: 500; }

/* ---------- Dialogs ---------- */
.dialog { border: 0; padding: 26px 22px 22px; border-radius: 8px; background: var(--card); color: var(--text); width: min(92vw, 560px); max-height: 88svh; overflow: auto; box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45); }
.dialog::backdrop { background: rgba(30, 6, 11, 0.78); }
.dialog h2 { font-size: 2rem; margin-bottom: 12px; }
.dialog form[method="dialog"] { position: absolute; top: 8px; right: 8px; margin: 0; }
.dialog-close { width: 44px; height: 44px; border: 0; background: transparent; font-size: 2rem; line-height: 1; color: var(--maroon); cursor: pointer; border-radius: 50%; }
.dialog-close:hover { background: var(--cream-2); }
.prose h3 { font-size: 1.35rem; margin: 18px 0 6px; }
.prose p { color: var(--muted); font-size: 0.97rem; }
.pref-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pref-row p { font-size: 0.9rem; color: var(--muted); margin-top: 2px; }
.pref-row input { width: 24px; height: 24px; flex: none; accent-color: var(--crimson); margin-top: 2px; }
.dialog-actions { margin-top: 18px; }
.dialog-actions .btn { width: 100%; }
.dialog-note { margin: 12px 0 0; }
.photo-dialog { padding: 14px; width: min(94vw, 520px); background: var(--deep); }
.photo-dialog img { width: 100%; max-height: 70svh; object-fit: contain; border-radius: 4px; }
.photo-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.photo-dialog .btn-ghost { color: var(--cream); border-color: var(--gold); }
.photo-dialog .btn-ghost:hover { background: var(--gold); color: var(--deep); }
.photo-dialog .dialog-close { color: var(--cream); background: rgba(46, 10, 18, 0.7); top: 4px; right: 4px; }

/* ---------- Tablet and desktop ---------- */
@media (min-width: 768px) {
  body { font-size: 18px; }
  .wrap { padding: 0 32px; }
  .section { padding: 84px 0; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .steps li { padding: 58px 0 0; }
  .trust-list { grid-template-columns: repeat(4, 1fr); }
  .trust-list li { border-bottom: 0 !important; border-right: 1px solid rgba(201, 168, 106, 0.2); padding: 22px 20px; }
  .trust-list li:first-child { padding-left: 0; }
  .trust-list li:last-child { border-right: 0; }
  .form-card { padding: 34px 38px 30px; }
  .choice-grid:not(.compact) { grid-template-columns: 1fr 1fr; }
  .choice-grid.compact { grid-template-columns: 1fr 1fr; }
  .consent { left: 20px; right: auto; bottom: 20px; }
  .site-footer { padding-bottom: 40px; }
  .hero .btn { width: auto; }
  .microcopy { text-align: left; }
}
@media (min-width: 1024px) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(86vh, 780px); align-items: stretch; }
  .hero-media { order: 2; max-height: none; aspect-ratio: auto; }
  .hero-media::after { background: linear-gradient(to right, var(--deep) 0%, rgba(46, 10, 18, 0) 28%); }
  .hero-copy { order: 1; align-self: center; margin: 0; padding: 64px 40px 64px max(32px, calc((100vw - 1160px) / 2 + 32px)); max-width: none; }
  .hero h1 { font-size: clamp(3.4rem, 5.2vw, 5rem); }
  .cards.four { grid-template-columns: repeat(4, 1fr); }
  .quotes blockquote p { font-size: 1.45rem; }
  .form-section { padding: 90px 0 110px; }
  /* Wide screens: a slim bar along the bottom so it never covers the hero button */
  .consent { left: 20px; right: 20px; max-width: none; display: grid; grid-template-columns: 1fr auto; column-gap: 28px; align-items: center; padding: 14px 22px; }
  .consent h2, .consent p, .consent .consent-age { grid-column: 1; }
  .consent-actions { grid-column: 2; grid-row: 1 / span 4; display: flex; margin: 0; }
  .consent-actions .btn { padding: 10px 18px; font-size: 0.72rem; white-space: nowrap; }
  .consent-actions .btn-ghost { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   Interactions. Decorative motion only runs when the visitor has not asked for less motion.
   ========================================================================= */

/* Review carousel: a swipeable row on phones, a normal grid from tablet up */
.carousel-controls { display: none; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.dots { display: inline-flex; gap: 8px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background-color .25s, transform .25s; }
.dots span.on { background: var(--crimson); transform: scale(1.35); }
@media (max-width: 767px) {
  .quotes { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 2px 20px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .quotes::-webkit-scrollbar { display: none; }
  .quotes > li { flex: 0 0 84%; scroll-snap-align: center; }
  .carousel-controls { display: flex; }
}
.quotes:focus-visible { outline: 3px solid var(--crimson); outline-offset: 4px; border-radius: var(--radius); }

/* Success check mark */
.check-draw { display: block; margin: 0 auto 10px; }
.check-draw circle { stroke: var(--gold); stroke-width: 2.5; }
.check-draw path { stroke: var(--crimson); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance */
  .hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(1) { animation-delay: .05s; }
  .hero-copy > :nth-child(2) { animation-delay: .15s; }
  .hero-copy > :nth-child(3) { animation-delay: .28s; }
  .hero-copy > :nth-child(4) { animation-delay: .4s; }
  .hero-copy > :nth-child(5) { animation-delay: .5s; }
  .hero-media img { animation: settle 1.4s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes settle { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }

  /* Parallax: the photo drifts slowly as the page scrolls (set from JavaScript) */
  .motion .hero-media img { animation: none; transform: translate3d(0, var(--py, 0px), 0) scale(1.08); will-change: transform; }

  /* Scroll reveal */
  .motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
  .motion .reveal.in { opacity: 1; transform: none; }

  /* Process: number circles fill in as each step appears */
  .steps li::before { transition: background-color .5s ease .2s, color .5s ease .2s, transform .5s ease .2s; }
  .motion .steps li.reveal:not(.in)::before { background: var(--line); color: var(--maroon); transform: scale(.8); }

  /* Buttons and cards respond to a mouse or finger */
  @media (hover: hover) {
    .btn-primary:hover, .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(67, 16, 28, .28); }
    .cards li { transition: transform .3s ease, box-shadow .3s ease; }
    .cards li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(67, 16, 28, .12); }
    .photo::after { content: "View"; position: absolute; inset: auto 0 0 0; padding: 26px 0 12px; text-align: center; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); background: linear-gradient(to top, rgba(30, 6, 11, .75), transparent); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
    .photo:hover::after, .photo:focus-visible::after { opacity: 1; transform: none; }
  }
  .photo { position: relative; }

  /* Form: questions slide in from the direction you are moving, answers give feedback */
  .step.enter-fwd { animation: slide-in-right .35s cubic-bezier(.2, .7, .2, 1); }
  .step.enter-back { animation: slide-in-left .35s cubic-bezier(.2, .7, .2, 1); }
  @keyframes slide-in-right { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
  @keyframes slide-in-left { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
  .choice input:checked + span::before { animation: pop .3s cubic-bezier(.3, 1.6, .5, 1); }
  @keyframes pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
  .check input:checked { animation: pop .25s cubic-bezier(.3, 1.6, .5, 1); }
  .error:not([hidden]) { animation: shake .35s; }
  @keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

  /* Thank you: the check mark draws itself */
  .check-draw circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s ease-out forwards; }
  .check-draw path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s ease-out .55s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .thanks:not([hidden]) h3, .thanks:not([hidden]) p { animation: rise .6s ease both; }
  .thanks:not([hidden]) h3 { animation-delay: .6s; }
  .thanks:not([hidden]) p { animation-delay: .75s; }

  /* FAQ answers ease open; the sticky button slides up */
  .faq details[open] p { animation: rise .35s ease; }
  .sticky-cta:not([hidden]) { animation: slide-up .4s cubic-bezier(.2, .7, .2, 1); }
  @keyframes slide-up { from { transform: translateY(100%); } to { transform: none; } }
  .consent:not([hidden]) { animation: slide-up .45s cubic-bezier(.2, .7, .2, 1) .4s both; }

  /* Gallery photo viewer */
  .dialog[open] { animation: dialog-in .28s cubic-bezier(.2, .7, .2, 1); }
  .dialog[open]::backdrop { animation: fade-in .28s ease; }
  @keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
}
