:root {
  color-scheme: light;
  --paper: #fbf5ec;
  --ink: #352320;
  --muted: #6f514b;
  --red: #a62a3b;
  --red-dark: #8b2032;
  --line: #eedcd2;
  --blush: #fae8e5;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --width: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.5 var(--sans); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
figure, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--red-dark); outline-offset: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.shell { width: min(var(--width), calc(100% - 88px)); margin-inline: auto; }
.eyebrow { color: var(--red-dark); font-size: .72rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; gap: .65rem; padding: .65rem 1.12rem; border: 1px solid var(--red); border-radius: 100px; background: var(--red); color: #fff8ef; font-size: .9rem; font-weight: 700; text-align: center; transition: background-color .18s, border-color .18s, transform .18s; }
.button:hover:not(:disabled) { background: var(--red-dark); border-color: var(--red-dark); }
.button:active:not(:disabled) { transform: translateY(1px); }
.button:disabled { opacity: .52; }
.button-secondary { background: transparent; color: var(--red-dark); border-color: #d8a5aa; }
.button-secondary:hover:not(:disabled) { background: var(--blush); border-color: var(--red-dark); }
.text-button { display: inline-flex; align-items: center; gap: .5rem; padding: 0; border: 0; color: var(--red-dark); background: transparent; font-size: .88rem; font-weight: 700; text-align: left; }
.text-button:hover { text-decoration: underline; text-underline-offset: .2em; }

.site-header { border-bottom: 1px solid var(--line); }
body:has(#quiz-view:not([hidden])) .candidate-header .header-inner {
  min-height: 56px;
}

.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 77px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--red-dark); font: 700 1.28rem/1.1 var(--serif); white-space: nowrap; }
.brand em { font-weight: 600; }
.brand-icon { display: inline-grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: var(--red); color: #fff7ec; font: 400 1rem/1 Georgia, serif; }

.hero { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); align-items: center; gap: clamp(1.75rem, 5vw, 5rem); padding: 40px 18px 38px 0; }
.hero-kicker { display: flex; align-items: center; gap: .58rem; margin-bottom: .85rem; }
.hero-kicker span { display: inline-block; width: 22px; height: 1px; background: var(--red); }
.hero h1 { font: 600 clamp(3.1rem, 5.45vw, 5.3rem)/1.02 var(--serif); letter-spacing: -.065em; }
.hero h1 > * { display: block; text-wrap: balance; }
.hero h1 em, .section-heading em { color: var(--red); font-weight: 500; }
.hero-intro { max-width: 28rem; margin-top: 1.15rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1rem; margin-top: 1.15rem; }
.hero-button { min-height: 53px; padding-inline: 1.35rem; gap: .95rem; }
.hero-button span[aria-hidden] { font-size: 1.07rem; }
.campaign-status { max-width: 29rem; margin-top: .7rem; color: var(--red-dark); font-size: .9rem; }

