/* ════════════════════════════════════════════════════════
   Sample · Modern Minimal (Marco & Jess)
   A small civil wedding and dinner for about 40 guests.
   Black and white with one vermilion accent, big confident
   type. Inter Tight + Instrument Serif. Square corners,
   hairlines, no stickers: the type does the moving.
════════════════════════════════════════════════════════ */

.t-modern {
  --ink: #0E0E0E;
  --paper: #F4F2EE;
  --white: #FFFFFF;
  --gray: #5F5F5F;
  --line: #D6D2CA;
  --accent: #FF4A1C;
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --out: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --focus: #FF4A1C;

  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
.t-modern ::selection { background: var(--accent); color: var(--ink); }
.t-modern .demo-bar { background: var(--ink); color: #BDBDBD; }
.t-modern .demo-bar a { color: var(--white); }

.t-modern section { position: relative; background: var(--bg, var(--paper)); padding: clamp(88px, 11vw, 140px) 20px; border-top: 1px solid var(--line); }
.t-modern .wrap { width: min(1180px, 100%); margin: 0 auto; }

/* ── Type ── */
.t-modern .kicker { display: flex; align-items: center; gap: 12px; font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.t-modern .kicker::before { content: ""; width: 10px; height: 10px; background: var(--accent); }
.t-modern .big { font: 900 clamp(48px, 9vw, 128px)/.92 var(--sans); letter-spacing: -.035em; text-transform: uppercase; margin-top: 18px; }
.t-modern .big em { font: italic 400 1em/1 var(--serif); text-transform: none; letter-spacing: -.01em; color: var(--accent); }
.t-modern .lead { margin-top: 18px; max-width: 560px; font-size: 19px; color: var(--gray); }

/* ── Buttons ── */
.t-modern .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 14px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  padding: 19px 26px; border: 1.5px solid var(--ink); border-radius: 0;
  color: var(--ink); background: transparent; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, transform .3s var(--out);
}
.t-modern .btn:hover { background: var(--ink); color: var(--white); }
.t-modern .btn--solid { background: var(--ink); color: var(--white); }
.t-modern .btn--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.t-modern .btn--accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.t-modern .btn--accent:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.t-modern .btn--sm { padding: 12px 15px; font-size: 12px; }
.t-modern .btn--big { padding: 24px 34px; font-size: 15px; }
.t-modern .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ── Progress + nav ── */
.t-modern .progress { height: 3px; background: var(--accent); }
.t-modern .nav { gap: 2px; padding: 6px 6px 6px 18px; background: rgba(244, 242, 238, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1.5px solid var(--ink); }
.t-modern .nav-logo { font: 900 17px/1 var(--sans); letter-spacing: .06em; text-decoration: none; margin-right: 12px; }
.t-modern .nav-logo span { color: var(--accent); }
.t-modern .nav-links a { font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 12px 12px; transition: color .2s; }
.t-modern .nav-links a:hover { color: var(--accent); }
.t-modern .nav .btn { margin-left: 6px; }
@media (max-width: 1080px) { .t-modern .nav .btn { margin-left: auto; } }
.t-modern .nav-menu { width: 42px; height: 42px; margin-left: 6px; border: 1.5px solid var(--ink); background: var(--white); }
.t-modern .nav-menu span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .3s var(--out); }
.t-modern .nav-menu span:first-child { top: 15px; }
.t-modern .nav-menu span:last-child  { top: 23px; }
.t-modern .nav-menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.t-modern .nav-menu[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }
.t-modern .menu { background: var(--ink); }
.t-modern .menu nav { align-items: flex-start; }
.t-modern .menu a { font: 900 clamp(44px, 13vw, 64px)/1.05 var(--sans); letter-spacing: -.03em; text-transform: uppercase; text-decoration: none; color: var(--white); }
.t-modern .menu a:hover { color: var(--accent); }

/* ═════════════════ OPENING: a magazine cover that splits open ═════════════════ */
.t-modern .intro { background: var(--white); }
.t-modern .intro-skip { font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--white); background: var(--ink); border: 1.5px solid var(--white); padding: 11px 14px; transition: opacity .3s; z-index: 9; }
.t-modern .intro :focus-visible { outline-color: var(--accent); }
.t-modern .halves { position: absolute; inset: var(--bar-h, 0px) 0 0; z-index: 4; pointer-events: none; }
.t-modern .half { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; transition: transform 1.05s cubic-bezier(.7, 0, .2, 1); }
.t-modern .half-l { left: 0; }
.t-modern .half-r { right: 0; }
.t-modern .cover { position: absolute; top: 0; bottom: 0; width: 200%; background: var(--ink); color: var(--white); }
.t-modern .half-l .cover { left: 0; }
.t-modern .half-r .cover { right: 0; }
.t-modern .half-l::after, .t-modern .half-r::after { content: ""; position: absolute; top: 0; bottom: 0; width: 26px; pointer-events: none; opacity: 0; transition: opacity .4s; }
.t-modern .half-l::after { right: 0; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .35)); }
.t-modern .half-r::after { left: 0; background: linear-gradient(-90deg, transparent, rgba(0, 0, 0, .35)); }
.t-modern .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); opacity: .78; }
.t-modern .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 34%, transparent 58%, rgba(0, 0, 0, .7) 100%); }
.t-modern .cv { position: absolute; z-index: 2; }
.t-modern .cv-mast { left: 0; right: 0; top: 64px; text-align: center; font: 900 clamp(96px, 28vw, 270px)/.8 var(--sans); letter-spacing: -.05em; }
.t-modern .cv-issue { left: 6%; right: 6%; top: calc(64px + clamp(80px, 23.5vw, 226px)); display: flex; justify-content: space-between; font: 600 11px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; border-top: 1px solid rgba(255, 255, 255, .6); padding-top: 8px; }
.t-modern .cv-lines { left: 6%; bottom: 17%; max-width: 70%; }
.t-modern .cv-lines b { display: block; font: italic 400 clamp(40px, 11vw, 82px)/.95 var(--serif); }
.t-modern .cv-lines b span { color: var(--accent); }
.t-modern .cv-lines p { margin-top: 12px; font: 700 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.t-modern .cv-tag { right: 6%; top: 46%; width: 88px; height: 88px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; text-align: center; font: 900 13px/1.05 var(--sans); letter-spacing: .02em; text-transform: uppercase; transform: rotate(12deg); }
.t-modern .cv-bar { right: 6%; bottom: 5%; width: 74px; height: 40px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 7px, transparent 7px 9px, #fff 9px 10px, transparent 10px 12px); }
.t-modern .cv-tap { left: 6%; bottom: 5%; font: 700 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 12px 14px; border: 1.5px solid var(--white); }
.t-modern .cv-tap span { display: inline-block; animation: wd-pulse 1.5s ease-in-out infinite; }
.t-modern .intro-open { position: absolute; inset: var(--bar-h, 0px) 0 0; z-index: 6; appearance: none; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; }
.t-modern .intro.s-open .intro-open { visibility: hidden; }
.t-modern .intro.s-open .half-l { transform: translateX(-101%); }
.t-modern .intro.s-open .half-r { transform: translateX(101%); }
.t-modern .intro.s-open .half::after { opacity: 1; }

/* the inside page: the invitation */
.t-modern .intro-card {
  appearance: none; border: 0; margin: 0; padding: 0; cursor: pointer;
  position: absolute; inset: var(--bar-h, 0px) 0 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--ink); font: inherit; text-align: left;
  transition: transform .8s cubic-bezier(.7, 0, .2, 1);
}
.t-modern .inv-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: min(560px, 100% - 48px); }
.t-modern .inv-kicker { display: flex; align-items: center; gap: 10px; font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.t-modern .inv-kicker::before { content: ""; width: 10px; height: 10px; background: var(--accent); }
.t-modern .inv-names { display: flex; flex-direction: column; font: 900 clamp(64px, min(22vw, 13vh), 120px)/.86 var(--sans); letter-spacing: -.05em; text-transform: uppercase; margin: 6px 0 4px; }
.t-modern .inv-names i { font: italic 400 .62em/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--accent); margin: 2px 0; }
.t-modern .inv-date { font: 700 18px/1.3 var(--sans); }
.t-modern .inv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.t-modern .inv-chips span { border: 1.5px solid var(--ink); padding: 8px 11px; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.t-modern .inv-place { font-size: 16px; color: var(--gray); }
.t-modern .inv-grace { font: italic 400 28px/1.1 var(--serif); }
.t-modern .inv-tap { margin-top: 8px; font: 700 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--white); background: var(--ink); padding: 15px 18px; }
html.motion .t-modern .inv-inner > * { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--out), transform .8s var(--out); transition-delay: calc(.35s + var(--k, 0) * 70ms); }
html.motion .t-modern .intro.s-open .inv-inner > * { opacity: 1; transform: none; }
html.motion .t-modern .intro.s-card .inv-tap { animation: wd-pulse 1.5s ease-in-out .5s infinite; }
@media (max-height: 700px) { .t-modern .inv-inner { gap: 7px; } .t-modern .inv-grace { font-size: 23px; } }
.t-modern .intro.s-leave { pointer-events: none; }
.t-modern .intro.s-leave .intro-card { transform: translateY(-101%); }
.t-modern .intro.s-leave .intro-skip { opacity: 0; }
.t-modern .intro.s-leave { background: transparent; transition: background-color 0s .8s; }

