* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button { touch-action: manipulation; }
button:hover { filter: brightness(.96); }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2875b9; outline-offset: 4px; }
div, section, article, form { min-width: 0; }
img { max-width: 100%; }
h1, h2, h3, p, span { overflow-wrap: break-word; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 100; padding: 12px; background: white; color: #14233A; }
.skip-link:focus { top: 12px; }
.prototype-toolbar { position: sticky; top: 0; z-index: 50; background: #eef0ec; color: #435147; padding: 10px 20px; font: 0.75rem 'Nunito Sans', sans-serif; border-bottom: 1px solid #d3d9d2; }
.prototype-main-controls, .prototype-options { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.prototype-options { padding: 12px 0 4px; }
.prototype-toolbar summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: #435147; }
.prototype-toolbar details { margin-left: auto; }
.prototype-notice { font-size: 0.625rem; color: #556258; margin: 6px 0 0; }
.prototype-toolbar span { color: #435147 !important; }
.prototype-toolbar button { background: transparent !important; color: #435147 !important; border-color: #c4cdc1 !important; font-size: 0.75rem !important; }
.prototype-toolbar button[aria-pressed="true"] { background: #fff !important; color: #1f2a22 !important; border-color: #869781 !important; box-shadow: 0 2px 5px #23352009; }
.prototype-main-controls > span:first-child { font-size: 0.5625rem !important; }
.site-nav { overflow-x: auto; scrollbar-width: thin; }
/* Shared editorial system: warm paper, restrained borders, alpine identity. */
main { container-type: inline-size; }
main button { transition: background-color .18s, border-color .18s, box-shadow .18s, transform .18s; }
main button:hover { filter: none; }
main input, main select, main textarea { transition: border-color .18s, box-shadow .18s; }
main input:focus, main textarea:focus, main select:focus { outline: 0; border-color: var(--primary) !important; box-shadow: 0 0 0 3px color-mix(in srgb,var(--primary) 14%,transparent); }
main h1 { letter-spacing: -.035em; }
.ridge-mark { display: inline-block; width: 76px; color: var(--primary); flex-shrink: 0; line-height: 0; }
.ridge-mark svg { display: block; width: 100%; height: auto; }
.couple-names { font-family: var(--display); font-weight: 500; letter-spacing: -.04em; }
.ampersand { display: inline-block; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500; color: var(--primary); font-size: 1.12em; padding: 0 .07em; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 0.6875rem; font-weight: 600; line-height: 1.7; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 7px; font: 600 0.875rem var(--body); text-decoration: none; cursor: pointer; color: var(--ink); background: var(--surface); }
.button.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.button.primary:hover, .ui-primary:hover { box-shadow: 0 5px 16px color-mix(in srgb,var(--primary) 20%,transparent); transform: translateY(-1px); }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.button.text-button { border: 0; background: transparent; text-decoration: underline; text-underline-offset: 5px; color: var(--muted); }
.page-wrap { max-width: 1200px; padding: 64px 40px; margin: auto; }
.page-wrap h1 { font: 500 clamp(2.375rem,calc(5vw * var(--text-scale,1)),4rem)/1.06 var(--display); letter-spacing: -.03em; margin: 12px 0 20px; }
.page-lead { color: var(--muted); font-size: 1rem; line-height: 1.8; margin-bottom: 36px; }
.ui-card { border-radius: 12px !important; padding: 28px !important; box-shadow: 0 3px 12px color-mix(in srgb,var(--ink) 3%,transparent); }
.ui-card-link { position: relative; padding: 28px 50px 28px 28px !important; border-radius: 12px !important; transition: transform .2s, border-color .2s !important; }
.ui-card-link::after { content:'↗'; position: absolute; right: 24px; top: 28px; color: var(--primary); font-size: 1.3125rem; }
.ui-card-link:hover { transform: translateY(-3px); border-color: var(--primary) !important; }
.event-row { padding: 22px 24px !important; border-radius: 10px !important; margin: 12px 0 !important; }
.event-row:hover { border-color: var(--primary) !important; box-shadow: 0 3px 12px color-mix(in srgb,var(--ink) 4%,transparent); }
.ui-input { border-color: color-mix(in srgb,var(--muted) 50%,var(--surface)) !important; border-radius: 7px !important; min-height: 48px !important; }
.ui-primary, .ui-secondary { min-height: 48px !important; border-radius: 7px !important; }
.rsvp-form { scroll-margin-top: 110px; max-width: 960px; margin: 0 auto; }
.rsvp-form > h2 { font-size: 2.25rem !important; margin-bottom: 24px !important; }
.rsvp-form > div { row-gap: 20px !important; }
.rsvp-form > div[style*="border-top"] { padding-top: 24px !important; padding-bottom: 24px !important; }
article > img { height:auto !important; aspect-ratio:auto !important; }
.weekend-footer .footer-monogram { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; padding: 45px 20px 15px; }
.footer-monogram .ridge-mark { width: 64px; }
.footer-monogram .couple-names { font-size: 1.875rem; }
.footer-monogram p { margin: 0; color: var(--muted); font-size: 0.8125rem; }
/* Landing: three deliberately different compositions, one invitation. */
.landing { max-width: 1600px; margin: auto; }
.landing-masthead { display:flex; justify-content:space-between; align-items:center; padding: 24px 5%; font-size: 0.625rem; letter-spacing: .2em; border-bottom: 1px solid var(--line); color: var(--muted); }
.landing-composition { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5%; padding: 56px 5% 64px; }
.landing-intro { grid-row: 1; grid-column: 1; max-width: 560px; margin: auto; text-align: center; }
.landing-intro > .ridge-mark { width: 68px; margin-bottom: 20px; }
.landing-intro h1 { font-size: clamp(3.25rem,calc(5.5vw * var(--text-scale,1)),5.5rem); line-height: 1; margin: 14px -15px 20px; white-space: nowrap; }
.landing-date { font-size: 0.75rem; color: var(--muted); letter-spacing: .035em; }
.landing-date span { padding: 0 8px; }
.fine-rule { width: 50px; border-top: 1px solid var(--primary); margin: 30px auto; }
.landing-intro h2 { font: 500 clamp(1.5rem,calc(2.5vw * var(--text-scale,1)),2.125rem)/1.18 var(--display); letter-spacing: -.02em; margin: 0 0 16px; }
.landing-copy { font-size: 0.9375rem; line-height: 1.75; max-width: 390px; margin: 0 auto 12px; color: var(--ink); }
.landing-copy.secondary { font-size: 0.8125rem; color: var(--muted); }
.landing-photo-wrap { grid-column: 2; grid-row: 1; align-self: stretch; position: relative; min-height: 620px; }
.landing-photo { display:block; width:100%; height:100%; position:absolute; inset:0; object-fit:cover; border-radius: 200px 200px 6px 6px; }
.photo-caption { display: block; position: absolute; bottom: -27px; left:0; right:0; text-align:center; font: italic 0.875rem var(--display); color:var(--muted); }
.entry-form { max-width: 430px; text-align:left; margin:30px auto 0; }
.entry-form label { display:block; font-size:0.75rem; font-weight:600; margin-bottom:9px; }
.entry-field { display:flex; border:1px solid var(--line); border-radius:8px; background:var(--surface); padding:5px; gap:6px; }
.entry-field input { width:100%; min-width:0; padding:10px; font:0.9375rem var(--body); color:var(--ink); background:transparent; border:0; border-radius:4px; }
.entry-field .button { flex-shrink:0; gap:16px; }
.field-note { font-size:0.6875rem; color:var(--muted); line-height:1.6; margin:9px 0 0; }
.form-error { color:#8A2E2E; font-size:0.875rem; line-height:1.5; }
.landing-footer { padding:24px 5%; display:flex; justify-content:space-between; gap:20px; border-top:1px solid var(--line); font-size:0.625rem; letter-spacing:.14em; color:var(--muted); }
.landing-footer span:last-child { font:italic 1rem var(--display); letter-spacing:0; }
.landing-bigsky .landing-photo-wrap { grid-column:1; }
.landing-bigsky .landing-intro { grid-column:2; }
.landing-bigsky .landing-photo { border-radius:3px; }
.landing-bigsky .landing-composition { gap:7%; }
.landing-golden .landing-composition { display:flex; flex-direction:column; padding:0 0 50px; gap:0; }
.landing-golden .landing-photo-wrap { width:100%; height:460px; min-height:0; }
.landing-golden .landing-photo { border-radius:0; }
.landing-golden .photo-caption { display:none; }
.landing-golden .landing-intro { position:relative; width:calc(100% - 48px); max-width:740px; padding:40px 60px; margin:-60px auto 0; background:var(--surface); border:1px solid var(--line); border-radius:4px; box-shadow:0 12px 35px #3424110a; }
/* Site header stays quiet; mobile has an explicit, keyboard-accessible menu. */
.site-header { background:var(--surface); border-bottom:1px solid var(--line); }
.site-brand-row { max-width:1200px; margin:auto; padding:20px 32px; display:flex; align-items:center; gap:24px; }
.site-brand { display:flex; align-items:center; gap:18px; padding:0; border:0; background:none; color:var(--ink); cursor:pointer; }
.site-brand .ridge-mark { width:46px; }
.site-brand .couple-names { font-size:1.6875rem; }
.header-date { margin-left:auto; font-size:0.625rem; letter-spacing:.15em; color:var(--muted); }
.header-date span { margin:0 8px; }
.site-navigation { display:flex; justify-content:center; flex-wrap:wrap; gap:4px 12px; padding:0 20px; border-top:1px solid color-mix(in srgb,var(--line) 65%,transparent); }
.site-navigation button { min-height:48px; padding:12px 7px; border:0; border-bottom:2px solid transparent; font:500 0.75rem var(--body); background:transparent; color:var(--muted); cursor:pointer; }
.site-navigation button[aria-current="page"] { color:var(--primary); border-bottom-color:var(--primary); }
.site-navigation button:hover { color:var(--ink); }
.mobile-menu { display:none; }
/* Envelope: explicit stacking and a two-stage reveal; no SVG 3D origins. */
.invitation { min-height:calc(100svh - 100px); padding:48px 20px 56px; text-align:center; background:var(--page-bg); overflow:hidden; }
.invitation-heading { max-width:600px; margin:auto; }
.invitation-heading h1 { font:500 clamp(2.125rem,calc(4vw * var(--text-scale,1)),3.25rem)/1.12 var(--display); margin:10px 0 12px; }
.invitation-heading > p:last-child { font-size:0.875rem; color:var(--muted); line-height:1.7; }
.envelope-stage { position:relative; width:min(480px,100%); height:300px; margin:10px auto 0; perspective:1500px; transition:height .85s cubic-bezier(.2,.65,.25,1); }
.envelope { position:absolute; width:100%; height:240px; top:190px; left:0; transform:translateY(-130px); transition:transform .85s cubic-bezier(.2,.65,.25,1); }
.is-open .envelope-stage { height:430px; }
.is-open .envelope { transform:translateY(0); }
.envelope-back { position:absolute; inset:0; background:color-mix(in srgb,var(--primary) 19%,var(--page-bg)); border:1px solid color-mix(in srgb,var(--primary) 32%,var(--page-bg)); border-radius:5px; box-shadow:0 18px 40px #1e2d2015,0 3px 8px #1e2d200d; }
.invitation-paper { position:absolute; left:5%; bottom:16px; width:90%; height:290px; padding:20px 18px 24px; background:var(--surface); color:var(--ink); border:1px solid var(--line); box-shadow:0 0 14px #20251c0c; z-index:2; opacity:0; transform:translateY(60px); transition:transform .85s cubic-bezier(.2,.65,.25,1) .4s,opacity .15s .4s; }
.invitation-paper::before { content:''; position:absolute; inset:10px; border:1px solid var(--line); pointer-events:none; }
.invitation-paper .ridge-mark { width:47px; margin-bottom:9px; }
.paper-eyebrow { font-size:0.5rem; letter-spacing:.24em; margin:0 0 10px; color:var(--muted); }
.paper-names { font-size:2.25rem; line-height:1.15; }
.paper-rule { width:36px; border-top:1px solid var(--line); margin:14px auto; }
.paper-date { font:500 1.125rem var(--display); margin:0 0 5px; }
.paper-place { font-size:0.625rem; letter-spacing:.06em; margin:0; }
.paper-foot { font:italic 0.75rem var(--display); margin:17px 0 0; color:var(--muted); }
.envelope-front { position:absolute; inset:0; z-index:3; background:color-mix(in srgb,var(--primary) 11%,var(--page-bg)); clip-path:polygon(0 0,50% 52%,100% 0,100% 100%,0 100%); border-radius:0 0 5px 5px; }
.envelope-front::after { content:''; position:absolute; inset:0; background:color-mix(in srgb,var(--primary) 15%,var(--page-bg)); clip-path:polygon(0 100%,50% 44%,100% 100%); }
.envelope-flap { position:absolute; inset:0 0 auto; height:140px; z-index:5; background:color-mix(in srgb,var(--primary) 24%,var(--page-bg)); clip-path:polygon(0 0,100% 0,50% 100%); transform-origin:50% 0; backface-visibility:visible; transform:rotateX(0); transition:transform .65s cubic-bezier(.4,0,.2,1),z-index 0s .32s; }
.wax-seal { position:absolute; z-index:6; top:107px; left:calc(50% - 29px); width:58px; height:58px; border-radius:50%; background:var(--primary); box-shadow:inset 0 0 0 4px #ffffff12,0 3px 5px #0002; display:grid; place-items:center; transition:opacity .2s,transform .3s; }
.wax-seal .ridge-mark { width:31px; color:var(--primary-ink); }
.envelope-address { position:absolute; z-index:4; bottom:29px; left:0; right:0; font:italic 1.1875rem var(--display); color:var(--primary); }
.is-open .envelope-flap { transform:rotateX(180deg); z-index:1; }
.is-open .wax-seal { opacity:0; transform:translateY(-16px) scale(.85); }
.is-open .invitation-paper { transform:translateY(-110px); opacity:1; }
.invitation-actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px; min-height:100px; margin:28px auto 0; max-width:550px; }
.invitation-reveal { flex-basis:100%; font-size:0.75rem; letter-spacing:.04em; margin:0 0 4px; color:var(--muted); }
/* Photography uses each image's own ratio, never one crop for every photo. */
.photo-grid { columns:3; column-gap:20px; }
.photo-tile { display:block; position:relative; width:100%; margin-bottom:20px; padding:0; border:0; border-radius:5px; overflow:hidden; background:var(--soft); cursor:zoom-in; break-inside:avoid; }
.photo-tile img { display:block; width:100%; height:auto; }
.photo-tile > span { display:flex; justify-content:space-between; padding:14px 16px; background:var(--surface); color:var(--muted); font-size:0.6875rem; }
.photo-tile:hover { box-shadow:0 8px 25px #1b2c211a; }
.photo-dialog { padding:16px; border:0; width:min(1200px,96vw); max-width:96vw; max-height:96svh; background:var(--surface); color:var(--ink); border-radius:8px; }
.photo-dialog::backdrop { background:#111914d9; backdrop-filter:blur(5px); }
.photo-dialog > img { display:block; width:100%; height:calc(90svh - 150px); object-fit:contain; }
.photo-dialog-bar,.photo-dialog-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:0.75rem; }
.photo-dialog-bottom p { text-align:center; line-height:1.6; }
@container (max-width: 760px) {
  .landing-masthead { padding:18px 20px; font-size:0.5rem; letter-spacing:.12em; }
  .landing-composition,.landing-bigsky .landing-composition { display:flex; flex-direction:column; gap:0; padding:0 20px 35px; }
  .landing-photo-wrap { width:calc(100% + 40px); height:340px; min-height:0; margin:0 -20px; }
  .landing-photo { border-radius:0; object-position:50% 54% !important; }
  .landing-alpine .landing-photo-wrap { height:390px; }
  .landing-alpine .landing-photo { object-position:50% 59% !important; }
  .landing-bigsky .landing-photo-wrap { height:390px; }
  .landing-bigsky .landing-photo { object-position:50% 35% !important; }
  .photo-caption { display:none; }
  .landing-intro { padding-top:30px; width:100%; }
  .landing-intro > .ridge-mark { width:54px; margin-bottom:10px; }
  .landing-intro h1 { font-size:clamp(2.75rem,calc(11cqw * var(--text-scale,1)),4.25rem); margin:14px 0 18px; }
  .landing-date { font-size:0.6875rem; }
  .landing-date span { padding:0 2px; }
  .landing-copy { font-size:0.875rem; }
  .landing-copy.secondary { font-size:0.75rem; }
  .fine-rule { margin:22px auto; }
  .entry-field .button { padding:12px 15px; }
  .landing-footer { flex-direction:column; align-items:center; gap:12px; padding:24px 20px; }
  .landing-golden .landing-photo-wrap { height:300px; margin:0; width:100%; }
  .landing-golden .landing-intro { padding:28px 18px; width:calc(100% - 28px); margin-top:-30px; }
  .landing-golden .landing-intro h1 { font-size:clamp(2.5rem,calc(10cqw * var(--text-scale,1)),4rem); }
  .site-brand-row { padding:16px 18px; gap:12px; flex-wrap:wrap; }
  .site-brand { gap:10px; }
  .site-brand .ridge-mark { width:35px; }
  .site-brand .couple-names { font-size:1.4375rem; }
  .header-date,.header-rsvp { display:none; }
  .mobile-menu { display:inline-flex; margin-left:auto; min-height:44px; padding:10px 14px; font-size:0.75rem; }
  .site-navigation { display:none; }
  .site-navigation.expanded { display:grid; grid-template-columns:1fr 1fr; padding:12px 18px; gap:0 16px; }
  .site-navigation button { text-align:left; font-size:0.8125rem; }
  .ui-card { padding:20px !important; }
  .ui-card-link { padding:22px 44px 22px 20px !important; }
  .event-row { padding:18px !important; }
  .page-wrap { padding:34px 20px; }
  .photo-grid { columns:2; column-gap:10px; }
  .photo-tile { margin-bottom:10px; }
  .photo-tile > span { font-size:0.5625rem; padding:10px; }
  .invitation { padding:32px 18px 36px; }
  .invitation-heading h1 { font-size:2.125rem; }
  .invitation-heading > p:last-child { max-width:280px; margin:12px auto; }
  .envelope-stage { height:260px; margin-top:10px; }
  .is-open .envelope-stage { height:390px; }
  .envelope { height:200px; top:190px; }
  .envelope-flap { height:110px; }
  .wax-seal { top:80px; width:52px; height:52px; left:calc(50% - 26px); }
  .invitation-paper { height:265px; padding:20px 12px; }
  .invitation-paper .ridge-mark { width:38px; }
  .paper-names { font-size:1.8125rem; }
  .paper-foot { font-size:0.6875rem; }
  .is-open .invitation-paper { transform:translateY(-95px); }
  .envelope-address { bottom:24px; font-size:1.0625rem; }
  .invitation-actions { margin-top:22px; }
  .photo-dialog { padding:10px; }
}
@media (max-width: 759px) {
  .prototype-toolbar { position: relative; padding: 10px 12px; }
  .prototype-toolbar details { margin-left: 0; }
  .site-nav { flex-wrap: nowrap !important; }
  .site-nav button { flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* One content model, three deliberately different visual systems. */
main { --corner: 18px; --page-width: 1200px; --section-gap: 88px; }
.editorial-page { width: min(100%,var(--page-width)); padding: 60px 40px 20px; margin: auto; }
.line-icon { width: 32px; height: 32px; flex-shrink: 0; }
.button .line-icon,.editorial-link .line-icon { width: 18px; height: 18px; }
.editorial-page h1,.ceremony-intro h1,.event-intro h1 { font:500 clamp(2.75rem,calc(5.5cqw * var(--text-scale,1)),4.75rem)/1.04 var(--display); letter-spacing:-.035em; margin:14px 0 24px; }
.editorial-page h2 { font:500 clamp(1.75rem,calc(3.2cqw * var(--text-scale,1)),2.75rem)/1.12 var(--display); letter-spacing:-.025em; }
.editorial-page h3 { font:500 1.5625rem/1.2 var(--display); }
.editorial-page p,.event-intro p,.ceremony-intro p { line-height:1.75; }
.editorial-page em,.ceremony-intro em { font-weight:400; color:var(--primary); }
.section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:32px; padding-bottom:40px; margin-bottom:36px; border-bottom:1px solid var(--line); }
.section-intro { color:var(--muted); max-width:530px; font-size:1rem; margin:0; }
.editorial-link { display:inline-flex; justify-content:space-between; align-items:center; gap:28px; padding:14px 0; border:0; border-bottom:1px solid var(--primary); background:none; color:var(--primary); font:600 0.8125rem var(--body); cursor:pointer; text-align:left; min-height:44px; }
.status-badge { display:inline-block; width:fit-content; padding:8px 12px; border:1px solid var(--line); border-radius:30px; color:var(--muted); font:500 0.6875rem/1.3 var(--body); letter-spacing:.02em; }
.status-badge.confirmed { color:var(--primary); background:var(--soft); border-color:transparent; }
.quiet-note { font-size:0.75rem; line-height:1.7; color:var(--muted); }
.index-number { font:400 0.8125rem var(--body); letter-spacing:.12em; color:var(--muted); }
.chapter-heading h2 { font-size:clamp(2.25rem,calc(4cqw * var(--text-scale,1)),3.5rem); margin:14px 0 22px; }
.chapter-heading > p:not(.eyebrow) { max-width:300px; color:var(--muted); font-size:0.875rem; }
.image-label { position:absolute; bottom:22px; left:22px; background:var(--surface); padding:10px 16px; font:italic 0.9375rem var(--display); color:var(--ink); }
/* Welcome and editorial wayfinding. */
.welcome-feature { position:relative; display:grid; grid-template-columns:1fr 1.08fr; min-height:490px; }
.welcome-copy { padding:50px 44px 50px 0; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.welcome-copy h1 { font-size:clamp(2.75rem,calc(4.8cqw * var(--text-scale,1)),4.125rem); }
.welcome-copy p:not(.eyebrow) { color:var(--muted); margin:0 0 26px; font-size:0.9375rem; }
.welcome-photo { min-height:460px; position:relative; }
.welcome-photo > img { width:100%; height:100%; position:absolute; object-fit:cover; object-position:50% 55% !important; border-radius:var(--corner) var(--corner) 0 0; }
.welcome-stamp { position:absolute; right:20px; top:20px; width:120px; height:120px; padding:18px 12px; gap:8px; border-radius:50%; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; background:var(--surface); color:var(--primary); font:1.625rem/1.1 var(--display); border:1px solid var(--line); transform:rotate(-8deg); }
.welcome-stamp > span { white-space:nowrap; }
.welcome-stamp small { display:flex; flex-direction:column; gap:5px; font:0.5rem/1.3 var(--body); letter-spacing:.08em; }
.welcome-stamp small span { white-space:nowrap; }
.weekend-index { display:flex; align-items:center; gap:22px; justify-content:space-between; padding:24px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin:36px 0; font-size:0.75rem; color:var(--muted); }
.feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.feature-card { display:flex; flex-direction:column; align-items:stretch; text-align:left; padding:28px; border:1px solid var(--line); border-radius:var(--corner); background:var(--surface); color:var(--ink); cursor:pointer; }
.feature-top { display:flex; align-items:center; justify-content:space-between; color:var(--primary); }
.feature-card h2 { margin:30px 0 12px; }
.feature-card p { font:0.875rem/1.75 var(--body); color:var(--muted); margin:0 0 24px; }
.feature-action { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:20px; border-top:1px solid var(--line); color:var(--primary); font:600 0.75rem var(--body); }
.feature-action svg { width:18px; height:18px; }
.feature-card:hover { transform:translateY(-4px); border-color:var(--primary); box-shadow:0 12px 30px #263b2110; }
.weekend-overview,.travel-planning { display:grid; grid-template-columns:.85fr 1.4fr; gap:64px; margin-top:var(--section-gap); }
.overview-day { display:grid; grid-template-columns:150px 1fr; gap:22px; border-top:1px solid var(--line); padding:22px 0; }
.overview-day > div:first-child { display:flex; flex-direction:column; gap:8px; }
.day-number { font:400 3rem/1 var(--display); color:var(--primary); letter-spacing:-.05em; }
.overview-day button { width:100%; display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:44px; background:transparent; border:0; color:var(--ink); text-align:left; padding:8px 0; font:0.875rem var(--body); cursor:pointer; }
.overview-day button:hover { color:var(--primary); text-decoration:underline; text-underline-offset:4px; }
.rsvp-ribbon { display:flex; align-items:center; gap:28px; background:var(--soft); padding:32px; border-radius:var(--corner); margin-top:var(--section-gap); }
.rsvp-ribbon > svg { width:48px; height:48px; color:var(--primary); }
.rsvp-ribbon h2 { font-size:1.875rem; margin:8px 0; }
.rsvp-ribbon p { margin:0; font-size:0.75rem; color:var(--muted); }
.rsvp-ribbon .button { margin-left:auto; flex-shrink:0; }
/* Itinerary: timeline, field-guide cards, or an editorial diary by theme. */
.date-block { flex-shrink:0; display:flex; flex-direction:column; text-align:center; gap:10px; padding:20px 26px; border:1px solid var(--line); }
.date-block > span { font-size:0.5625rem; letter-spacing:.18em; }
.date-block strong { font:500 3rem/1 var(--display); }
.schedule-toolbar { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:42px; flex-wrap:wrap; }
.segmented-tabs { display:flex; gap:6px; flex-wrap:wrap; }
.segmented-tabs button { padding:12px 18px; min-height:44px; font:600 0.75rem var(--body); cursor:pointer; border:1px solid var(--line); border-radius:30px; background:transparent; color:var(--muted); }
.segmented-tabs button[aria-pressed="true"] { background:var(--primary); color:var(--primary-ink); border-color:var(--primary); }
.filter-check { font-size:0.75rem; color:var(--muted); min-height:44px; display:flex; align-items:center; gap:9px; cursor:pointer; }
.filter-check input { width:18px; height:18px; accent-color:var(--primary); }
.itinerary-day { margin-bottom:44px; }
.day-heading { display:flex; gap:22px; align-items:center; padding:0 0 20px; }
.day-heading h2 { font-size:1.8125rem; margin:4px 0 0; }
.day-heading .eyebrow { margin:0; font-size:0.5625rem; }
.day-count { margin-left:auto; font-size:0.6875rem; color:var(--muted); }
.itinerary-events { border-left:1px solid var(--line); margin-left:23px; padding-left:28px; }
.itinerary-event { position:relative; width:100%; display:grid; grid-template-columns:140px 1fr auto 24px; align-items:center; gap:24px; text-align:left; padding:24px; margin:0 0 12px; border:1px solid var(--line); border-radius:var(--corner); background:var(--surface); color:var(--ink); cursor:pointer; }
.itinerary-event::before { content:''; position:absolute; width:7px; height:7px; background:var(--primary); border:4px solid var(--page-bg); border-radius:50%; left:-36px; top:calc(50% - 7px); }
.event-time { display:flex; gap:10px; align-items:center; color:var(--muted); font:0.75rem var(--body); }
.event-time svg { width:24px; height:24px; }
.event-summary { display:flex; flex-direction:column; gap:7px; }
.event-summary strong { font:500 1.4375rem/1.15 var(--display); }
.event-audience { font:600 0.5625rem var(--body); letter-spacing:.12em; text-transform:uppercase; color:var(--primary); }
.event-place { font:0.75rem/1.6 var(--body); color:var(--muted); }
.itinerary-event > svg { width:18px; height:18px; color:var(--primary); }
.itinerary-event:hover { border-color:var(--primary); transform:translateX(3px); }
.ceremony-highlight { background:var(--soft); border-color:var(--primary); }
.empty-note { padding:35px; background:var(--soft); border-radius:var(--corner); text-align:center; }
/* Event information becomes a set of clear decisions, not placeholder paragraphs. */
.ceremony-intro { display:grid; grid-template-columns:1.2fr .8fr; gap:40px; padding:24px 0 40px; }
.ceremony-title > p:not(.eyebrow) { color:var(--muted); font-size:0.9375rem; margin-bottom:24px; }
.ceremony-keepsake { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; text-align:center; background:var(--surface); border:1px solid var(--line); padding:30px; outline:1px solid var(--line); outline-offset:-12px; }
.ceremony-keepsake .ridge-mark { width:48px; }
.ceremony-keepsake strong { font:500 6.25rem/.9 var(--display); color:var(--primary); }
.ceremony-keepsake strong span { display:block; font:0.625rem var(--body); letter-spacing:.2em; margin-top:16px; }
.ceremony-keepsake > span:not(.eyebrow) { font:1.375rem var(--display); }
.ceremony-keepsake small { font-size:0.6875rem; color:var(--muted); }
.ceremony-facts { grid-column:1/-1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.ceremony-facts > div { display:flex; flex-direction:column; align-items:flex-start; padding:28px; border-right:1px solid var(--line); }
.ceremony-facts > div:first-child { padding-left:0; }
.ceremony-facts > div:last-child { border-right:0; }
.ceremony-facts .line-icon { color:var(--primary); margin-bottom:18px; }
.ceremony-facts h2 { font:500 1.75rem var(--display); margin:10px 0; }
.ceremony-facts p { font-size:0.8125rem; color:var(--muted); margin:0; }
.detail-disclosure { grid-column:1/-1; border-bottom:1px solid var(--line); }
.detail-disclosure summary { min-height:48px; display:flex; align-items:center; justify-content:space-between; font-size:0.8125rem; cursor:pointer; }
.detail-disclosure p { font-size:0.8125rem; color:var(--muted); }
.event-intro-layout { display:grid; grid-template-columns:1.3fr .7fr; gap:50px; margin:30px 0; }
.event-intro h1 { font-size:clamp(2.25rem,calc(5cqw * var(--text-scale,1)),4rem); }
.event-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:30px 0; padding:24px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.event-detail-grid > div { display:flex; flex-direction:column; gap:12px; }
.event-detail-grid svg { color:var(--primary); }
.event-detail-grid p { margin:0; font-size:0.875rem; color:var(--muted); }
.event-illustration { min-height:320px; background:var(--soft); display:flex; align-items:center; justify-content:center; text-align:center; flex-direction:column; border-radius:var(--corner); padding:24px; }
.event-illustration > svg { width:140px; height:140px; stroke-width:.5; color:var(--primary); }
.event-illustration > span { font:italic 1.875rem/1.2 var(--display); color:var(--primary); }
/* Travel and discovery. */
.travel-feature { display:grid; grid-template-columns:.9fr 1.3fr; min-height:430px; gap:24px; }
.airport-card { background:var(--primary); color:var(--primary-ink); padding:36px; display:flex; flex-direction:column; align-items:flex-start; }
.airport-card .eyebrow { color:inherit; opacity:.85; margin-top:25px; }
.airport-card > strong { font:500 5.875rem/1 var(--display); letter-spacing:-.04em; }
.airport-card h2 { font-size:1.625rem; margin:15px 0 0; }
.airport-card p:not(.eyebrow) { font-size:0.8125rem; max-width:300px; }
.ticket-bottom { display:flex; justify-content:space-between; width:100%; gap:15px; border-top:1px dashed currentColor; margin-top:auto; padding-top:22px; font-size:0.5625rem; letter-spacing:.1em; }
.travel-photo { width:100%; height:460px; object-fit:cover; object-position:50% 58% !important; border-radius:var(--corner); }
.hotel-card { display:flex; align-items:center; gap:24px; padding:28px 0; border-top:1px solid var(--line); }
.hotel-card h3 { margin:0 0 7px; }
.hotel-card p { margin:0 0 12px; font-size:0.75rem; color:var(--muted); }
.hotel-card > svg { margin-left:auto; color:var(--primary); }
.planning-note { display:flex; align-items:center; gap:24px; background:var(--soft); border-radius:var(--corner); padding:28px; margin-top:45px; }
.planning-note h3 { margin:0 0 8px; }
.planning-note p { margin:0; font-size:0.8125rem; color:var(--muted); max-width:700px; }
.explore-page .section-heading { text-align:left; padding-bottom:24px; margin-bottom:20px; }
.explore-page .section-heading h1 { font-size:clamp(2.5rem,calc(5cqw * var(--text-scale,1)),4rem); }
.explore-update { font-size:0.8125rem; color:var(--muted); margin:0 0 24px; }
.explore-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; align-items:start; }
.explore-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--corner); overflow:hidden; }
.explore-card-body { padding:22px; }
.explore-card-heading { display:flex; align-items:center; gap:12px; }
.explore-card-heading .line-icon { width:24px; height:24px; color:var(--primary); flex-shrink:0; }
.explore-card h2 { font-size:1.6875rem; margin:0; }
.explore-summary { font-size:0.875rem; color:var(--muted); margin:12px 0; min-height:42px; }
.explore-card ul { margin:0 0 24px; padding-left:18px; font-size:0.8125rem; line-height:1.9; }
.explore-card details { border-top:1px solid var(--line); padding-top:15px; }
.explore-card summary { display:flex; justify-content:space-between; gap:10px; cursor:pointer; font-size:0.8125rem; font-weight:600; color:var(--primary); min-height:32px; align-items:center; list-style:none; }
.explore-card summary::-webkit-details-marker { display:none; }
.explore-card summary span { transition:transform .2s ease; }
.explore-card details[open] summary span { transform:rotate(45deg); }
.explore-card details p { font-size:0.875rem; color:var(--muted); line-height:1.75; margin:14px 0 0; }
.explore-schedule { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; margin-top:36px; padding:26px 0; border-top:1px solid var(--line); }
.explore-schedule h2 { font-size:1.5625rem; margin:0 0 8px; }
.explore-schedule p { color:var(--muted); font-size:0.875rem; margin:0; }
@container (max-width:1100px) { .explore-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@container (max-width:560px) {
  .explore-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .explore-card-body { padding:15px; }
  .explore-card-heading { flex-direction:column; align-items:flex-start; gap:10px; }
  .explore-card h2 { font-size:1.4375rem; }
  .explore-card ul { font-size:0.75rem; }
  .explore-summary { min-height:0; margin:8px 0; }
  .explore-card ul { margin-bottom:12px; }
}
.explore-feature { display:grid; grid-template-columns:1.2fr 1fr; gap:56px; align-items:center; margin-top:32px; }
.explore-photo { width:100%; height:510px; object-fit:cover; border-radius:var(--corner); }
.explore-feature > div { display:flex; flex-direction:column; align-items:flex-start; }
.explore-feature > div > svg { color:var(--primary); margin-bottom:24px; }
.explore-feature h2 { font-size:2.875rem; margin:18px 0; }
.explore-feature p { color:var(--muted); font-size:0.9375rem; }
.explore-feature .editorial-link { margin-top:28px; }
/* Letters, stories and useful answers. */
.gifts-page { display:grid; grid-template-columns:1.2fr .8fr; gap:70px; align-items:center; }
.gift-letter { padding:44px; border:1px solid var(--line); background:var(--surface); text-align:center; }
.gift-letter > p:not(.eyebrow) { max-width:400px; margin:20px auto; color:var(--muted); font-size:0.9375rem; }
.gift-letter .ridge-mark { width:56px; margin-bottom:25px; }
.gift-signature { font:italic 1.625rem var(--display); margin-top:35px; color:var(--primary); }
.gift-options article { border-top:1px solid var(--line); padding:28px 0; }
.gift-options svg { color:var(--primary); }
.gift-options h2 { font-size:1.75rem; }
.gift-options p { color:var(--muted); font-size:0.875rem; }
.search-field { display:flex; flex-direction:column; gap:12px; max-width:500px; margin-bottom:40px; }
.search-field input { padding:16px 18px; border:1px solid var(--line); background:var(--surface); color:var(--ink); font:0.875rem var(--body); border-radius:var(--corner); min-height:48px; }
.faq-layout { display:grid; grid-template-columns:.7fr 1.3fr; gap:70px; }
.faq-layout aside { padding:30px; background:var(--soft); align-self:start; border-radius:var(--corner); }
.faq-layout aside h2 { font-size:1.875rem; }
.faq-layout aside p { color:var(--muted); font-size:0.8125rem; }
.faq-item { border-top:1px solid var(--line); }
.faq-item > button { width:100%; min-height:72px; display:flex; align-items:center; gap:20px; background:none; border:0; color:var(--ink); padding:16px 0; cursor:pointer; text-align:left; font:600 0.9375rem var(--body); }
.faq-number { font:0.6875rem var(--body); color:var(--muted); }
.faq-symbol { margin-left:auto; font-size:1.5rem; font-weight:400; color:var(--primary); }
.faq-item > p { margin:0; padding:0 10px 24px 36px; font-size:0.875rem; color:var(--muted); }
.story-spread { display:grid; grid-template-columns:.9fr 1.1fr; gap:64px; align-items:start; }
.story-portrait { position:relative; margin:0; padding:12px 12px 0; background:var(--surface); border:1px solid var(--line); }
.story-portrait img { display:block; width:100%; height:auto; border-radius:var(--corner); }
.story-caption { display:block; position:static; padding:18px 8px; text-align:center; color:var(--muted); font:italic 1.125rem/1.4 var(--display); }
.story-column .segmented-tabs { margin-bottom:34px; }
.story-column h2 { font-size:2.375rem; }
.story-column p { font-size:0.9375rem; color:var(--muted); }
.story-opening::first-letter { font:4.25rem/.8 var(--display); float:left; margin:8px 10px 2px 0; color:var(--primary); }
.story-divider { display:flex; justify-content:center; color:var(--primary); border-top:1px solid var(--line); padding-top:25px; margin:32px 0; }
.story-end { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; margin-top:70px; }
.story-end img { display:block; width:100%; height:auto; border-radius:var(--corner); }
.story-end blockquote { font:italic 2.875rem/1.2 var(--display); color:var(--primary); margin:0; }
.story-end cite { display:block; font:0.6875rem var(--body); letter-spacing:.14em; text-transform:uppercase; margin-top:25px; }
.guestbook-layout { display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:start; }
.note-form { padding:36px; background:var(--surface); border:1px solid var(--line); border-radius:var(--corner); }
.note-form > svg { color:var(--primary); }
.note-form h2 { font-size:2rem; }
.note-form label { display:block; font-size:0.75rem; margin:22px 0 9px; }
.note-form input,.note-form textarea { width:100%; padding:12px; background:var(--page-bg); color:var(--ink); border:1px solid var(--line); border-radius:5px; font:1rem/1.6 var(--body); }
.note-form .button { margin-top:25px; }
.guest-note { padding:30px; margin-bottom:22px; background:var(--soft); border-radius:var(--corner); }
.quote-mark { display:block; font:4.375rem/.8 var(--display); color:var(--primary); }
.guest-note > p { font:400 1.5625rem/1.4 var(--display); margin:12px 0 25px; }
.guest-note footer { display:flex; justify-content:space-between; gap:16px; font-size:0.6875rem; color:var(--muted); }
/* Alpine meadow: botanical stationery, breathing room and a vertical itinerary. */
[data-theme="alpine"] { --corner:22px; --section-gap:96px; }
[data-theme="alpine"] .section-heading { text-align:center; justify-content:center; position:relative; padding-bottom:46px; }
[data-theme="alpine"] .section-heading .section-intro { margin:auto; }
[data-theme="alpine"] .section-heading .date-block { position:absolute; right:0; bottom:40px; border:0; padding:12px; }
[data-theme="alpine"] .schedule-page .section-heading { padding-right:150px; }
[data-theme="alpine"] .welcome-photo > img { border-radius:45% 45% 4px 4px; }
[data-theme="alpine"] .airport-card { border-radius:70px 4px 70px 4px; }
[data-theme="alpine"] .feature-card:nth-child(2) { background:var(--soft); }
[data-theme="alpine"] .gift-letter { outline:1px solid var(--line); outline-offset:-12px; }
/* Big sky: a contemporary expedition guide, strong sans type and modular grids. */
[data-theme="bigsky"] { --corner:2px; --section-gap:64px; --page-width:1320px; }
[data-theme="bigsky"] .editorial-page { padding-top:40px; }
[data-theme="bigsky"] .editorial-page h1,[data-theme="bigsky"] .ceremony-intro h1 { font-weight:600; letter-spacing:-.055em; }
[data-theme="bigsky"] .editorial-page em,[data-theme="bigsky"] .ceremony-intro em { font-style:normal; font-weight:600; }
[data-theme="bigsky"] .eyebrow { font-family:'Space Grotesk',sans-serif; font-weight:600; letter-spacing:.12em; }
[data-theme="bigsky"] .site-brand-row { max-width:1320px; }
[data-theme="bigsky"] .site-navigation { background:var(--primary); gap:4px 16px; padding-top:4px; padding-bottom:4px; }
[data-theme="bigsky"] .site-navigation button { color:#fff; border-radius:2px; padding:10px 12px; }
[data-theme="bigsky"] .site-navigation button[aria-current="page"] { background:#fff; color:var(--primary); }
[data-theme="bigsky"] .welcome-feature { background:var(--primary); color:#fff; grid-template-columns:1.1fr 1fr; }
[data-theme="bigsky"] .welcome-copy { padding:46px; }
[data-theme="bigsky"] .welcome-copy .eyebrow,[data-theme="bigsky"] .welcome-copy p,[data-theme="bigsky"] .welcome-copy em { color:#e1ebf6; }
[data-theme="bigsky"] .welcome-copy .button { background:#fff; color:var(--primary); }
[data-theme="bigsky"] .welcome-photo > img { border-radius:0; }
[data-theme="bigsky"] .welcome-stamp { left:auto; top:22px; right:22px; border-radius:0; transform:none; }
[data-theme="bigsky"] .feature-grid { gap:0; }
[data-theme="bigsky"] .feature-card { border-radius:0; border-right:0; padding:30px; }
[data-theme="bigsky"] .feature-card:last-child { border-right:1px solid var(--line); }
[data-theme="bigsky"] .index-number { font:500 2.1875rem 'Space Grotesk',sans-serif; letter-spacing:-.06em; }
[data-theme="bigsky"] .feature-card h2 { font-size:1.875rem; font-weight:600; }
[data-theme="bigsky"] .segmented-tabs { gap:0; }
[data-theme="bigsky"] .segmented-tabs button { border-radius:0; }
[data-theme="bigsky"] .day-heading { border-top:2px solid var(--primary); padding-top:22px; }
[data-theme="bigsky"] .itinerary-events { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:0; border:0; padding:0; }
[data-theme="bigsky"] .itinerary-event { display:flex; flex-direction:column; align-items:flex-start; gap:22px; padding:24px; margin:0; min-height:270px; }
[data-theme="bigsky"] .itinerary-event::before { display:none; }
[data-theme="bigsky"] .event-summary strong { font-size:1.4375rem; font-weight:600; }
[data-theme="bigsky"] .itinerary-event .status-badge { margin-top:auto; }
[data-theme="bigsky"] .itinerary-event > svg { position:absolute; right:22px; bottom:24px; }
[data-theme="bigsky"] .itinerary-event:hover { transform:translateY(-3px); box-shadow:4px 4px 0 var(--line); }
[data-theme="bigsky"] .status-badge { border-radius:2px; }
[data-theme="bigsky"] .photo-grid { columns:auto; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
[data-theme="bigsky"] .photo-tile { margin:0; border-radius:0; }
[data-theme="bigsky"] .photo-tile img { aspect-ratio:1; object-fit:cover; }
[data-theme="bigsky"] .photo-tile:nth-child(5n+1) { grid-column:span 2; }
[data-theme="bigsky"] .photo-tile:nth-child(5n+1) img { aspect-ratio:2.06; }
[data-theme="bigsky"] .ceremony-keepsake { background:var(--primary); color:#fff; outline-color:#ffffff55; }
[data-theme="bigsky"] .ceremony-keepsake :is(strong,.ridge-mark,.eyebrow,small) { color:#fff; }
[data-theme="bigsky"] :is(.ui-card,.ui-card-link,.event-row,.ui-input,.ui-primary,.ui-secondary) { border-radius:2px !important; }
[data-theme="bigsky"] .ui-card { box-shadow:4px 4px 0 var(--line); }
[data-theme="bigsky"] .button { border-radius:2px; }
[data-theme="bigsky"] .guest-note { border-left:4px solid var(--primary); }
/* Golden hour: a warm travel journal, asymmetry, generous serif and paper details. */
[data-theme="golden"] { --corner:5px; --section-gap:90px; --page-width:1120px; }
[data-theme="golden"] .section-heading { border-bottom:2px solid var(--primary); padding-top:18px; }
[data-theme="golden"] .section-heading h1 { font-size:clamp(2.875rem,calc(5.8cqw * var(--text-scale,1)),4.875rem); }
[data-theme="golden"] .section-heading .eyebrow { display:inline-block; border:1px solid var(--primary); padding:6px 10px; color:var(--primary); }
[data-theme="golden"] .site-brand-row { flex-wrap:wrap; justify-content:center; padding:28px 32px; }
[data-theme="golden"] .site-brand { flex-direction:column; gap:10px; }
[data-theme="golden"] .site-brand .ridge-mark { width:42px; }
[data-theme="golden"] .site-brand .couple-names { font-size:2.25rem; }
[data-theme="golden"] .header-date { position:absolute; left:32px; max-width:160px; line-height:1.8; }
[data-theme="golden"] .header-rsvp { position:absolute; right:32px; }
[data-theme="golden"] .site-navigation { border-top:0; padding-bottom:12px; }
[data-theme="golden"] .site-navigation button[aria-current="page"] { background:var(--soft); border-radius:30px; border-bottom-color:transparent; }
[data-theme="golden"] .welcome-feature { grid-template-columns:1.05fr .95fr; gap:35px; }
[data-theme="golden"] .welcome-photo { transform:rotate(2deg); margin:25px 0; padding:12px; background:#fff; box-shadow:0 10px 30px #462a1612; }
[data-theme="golden"] .welcome-photo img { width:calc(100% - 24px); height:calc(100% - 55px); inset:12px; border-radius:0; }
[data-theme="golden"] .image-label { bottom:6px; background:none; left:12px; right:12px; text-align:center; }
[data-theme="golden"] .welcome-stamp { background:var(--primary); color:var(--primary-ink); border:3px double var(--surface); top:auto; bottom:48px; right:20px; left:auto; }
[data-theme="golden"] .feature-grid { grid-template-columns:1.2fr 1fr 1fr; }
[data-theme="golden"] .feature-card { border:0; border-top:2px solid var(--primary); border-radius:0; background:transparent; padding:25px 20px; }
[data-theme="golden"] .feature-card:first-child { background:var(--soft); }
[data-theme="golden"] .feature-top > svg { width:46px; height:46px; }
[data-theme="golden"] .feature-card h2 { font-size:2rem; }
[data-theme="golden"] .itinerary-day { display:grid; grid-template-columns:180px 1fr; gap:35px; border-top:1px solid var(--line); padding-top:28px; }
[data-theme="golden"] .day-heading { align-items:flex-start; flex-direction:column; gap:12px; }
[data-theme="golden"] .day-heading .day-number { font-size:4.6875rem; }
[data-theme="golden"] .day-count { margin:0; }
[data-theme="golden"] .itinerary-events { border:0; padding:0; margin:0; }
[data-theme="golden"] .itinerary-event { border:0; border-bottom:1px solid var(--line); border-radius:0; background:none; padding:22px 0; grid-template-columns:1fr auto 20px; gap:16px; }
[data-theme="golden"] .itinerary-event::before { display:none; }
[data-theme="golden"] .event-time { grid-column:1/-1; }
[data-theme="golden"] .event-summary strong { font-size:1.625rem; }
[data-theme="golden"] .photo-tile { padding:10px; background:var(--surface); box-shadow:0 4px 12px #432a1410; }
[data-theme="golden"] .photo-tile:nth-child(3n+1) { transform:rotate(-1deg); }
[data-theme="golden"] .photo-tile:nth-child(3n+2) { transform:rotate(1deg); }
[data-theme="golden"] .photo-tile > span { padding:14px 4px 5px; font:italic 0.875rem var(--display); }
[data-theme="golden"] .note-form { transform:rotate(-.6deg); box-shadow:8px 8px 0 var(--soft); border-radius:0; }
[data-theme="golden"] .guest-note { background:var(--surface); border:1px solid var(--line); border-radius:0; }
[data-theme="golden"] .guest-note:nth-child(2n) { transform:rotate(1deg); }
[data-theme="golden"] .guest-note > p { font-size:1.6875rem; }
[data-theme="golden"] .gift-letter { border:3px double var(--line); transform:rotate(-1deg); }
[data-theme="golden"] .button { border-radius:30px; }
[data-theme="golden"] .ui-card { border-radius:4px !important; box-shadow:6px 6px 0 var(--soft); }
/* Larger invitation: sized to the available width AND height; paper proportions scale together. */
.invitation { padding:34px 20px 40px; min-height:calc(100svh - 86px); }
.invitation-heading h1 { font-size:clamp(2.125rem,calc(4cqw * var(--text-scale,1)),3.75rem); }
.envelope-stage { container-type:inline-size; width:min(740px,94%,calc(88svh - 230px)); min-width:280px; height:auto; aspect-ratio:1.8; margin:20px auto 0; transition:aspect-ratio .85s ease; }
.envelope { top:auto; bottom:0; height:52cqw; transform:none; }
.is-open .envelope-stage { height:auto; aspect-ratio:.91; }
.envelope-flap { height:30cqw; }
.invitation-paper { height:60cqw; bottom:4cqw; padding:4.4cqw 4cqw; transform:translateY(5cqw); }
.is-open .invitation-paper { transform:translateY(-44cqw); }
.invitation-paper::before { inset:2cqw; }
.invitation-paper .ridge-mark { width:10cqw; margin-bottom:1.8cqw; }
.paper-eyebrow { font-size:1.65cqw; margin-bottom:2cqw; }
.paper-names { font-size:7.5cqw; }
.paper-rule { margin:2.8cqw auto; width:8cqw; }
.paper-date { font-size:3.8cqw; margin-bottom:1cqw; }
.paper-place { font-size:2.15cqw; }
.paper-foot { font-size:2.5cqw; margin-top:3.6cqw; }
.wax-seal { top:23cqw; width:12cqw; height:12cqw; left:44%; }
.wax-seal .ridge-mark { width:6.6cqw; }
.envelope-address { bottom:6cqw; font-size:4cqw; }
.invitation-actions { margin-top:25px; min-height:64px; }
[data-theme="bigsky"] .invitation-paper { outline:2px solid var(--primary); outline-offset:-14px; }
[data-theme="bigsky"] .envelope-address { font:500 3.5cqw var(--display); }
[data-theme="golden"] .invitation-paper { border:3px double var(--line); }
@container (max-width: 900px) {
  .editorial-page { padding:35px 24px 10px; }
  .feature-grid { gap:12px; }
  .feature-card { padding:20px; }
  .itinerary-event { grid-template-columns:100px 1fr auto; gap:15px; padding:20px; }
  .itinerary-event > svg { display:none; }
  .weekend-overview,.travel-planning,.story-spread,.faq-layout { gap:35px; }
  [data-theme="bigsky"] .itinerary-events { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gifts-page { gap:35px; }
  .gift-letter { padding:30px; }
}
@container (max-width: 760px) {
  main { --section-gap:48px; }
  .editorial-page { padding:30px 20px 0; }
  .editorial-page h1,.event-intro h1,.ceremony-intro h1,[data-theme="golden"] .section-heading h1 { font-size:clamp(2.25rem,calc(10cqw * var(--text-scale,1)),3.25rem); }
  .section-heading { display:block; padding-bottom:26px; margin-bottom:26px; }
  .section-intro { font-size:0.875rem; }
  .welcome-feature,[data-theme="bigsky"] .welcome-feature,[data-theme="golden"] .welcome-feature { display:flex; flex-direction:column; gap:0; }
  .welcome-copy { padding:15px 0 30px; }
  .welcome-copy h1 { font-size:2.625rem; }
  .welcome-photo { min-height:320px; }
  .welcome-stamp { left:auto; right:15px; top:auto; bottom:20px; }
  .weekend-index { align-items:flex-start; flex-direction:column; gap:10px; margin:26px 0; }
  .feature-grid,[data-theme="golden"] .feature-grid { grid-template-columns:1fr; }
  .feature-card { padding:24px; }
  .feature-card h2 { margin:18px 0 10px; font-size:1.875rem; }
  .feature-card p { margin-bottom:18px; }
  .feature-action { padding-top:16px; }
  .weekend-overview,.travel-planning,.story-spread,.story-end,.faq-layout,.gifts-page,.guestbook-layout { grid-template-columns:1fr; gap:28px; margin-top:45px; }
  .gifts-page,.guestbook-layout,.story-spread,.faq-layout { margin-top:0; }
  .chapter-heading h2 { font-size:2.375rem; }
  .overview-day { grid-template-columns:95px 1fr; gap:18px; }
  .overview-day .eyebrow { font-size:0.5625rem; }
  .overview-day button { font-size:0.8125rem; }
  .rsvp-ribbon { flex-wrap:wrap; padding:24px; gap:18px; margin-top:40px; }
  .rsvp-ribbon > svg { width:30px; height:30px; }
  .rsvp-ribbon h2 { font-size:1.75rem; }
  .rsvp-ribbon .button { margin:5px 0 0; width:100%; }
  .date-block { display:none; }
  [data-theme="alpine"] .schedule-page .section-heading { padding-right:0; }
  .schedule-toolbar { gap:12px; margin-bottom:25px; }
  .segmented-tabs { gap:5px; }
  .segmented-tabs button { padding:10px 13px; font-size:0.6875rem; }
  .itinerary-events { margin-left:13px; padding-left:18px; }
  .itinerary-event { display:flex; flex-direction:column; align-items:flex-start; gap:13px; padding:18px; }
  .itinerary-event::before { left:-26px; }
  .event-time { font-size:0.6875rem; }
  .event-summary strong { font-size:1.4375rem; }
  .event-place { font-size:0.6875rem; }
  .day-heading { gap:16px; }
  .day-heading h2 { font-size:1.5625rem; }
  .day-number { font-size:2.625rem; }
  .day-count { font-size:0.625rem; }
  .ceremony-intro { grid-template-columns:1fr; gap:28px; padding-top:10px; }
  .ceremony-keepsake { padding:28px; }
  .ceremony-facts { grid-template-columns:1fr; }
  .ceremony-facts > div,.ceremony-facts > div:first-child { padding:24px 0; border-right:0; border-bottom:1px solid var(--line); }
  .ceremony-facts > div:last-child { border-bottom:0; }
  .ceremony-facts h2 { font-size:1.625rem; }
  .event-intro-layout { grid-template-columns:1fr; gap:28px; margin-top:20px; }
  .event-illustration { min-height:200px; }
  .event-illustration > svg { width:90px; height:90px; }
  .event-detail-grid { gap:20px; }
  .event-detail-grid p { font-size:0.8125rem; }
  .travel-feature,.explore-feature { grid-template-columns:1fr; gap:24px; }
  .airport-card { padding:28px; }
  .travel-photo { height:340px; }
  .hotel-card { gap:16px; padding:24px 0; }
  .hotel-card h3 { font-size:1.5625rem; }
  .planning-note { padding:23px; align-items:flex-start; gap:16px; }
  .planning-note > svg { width:25px; height:25px; }
  .explore-photo { height:330px; }
  .explore-feature h2 { font-size:2.25rem; }
  .gift-letter { padding:30px 24px; }
  .faq-layout aside { display:none; }
  .faq-item > button { font-size:0.875rem; gap:14px; }
  .faq-item > p { padding-left:30px; }
  .story-portrait { position:relative; top:auto; }
  .story-column h2 { font-size:2.0625rem; }
  .story-end blockquote { font-size:2.25rem; }
  .note-form,.guest-note { padding:24px; }
  [data-theme="bigsky"] .welcome-copy { padding:28px 24px; }
  [data-theme="bigsky"] .welcome-stamp { top:auto; bottom:18px; }
  [data-theme="bigsky"] .feature-card { border-right:1px solid var(--line); border-bottom:0; }
  [data-theme="bigsky"] .feature-card:last-child { border-bottom:1px solid var(--line); }
  [data-theme="bigsky"] .itinerary-events { grid-template-columns:1fr; }
  [data-theme="bigsky"] .itinerary-event { min-height:230px; }
  [data-theme="bigsky"] .photo-grid { grid-template-columns:1fr 1fr; gap:10px; }
  [data-theme="golden"] .site-brand-row { flex-direction:row; justify-content:space-between; padding:18px; }
  [data-theme="golden"] .site-brand { flex-direction:row; }
  [data-theme="golden"] .site-brand .ridge-mark { width:32px; }
  [data-theme="golden"] .site-brand .couple-names { font-size:1.4375rem; }
  [data-theme="golden"] .welcome-photo { margin:8px 5px 15px; }
  [data-theme="golden"] .welcome-stamp { right:0; left:auto; bottom:0; }
  [data-theme="golden"] .itinerary-day { grid-template-columns:1fr; gap:12px; }
  [data-theme="golden"] .day-heading { flex-direction:row; align-items:center; }
  [data-theme="golden"] .day-heading .day-number { font-size:3.4375rem; }
  [data-theme="golden"] .day-count { margin-left:auto; }
  [data-theme="golden"] .itinerary-event { display:flex; padding:22px 0; gap:13px; }
  [data-theme="golden"] .photo-tile { padding:5px; }
  [data-theme="golden"] .photo-tile > span { font-size:0.6875rem; }
  .invitation { padding:28px 12px; }
  .envelope-stage { width:100%; min-width:0; max-width:520px; margin-top:25px; }
  .invitation-heading h1 { font-size:clamp(1.875rem,calc(8.5cqw * var(--text-scale,1)),2.625rem); }
  .invitation-actions { gap:8px; }
  .invitation-actions .button { min-height:48px; }
}
.theme-direction { margin:8px 0 0; font-size:0.75rem; line-height:1.5; color:#536158; max-width:760px; }
/* Quiet atmospheric details, always behind readable content. */
main[data-theme="alpine"] { background-image:radial-gradient(ellipse at 0 20%,#78947510,transparent 55%),url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' opacity='.035' filter='url(%23grain)' d='M0 0h180v180H0z'/%3E%3C/svg%3E") !important; }
main[data-theme="golden"] { background-image:radial-gradient(ellipse at 100% 0,#d9aa7020,transparent 55%),repeating-linear-gradient(0deg,#9d755404 0 1px,transparent 1px 4px) !important; }
main[data-theme="bigsky"] { background-image:url("data:image/svg+xml,%3Csvg width='700' height='700' viewBox='0 0 700 700' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%231d3557' opacity='.035'%3E%3Cellipse cx='680' cy='320' rx='220' ry='290'/%3E%3Cellipse cx='680' cy='320' rx='250' ry='320'/%3E%3Cellipse cx='680' cy='320' rx='280' ry='350'/%3E%3Cellipse cx='680' cy='320' rx='310' ry='380'/%3E%3Cellipse cx='680' cy='320' rx='340' ry='410'/%3E%3C/g%3E%3C/svg%3E") !important; background-repeat:repeat-y !important; background-position:right top !important; }
.invitation { background:transparent; }
.mountain-landscape { display:block; width:100%; height:clamp(155px,20cqw,310px); margin-top:16px; }
.weekend-footer { position:relative; }
.footer-monogram { position:relative; z-index:1; }
@keyframes page-arrive { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
@keyframes viewer-arrive { from { opacity:0; transform:translateY(6px) scale(.985); } to { opacity:1; transform:none; } }
.editorial-page,.gallery-page,.ceremony-intro,.event-intro { animation:page-arrive .48s cubic-bezier(.22,1,.36,1) both; }
.photo-dialog[open] { animation:viewer-arrive .28s cubic-bezier(.22,1,.36,1) both; }
.photo-dialog::backdrop { background:#142017c9; backdrop-filter:blur(5px); }
.photo-dialog > img { animation:page-arrive .25s ease-out both; }
main button { transition:background-color .24s ease,color .24s ease,border-color .24s ease,box-shadow .32s ease,transform .32s cubic-bezier(.22,1,.36,1); }
.feature-card,.itinerary-event,.photo-tile { transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s ease,border-color .25s ease; }
.editorial-link .line-icon,.feature-action .line-icon,.button .line-icon { transition:transform .3s cubic-bezier(.22,1,.36,1); }
@media (hover:hover) {
  .feature-card:hover { transform:translateY(-4px); box-shadow:0 12px 30px #2434240c; }
  .itinerary-event:hover { border-color:var(--primary); }
  .editorial-link:hover .line-icon,.feature-card:hover .feature-action .line-icon,.button:hover .line-icon { transform:translate(2px,-2px); }
  .photo-tile:hover { transform:translateY(-3px); }
}
main button:active { transform:translateY(1px); }
@media (prefers-reduced-motion:reduce) { .envelope-stage { transition:none; } }

/* Golden hour: crisp editorial letterforms with a real italic face. */
[data-theme="golden"] .ampersand { font-family:"Lora",Georgia,serif; font-weight:400; }
[data-theme="golden"] :is(h1,h2,.couple-names) { letter-spacing:-.025em; }

/* Shared, accessible task screens. Theme variables preserve each direction. */
.action-page,.account-page { max-width:1200px; margin:auto; padding:40px; }
.utility-page { max-width:740px; margin:auto; padding:48px 28px; }
.account-page .section-heading h1 { font:500 clamp(2.375rem,calc(5cqw * var(--text-scale,1)),4rem)/1.1 var(--display); letter-spacing:-.035em; margin:18px 0; }
.intro-action { display:flex; align-items:flex-start; flex-direction:column; gap:12px; margin-top:24px; }
.intro-action p { margin:0; }
.signup-form { margin:24px auto 0; scroll-margin-top:calc(var(--review-offset,110px) + 20px); }
.form-heading { display:flex; justify-content:space-between; gap:24px; border-top:1px solid var(--line); padding:30px 0; align-items:center; }
.form-heading h2 { font:500 2.375rem/1.15 var(--display); margin:8px 0; }
.form-heading p:not(.eyebrow) { font:0.9375rem/1.6 var(--body); color:var(--muted); margin:0; }
.form-step { font:0.75rem/1.5 var(--body); color:var(--muted); }
.signup-layout { display:grid; grid-template-columns:300px minmax(0,1fr); gap:36px; align-items:start; }
.contact-panel { position:sticky; top:calc(var(--review-offset,110px) + 20px); background:var(--soft); border:1px solid var(--line); padding:24px; border-radius:var(--corner); }
.contact-panel h3,.people-heading h3,.group-preferences h3 { font:500 1.5625rem/1.2 var(--display); margin:0 0 12px; }
.contact-panel > p { font:0.8125rem/1.6 var(--body); color:var(--muted); }
.field { display:flex; flex-direction:column; gap:9px; margin:0 0 18px; min-width:0; font:600 0.8125rem/1.4 var(--body); color:var(--ink); }
.field input,.field textarea,.field select { width:100%; min-width:0; min-height:48px; border:1px solid color-mix(in srgb,var(--muted) 50%,var(--surface)); background:var(--surface); border-radius:6px; padding:12px; color:var(--ink); font:400 1rem/1.4 var(--body); }
.field textarea { resize:vertical; }
.field input::placeholder { color:var(--muted); opacity:.8; }
.people-heading { display:flex; justify-content:space-between; align-items:baseline; gap:16px; margin-bottom:10px; }
.people-heading > span { font:0.75rem var(--body); color:var(--muted); }
.person-card { min-width:0; margin:0 0 22px; border:1px solid var(--line); padding:24px; border-radius:var(--corner); background:var(--surface); }
.person-card > legend { padding:0 10px; font:600 0.6875rem var(--body); color:var(--primary); letter-spacing:.1em; text-transform:uppercase; }
.person-card-top { display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.person-name { flex:1; min-width:180px; }
.remove-person { min-height:44px; border:0; background:none; color:var(--muted); cursor:pointer; text-decoration:underline; text-underline-offset:4px; font:0.75rem var(--body); }
.remove-confirm { flex-basis:100%; background:var(--soft); border:1px solid var(--line); border-radius:8px; padding:16px; margin-bottom:14px; font:0.875rem/1.5 var(--body); }
.remove-confirm p { margin:0 0 12px; }
.remove-confirm > div { display:flex; flex-wrap:wrap; gap:10px; }
.attendance-grid,.meal-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.choice-field { border:0; padding:0; margin:0 0 18px; min-width:0; }
.choice-field legend { font:600 0.8125rem/1.5 var(--body); margin-bottom:9px; }
.choice-buttons { display:flex; gap:5px; flex-wrap:wrap; }
.choice-buttons button { min-width:60px; min-height:44px; padding:10px 15px; border:1px solid var(--line); border-radius:7px; color:var(--ink); background:var(--surface); font:600 0.8125rem var(--body); cursor:pointer; }
.choice-buttons button[aria-pressed="true"] { background:var(--primary); color:var(--primary-ink); border-color:var(--primary); }
.child-fields { border-top:1px solid var(--line); padding-top:16px; display:flex; align-items:center; flex-wrap:wrap; gap:18px; margin-bottom:16px; }
.check-label { display:flex; align-items:center; gap:10px; min-height:44px; font:0.8125rem var(--body); cursor:pointer; }
.check-label input { width:18px; height:18px; accent-color:var(--primary); }
.child-fields .field { width:125px; margin:0; }
.meal-fields .field:last-child { grid-column:1/-1; margin-bottom:0; }
.add-person { width:100%; border-style:dashed; }
.group-preferences { padding:24px; border:1px solid var(--line); margin-top:24px; border-radius:var(--corner); }
.form-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:24px; }
.form-actions > .quiet-note { flex-basis:100%; margin:0; }
.account-card { border:1px solid var(--line); border-radius:var(--corner); background:var(--surface); padding:28px; color:var(--ink); }
.account-card h1 { font:500 clamp(2rem,calc(4cqw * var(--text-scale,1)),2.875rem)/1.1 var(--display); margin:16px 0; }
.account-card h2 { font:500 1.8125rem/1.2 var(--display); margin:12px 0 18px; }
.account-card > p { font-size:0.875rem; line-height:1.65; color:var(--muted); }
.account-card > .line-icon { color:var(--primary); }
.verification-card { max-width:500px; margin:auto; padding:36px; }
.verification-card .button.primary { width:100%; }
.verification-card #pin { font-size:1.75rem; letter-spacing:.35em; text-align:center; padding-left:22px; }
.verification-links { display:flex; flex-wrap:wrap; justify-content:space-between; gap:15px; margin-top:16px; }
.verification-links button { background:none; border:0; min-height:44px; padding:8px 0; color:var(--primary); text-decoration:underline; text-underline-offset:4px; font:0.8125rem var(--body); cursor:pointer; }
.demo-hint { padding:14px 16px; background:var(--soft); color:var(--muted); border-radius:6px; font:0.75rem/1.6 var(--body); margin:20px 0; }
.attendance-summary { display:grid; grid-template-columns:minmax(110px,1fr) minmax(0,1.5fr); align-items:start; gap:20px; border-top:1px solid var(--line); padding:18px 0; font:0.875rem/1.6 var(--body); }
.attendance-summary > span { color:var(--muted); }
.confirmation-card { padding:36px; }
.confirmation-card > .line-icon { width:42px; height:42px; }
.confirmation-event { margin-bottom:25px; }
.confirmation-card .demo-hint { margin-bottom:0; }
.account-layout { display:grid; grid-template-columns:320px minmax(0,1fr); gap:28px; align-items:start; }
.group-card { position:sticky; top:calc(var(--review-offset,110px) + 20px); }
.group-person { display:flex; align-items:center; gap:14px; justify-content:space-between; flex-wrap:wrap; border-top:1px solid var(--line); padding:12px 0; font:0.875rem var(--body); }
.group-person > div:first-child { display:flex; flex-direction:column; gap:6px; }
.group-person span { font-size:0.75rem; color:var(--muted); }
.group-person .remove-confirm { margin:0; }
.account-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.account-actions .button { font-size:0.8125rem; padding:10px 14px; }
.inline-edit { border-top:1px solid var(--line); margin-top:22px; padding-top:22px; }
.inline-edit .button { width:100%; }
.signup-card { margin-bottom:20px; }
.signup-card > header { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.signup-card > header .eyebrow { margin:0; }
.signup-person { display:flex; align-items:center; justify-content:space-between; gap:20px; border-top:1px solid var(--line); padding:16px 0; font:0.875rem var(--body); }
.signup-person .choice-field { margin:0; }
.signup-person legend { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.saved-note { padding:16px 20px; background:var(--soft); color:var(--primary); border-left:3px solid var(--primary); font:0.875rem/1.6 var(--body); }
[data-theme="bigsky"] :is(.account-card,.person-card,.contact-panel,.group-preferences) { border-radius:0; }
[data-theme="bigsky"] .person-card { border-left:3px solid var(--primary); }
[data-theme="golden"] .account-card,[data-theme="golden"] .person-card { border-radius:4px; box-shadow:5px 5px 0 var(--soft); }
[data-theme="golden"] .form-heading h2,[data-theme="golden"] .account-card h1 { font-weight:500; }
/* A shorter overview, with RSVP at the first decision point. */
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; }
.hero-secondary { background:transparent; }
[data-theme="bigsky"] .hero-secondary { color:#fff; border-color:#ffffff70; }
.home-preview { margin-top:48px; border-top:1px solid var(--line); padding-top:32px; }
.home-preview h2 { font-size:2.25rem; margin:10px 0; }
.home-preview p:not(.eyebrow) { color:var(--muted); font-size:0.875rem; }
.preview-days { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:24px 0 10px; }
.preview-days button { position:relative; text-align:left; display:flex; flex-direction:column; gap:12px; padding:22px 40px 22px 22px; border:1px solid var(--line); background:var(--surface); color:var(--ink); cursor:pointer; }
.preview-days button+button { border-left:0; }
.preview-days button > span { font:600 0.625rem var(--body); letter-spacing:.12em; color:var(--muted); }
.preview-days strong { font:500 1.4375rem/1.3 var(--display); }
.preview-days .line-icon { position:absolute; right:16px; top:22px; width:16px; height:16px; color:var(--primary); }
.schedule-toolbar { position:sticky; top:var(--review-offset,110px); z-index:12; padding:14px 0; background:var(--page-bg); border-bottom:1px solid var(--line); margin-bottom:28px; }
.day-number { white-space:nowrap; }
[data-theme="golden"] .itinerary-day { grid-template-columns:170px minmax(0,1fr); }
[data-theme="golden"] .day-heading .day-number { font-size:3rem; }
/* All gallery photos retain their full composition, including the field-guide theme. */
[data-theme="bigsky"] .photo-grid { display:block; columns:3; column-gap:16px; }
[data-theme="bigsky"] .photo-tile { margin-bottom:16px; border:1px solid var(--line); }
[data-theme="bigsky"] .photo-tile img,[data-theme="bigsky"] .photo-tile:nth-child(5n+1) img { aspect-ratio:auto; height:auto; object-fit:contain; }
/* Utility pages retain the mountains without a large, repeated empty lead-in. */
main:is([data-screen="code"],[data-screen="confirm"],[data-screen="mine"],[data-screen="event"]) .weekend-footer { margin-top:0 !important; }
main:is([data-screen="code"],[data-screen="confirm"],[data-screen="mine"],[data-screen="event"]) .footer-monogram { padding-top:24px; }
main:is([data-screen="code"],[data-screen="confirm"],[data-screen="mine"],[data-screen="event"]) .mountain-landscape { height:clamp(110px,13cqw,190px); }
.explore-grid { align-items:stretch; }
.explore-card { display:flex; }
.explore-card-body { display:flex; flex-direction:column; width:100%; }
.explore-card details { margin-top:auto; }
.story-column p { line-height:1.8; }
.story-column .story-opening::first-letter { float:none; font:inherit; margin:0; color:inherit; }
@container (max-width:900px) {
 .signup-layout,.account-layout { grid-template-columns:260px minmax(0,1fr); gap:20px; }
 .person-card { padding:18px; }
 .attendance-grid { gap:12px; }
 .choice-buttons button { min-width:52px; padding:10px 12px; }
}
@container (max-width:760px) {
 .action-page,.account-page { padding:26px 20px; }
 .utility-page { padding:26px 20px; }
 .signup-layout,.account-layout { grid-template-columns:1fr; gap:24px; }
 .contact-panel,.group-card { position:static; padding:20px; }
 .form-heading { align-items:flex-start; flex-direction:column; gap:12px; padding:24px 0; }
 .form-heading h2 { font-size:2rem; }
 .form-step { font-size:0.6875rem; }
 .person-card { padding:18px; }
 .person-card-top { gap:10px; }
 .person-name { min-width:160px; }
 .group-preferences { padding:18px; }
 .verification-card,.confirmation-card { padding:24px; }
 .account-card h1 { font-size:2rem; }
 .attendance-summary { grid-template-columns:1fr; gap:4px; }
 .signup-card { padding:20px; }
 .signup-person { align-items:flex-start; flex-direction:column; gap:10px; }
 .account-actions { gap:6px; }
 .intro-action { margin-top:20px; }
 .ceremony-intro { padding:0 0 24px; gap:24px; }
 .ceremony-title h1 { font-size:2.625rem; }
 .ceremony-keepsake { display:none; }
 .ceremony-facts { margin-top:0; }
 .ceremony-facts > div,.ceremony-facts > div:first-child { position:relative; padding:18px 0 18px 44px; }
 .ceremony-facts .line-icon { position:absolute; left:0; top:22px; width:25px; height:25px; }
 .ceremony-facts h2 { font-size:1.5625rem; margin:6px 0; }
 .ceremony-facts .eyebrow { margin:0; }
 .event-illustration { display:none; }
 .event-intro-layout { margin:20px 0; gap:0; }
 .event-detail-grid { padding:20px 0; margin:24px 0; gap:18px; }
 .editorial-page { padding-top:28px; }
 .section-heading { padding-bottom:24px; margin-bottom:24px; }
 .home-page .welcome-copy { padding:20px 0 24px; }
 .welcome-feature { min-height:0; }
 .home-page .welcome-photo { min-height:260px; }
 .home-page .welcome-copy h1 { font-size:2.625rem; margin:12px 0 18px; }
 .hero-actions { width:100%; }
 .hero-actions .button { font-size:0.8125rem; padding:12px 16px; }
 [data-theme="bigsky"] .welcome-copy { padding:24px; }
 .weekend-index { margin:24px 0; padding:16px 0; gap:10px; }
 .weekend-index > span:nth-child(2) { display:none; }
 .feature-grid { gap:10px; }
 .feature-card { position:relative; padding:18px 48px 18px 18px; }
 .feature-top { display:none; }
 .feature-card h2 { font-size:1.75rem; margin:0 0 6px; }
 .feature-card p { margin:0; font-size:0.8125rem; line-height:1.6; }
 .feature-action { font-size:0; border:0; padding:0; position:absolute; right:18px; top:22px; }
 [data-theme="golden"] .feature-card { padding:18px 48px 18px 18px; }
 .home-preview { margin-top:30px; padding-top:24px; }
 .home-preview h2 { font-size:1.875rem; }
 .preview-days { grid-template-columns:1fr; margin-top:18px; }
 .preview-days button { padding:16px 40px 16px 18px; gap:6px; }
 .preview-days button+button { border-left:1px solid var(--line); border-top:0; }
 .preview-days strong { font-size:1.375rem; }
 .schedule-toolbar { top:0; gap:4px; padding:10px 0; margin-bottom:24px; }
 .schedule-toolbar .segmented-tabs { flex-wrap:nowrap; width:100%; gap:4px; }
 .schedule-toolbar .segmented-tabs button { flex:1; padding:10px 6px; }
 .itinerary-day { margin-bottom:28px; }
 .day-heading { gap:12px; padding-bottom:14px; }
 .day-heading .day-number,[data-theme="golden"] .day-heading .day-number { font-size:2.375rem; }
 .day-heading h2 { font-size:1.4375rem; }
 .itinerary-events { margin-left:0; padding-left:0; border:0; }
 .itinerary-event,[data-theme="golden"] .itinerary-event { display:grid; grid-template-columns:1fr auto; gap:10px; padding:18px; margin-bottom:10px; min-height:0; }
 .itinerary-event::before { display:none; }
 .event-time { grid-column:1/-1; font-size:0.75rem; }
 .event-time svg { width:18px; height:18px; }
 .event-summary strong { font-size:1.375rem; }
 .event-summary { gap:5px; }
 .event-audience { display:none; }
 .event-place { font-size:0.75rem; }
 .itinerary-event > .status-badge { align-self:start; padding:6px 8px; max-width:90px; }
 [data-theme="bigsky"] .itinerary-event { min-height:0; padding:18px; }
 [data-theme="bigsky"] .itinerary-event > .status-badge { position:static; }
 [data-theme="golden"] .itinerary-day { grid-template-columns:1fr; }
 [data-theme="golden"] .itinerary-event { padding:18px 0; }
 [data-theme="bigsky"] .photo-grid { columns:2; column-gap:10px; }
 [data-theme="bigsky"] .photo-tile { margin-bottom:10px; }
 .travel-feature { margin-top:0; }
 .airport-card { padding:24px; }
 .airport-card strong { font-size:4rem; }
 .travel-photo { display:none; }
 .travel-planning { margin-top:30px; gap:20px; }
 .travel-planning .chapter-heading h2 { font-size:2rem; }
 .story-spread { gap:24px; }
 .story-column .segmented-tabs { margin-bottom:20px; }
 .story-column h2 { font-size:1.875rem; }
 .story-end { margin-top:32px; }
 .gift-letter { padding:24px; }
 .gift-letter h1 { font-size:2.5rem; }
 .gift-letter p { font-size:0.875rem; }
 .weekend-footer .footer-monogram { padding-top:24px; }
 .weekend-footer { margin-top:20px !important; }
}
@media (max-width:759px) {
 .prototype-toolbar { padding:8px 12px; }
 .prototype-main-controls { gap:4px 8px; }
 .prototype-main-controls > span:first-child,.prototype-main-controls > span:nth-child(2) > span { display:none; }
 .prototype-main-controls > span:nth-child(2) { gap:4px !important; }
 .prototype-toolbar button { padding:8px 9px !important; min-height:40px; font-size:0.6875rem !important; }
 .prototype-toolbar summary { font-size:0.625rem; min-height:32px; }
 .prototype-toolbar details { margin-left:auto; }
 .theme-direction { display:none; }
 .prototype-notice { font-size:0.5625rem; margin:4px 0 0; }
 .landing-composition { display:flex; flex-direction:column; }
 .landing-photo-wrap { order:2; }
 .landing-intro { order:1; }
}
@media (prefers-reduced-motion:reduce) { .choice-buttons button { transition:none; } }

/* Reading controls remain reachable before the invitation and on every page. */
:root { --text-scale:1; --page-zoom:1; }
#site-content { zoom:var(--page-zoom); }
main :is(h1,h2,h3,blockquote) { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.display-tools { display:flex; justify-content:flex-end; padding:4px 24px; border-bottom:1px solid var(--line); background:color-mix(in srgb,var(--surface) 88%,transparent); }
.display-tools button { display:inline-flex; align-items:center; gap:9px; min-height:44px; border:0; background:none; color:var(--ink); font:600 .75rem var(--body); cursor:pointer; }
.display-tools .line-icon { width:18px; height:18px; }
.display-dialog { width:min(540px,calc(100% - 24px)); max-height:90dvh; padding:24px; border:1px solid #bfc9c0; border-radius:14px; background:#fffdf8; color:#24352b; font:1rem/1.5 system-ui,sans-serif; }
.display-dialog::backdrop { background:#15251dd0; backdrop-filter:blur(5px); }
.display-dialog header { display:flex; align-items:flex-start; gap:16px; }
.display-dialog h2 { font:500 1.5rem/1.2 Georgia,serif; margin:0 0 16px; }
.display-dialog button { min-width:44px; min-height:44px; padding:10px 14px; border:1px solid #647569; border-radius:6px; background:#fff; color:#24352b; cursor:pointer; }
.display-dialog .display-close { margin-left:auto; flex-shrink:0; padding:10px; }
.display-dialog .line-icon { width:20px; height:20px; }
.display-dialog > label { display:block; font-weight:600; margin:20px 0 8px; }
.display-dialog select { width:100%; padding:12px; min-height:48px; color:#24352b; background:white; border:1px solid #647569; border-radius:6px; }
.display-dialog .display-check { display:flex; gap:12px; align-items:center; min-height:44px; }
.display-check input { width:20px; height:20px; flex-shrink:0; }
.display-help { font-size:.875rem; color:#45584b; }
.display-dialog footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:24px; }
.display-dialog footer button:last-child { background:#2f5d46; color:white; }
img[role="button"] { cursor:zoom-in; }
img[role="button"]:focus-visible { outline:3px solid var(--primary); outline-offset:5px; }
.gallery-help { color:var(--muted); font-size:1rem; max-width:650px; line-height:1.6; margin:0 0 28px; }
.accessible-viewer { box-sizing:border-box; width:100vw; height:100dvh; max-width:100vw; max-height:100dvh; margin:0; padding:16px; border:0; border-radius:0; background:#14201c; color:#fff; font:1rem/1.5 system-ui,sans-serif; }
.accessible-viewer[open] { display:flex; flex-direction:column; gap:12px; }
.viewer-shell { display:flex; flex-direction:column; gap:12px; height:100%; min-height:0; background:#14201c; color:white; }
.viewer-shell:fullscreen { padding:16px; }
.accessible-viewer .photo-dialog-bar { position:static; display:flex; gap:12px; flex-wrap:wrap; justify-content:space-between; align-items:center; padding:0; }
.viewer-controls { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.accessible-viewer .button { min-width:44px; min-height:44px; padding:10px 14px; background:#fffdf8; color:#172d21; border:1px solid #b9c9be; font:600 .875rem system-ui,sans-serif; }
.accessible-viewer .button:disabled { opacity:.5; cursor:default; }
.accessible-viewer .line-icon { width:20px; height:20px; }
.viewer-image-area { flex:1; min-height:0; overflow:auto; display:flex; align-items:center; justify-content:center; overscroll-behavior:contain; }
.viewer-image-area img { display:block; max-width:100%; max-height:100%; object-fit:contain; flex-shrink:0; }
.viewer-image-area.is-zoomed { display:block; }
.accessible-viewer .photo-dialog-bottom { display:flex; align-items:center; justify-content:space-between; padding:0; gap:16px; }
.viewer-instruction { font-size:.875rem; color:#e0e7e2; }
.resource-links { display:grid; gap:6px; margin-top:18px; }
.guide-link { display:inline-flex; align-items:center; justify-content:space-between; gap:16px; min-height:44px; padding:10px 0; font:600 .875rem/1.5 var(--body); color:var(--primary); text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; }
.guide-link .line-icon { flex-shrink:0; width:18px; height:18px; }
.guide-link:hover { color:var(--ink); }
.airport-card .guide-link { color:var(--primary-ink); }
.airport-card .eyebrow { opacity:1; }
.welcome-copy h1 { max-width:100%; overflow-wrap:anywhere; }
.story-end { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.story-end blockquote { min-width:0; overflow-wrap:anywhere; }
.quick-directions { margin-top:48px; padding:32px; display:grid; grid-template-columns:1fr 1fr; gap:32px; border:1px solid var(--line); background:var(--surface); border-radius:var(--corner); }
.quick-directions h2 { font:500 2rem/1.2 var(--display); margin:12px 0; }
.quick-directions p:not(.eyebrow) { color:var(--muted); font-size:1rem; line-height:1.6; }
.destination-links { display:grid; align-content:center; }
.destination-links a+a { border-top:1px solid var(--line); }
.explore-card .resource-links { margin:12px 0 20px; }
/* Two personal keepsakes travel with the invitation, below all the card text. */
.invitation-photos { position:absolute; z-index:5; left:30%; bottom:12cqw; display:flex; width:40%; gap:2cqw; opacity:0; transform:translateY(6cqw); pointer-events:none; transition:opacity .7s ease .65s,transform .9s cubic-bezier(.22,1,.36,1) .5s; }
.is-open .invitation-photos { opacity:1; transform:translateY(0); }
.invitation-photos > div { width:50%; padding:1cqw 1cqw 2.8cqw; background:#fffdf9; box-shadow:0 5px 16px #26322224; transform:rotate(-8deg); }
.invitation-photos > div+div { transform:rotate(7deg); margin-top:2cqw; }
.invitation-photos img { width:100%; height:17cqw; object-fit:cover; object-position:center 40%; display:block; }
.envelope-address { bottom:3.4cqw; }
.invitation-paper { box-shadow:0 8px 28px #29332316; }
.button .line-icon { flex:0 0 20px; width:20px; height:20px; }
.entry-field button { flex-shrink:0; }
/* Larger text reflows the page instead of sitting inside fixed-height cards. */
html[data-large-text="true"] .welcome-stamp { width:auto; height:auto; min-width:120px; min-height:120px; max-width:180px; position:relative; inset:auto; margin:16px 0 0 auto; }
html[data-large-text="true"] :is(.home-hero,.travel-feature,.travel-planning,.story-spread,.faq-layout,.signup-layout,.account-layout,.ceremony-intro,.event-intro-layout,.quick-directions) { grid-template-columns:1fr; }
html[data-large-text="true"] :is(.feature-grid,.explore-grid,.ceremony-facts,.preview-days) { grid-template-columns:1fr; }
html[data-large-text="true"] :is(.contact-panel,.group-card,.schedule-toolbar) { position:static; }
html[data-large-text="true"] .site-brand-row { flex-wrap:wrap; }
html[data-large-text="true"] .itinerary-event { grid-template-columns:1fr; }
html[data-large-text="true"] .event-row-arrow { display:none; }
html[data-large-text="true"] .landing-intro { max-width:100%; }
html[data-large-text="true"] .landing-intro h1 { white-space:normal; }
html[data-large-text="true"] .entry-field { flex-wrap:wrap; }
html[data-large-text="true"] .entry-field input { width:100%; }
html[data-large-text="true"] .invitation-heading { max-width:100%; }
html[data-large-text="true"] .header-date { white-space:normal; }
html[data-large-text="true"] .day-heading { flex-wrap:wrap; gap:12px; }
html[data-large-text="true"] .gift-letter { transform:none; }
html[data-quiet="true"] *,html[data-quiet="true"] *::before,html[data-quiet="true"] *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
html[data-contrast="true"] main { --muted:var(--ink) !important; --line:var(--ink) !important; background-image:none !important; }
html[data-contrast="true"] :is(.section-intro,.quiet-note,.eyebrow) { opacity:1; }
@container (max-width:760px) {
 .explore-card:has(details[open]) { grid-column:1/-1; }
 .story-end { grid-template-columns:minmax(0,1fr); }
 .quick-directions { grid-template-columns:1fr; padding:24px; gap:12px; }
 .display-tools { padding:2px 16px; }
 .site-brand-row { gap:12px; }
 .site-brand .couple-names { font-size:clamp(1rem,5.5cqw,1.5rem); }
 .welcome-stamp { font-size:1.5rem; }
 .landing-golden .landing-intro { margin-top:0; }
}
@container (max-width:360px) {
 .action-page,.account-page,.editorial-page,.utility-page { padding:24px 12px; }
 .person-card,.contact-panel,.group-preferences,.account-card { padding:14px; }
 .person-card-top { gap:4px; }
 .person-name { min-width:0; flex-basis:100%; }
 .attendance-grid,.meal-fields,.event-detail-grid { grid-template-columns:minmax(0,1fr); }
 .field { overflow-wrap:anywhere; }
 .form-actions .button { width:100%; padding:12px 8px; gap:8px; }
 .site-brand-row { padding:16px 12px; flex-wrap:wrap; }
 .site-brand { gap:8px; }
 .site-brand .ridge-mark { width:32px; }
 .header-date { display:none; }
 .quick-directions { padding:16px; }
}
@media (max-width:600px) {
 .accessible-viewer { padding:12px; }
 .viewer-controls { gap:6px; }
 .accessible-viewer .button { padding:8px; }
 .viewer-instruction { font-size:.75rem; }
 .display-dialog { padding:20px; }
}

/* Bespoke landscape linework: open centers keep text easy to read. */
main[data-theme="alpine"] { background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%221400%22%20height%3D%221000%22%20viewBox%3D%220%200%201400%201000%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2352755a%22%20stroke-width%3D%221.2%22%20opacity%3D%22.14%22%3E%3Cpath%20d%3D%22M-50%20680C180%20400%2080%20220%20350-40M-25%20700C205%20420%20105%20240%20375-20M0%20720C230%20440%20130%20260%20400%200M25%20740C255%20460%20155%20280%20425%2020%22/%3E%3Cpath%20d%3D%22M1240%201050C1140%20820%201450%20620%201350%20340M1260%201070C1160%20840%201470%20640%201370%20360M1280%201090C1180%20860%201490%20660%201390%20380%22/%3E%3C/g%3E%3Cg%20stroke%3D%22%2346654c%22%20fill%3D%22none%22%20opacity%3D%22.12%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M60%20900Q110%20800%2085%20690M86%20840Q35%20825%2045%20790Q88%20790%2086%20840M93%20805Q140%20795%20135%20760Q98%20765%2093%20805M94%20765Q50%20750%2058%20720Q90%20725%2094%20765%22/%3E%3C/g%3E%3C/svg%3E"),radial-gradient(ellipse at 0 30%,#9eb28f22,transparent 55%) !important; background-size:100% auto,100% 100% !important; background-position:center top !important; background-repeat:repeat-y,no-repeat !important; }
main[data-theme="bigsky"] { background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%221400%22%20height%3D%221000%22%20viewBox%3D%220%200%201400%201000%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23396184%22%20stroke-width%3D%221%22%20opacity%3D%22.16%22%3E%3Cpath%20d%3D%22M1000%20-50C700%20180%201390%20310%201150%20530S1150%20830%201450%201050%22/%3E%3Cpath%20d%3D%22M1024%20-50C730%20180%201400%20310%201177%20530S1165%20830%201470%201050%22/%3E%3Cpath%20d%3D%22M1048%20-50C760%20180%201410%20310%201204%20530S1180%20830%201490%201050%22/%3E%3Cpath%20d%3D%22M1072%20-50C790%20180%201420%20310%201231%20530S1195%20830%201510%201050%22/%3E%3Cpath%20d%3D%22M1096%20-50C820%20180%201430%20310%201258%20530S1210%20830%201530%201050%22/%3E%3Cpath%20d%3D%22M1120%20-50C850%20180%201440%20310%201285%20530S1225%20830%201550%201050%22/%3E%3Cpath%20d%3D%22M1144%20-50C880%20180%201450%20310%201312%20530S1240%20830%201570%201050%22/%3E%3Cpath%20d%3D%22M1168%20-50C910%20180%201460%20310%201339%20530S1255%20830%201590%201050%22/%3E%3Cpath%20d%3D%22M1192%20-50C940%20180%201470%20310%201366%20530S1270%20830%201610%201050%22/%3E%3C/g%3E%3Cg%20stroke%3D%22%23396184%22%20opacity%3D%22.12%22%3E%3Cpath%20d%3D%22M60%20180h24M72%20168v24M180%20820h24M192%20808v24M1270%20760h24M1282%20748v24%22/%3E%3C/g%3E%3C/svg%3E"),linear-gradient(120deg,#dce9f144,transparent 60%) !important; background-size:100% auto,100% 100% !important; background-position:center top !important; background-repeat:repeat-y,no-repeat !important; }
main[data-theme="golden"] { background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%221400%22%20height%3D%221000%22%20viewBox%3D%220%200%201400%201000%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23af7047%22%20opacity%3D%22.15%22%20stroke-width%3D%221%22%3E%3Ccircle%20cx%3D%221350%22%20cy%3D%2280%22%20r%3D%22120%22/%3E%3Ccircle%20cx%3D%221350%22%20cy%3D%2280%22%20r%3D%22142%22/%3E%3Ccircle%20cx%3D%221350%22%20cy%3D%2280%22%20r%3D%22164%22/%3E%3Ccircle%20cx%3D%221350%22%20cy%3D%2280%22%20r%3D%22186%22/%3E%3Ccircle%20cx%3D%221350%22%20cy%3D%2280%22%20r%3D%22208%22/%3E%3Ccircle%20cx%3D%221350%22%20cy%3D%2280%22%20r%3D%22230%22/%3E%3Ccircle%20cx%3D%221350%22%20cy%3D%2280%22%20r%3D%22252%22/%3E%3Cpath%20d%3D%22M-50%20850Q160%20610%20320%20900M-50%20870Q160%20630%20320%20920M-50%20890Q160%20650%20320%20940M-50%20910Q160%20670%20320%20960%22/%3E%3C/g%3E%3Cpath%20d%3D%22M0%201000V955L80%20920%20135%20942%20230%20860%20300%20920%20420%20890%20520%20970%20630%20940%20760%201000%22%20fill%3D%22%23b98255%22%20opacity%3D%22.06%22/%3E%3C/svg%3E"),radial-gradient(ellipse at 100% 0,#dfb77c30,transparent 60%) !important; background-size:100% auto,100% 100% !important; background-position:center top !important; background-repeat:repeat-y,no-repeat !important; }
html[data-contrast="true"] main { background-image:none !important; }

/* Keep keyboard skip links hidden inside container positioning contexts. */
.skip-link:not(:focus) { clip-path:inset(50%); width:1px; height:1px; overflow:hidden; padding:0; }
.skip-link:focus { clip-path:none; width:auto; height:auto; }

.scene-art { display:block; width:100%; height:auto; aspect-ratio:8/5; object-fit:contain; border-radius:var(--corner); }
.feature-art { margin:0 0 22px; }
.feature-card { overflow:hidden; }
.itinerary-event,[data-theme="golden"] .itinerary-event { grid-template-columns:112px minmax(0,1fr) auto 20px; grid-template-areas:"art time status arrow" "art summary status arrow"; column-gap:22px; row-gap:10px; }
.event-art { grid-area:art; align-self:center; border-radius:8px; }
.itinerary-event .event-time { grid-area:time; }
.itinerary-event .event-summary { grid-area:summary; }
.itinerary-event > .status-badge { grid-area:status; }
.itinerary-event > .line-icon { grid-area:arrow; }
[data-theme="bigsky"] .itinerary-event .scene-art { border-radius:0; margin-bottom:2px; }
[data-theme="golden"] .event-art { border:5px solid var(--surface); box-shadow:0 3px 12px #55301510; border-radius:0; }
.ceremony-keepsake > .scene-art { margin:-12px 0 8px; }
.ceremony-keepsake > .ridge-mark { width:44px; }
.ceremony-keepsake > strong { font-size:3.5rem; }
.event-illustration { padding:0 0 26px; overflow:hidden; }
.event-illustration .scene-art { border-radius:0; margin-bottom:22px; }
.explore-card { flex-direction:column; }
.explore-card > .scene-art { border-radius:0; }
.gift-art { margin-bottom:28px; }
.faq-layout aside > .scene-art { margin-bottom:24px; }
.guestbook-art { width:min(100%,620px); margin:0 auto 36px; }
.guestbook-art .scene-art { max-height:220px; }
.app-support { max-width:1200px; margin:32px auto 0; padding:0 40px; }
.install-card { display:flex; gap:28px; align-items:flex-start; background:var(--surface); border:1px solid var(--line); border-radius:var(--corner); padding:32px; margin:0 0 20px; }
.install-card > img { width:80px; height:80px; flex-shrink:0; border-radius:19px; box-shadow:0 6px 18px #24342412; }
.install-card h2 { font:500 2rem/1.2 var(--display); margin:8px 0 12px; }
.install-card p:not(.eyebrow) { font:1rem/1.65 var(--body); color:var(--muted); max-width:650px; }
.install-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }
.install-footer-link { display:block; margin:auto; padding:12px; min-height:44px; border:0; background:none; font:600 .8125rem/1.5 var(--body); color:var(--primary); text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.connection-note { display:flex; align-items:center; gap:16px; flex-wrap:wrap; padding:16px; border:1px solid var(--line); background:var(--soft); font:1rem/1.6 var(--body); }
.install-preview-icon { display:block; border-radius:16px; margin:8px 0 20px; }
.install-dialog h3 { margin-top:28px; font-size:1.125rem; }
.install-dialog ol { padding-left:24px; }
.install-dialog li { margin:12px 0; }
.install-dialog .native-install-button { width:100%; background:#2f5d46; color:#fff; }
.install-dialog footer a { color:#2f5d46; font-size:.875rem; padding:12px 0; }
@container (max-width:760px) {
 .feature-art { height:110px; width:100%; object-fit:cover; margin-bottom:18px; }
 .itinerary-event,[data-theme="bigsky"] .itinerary-event,[data-theme="golden"] .itinerary-event { display:grid; grid-template-columns:88px minmax(0,1fr); grid-template-areas:"art time" "art summary" "art status"; column-gap:16px; row-gap:10px; }
 .itinerary-event .event-art { align-self:start; margin:0; }
 .itinerary-event > .status-badge { max-width:none; justify-self:start; margin:0; }
 .itinerary-event > .line-icon { display:none; }
 .itinerary-event .event-time .line-icon { display:none; }
 .event-summary strong { font-size:1.125rem; }
 .ceremony-keepsake { display:block; padding:0; outline:0; border:0; background:none; }
 .ceremony-keepsake > .scene-art { margin:0; width:100%; max-height:190px; }
 .ceremony-keepsake > :not(.scene-art) { display:none; }
 .event-illustration { display:block; min-height:0; padding:0; background:none; }
 .event-illustration .scene-art { max-height:190px; margin:0; }
 .event-illustration > :not(.scene-art) { display:none; }
 .explore-card > .scene-art { aspect-ratio:8/5; }
 .guestbook-art .scene-art { max-height:150px; }
 .app-support { padding:0 20px; }
 .install-card { padding:24px; gap:18px; flex-wrap:wrap; }
 .install-card > img { width:64px; height:64px; }
}
html[data-large-text="true"] .itinerary-event { grid-template-columns:minmax(0,1fr); grid-template-areas:"art" "time" "summary" "status"; }
html[data-large-text="true"] .itinerary-event > .scene-art { width:120px; }
html[data-large-text="true"] .install-card { flex-wrap:wrap; }
@container (max-width:360px) {
 .itinerary-event,[data-theme="bigsky"] .itinerary-event,[data-theme="golden"] .itinerary-event { grid-template-columns:60px minmax(0,1fr); column-gap:12px; }
 html[data-large-text="true"] .itinerary-event { grid-template-columns:minmax(0,1fr); }
 .app-support { padding:0 12px; }
}
@media (display-mode:standalone) {
 body { padding-top:env(safe-area-inset-top); }
 .weekend-footer { padding-bottom:env(safe-area-inset-bottom); }
}
/* Invitation photographs remain clear of the invitation and address. */
.invitation-photos {left:16%;width:68%;bottom:11cqw;gap:2cqw;pointer-events:none;}
.is-open .invitation-photos:not([inert]) {pointer-events:auto;}
.invitation-photos img {height:24cqw;cursor:zoom-in;}
.invitation-photos img:focus-visible {outline:3px solid var(--primary);outline-offset:5px;}
.guide-jump-links {display:flex;flex-wrap:wrap;gap:12px;margin:0 0 32px;}
.guide-jump-links a {display:flex;align-items:center;gap:10px;padding:12px 18px;border:1px solid var(--line);border-radius:var(--corner);background:var(--surface);color:var(--primary);font:600 .9375rem/1.5 var(--body);text-decoration:none;}
.local-guide-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;}
.local-guide-card {overflow:hidden;border:1px solid var(--line);border-radius:var(--corner);background:var(--surface);scroll-margin-top:180px;}
.local-guide-card>.scene-art {border-radius:0;aspect-ratio:8/3;height:auto;object-fit:cover;}
.local-guide-body {padding:28px;}
.local-guide-body h2 {font:500 clamp(1.65rem,2.5cqw,2.3rem)/1.15 var(--display);margin:12px 0 16px;}
.local-guide-body>p:not(.eyebrow) {font:1rem/1.7 var(--body);color:var(--muted);}
.local-guide-body .resource-links {margin-top:22px;border-top:1px solid var(--line);}
.local-guide-body .guide-link {padding:16px 0;min-height:48px;border-bottom:1px solid var(--line);}
.guest-notes {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;}
.guest-note {margin:0;}
.guestbook-layout {align-items:start;}
@container(max-width:760px){.local-guide-grid{grid-template-columns:1fr;gap:24px;}.local-guide-body{padding:24px;}.guest-notes{grid-template-columns:1fr;}.guide-jump-links{gap:8px;}.guide-jump-links a{padding:10px 12px;}}
html[data-large-text="true"] .guest-notes {grid-template-columns:1fr;}
.invitation-photos > div {transform:none;}
.invitation-photos > div+div {transform:none;}
.invitation-photos img {object-fit:contain;background:#fffdf9;}
.guestbook-layout {grid-template-columns:minmax(250px,.8fr) minmax(0,1.6fr);}
.guest-notes {display:block;columns:2;column-gap:18px;}
.guest-note {break-inside:avoid;margin:0 0 18px;}
@container(max-width:900px){.guest-notes{columns:1;}}
@container(max-width:760px){.guestbook-layout{grid-template-columns:1fr;}}
.invitation-photos > button {display:block;width:50%;border:0;padding:1cqw 1cqw 2.8cqw;background:#fffdf9;box-shadow:0 5px 16px #26322224;cursor:zoom-in;}
.invitation-photos > button+button {margin-top:2cqw;}
.invitation-photos img {height:30cqw;}
.invitation-photos > button:first-child {transform:rotate(-5deg);}
.invitation-photos > button+button {transform:rotate(5deg);}
.imagery-demo {margin:12px 0 4px;}
.imagery-demo>div {display:flex;gap:6px;align-items:center;flex-wrap:wrap;}
.imagery-demo span {font-size:12px;color:#48594e;}
.imagery-demo button {min-height:36px;padding:8px 12px;border:1px solid #bcc7be;border-radius:5px;background:transparent;color:#35483c;cursor:pointer;}
.imagery-demo button[aria-pressed="true"] {background:#fff;border-color:#52755a;box-shadow:0 1px 3px #18362215;}
.imagery-demo p {font-size:12px;line-height:1.5;margin:8px 0;color:#48594e;}
.imagery-demo a {color:#315b46;text-underline-offset:3px;}
.scene-art.scene-photo {object-fit:cover;aspect-ratio:8/5;}
.local-guide-card>.scene-photo {height:240px;object-position:center;}
.ceremony-keepsake>.scene-photo {height:180px;}
.guestbook-art>.scene-photo {height:220px;object-position:center 40%;}
html[data-imagery="minimal"] .itinerary-event,html[data-imagery="minimal"] [data-theme="golden"] .itinerary-event {grid-template-columns:minmax(0,1fr) auto 20px;grid-template-areas:"time status arrow" "summary status arrow";}
html[data-imagery="minimal"] .guestbook-art {display:none;}
html[data-imagery="minimal"] .feature-card {padding-top:24px;}
html[data-imagery="minimal"] .event-illustration {display:none;}
html[data-imagery="minimal"] .event-intro-layout {grid-template-columns:1fr;}
@container(max-width:760px){.local-guide-card>.scene-photo{height:190px;}html[data-imagery="minimal"] .itinerary-event{grid-template-columns:minmax(0,1fr);grid-template-areas:"time" "summary" "status";}}
.paper-ceremony {font:400 1.9cqw/1.4 var(--body);letter-spacing:.04em;color:var(--muted);margin:.6cqw 0 1.4cqw;}
article > .scene-art.scene-photo {height:auto !important;aspect-ratio:8/5 !important;object-fit:cover;}
.local-guide-card > .scene-art.scene-photo {height:240px !important;aspect-ratio:auto !important;}
@container(max-width:760px){.local-guide-card > .scene-art.scene-photo{height:190px !important;}}
.prototype-toolbar {padding:0 !important;}
.design-studio {padding:16px 24px;background:#eef1ec;color:#283d30;font-family:system-ui,sans-serif;}
.studio-heading {display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;}
.studio-heading>div {display:flex;gap:16px;align-items:baseline;flex-wrap:wrap;}
.studio-heading strong {font-size:16px;font-weight:650;}
.studio-heading span {font-size:12px;color:#526052;}
.design-studio button {border:1px solid #bac7bc;border-radius:7px;background:transparent;color:#334e3c;padding:9px 12px;min-height:38px;font:500 12px/1.4 system-ui;cursor:pointer;}
.design-studio button[aria-pressed="true"] {background:#fff;border-color:#456c52;box-shadow:0 2px 5px #28433012;}
.studio-primary {display:flex;gap:28px;align-items:start;flex-wrap:wrap;}
.studio-group {display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.studio-label {font:600 11px/1.5 system-ui;letter-spacing:.03em;margin-right:4px;}
.studio-primary .imagery-demo {margin:0;flex:1;min-width:280px;}
.studio-primary .imagery-demo p {margin:6px 0 0;font-size:11px;}
.studio-description {font-size:12px;margin:8px 0 12px;color:#526052;}
.studio-secondary {display:flex;gap:14px 24px;flex-wrap:wrap;border-top:1px solid #ccd5cc;padding-top:12px;}
.theme-dot {display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px;background:#42654b;}
.theme-choice-bigsky .theme-dot {background:#345570;}
.theme-choice-golden .theme-dot {background:#b56743;}
.studio-notice {font-size:11px;line-height:1.5;color:#526052;margin:10px 0 0;}
.design-studio .studio-toggle {white-space:nowrap;}
@media(max-width:760px){.design-studio{padding:12px;}.studio-heading>div{gap:4px;}.studio-heading span{display:none;}.studio-primary{gap:12px;}.studio-primary>.studio-group{width:100%;}.studio-primary .imagery-demo{min-width:0;}.studio-secondary{gap:12px;}.studio-label{min-width:55px;}.studio-secondary .studio-group{width:100%;}.studio-heading{margin-bottom:10px;}}
html[data-large-text="true"] .guest-note footer {flex-wrap:wrap;gap:8px;}
html[data-large-text="true"] .guest-notes {columns:1;}
html[data-large-text="true"] .guest-note {overflow-wrap:anywhere;}
html[data-large-text="true"] [data-theme="golden"] .guest-note {transform:none;}

.itinerary-export{padding:24px;margin-bottom:32px;border:1px solid var(--line);border-radius:var(--corner);background:var(--surface)}.itinerary-export h2{font:1.65rem var(--display);margin:0 0 8px}.itinerary-export p{margin:8px 0;font-size:.9375rem;line-height:1.6}.export-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.export-actions button:disabled{cursor:not-allowed;opacity:.55}.export-signin{border:0;background:none;color:var(--primary);text-decoration:underline;font:inherit;padding:5px;cursor:pointer}
/* Photo interactions: visible, keyboard-accessible enlargement without altering image composition. */
.photo-frame {display:block;position:relative;width:100%;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:inherit;cursor:zoom-in;border-radius:var(--corner);line-height:0;}
.photo-frame>img {display:block;width:100%;height:auto;}
.photo-enlarge-hint {position:absolute;right:12px;bottom:12px;z-index:2;display:inline-flex;align-items:center;gap:7px;padding:9px 12px!important;border:1px solid #ffffff75;border-radius:30px;background:#fffcf5ed;color:#263b30;font:600 .75rem/1.2 var(--body)!important;box-shadow:0 2px 10px #17281b20;pointer-events:none;letter-spacing:0;}
.photo-enlarge-hint>svg {width:15px;height:15px;flex-shrink:0;}
.photo-frame:hover .photo-enlarge-hint,.photo-tile:hover .photo-enlarge-hint {background:#fff;}
.photo-frame:focus-visible,.invitation-photos>button:focus-visible {outline:3px solid var(--primary);outline-offset:5px;}
.landing-photo-wrap>.photo-frame {position:absolute;inset:0;width:100%;height:100%;}
.landing-photo-wrap>.photo-frame .photo-enlarge-hint {top:18px;bottom:auto;right:18px;}
.welcome-photo>.photo-frame {position:absolute;inset:0;width:100%;height:100%;}
.welcome-photo>.photo-frame>img {position:absolute;width:100%;height:100%;object-fit:cover;border-radius:var(--corner);}
[data-theme="alpine"] .welcome-photo>.photo-frame>img {border-radius:45% 45% 4px 4px;}
.welcome-photo .photo-enlarge-hint {top:22px;bottom:auto;right:22px;}
[data-theme="alpine"] .welcome-photo .photo-enlarge-hint {top:auto;bottom:18px;left:18px;right:auto;}
[data-theme="golden"] .welcome-photo>.photo-frame {inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);}
[data-theme="golden"] .welcome-photo>.photo-frame>img {inset:0;width:100%;height:100%;border-radius:0;}
.travel-feature>.photo-frame {height:100%;min-height:300px;}
.travel-feature>.photo-frame>img {height:100%;object-fit:cover;}
.artwork-frame {overflow:hidden;}
.artwork-frame>.scene-image {height:100%;width:100%;aspect-ratio:inherit;object-fit:inherit;}
.artwork-frame .photo-enlarge-hint {max-width:calc(100% - 20px);}
/* More generous photographs, with a clear gap below the fully revealed card. */
.is-open .envelope-stage {aspect-ratio:.83;}
.is-open .invitation-paper {transform:translateY(-54cqw);}
.invitation-photos {left:7%;width:86%;bottom:9cqw;gap:2cqw;}
.invitation-photos>button {position:relative;padding:1.2cqw 1.2cqw 4.8cqw;}
.invitation-photos img {height:38cqw;}
.envelope-address {bottom:2cqw;}
.invitation-photos .photo-enlarge-hint {right:50%;bottom:.5cqw;transform:translateX(50%);padding:5px 8px!important;gap:4px;font-size:clamp(.625rem,1.8cqw,.875rem)!important;white-space:nowrap;box-shadow:none;border:0;}
.invitation-photos .photo-enlarge-hint>svg {width:13px;height:13px;}
/* Three deliberately different gallery rhythms; every photograph retains its full ratio. */
.gallery-layout-toolbar {display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:26px 0 36px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.gallery-layout-toolbar>div {display:flex;gap:6px;flex-wrap:wrap;}
.gallery-layout-toolbar button {min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:30px;background:var(--surface);color:var(--ink);font:600 .875rem var(--body);cursor:pointer;}
.gallery-layout-toolbar button[aria-pressed="true"] {background:var(--primary);color:var(--onPrimary,#fff);border-color:var(--primary);}
.gallery-layout-toolbar p {font:.8125rem/1.5 var(--body);color:var(--muted);margin:0;}
.gallery-page .photo-grid {display:block;column-count:2;column-gap:42px;}
.gallery-page .photo-tile {display:block;position:relative;break-inside:avoid;width:100%;margin:0 0 42px;transform:none;}
.gallery-page .photo-tile img {display:block;width:100%;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;}
.gallery-page .gallery-photo-number {position:absolute;left:12px;top:12px;z-index:1;padding:6px 8px!important;background:#fffdf1e8;color:#263b30;font:500 .6875rem/1.2 var(--body)!important;letter-spacing:.12em;}
.gallery-editorial .photo-tile {padding:14px 14px 42px!important;background:var(--surface);box-shadow:0 8px 22px #33291b12;}
.gallery-editorial .photo-enlarge-hint {bottom:6px;right:12px;box-shadow:none;border:0;background:transparent;}
.gallery-editorial .gallery-photo-number {top:auto;bottom:13px;left:16px;background:transparent;}
.gallery-mosaic .photo-grid {column-count:3;column-gap:16px;}
.gallery-mosaic .photo-tile {padding:0!important;margin-bottom:16px;border:0;box-shadow:none;}
.gallery-contact .photo-grid {column-count:4;column-gap:20px;}
.gallery-contact .photo-tile {padding:6px!important;margin-bottom:20px;box-shadow:none;border:1px solid var(--line);}
.gallery-contact .photo-enlarge-hint>span {display:none;}
.gallery-contact .photo-enlarge-hint {padding:9px!important;right:10px;bottom:10px;}
[data-theme="bigsky"] .gallery-layout-toolbar button {border-radius:4px;}
[data-theme="golden"] .gallery-editorial .photo-tile:nth-child(3n+1) {transform:rotate(-.5deg);}
[data-theme="golden"] .gallery-editorial .photo-tile:nth-child(3n+2) {transform:rotate(.5deg);}
@container(max-width:760px){.gallery-editorial .photo-grid{column-count:1;}.gallery-mosaic .photo-grid,.gallery-contact .photo-grid{column-count:2;column-gap:12px;}.gallery-page .photo-tile{margin-bottom:20px;}.gallery-mosaic .photo-enlarge-hint>span{display:none;}.photo-enlarge-hint{right:10px;bottom:10px;}.gallery-layout-toolbar{gap:12px;}.gallery-layout-toolbar button{padding:10px 12px;}}
html[data-large-text="true"] .gallery-page .photo-grid {column-count:1;}
html[data-large-text="true"] .photo-enlarge-hint {font-size:.75rem!important;}
@container(max-width:760px){[data-theme="golden"] .welcome-stamp{right:14px;}}
.paper-eyebrow {text-transform:uppercase;font-size:max(10px,1.65cqw);}
.paper-place {font-size:max(12px,2.15cqw);}
.paper-ceremony {font-size:max(11px,2cqw);}
@container(max-width:760px){
 .is-open .envelope-stage {aspect-ratio:.68;}
 .invitation-paper {height:86cqw;padding:4cqw;}
 .invitation-paper .ridge-mark {width:8cqw;margin-bottom:2cqw;}
 .paper-eyebrow {font-size:10px;margin-bottom:3cqw;letter-spacing:.15em;}
 .paper-names {font-size:max(27px,7.5cqw);}
 .paper-date {font-size:max(18px,3.8cqw);}
 .paper-place {font-size:12px;}
 .paper-ceremony {font-size:11px;margin-top:3cqw;}
}
.invitation-paper {display:flex;flex-direction:column;align-items:center;justify-content:center;}
.invitation-paper>* {flex-shrink:0;}
/* Size the paper and stage from the same outer viewport container. The paper's
   own nearest container is the envelope, so separate container rules diverge. */
.invitation {--invitation-paper-height:60cqw;--invitation-stage-ratio:.83;}
@container(max-width:760px){.invitation{--invitation-paper-height:86cqw;--invitation-stage-ratio:.68;}}
.invitation-paper {height:var(--invitation-paper-height);}
.is-open .envelope-stage {aspect-ratio:var(--invitation-stage-ratio);}
.welcome-stamp {pointer-events:none;}
.welcome-photo>.photo-frame>img {inset:0;}
[data-theme="bigsky"] .welcome-photo .photo-enlarge-hint {top:auto;bottom:16px;left:16px;right:auto;}

.ad-root{--ad-bg:#f6f5f0;--ad-card:#fffefa;--ad-ink:#233b31;--ad-muted:#59675e;--ad-line:#dfe4da;--ad-primary:#315844;--ad-soft:#eaf0e7;min-height:100vh;background:var(--ad-bg);color:var(--ad-ink);font:0.9375rem/1.55 'Nunito Sans','Segoe UI',sans-serif;display:flex;text-align:left}.ad-root *{box-sizing:border-box}.ad-theme-bigsky{--ad-primary:#294c6d;--ad-ink:#23384b;--ad-soft:#e7eef5;--ad-bg:#f2f5f8}.ad-theme-golden{--ad-primary:#8e492f;--ad-ink:#47362c;--ad-soft:#f6eade;--ad-bg:#faf5ed}.ad-root h1,.ad-root h2,.ad-root h3,.ad-root p{margin:0}.ad-root h1{font:400 clamp(1.875rem,3.3vw,3rem)/1.15 'Cormorant Garamond',Georgia,serif;letter-spacing:-1px;max-width:680px}.ad-root h2{font-size:1.125rem;font-weight:650;line-height:1.35}.ad-root h3{font-size:1rem}.ad-root small{font-size:0.75rem;color:var(--ad-muted)}.ad-root button,.ad-root input,.ad-root select,.ad-root textarea{font:inherit}.ad-root button{cursor:pointer}.ad-root button:disabled{cursor:not-allowed;opacity:.55}.ad-root :focus-visible{outline:3px solid #ad6b29;outline-offset:4px}.ad-sidebar{width:248px;flex-shrink:0;background:var(--ad-card);border-right:1px solid var(--ad-line);padding:34px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;overflow:auto}.ad-brand{display:flex;align-items:center;gap:8px;font:1.4375rem Georgia,serif;margin-bottom:38px;white-space:nowrap}.ad-brand img{width:44px;height:54px;object-fit:contain}.ad-brand small{display:block;font:0.5rem 'Segoe UI',sans-serif;letter-spacing:1.6px;margin-top:8px}.ad-sidebar nav{display:grid;gap:7px}.ad-sidebar nav button{display:flex;align-items:center;gap:12px;border:0;background:none;color:var(--ad-muted);text-align:left;min-height:47px;border-radius:8px;padding:10px 12px;font-size:0.8125rem;font-weight:600}.ad-sidebar nav button span{font-size:1.25rem;width:20px;text-align:center}.ad-sidebar nav button[aria-current]{background:var(--ad-soft);color:var(--ad-primary)}.ad-sidebar nav button:hover{background:var(--ad-bg)}.ad-sidebar nav small{margin-left:auto;background:var(--ad-card);padding:0 6px;border-radius:8px}.ad-sidebar-foot{margin-top:auto;padding:45px 12px 0;font-size:0.75rem}.ad-sidebar-foot small{display:block;margin:12px 0 20px;line-height:1.8}.ad-online{display:inline-block;background:#5c805e;width:7px;height:7px;border-radius:50%;margin-right:8px}.ad-workspace{flex:1;min-width:0}.ad-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 42px;border-bottom:1px solid var(--ad-line);background:var(--ad-card)}.ad-topbar>div{display:flex;align-items:center;gap:26px}.ad-topbar .ad-field{display:flex;align-items:center;gap:12px;margin:0}.ad-topbar select{width:110px}.ad-eyebrow{font-size:0.625rem!important;letter-spacing:2px;font-weight:700;color:var(--ad-muted)}.ad-top-date{font-size:0.75rem;color:var(--ad-muted)}.ad-demo{padding:11px 42px;background:#eeeee5;display:flex;gap:12px;align-items:center;font-size:0.75rem;color:#505a4c}.ad-main{max-width:1600px;margin:0 auto;padding:36px 42px 20px}.ad-page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.ad-page-heading .ad-eyebrow{margin-bottom:12px}.ad-page-heading p:last-child{margin-top:12px;color:var(--ad-muted);font-size:0.875rem;max-width:700px}.ad-button{background:var(--ad-primary);color:#fff;border:1px solid var(--ad-primary);border-radius:7px;padding:10px 16px;min-height:44px;font-size:0.75rem!important;font-weight:650!important;line-height:1.4;flex-shrink:0}.ad-secondary{background:transparent;color:var(--ad-primary);border-color:#c9d1c5}.ad-button:hover{filter:brightness(.94)}.ad-badge{display:inline-flex;align-items:center;font-size:0.6875rem;line-height:1.4;font-weight:650;padding:5px 9px;background:var(--ad-soft);color:var(--ad-primary);border-radius:5px;white-space:nowrap}.ad-warn{background:#fbedd7;color:#795018}.ad-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.ad-stat{border:1px solid var(--ad-line);border-radius:12px;background:var(--ad-card);padding:23px}.ad-stat>span{display:block;font-size:0.75rem;color:var(--ad-muted)}.ad-stat>strong{display:block;font:400 2.75rem/1.4 Georgia,serif}.ad-stat>small{display:block;font-size:0.6875rem}.ad-panel{background:var(--ad-card);border:1px solid var(--ad-line);border-radius:12px;padding:24px;margin-bottom:24px;min-width:0}.ad-panel>header{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:22px}.ad-panel>header p{font-size:0.75rem;color:var(--ad-muted);margin-top:7px}.ad-two{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;align-items:start}.ad-event-line{display:flex;gap:15px;align-items:center;border-top:1px solid var(--ad-line);padding:17px 0}.ad-event-line>div{flex:1}.ad-event-line strong{font-size:0.8125rem}.ad-event-line small{display:block;font-size:0.6875rem;margin-top:4px}.ad-event-line>strong{font-size:1.375rem;text-align:right}.ad-event-line>strong small{font-size:0.625rem;font-weight:400}.ad-meter{height:4px;border-radius:5px;background:var(--ad-soft);margin-top:12px;overflow:hidden}.ad-meter span{display:block;background:#769478;height:100%;border-radius:5px}.ad-task{display:flex;justify-content:space-between;gap:12px;width:100%;padding:15px 0;background:none;border:0;border-top:1px solid var(--ad-line);color:var(--ad-ink);text-align:left;font-size:0.8125rem!important}.ad-task small{display:block;margin-top:5px;font-size:0.6875rem}.ad-note-card{padding:27px 28px;background:var(--ad-primary);color:#fffefa;border-radius:12px;margin-bottom:24px;position:relative;overflow:hidden}.ad-note-card:after{content:'';position:absolute;width:180px;height:180px;border:1px solid #ffffff30;transform:rotate(45deg);right:-90px;bottom:-100px}.ad-note-card .ad-eyebrow{color:#e6eadf}.ad-note-card h2{font:2rem Georgia,serif;margin:15px 0 13px}.ad-note-card p{font-size:0.8125rem;line-height:1.8;max-width:330px}.ad-note-card>span:last-of-type{display:block;font-size:0.5625rem;letter-spacing:1.5px;margin-top:24px;color:#e6eadf}.ad-toolbar{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:23px}.ad-toolbar .ad-field{margin:0;flex:1;max-width:400px;min-width:160px}.ad-field{display:grid;gap:7px;margin:16px 0;min-width:0}.ad-field>label{font-size:0.75rem;font-weight:650}.ad-field input,.ad-field select,.ad-field textarea{width:100%;max-width:100%;min-width:0;border:1px solid #bdc9bc;background:var(--ad-card);border-radius:6px;min-height:44px;padding:10px 12px;color:var(--ad-ink);font-size:0.875rem}.ad-field textarea{min-height:110px;resize:vertical}.ad-field .ad-large-textarea{min-height:210px;line-height:1.8}.ad-check{display:flex;gap:10px;align-items:center;min-height:44px;font-size:0.8125rem;margin:6px 0}.ad-check input{width:22px;height:22px;accent-color:var(--ad-primary);flex-shrink:0}.ad-check-row{display:flex;flex-wrap:wrap;gap:5px 20px}.ad-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.ad-root fieldset{border:1px solid var(--ad-line);border-radius:8px;margin:20px 0;padding:16px;min-width:0}.ad-root legend{font-size:0.75rem;font-weight:700;padding:0 7px}.ad-form-footer{display:flex;gap:14px;align-items:center;margin-top:24px;padding-top:18px;border-top:1px solid var(--ad-line)}.ad-form-footer span,.ad-help{font-size:0.75rem!important;color:var(--ad-muted);margin:12px 0!important}.ad-table-wrap{overflow:auto}.ad-root table{border-collapse:collapse;width:100%;min-width:590px;font-size:0.8125rem}.ad-root th{text-align:left;font-size:0.625rem;text-transform:uppercase;letter-spacing:1px;color:var(--ad-muted);padding:12px;border-bottom:1px solid var(--ad-line)}.ad-root td{padding:16px 12px;border-bottom:1px solid var(--ad-line)}.ad-root td small{display:block;margin-top:5px;font-size:0.6875rem}.ad-list-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 0;border-top:1px solid var(--ad-line)}.ad-list-row>div:first-child{flex:1;min-width:0}.ad-list-row strong{font-size:0.8125rem}.ad-list-row small{display:block;margin-top:5px}.ad-list-row .ad-field{margin:0}.ad-actions{display:flex;gap:8px;flex-wrap:wrap}.ad-event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.ad-event-grid .ad-panel>p{font-size:0.8125rem;color:var(--ad-muted)}.ad-event-numbers{display:flex;gap:35px;padding:24px 0}.ad-event-numbers strong{font:1.875rem Georgia,serif}.ad-event-numbers small{display:block;font:0.6875rem 'Segoe UI',sans-serif;margin-top:6px}.ad-card-actions{display:flex;justify-content:space-between;align-items:center;gap:10px}.ad-signup-group{margin-top:24px}.ad-signup-group h3{padding-bottom:12px}.ad-content-preview{background:var(--ad-soft);padding:30px;border-radius:8px;min-height:260px}.ad-content-preview h2{font:2rem Georgia,serif;margin:25px 0 15px}.ad-content-preview p{white-space:pre-wrap;line-height:1.9;font-size:0.875rem;overflow-wrap:anywhere}.ad-content-preview small{display:block;margin-top:24px}.ad-theme-options{display:flex;gap:15px;flex-wrap:wrap}.ad-theme-options button{display:flex;align-items:center;gap:12px;background:var(--ad-card);border:1px solid var(--ad-line);padding:13px 20px;min-height:44px;border-radius:8px;font-size:0.8125rem;color:var(--ad-ink)}.ad-theme-options button[aria-pressed=true]{border-color:var(--ad-primary);background:var(--ad-soft)}.ad-theme-options span{width:24px;height:24px;border-radius:50%}.ad-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ad-photo{border:1px solid var(--ad-line);border-radius:9px;overflow:hidden}.ad-photo img{width:100%;height:200px;object-fit:cover;display:block}.ad-photo>div{padding:16px}.ad-photo strong{font-size:0.8125rem}.ad-photo p{margin:10px 0}.ad-photo .ad-button{padding:8px 10px}.ad-root blockquote{margin:0 0 24px;font:1.4375rem/1.6 Georgia,serif}.ad-email-preview{padding:30px;background:var(--ad-soft);border-radius:9px;margin:24px 0}.ad-email-preview h3{font:1.625rem Georgia,serif;margin:20px 0}.ad-email-preview p{white-space:pre-wrap;overflow-wrap:anywhere;margin:15px 0;line-height:1.9}.ad-email-preview hr{border:0;border-top:1px solid #becbbd;margin-top:30px}.ad-details{display:grid;grid-template-columns:auto 1fr;gap:16px;font-size:0.8125rem}.ad-details dt{color:var(--ad-muted)}.ad-details dd{margin:0;overflow-wrap:anywhere}.ad-activity{display:flex;gap:14px;padding:17px 0;border-top:1px solid var(--ad-line)}.ad-activity-dot{width:8px;height:8px;background:#769478;border-radius:50%;flex-shrink:0;margin-top:7px}.ad-activity strong{font-size:0.8125rem}.ad-activity p{font-size:0.75rem;color:var(--ad-muted);margin:4px 0}.ad-activity small{font-size:0.625rem}.ad-notice,.ad-error{padding:14px 18px;border-radius:8px;margin:0 0 22px!important;font-size:0.8125rem;background:#e5eee1;color:#294b31;display:flex;justify-content:space-between;gap:16px;align-items:center}.ad-notice button{min-width:44px;min-height:44px;border:0;background:none;color:inherit;font-size:1.4375rem}.ad-error{background:#fbece6;color:#81331c;display:block}.ad-empty{text-align:center;padding:35px;color:var(--ad-muted)}.ad-empty p{margin-top:10px}.ad-footer{display:flex;gap:20px;justify-content:space-between;color:var(--ad-muted);font-size:0.625rem;letter-spacing:.4px;margin-top:34px;padding:24px 0;border-top:1px solid var(--ad-line)}.ad-dialog{border:1px solid var(--ad-line);border-radius:14px;padding:28px;width:760px;max-width:calc(100vw - 32px);max-height:90vh;background:var(--ad-card);color:var(--ad-ink);box-shadow:0 20px 100px #15291c40}.ad-dialog::backdrop{background:#12251d75;backdrop-filter:blur(4px)}.ad-dialog-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:18px}.ad-dialog-heading h2{font:1.875rem Georgia,serif}.ad-skip{position:fixed;top:-100px;left:20px;background:white;color:#233b31;padding:14px;z-index:100}.ad-skip:focus{top:10px}.ad-sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
@container wedding-admin (min-width:1600px){.ad-main{padding:44px 60px}.ad-two{grid-template-columns:1.6fr 1fr}}
@container wedding-admin (max-width:1150px){.ad-sidebar{width:215px;padding:28px 12px}.ad-brand{font-size:1.25rem}.ad-topbar,.ad-demo{padding-left:26px;padding-right:26px}.ad-main{padding:30px 26px}.ad-two{grid-template-columns:minmax(0,1fr)}.ad-stack{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ad-top-date{display:none}.ad-stat{padding:18px}.ad-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container wedding-admin (max-width:760px){.ad-root{display:block}.ad-sidebar{position:relative;width:100%;height:auto;padding:17px 16px;border-bottom:1px solid var(--ad-line)}.ad-brand{margin:0 0 14px;font-size:1.4375rem}.ad-brand img{width:36px;height:40px}.ad-sidebar nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.ad-sidebar nav button{font-size:0.625rem;padding:9px 6px;gap:5px;line-height:1.3;min-height:48px}.ad-sidebar nav button span{font-size:1rem;width:16px;flex-shrink:0}.ad-sidebar nav small{display:none}.ad-sidebar-foot{display:none}.ad-topbar{padding:12px 18px}.ad-topbar .ad-eyebrow{font-size:0.5rem!important;letter-spacing:1px}.ad-topbar .ad-field{gap:6px}.ad-topbar .ad-field>label{font-size:0.625rem}.ad-topbar select{width:95px;font-size:0.75rem}.ad-demo{padding:12px 18px;align-items:start;font-size:0.625rem;gap:10px}.ad-demo .ad-badge{font-size:0.5625rem}.ad-main{padding:27px 18px 16px}.ad-page-heading{display:block;margin-bottom:25px}.ad-page-heading h1{font-size:2.1875rem}.ad-page-heading>button{margin-top:18px}.ad-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ad-stat{padding:15px}.ad-stat>span{font-size:0.6875rem}.ad-stat>strong{font-size:2.1875rem}.ad-stat>small{font-size:0.625rem}.ad-panel{padding:19px 16px;border-radius:10px;margin-bottom:18px}.ad-panel>header{flex-wrap:wrap;gap:12px}.ad-panel h2{font-size:1.0625rem}.ad-stack,.ad-event-grid,.ad-photo-grid{display:block}.ad-photo{margin-bottom:18px}.ad-photo img{height:250px}.ad-event-line{flex-wrap:wrap}.ad-event-line>div{min-width:180px}.ad-event-line>.ad-badge{margin-top:-5px}.ad-two{gap:0}.ad-list-row{flex-wrap:wrap}.ad-list-row>div:first-child{min-width:150px}.ad-list-row .ad-field{flex:1;min-width:130px}.ad-toolbar{gap:10px}.ad-toolbar .ad-field{min-width:130px}.ad-actions .ad-button{font-size:0.6875rem!important}.ad-form-grid{grid-template-columns:1fr}.ad-dialog{padding:20px 16px;max-width:calc(100vw - 18px);max-height:94vh}.ad-dialog-heading h2{font-size:1.5625rem}.ad-form-footer{align-items:start;flex-direction:column;gap:5px}.ad-footer{flex-wrap:wrap;gap:10px}.ad-footer span:last-child{display:none}.ad-details{grid-template-columns:1fr;gap:5px}.ad-details dd{margin-bottom:14px}.ad-theme-options{display:grid}.ad-check-row{gap:4px 12px}.ad-root fieldset{padding:12px}.ad-email-preview{padding:20px}.ad-notice{align-items:start}.ad-note-card{margin-bottom:18px}}
@media(prefers-reduced-motion:reduce){.ad-root *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.ad-table-wrap{position:relative}.ad-page-heading h1:focus{outline:none}.ad-topbar .ad-field>label{white-space:nowrap}
@container wedding-admin (max-width:760px){.ad-root table{min-width:0}.ad-root thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ad-root tbody,.ad-root tr,.ad-root td{display:block}.ad-root tr{padding:10px 0;border-bottom:1px solid var(--ad-line)}.ad-root td{border:0;padding:7px 0;white-space:normal}.ad-root td:nth-child(2):before{content:'People / ceremony: ';color:var(--ad-muted);font-size:0.6875rem}.ad-root td:nth-child(3):before{content:'Invitation / dinner: ';color:var(--ad-muted);font-size:0.6875rem}.ad-root td:nth-child(4):before{content:'Response / meal: ';color:var(--ad-muted);font-size:0.6875rem}}

.ad-sidebar nav svg{flex-shrink:0}.ad-theme-options button>svg{margin-left:auto}.ad-root .ad-button svg{vertical-align:middle}.ad-root .ad-task:after{content:'';width:7px;height:7px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg);margin:8px 4px}
@container wedding-admin (max-width:760px){.ad-root td:nth-child(2):before,.ad-root td:nth-child(3):before,.ad-root td:nth-child(4):before{content:attr(data-label) ': '}.ad-sidebar nav button{font-size:0.6875rem}.ad-sidebar nav{gap:6px}.ad-sidebar nav button{min-height:52px}.ad-demo{font-size:0.6875rem}.ad-stat>small{font-size:0.6875rem}}

.ad-skip{clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}.ad-skip:focus{clip-path:none;width:auto;height:auto;overflow:visible;white-space:normal}

.ad-button{max-width:100%;white-space:normal}.ad-topbar{flex-wrap:wrap}.ad-panel>header>div{min-width:0}.ad-root p,.ad-root small,.ad-root strong,.ad-root label{overflow-wrap:anywhere}
@container wedding-admin (max-width:760px){.ad-demo{flex-wrap:wrap}.ad-topbar>div{max-width:100%}.ad-topbar .ad-field{flex-wrap:wrap}.ad-event-line>div{min-width:150px}.ad-event-numbers{flex-wrap:wrap}.ad-page-heading h1{overflow-wrap:anywhere}}
.ad-card-actions{flex-wrap:wrap}
@container wedding-admin (max-width:760px){.ad-sidebar nav{grid-template-columns:repeat(auto-fit,minmax(min(100%,6rem),1fr))}.ad-sidebar nav button{overflow-wrap:anywhere}.ad-stats{grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr))}.ad-topbar select{width:auto;min-width:7rem;max-width:100%}}

@container wedding-admin (max-width:760px){.ad-brand{white-space:normal;flex-wrap:wrap}.ad-brand>div{min-width:0;flex:1 1 10rem}.ad-brand small{overflow-wrap:normal}.ad-page-heading h1{font-size:clamp(1.5rem,calc(5vw + 1rem),2.1875rem);overflow-wrap:normal;word-break:normal;letter-spacing:-.025em}.ad-sidebar nav button{min-width:0;max-width:100%}}

.ad-container{container-type:inline-size;container-name:wedding-admin;width:100%;min-width:0}.ad-brand{white-space:normal;flex-wrap:wrap}.ad-brand>div{min-width:0;flex:1 1 8rem}.ad-brand small{overflow-wrap:normal}.ad-stack{min-width:0}.ad-task>span{min-width:0}.ad-task{overflow-wrap:anywhere}

.ad-badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}
/* Page configuration and event wizard: all text sizes follow the root preference. */
.ad-page-tabs{display:flex;gap:6px;overflow-x:auto;max-width:100%;padding:6px 3px 12px;scroll-padding-inline:8px;border-bottom:1px solid var(--ad-line);margin-bottom:8px}.ad-page-tabs button{flex:0 0 auto;min-height:44px;padding:10px 16px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--ad-muted);font-size:.8125rem;font-weight:650;white-space:nowrap}.ad-page-tabs button[aria-selected=true]{background:var(--ad-primary);color:white}.ad-page-tabs button:hover{border-color:var(--ad-primary)}.ad-page-config{min-width:0}.ad-config-heading{display:flex;justify-content:space-between;align-items:start;gap:16px;padding:18px 0 24px}.ad-config-heading h2{font:1.875rem Georgia,serif}.ad-config-heading p{font-size:.8125rem;color:var(--ad-muted);margin-top:8px}.ad-config-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;align-items:start}.ad-config-grid>.ad-panel{min-width:0}.ad-page-summary{min-width:0;overflow-wrap:anywhere}.ad-page-summary h2{font:2rem/1.2 Georgia,serif;margin:18px 0;white-space:pre-line}.ad-page-summary p{white-space:pre-wrap;font-size:.875rem;line-height:1.85}.ad-page-summary article{padding-top:18px;margin-top:18px;border-top:1px solid var(--ad-line)}.ad-page-summary h3{margin-bottom:8px}.ad-page-summary figure{margin:20px 0}.ad-page-summary img,.ad-event-review img{width:100%;max-height:280px;aspect-ratio:4/3;object-fit:cover;border-radius:8px;display:block}.ad-page-summary figcaption{font-size:.75rem;color:var(--ad-muted);margin-top:6px}.ad-preview-link{padding:10px 0;border-bottom:1px solid var(--ad-line)}.ad-preview-link small{display:block;overflow-wrap:anywhere}.ad-links-editor{margin:22px 0}.ad-links-editor h4{font-size:.875rem;margin:0 0 10px}.ad-section-label{margin:26px 0 14px!important}.ad-section-editor{border:1px solid var(--ad-line);border-radius:8px;margin:14px 0;min-width:0}.ad-section-editor summary{cursor:pointer;min-height:48px;padding:14px;font-size:.875rem;overflow-wrap:anywhere}.ad-section-editor summary small{display:block;margin:4px 0 0 18px}.ad-section-editor>div,.ad-section-editor>p{padding:0 16px 18px}.ad-crop-preview{position:relative;margin:16px 0}.ad-crop-preview img{display:block;width:100%;height:220px;object-fit:cover;border-radius:8px}.ad-crop-preview>span{display:block;font-size:.75rem;color:var(--ad-muted);margin-top:6px}.ad-image-editor{margin-bottom:10px!important}.ad-wizard-steps{list-style:none;margin:18px 0 28px;padding:0;display:flex;gap:6px;overflow:auto;max-width:100%}.ad-wizard-steps li{flex:1 0 100px;min-width:0}.ad-wizard-steps button{width:100%;height:100%;min-height:64px;background:var(--ad-soft);color:var(--ad-primary);border:1px solid transparent;border-radius:6px;padding:8px;font-size:.75rem;text-align:left;overflow-wrap:anywhere}.ad-wizard-steps button[aria-current=step]{background:var(--ad-primary);color:white}.ad-wizard-steps button>span{display:block;font-size:.6875rem;margin-bottom:4px}.ad-wizard-step-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:20px}.ad-wizard-step-heading h3{font:1.75rem Georgia,serif;outline:none}.ad-wizard-footer{border-top:1px solid var(--ad-line);padding-top:22px;margin-top:26px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ad-wizard-footer>span{font-size:.75rem;color:var(--ad-muted)}.ad-event-review{border:1px solid var(--ad-line);padding:22px;border-radius:10px}.ad-event-review h2{font:2rem Georgia,serif;margin:20px 0 12px}.ad-event-review h3{margin:18px 0 8px}.ad-event-review p{white-space:pre-wrap;margin:12px 0;overflow-wrap:anywhere;font-size:.875rem}.ad-event-review img{margin:20px 0}.ad-review-url{font-size:.75rem!important;overflow-wrap:anywhere}.ad-root .ad-page-config :focus-visible{outline-offset:2px}
@container wedding-admin (max-width:1000px){.ad-config-grid{grid-template-columns:minmax(0,1fr)}.ad-config-heading{flex-wrap:wrap}}
@container wedding-admin (max-width:760px){.ad-page-tabs button{font-size:.8125rem;max-width:100%}.ad-page-summary h2,.ad-event-review h2{font-size:1.5rem}.ad-wizard-step-heading{flex-wrap:wrap}.ad-wizard-steps li{flex-basis:6.5rem}.ad-event-review{padding:16px}.ad-config-heading h2{font-size:1.5rem}.ad-crop-preview img{height:190px}}

/* Keep selected-tab text readable throughout the state change. */
.ad-root button{transition:box-shadow .18s ease,border-color .18s ease;}
