:root {
  --navy: #173f63;
  --navy-deep: #0e2d49;
  --aqua: #ddecf0;
  --sky: #eef6f7;
  --coral: #cf5d4e;
  --coral-deep: #aa4035;
  --cream: #fffaf3;
  --ink: #183044;
  --muted: #536b79;
  --white: #ffffff;
  --line: rgba(23, 63, 99, 0.16);
  --max: 1220px;
  --shadow: 0 18px 50px rgba(18, 49, 72, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Segoe UI", Arial, sans-serif; font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.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: 0.75rem; left: 0.75rem; z-index: 100; padding: 0.7rem 1rem; color: var(--white); background: var(--navy-deep); border-radius: 0.55rem; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { width: min(calc(100% - 3rem), var(--max)); min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.8rem); }
.main-nav a { color: var(--navy); font-size: 0.92rem; font-weight: 750; text-decoration: none; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--coral-deep); }
.brand { width: 116px; height: 64px; margin-left: auto; display: flex; align-items: center; justify-content: flex-end; }
.brand img { width: 108px; height: 59px; object-fit: contain; }
.menu-button { width: 48px; height: 48px; padding: 11px; display: none; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--white); }
.menu-button > span:not(.sr-only) { width: 100%; height: 2px; margin: 5px 0; display: block; background: var(--navy); }
.hero { width: min(calc(100% - 3rem), var(--max)); min-height: 720px; margin: 0 auto; padding: clamp(3rem, 7vw, 6.5rem) 0; display: grid; grid-template-columns: minmax(0,0.8fr) minmax(0,1.2fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.domain-name, .eyebrow { margin: 0 0 1rem; color: var(--coral-deep); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -0.035em; }
h1 { max-width: 12ch; margin-bottom: 1.5rem; color: var(--navy-deep); font-size: clamp(3.2rem, 5.6vw, 6.1rem); line-height: 0.98; }
h2 { max-width: 17ch; margin-bottom: 1.4rem; color: var(--navy); font-size: clamp(2.3rem, 4.2vw, 4.4rem); line-height: 1.08; }
h3 { margin-bottom: 0.65rem; color: var(--navy); font-size: 1.25rem; }
.hero-lead { max-width: 43rem; margin: 0; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.button { min-height: 48px; padding: 0.82rem 1.25rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 0.8rem; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.button-primary { color: var(--white); background: var(--navy); }
.button-primary:hover, .button-primary:focus-visible { background: var(--navy-deep); }
.button-light { color: var(--navy); background: var(--aqua); }
.button-light:hover, .button-light:focus-visible { background: #c8e0e6; }
.trust-line { margin: 1.2rem 0 0; color: var(--muted); font-size: 0.92rem; }
.image-frame { position: relative; margin: 0; overflow: hidden; background: var(--sky); box-shadow: var(--shadow); }
.image-frame img { width: 100%; height: auto; object-fit: contain; }
.image-frame figcaption { position: absolute; right: 0.65rem; bottom: 0.55rem; padding: 0.3rem 0.52rem; color: var(--white); background: rgba(14,45,73,0.8); border-radius: 0.3rem; font-size: 0.72rem; line-height: 1.1; }
.hero-image { border-radius: 10rem 1.6rem 1.6rem 1.6rem; }
.possibilities { padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100% - var(--max)) / 2)); color: var(--ink); background: var(--sky); }
.section-heading { display: flex; align-items: flex-start; gap: clamp(1rem, 3vw, 2.5rem); }
.section-mark { margin: 0.8rem 0 0; color: var(--coral); font-size: 0.8rem; font-weight: 900; letter-spacing: 0.16em; }
.section-lead { max-width: 760px; margin: 1.5rem 0 0 4.8rem; color: var(--muted); font-size: 1.12rem; }
.possibility-grid { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.possibility-grid article { min-height: 220px; padding: 2rem; background: var(--white); border-top: 4px solid var(--coral); border-radius: 0.9rem; }
.possibility-grid article:nth-child(2) { transform: translateY(1.4rem); }
.card-number { color: var(--coral-deep); font-size: 0.78rem; font-weight: 900; }
.possibility-grid h3 { margin-top: 2.3rem; }
.possibility-grid p { margin: 0; color: var(--muted); }
.home-story { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: clamp(6rem, 11vw, 10rem) 0; display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,0.88fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.story-image { border-radius: 1.6rem 10rem 1.6rem 1.6rem; }
.story-copy > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 1.08rem; }
.wish-list { margin: 2rem 0; padding: 0; list-style: none; }
.wish-list li { padding: 0.9rem 0; display: flex; gap: 1rem; border-bottom: 1px solid var(--line); font-weight: 750; }
.wish-list li span { color: var(--coral-deep); font-size: 0.76rem; letter-spacing: 0.12em; }
.text-link { color: var(--navy); font-weight: 850; text-underline-offset: 0.28rem; }
.statement { padding: clamp(4rem, 8vw, 7rem) 1.5rem; color: var(--white); background: var(--navy); text-align: center; }
.statement p { max-width: 26ch; margin: 0 auto; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4.4vw, 4.5rem); line-height: 1.18; }
.contact-section { padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100% - var(--max)) / 2)); display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: clamp(2.5rem, 6vw, 6rem); background: var(--cream); }
.form-panel { min-width: 0; }
.form-panel h2 { margin-bottom: 2.2rem; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 0.85rem; font-weight: 800; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.choice-row label { cursor: pointer; }
.choice-row input { position: absolute; opacity: 0; }
.choice-row span { min-height: 46px; padding: 0.65rem 1rem; display: inline-flex; align-items: center; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 0.75rem; font-weight: 750; }
.choice-row input:checked + span { color: var(--white); background: var(--navy); border-color: var(--navy); }
.choice-row input:focus-visible + span { outline: 3px solid rgba(207,93,78,0.35); outline-offset: 3px; }
.field-grid { margin-top: 1.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-grid label { display: grid; gap: 0.42rem; font-weight: 750; }
.field-grid small { color: var(--muted); font-size: 0.78rem; font-weight: 500; }
.field-grid input, .field-grid textarea { width: 100%; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 0.75rem; outline: none; }
.field-grid input { min-height: 52px; padding: 0 0.9rem; }
.field-grid textarea { min-height: 150px; padding: 0.9rem; resize: vertical; }
.field-grid input:focus, .field-grid textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(23,63,99,0.12); }
.message-field { grid-column: 1 / -1; }
.honeypot { position: absolute; left: -10000px; }
.privacy-check { margin: 1.2rem 0; display: flex; align-items: flex-start; gap: 0.7rem; color: var(--muted); font-size: 0.92rem; }
.privacy-check input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; accent-color: var(--navy); }
.privacy-check a { color: var(--navy); font-weight: 750; }
.button-submit { color: var(--white); background: var(--coral-deep); border: 0; }
.button-submit:hover, .button-submit:focus-visible { background: #8c3029; }
.form-status { min-height: 1.5rem; margin: 1rem 0 0; color: var(--navy); font-weight: 750; }
.personal-contact { position: sticky; top: 112px; padding: 2rem; color: var(--white); background: var(--navy); border-radius: 1.4rem; box-shadow: var(--shadow); }
.personal-contact .contact-kicker { margin: 0 0 1rem; color: #cce1e8; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.personal-contact h2 { margin: 0; color: var(--white); font-size: 2.2rem; }
.personal-contact p { margin: 0.5rem 0 1.3rem; color: #e0ebef; }
.personal-contact a { width: fit-content; margin: 0.5rem 0; display: block; color: var(--white); font-weight: 800; text-underline-offset: 0.22rem; }
.personal-contact .contact-note { margin: 1.5rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.22); font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }
.site-footer { min-height: 108px; padding: 1.5rem max(1.5rem, calc((100% - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; color: #d7e5eb; background: var(--navy-deep); font-size: 0.9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer a { color: var(--white); text-underline-offset: 0.25rem; }
:focus-visible { outline: 3px solid rgba(207,93,78,0.55); outline-offset: 4px; }

@media (max-width: 920px) {
  .header-inner { width: min(calc(100% - 2rem), var(--max)); min-height: 76px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 76px; right: 1rem; left: 1rem; padding: 1rem; display: none; align-items: stretch; flex-direction: column; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 0.8rem; }
  .brand { width: 95px; height: 58px; }
  .brand img { width: 88px; height: 50px; }
  .hero, .home-story, .contact-section { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-image { order: -1; border-radius: 1.6rem 1.6rem 7rem 1.6rem; }
  .possibility-grid { grid-template-columns: 1fr 1fr; }
  .possibility-grid article:nth-child(2) { transform: none; }
  .possibility-grid article:last-child { grid-column: 1 / -1; }
  .personal-contact { position: static; max-width: 540px; }
}

@media (max-width: 620px) {
  .header-inner { width: calc(100% - 1.5rem); }
  .hero, .home-story { width: calc(100% - 2rem); }
  .hero { gap: 2rem; padding: 1.25rem 0 4.5rem; }
  .hero-image, .story-image { border-radius: 1.2rem; }
  h1 { max-width: 10.5ch; font-size: clamp(2.7rem, 14vw, 4.1rem); }
  h2 { font-size: clamp(2.15rem, 10vw, 3.15rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .section-heading { display: block; }
  .section-mark { margin: 0 0 0.8rem; }
  .section-lead { margin-left: 0; }
  .possibility-grid { grid-template-columns: 1fr; }
  .possibility-grid article:last-child { grid-column: auto; }
  .home-story { padding: 5rem 0; }
  .field-grid { grid-template-columns: 1fr; }
  .choice-row { display: grid; grid-template-columns: 1fr 1fr; }
  .choice-row label:last-child { grid-column: 1 / -1; }
  .choice-row span { width: 100%; justify-content: center; text-align: center; }
  .contact-section { padding-right: 1rem; padding-left: 1rem; }
  .form-panel, .personal-contact { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

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

body.theme-celebrate {
  --navy: #463b72;
  --navy-deep: #2c254e;
  --aqua: #e7e3f3;
  --sky: #f6f4fb;
  --coral: #d06a45;
  --coral-deep: #aa472c;
  --cream: #fffaf5;
  --ink: #373052;
  --muted: #69627b;
}

@media (max-width: 620px) {
  h1, h2, h3, .domain-name, .eyebrow, .button, .text-link { overflow-wrap: anywhere; }
}

@media (min-width: 921px) {
  body.layout-0 .hero { grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); }
  body.layout-0 .hero-image { border-radius: 11rem 1.4rem 1.4rem 1.4rem; }
  body.layout-1 .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  body.layout-1 .hero-image { order: -1; border-radius: 1.4rem 1.4rem 9rem 1.4rem; }
  body.layout-1 .home-story .story-image { order: 2; border-radius: 9rem 1.4rem 1.4rem 1.4rem; }
  body.layout-2 .hero { width: 100%; padding-right: max(3rem, calc((100% - var(--max)) / 2)); padding-left: max(3rem, calc((100% - var(--max)) / 2)); background: var(--sky); }
  body.layout-2 .hero-image { border-radius: 1.4rem 10rem 1.4rem 1.4rem; }
  body.layout-2 .possibilities { background: var(--white); }
  body.layout-2 .possibility-grid article { background: var(--sky); }
  body.layout-3 .hero { width: 100%; padding-right: max(3rem, calc((100% - var(--max)) / 2)); padding-left: max(3rem, calc((100% - var(--max)) / 2)); color: var(--white); background: var(--navy-deep); }
  body.layout-3 .hero h1, body.layout-3 .hero .domain-name { color: var(--white); }
  body.layout-3 .hero .hero-lead, body.layout-3 .hero .trust-line { color: var(--aqua); }
  body.layout-3 .hero-image { border-radius: 1.5rem; box-shadow: none; }
  body.layout-4 .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  body.layout-4 .possibility-grid { gap: 2rem; }
  body.layout-4 .possibility-grid article { border-top: 0; border-left: 4px solid var(--coral); border-radius: .3rem 1.2rem 1.2rem .3rem; }
  body.layout-4 .home-story .story-image { order: 2; }
  body.layout-5 .hero { display: block; text-align: center; }
  body.layout-5 .hero-copy, body.layout-5 .hero h1, body.layout-5 .hero .hero-lead { max-width: 850px; margin-right: auto; margin-left: auto; }
  body.layout-5 .hero-actions { justify-content: center; }
  body.layout-5 .hero-image { max-width: 1080px; margin: 3rem auto 0; border-radius: 1.5rem 8rem 1.5rem 8rem; }
  body.layout-6 .hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  body.layout-6 .hero-image { order: -1; border-radius: 48% 1.5rem 1.5rem 1.5rem; }
  body.layout-6 .possibilities { background: var(--aqua); }
  body.layout-6 .story-image { border-radius: 1.5rem 48% 1.5rem 1.5rem; }
  body.layout-7 .hero-image, body.layout-7 .story-image { border-radius: .4rem; box-shadow: none; }
  body.layout-7 .possibility-grid article { border-top-color: var(--navy); border-radius: .4rem; box-shadow: 0 1px 0 var(--line); }
  body.layout-7 .statement { background: var(--coral-deep); }
}