/* ═════════════════ HERO: the names move ═════════════════ */
.t-modern .hero { display: flex; flex-direction: column; justify-content: center; padding: 120px 20px 70px; overflow: clip; background: var(--paper); border-top: 0; }
.t-modern .hero-grid { width: min(1240px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: end; }
.t-modern .hero-names { display: flex; flex-direction: column; font: 900 clamp(84px, 15vw, 230px)/.82 var(--sans); letter-spacing: -.055em; text-transform: uppercase; margin: 18px 0 30px; }
.t-modern .hero-names .w { display: block; padding-bottom: .04em; will-change: transform; }
.t-modern .hero-names .amp { font: italic 400 .62em/1 var(--serif); text-transform: none; letter-spacing: 0; color: var(--accent); margin: -.04em 0 -.02em .1em; }
html.motion .t-modern .hero-names .n1 { transform: translateX(calc(var(--p, 0) * -24vw)); }
html.motion .t-modern .hero-names .n2 { transform: translateX(calc(var(--p, 0) * 24vw)); }
html.motion .t-modern .hero-names .amp { transform: scale(calc(1 + var(--p, 0) * 1.4)) rotate(calc(var(--p, 0) * -12deg)); transform-origin: 20% 60%; }
.t-modern .hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.t-modern .hero-facts li { padding: 14px 26px 14px 0; display: flex; flex-direction: column; }
.t-modern .hero-facts li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.t-modern .hero-facts b { font: 800 22px/1.15 var(--sans); }
.t-modern .hero-facts span { font: 600 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gray); margin-top: 4px; }
.t-modern .hero-place { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.t-modern .hero-place svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 2.2; }
.t-modern .hero-tag { margin-top: 6px; font: italic 400 30px/1.2 var(--serif); }
.t-modern .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.t-modern .hero-art { position: relative; }
.t-modern .hero-photo { position: relative; aspect-ratio: 4 / 5; transform: translateY(calc(var(--p, 0) * 50px)) scale(calc(1 + var(--p, 0) * .06)); will-change: transform; }
.t-modern .hero-photo::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translate(18px, 18px); }
.t-modern .hero-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.t-modern .hero-photo figcaption { position: absolute; left: 0; bottom: -30px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }
.t-modern .scroll-cue { position: absolute; right: 24px; bottom: 26px; font: 600 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; writing-mode: vertical-rl; }
.t-modern .scroll-cue span { display: inline-block; width: 1.5px; height: 46px; margin-top: 10px; background: var(--ink); transform-origin: 50% 0; animation: modern-line 1.8s var(--out) infinite; }
@keyframes modern-line { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 860px) {
  .t-modern .hero { padding: 106px 16px 60px; }
  .t-modern .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .t-modern .hero-names { font-size: clamp(76px, 25vw, 170px); margin: 14px 0 24px; }
  .t-modern .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .t-modern .hero-facts li { padding: 12px 10px 12px 0; }
  .t-modern .hero-facts li + li { padding-left: 10px; }
  .t-modern .hero-facts b { font-size: 16px; }
  .t-modern .hero-facts span { font-size: 9.5px; letter-spacing: .12em; }
  .t-modern .hero-art { width: min(300px, 78vw); justify-self: end; margin-right: 18px; }
  .t-modern .scroll-cue { display: none; }
}