.hero-visual { position: relative; isolation: isolate; }
.photo-frame { position: relative; overflow: hidden; aspect-ratio: .98; border-radius: 48% 48% 1.2rem 1.2rem / 40% 40% 1.2rem 1.2rem; background: #bd7863; box-shadow: 0 18px 35px rgb(53 35 32 / 11%); }
.photo-frame::after { position: absolute; inset: 8px; border: 1px solid rgb(255 245 230 / 55%); border-radius: inherit; pointer-events: none; content: ''; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.photo-heart { position: absolute; right: -17px; bottom: 1.25rem; display: grid; width: clamp(54px, 6.2vw, 78px); aspect-ratio: 1; place-items: center; border: 1px dashed #cb6b78; border-radius: 50%; outline: 4px solid #fbe2de; background: #fbe2de; color: var(--red); font: 400 clamp(2.3rem, 4vw, 3.4rem)/1 Georgia, serif; transform: rotate(11deg); }

.invitation-note { margin-top: .9rem; padding-left: .8rem; border-left: 2px solid #d8a5aa; color: var(--red-dark); font-size: .9rem; line-height: 1.5; }
.section-spacing { padding-block: clamp(2rem, 5vw, 4rem); }
#privacy { scroll-margin-top: 1.25rem; }
.section-heading { margin-top: .25rem; font: 600 clamp(2.3rem, 4.5vw, 3.85rem)/1.1 var(--serif); letter-spacing: -.055em; text-wrap: balance; }
.about { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(1.5rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.about-text { display: grid; gap: .7rem; margin-top: .85rem; color: var(--muted); font-size: 1.04rem; line-height: 1.6; }
.about-quote { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; padding: 1.75rem; background: linear-gradient(145deg, #fffaf3, #f8e7e4); }
.quote-mark { position: absolute; top: -.65rem; right: .7rem; color: #f3ded5; font: 600 7rem/1 var(--serif); pointer-events: none; }
.about-quote blockquote { position: relative; margin: 0; color: var(--red-dark); font: italic 500 clamp(1.32rem, 2.5vw, 2rem)/1.35 var(--serif); text-wrap: balance; }
.about-quote p { margin-top: .85rem; color: var(--muted); font-size: .8rem; font-weight: 700; }

.journey { background: var(--red-dark); color: #fff2e8; }
.journey .section-heading em { color: #ffdad3; }
.journey-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; margin: 1.5rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.journey-steps li { min-width: 0; counter-increment: step; border-top: 1px solid rgb(255 224 218 / 34%); padding: .85rem .6rem .35rem 0; }
.journey-steps li::before { display: grid; place-items: center; width: 27px; height: 27px; margin-bottom: .65rem; border-radius: 50%; color: var(--red-dark); background: #ffe2d8; font-size: .85rem; font-weight: 700; content: counter(step); }
.journey-steps h3 { font: 600 clamp(1.17rem, 2.1vw, 1.55rem)/1.25 var(--serif); }
.journey-steps p, .journey-note { margin-top: .5rem; color: #ffddd6; font-size: .92rem; line-height: 1.55; }
.journey-note { margin-top: 1.25rem; }
.journey :focus-visible { outline-color: #fff2e8; }

.privacy { padding: 1.15rem 1.3rem; margin-block: 2rem; border: 1px solid var(--line); border-radius: .9rem; background: #fffaf3; }
.privacy h2 { font: 600 1.22rem/1.3 var(--serif); }
.privacy p { max-width: 79ch; margin-top: .5rem; color: var(--muted); font-size: .9rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 87px; padding-block: .85rem; }
.footer-identity p { margin-top: .25rem; color: var(--muted); font-size: .78rem; }
.footer-brand { font-size: 1rem; }
.footer-brand .brand-icon { width: 23px; height: 23px; font-size: .7rem; }

@media (max-width: 950px) {
  .hero { gap: 2rem; padding-inline: 0 18px; }
  .hero h1 { font-size: clamp(2.8rem, 5.7vw, 4.4rem); }
}

@media (max-width: 690px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; }
  .candidate-header .brand { min-height: 43px; }
  .brand { font-size: 1.07rem; }
  .brand-icon { width: 26px; height: 26px; font-size: .85rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; padding: 1.45rem 0 1.4rem; }
  .hero-kicker { margin-bottom: .65rem; }
  .hero h1 { font-size: clamp(2.45rem, 8.55vw, 4.05rem); }
  .hero-intro { margin-top: .8rem; }
  .hero-actions { margin-top: .9rem; }
  .hero-button { min-height: 49px; }
  .hero-visual { margin-right: 7px; }
  .photo-frame { aspect-ratio: 1.72; border-radius: 2.7rem 2.7rem .9rem .9rem; }
  .photo-heart { right: -8px; bottom: .75rem; }
  .about-text { font-size: .97rem; }
  .about, .journey-steps { grid-template-columns: minmax(0, 1fr); }
  .about-quote { padding: 1.4rem 1.25rem; }
  .journey-steps { gap: .65rem; }
  .journey-steps li { display: grid; grid-template-columns: 27px minmax(0, 1fr); gap: .14rem .7rem; padding: .7rem 0 .15rem; }
  .journey-steps li::before { grid-row: 1 / span 2; margin: 0; }
  .journey-steps h3 { align-self: center; }
  .journey-steps p { margin: 0; }
  .privacy { margin-block: 2.3rem; }
}

@media (max-width: 350px) {
  .shell { width: calc(100% - 30px); }
  .header-inner { gap: .6rem; }
  .hero-actions { gap: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