/* ═════════════════ RIBBONS (kinetic marquee) ═════════════════ */
.t-modern .ribbons { height: 156px; margin: 0; background: var(--paper); border-top: 1px solid var(--line); }
.t-modern .ribbon { padding: 14px 0; }
.t-modern .ribbon--a { top: 18px; background: var(--ink); color: var(--white); z-index: 2; }
.t-modern .ribbon--b { top: 82px; background: var(--accent); color: var(--ink); }
.t-modern .ribbon--a span { font: 900 28px/1 var(--sans); letter-spacing: -.01em; text-transform: uppercase; }
.t-modern .ribbon--b span { font: italic 400 32px/1 var(--serif); }

/* ═════════════════ KINETIC STATEMENT (signature) ═════════════════
   The section pins while you scroll; each line slides in from its
   side, stacks into place, and the last one grows. --kp is 1 at
   rest, so without motion (or without scripts) it simply reads.   */
.t-modern .kinetic { --kp: 1; padding: 0; background: var(--ink); color: var(--white); border-top: 0; }
html.motion .t-modern .kinetic { height: 260vh; }
.t-modern .kin-sticky { display: flex; flex-direction: column; justify-content: center; padding: 100px 20px; overflow: hidden; }
html.motion .t-modern .kin-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0 20px; }
.t-modern .kin-lines { width: min(1240px, 100%); margin: 0 auto; }
.t-modern .kin-line {
  --t: clamp(0, (var(--kp) - var(--o, 0)) * 3, 1);
  display: block; font: 900 clamp(40px, 7.6vw, 124px)/.95 var(--sans); letter-spacing: -.045em; text-transform: uppercase;
  transform: translateX(calc((1 - var(--t)) * var(--dir, 1) * 110vw)) scale(calc(.7 + var(--t) * .3));
  transform-origin: 0 50%;
  opacity: calc(.2 + var(--t) * .8);
}
.t-modern .kin-line em { font: italic 400 1em/1 var(--serif); text-transform: none; letter-spacing: -.01em; color: var(--accent); }
.t-modern .kin-line--big { --g: clamp(0, (var(--kp) - .82) * 6, 1); color: var(--accent); transform: translateX(calc((1 - var(--t)) * var(--dir, 1) * 110vw)) scale(calc(.7 + var(--t) * .3 + var(--g) * .07)); }
.t-modern .kin-note { margin-top: 26px; font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #9A9A9A; }
@media (max-width: 640px) { .t-modern .kin-line { font-size: clamp(32px, 10.4vw, 60px); white-space: normal; margin-bottom: .12em; } .t-modern .kin-line--big { margin-top: .2em; } }

/* ═════════════════ DETAILS + MAP + CALENDAR ═════════════════ */
.t-modern .facts3 { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; border-top: 1.5px solid var(--ink); }
.t-modern .facts3 > div { padding: 22px 24px 24px 0; }
.t-modern .facts3 > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.t-modern .facts3 small { display: block; font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gray); }
.t-modern .facts3 b { display: block; margin-top: 12px; font: 800 26px/1.15 var(--sans); letter-spacing: -.01em; }
.t-modern .facts3 p { margin-top: 6px; color: var(--gray); }
.t-modern .wide-photo { position: relative; margin-top: 40px; aspect-ratio: 16 / 7; overflow: hidden; }
.t-modern .wide-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transform: scale(calc(1.12 - var(--p, .5) * .12)); }
.t-modern .cal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.t-modern .cal p { font-size: 15px; color: var(--gray); margin-right: 8px; }
.t-modern .map-reveal { margin-top: 40px; border: 1.5px solid var(--ink); }
.t-modern .map-reveal iframe { filter: grayscale(1) contrast(1.05); }
.t-modern .map-note { margin-top: 12px; font-size: 14px; color: var(--gray); }
@media (max-width: 760px) {
  .t-modern .facts3 { grid-template-columns: 1fr; }
  .t-modern .facts3 > div, .t-modern .facts3 > div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .t-modern .wide-photo { aspect-ratio: 4 / 3; }
}

/* ═════════════════ SCHEDULE (a straight line that draws) ═════════════════ */
.t-modern .tl { margin-top: 44px; gap: 0; }
.t-modern .tl-line { left: 0; width: 2px; transform: none; }
.t-modern .tl-track { stroke: var(--line); stroke-width: 2; }
.t-modern .tl-draw { stroke: var(--accent); stroke-width: 3; }
.t-modern .tl-item, .t-modern .tl-item:nth-of-type(odd), .t-modern .tl-item:nth-of-type(even) { width: 100%; align-self: stretch; display: grid; grid-template-columns: 220px 1fr; gap: 6px 30px; padding: 26px 0 26px 34px; border-bottom: 1px solid var(--line); }
.t-modern .tl-time { font: 900 clamp(40px, 6vw, 72px)/1 var(--sans); letter-spacing: -.04em; grid-row: span 2; }
.t-modern .tl-item h3 { font: 800 24px/1.2 var(--sans); align-self: end; }
.t-modern .tl-item p { color: var(--gray); }
@media (max-width: 760px) { .t-modern .tl-line { left: 0; width: 2px; } .t-modern .tl-item, .t-modern .tl-item:nth-of-type(odd), .t-modern .tl-item:nth-of-type(even) { grid-template-columns: 1fr; padding-left: 24px; } .t-modern .tl-time { grid-row: auto; } }

/* ═════════════════ COUNTDOWN ═════════════════ */
.t-modern .count-grid { margin-top: 44px; gap: 0; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); perspective: 900px; }
.t-modern .count-card { padding: 26px 10px 22px 0; display: flex; flex-direction: column; }
.t-modern .count-card + .count-card { padding-left: 22px; border-left: 1px solid var(--line); }
.t-modern .count-card .num { font: 900 clamp(64px, 11vw, 168px)/.9 var(--sans); letter-spacing: -.05em; }
.t-modern .count-card:last-child .num { color: var(--accent); }
.t-modern .count-card .lbl { margin-top: 12px; font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gray); }
.t-modern .count-done { grid-column: 1 / -1; font: 900 clamp(48px, 9vw, 120px)/1 var(--sans); letter-spacing: -.04em; text-transform: uppercase; padding: 24px 0; }
@media (max-width: 640px) {
  .t-modern .count-card:nth-child(3) { padding-left: 0; border-left: 0; }
  .t-modern .count-card:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ═════════════════ RSVP (black) ═════════════════ */
.t-modern .rsvp { background: var(--ink); color: var(--white); border-top: 0; }
.t-modern .rsvp .kicker { color: var(--white); }
.t-modern .rsvp .big { font-size: clamp(80px, 18vw, 260px); line-height: .85; }
.t-modern .rsvp .lead { color: #B7B7B7; }
.t-modern .deadline { margin-top: 10px; font-weight: 700; color: var(--white); }
.t-modern .rsvp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 30px; }
.t-modern .variant-note { max-width: 460px; font-size: 14px; color: #B7B7B7; border-left: 2px solid var(--accent); padding-left: 14px; }
.t-modern .variant-note a { color: var(--white); font-weight: 700; }
.t-modern .variant-note .solo-only { display: none; }
html.is-solo .t-modern .variant-note .solo-only { display: inline; }
html.is-solo .t-modern .variant-note .plus-only { display: none; }
.t-modern .after-box p { margin-top: 14px; max-width: 560px; font-size: 19px; color: #B7B7B7; }

/* ═════════════════ FOOTER ═════════════════ */
.t-modern .foot { background: var(--paper); color: var(--ink); padding: 90px 20px 112px; border-top: 1.5px solid var(--ink); overflow: hidden; }
.t-modern .foot-top { width: min(1180px, 100%); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.t-modern .foot-photo { width: 150px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; padding: 5px; background: conic-gradient(var(--accent), var(--ink), var(--accent)); }
.t-modern .foot-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: grayscale(1); }
.t-modern .foot-love { font: italic 400 34px/1 var(--serif); }
.t-modern .foot-names { display: block; width: min(1180px, 100%); margin: 26px auto 0; font: 900 clamp(60px, 13.5vw, 210px)/.86 var(--sans); letter-spacing: -.055em; text-transform: uppercase; transform-origin: 0 100%; }
.t-modern .foot-names em { font: italic 400 .7em/1 var(--serif); text-transform: none; letter-spacing: 0; color: var(--accent); }
.t-modern .foot-meta { width: min(1180px, 100%); margin: 22px auto 0; display: flex; flex-wrap: wrap; gap: 8px 30px; font: 600 12px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; border-top: 1.5px solid var(--ink); padding-top: 16px; }
.t-modern .foot-meta a { color: var(--ink); }
.t-modern .try-box { width: min(1180px, 100%); margin: 40px auto 0; }
.t-modern .try-box h2 { font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gray); }
.t-modern .try-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.t-modern .try-links a { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 13px 15px; border: 1.5px solid var(--ink); transition: background-color .25s, color .25s; }
.t-modern .try-links a:hover { background: var(--ink); color: var(--white); }
.t-modern .disclaimer { width: min(1180px, 100%); margin: 30px auto 0; font-size: 13px; line-height: 1.6; color: var(--gray); }
.t-modern .disclaimer a { color: var(--ink); }

/* ═════════════════ DIALOGS + TOAST ═════════════════ */
.t-modern .dlg-card { background: var(--white); border: 1.5px solid var(--ink); padding: 44px 28px 28px; text-align: left; color: var(--ink); }
.t-modern .dlg-close { border: 1.5px solid var(--ink); border-radius: 0; background: var(--white); }
.t-modern .dlg-close svg { fill: none; stroke: var(--ink); stroke-width: 2.2; }
.t-modern .dlg-title { font: 900 48px/.95 var(--sans); letter-spacing: -.04em; text-transform: uppercase; }
.t-modern .dlg-sub { font-size: 15px; color: var(--gray); margin: 8px 0 20px; }
.t-modern .rsvp-form { display: flex; flex-direction: column; gap: 16px; }
.t-modern .field > span, .t-modern .field > legend { font: 600 11px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gray); padding: 0; }
.t-modern fieldset.field { border: 0; margin: 0; padding: 0; }
.t-modern .rsvp-form input[type="text"], .t-modern .rsvp-form textarea { border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent; padding: 10px 0; font-size: 18px; }
.t-modern .rsvp-form textarea { min-height: 64px; resize: vertical; }
.t-modern .rsvp-form input[type="text"]:focus, .t-modern .rsvp-form textarea:focus { outline: none; border-bottom-color: var(--accent); }
.t-modern .choice label span { display: inline-block; border: 1.5px solid var(--ink); padding: 10px 13px; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.t-modern .choice input:checked + span { background: var(--ink); color: var(--white); }
.t-modern .choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.t-modern .form-note { font-size: 13px; color: var(--gray); }
.t-modern .rsvp-done:focus { outline: none; }
.t-modern .rsvp-done p { color: var(--gray); margin-top: 10px; }
.t-modern .rsvp-done .sample-line { margin: 20px 0 22px; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--paper); font-size: 15px; color: var(--ink); }
.t-modern .toast { background: var(--ink); color: var(--white); border-radius: 0; border-left: 4px solid var(--accent); font-family: var(--sans); }
