@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/fonts/jost.woff2") format("woff2"); font-weight: 300 600; font-display: swap; }
@font-face { font-family: "Tiro Mantra"; src: url("/fonts/tiro-mantra.woff2") format("woff2"); font-display: swap; }

/* the printed itinerary's paper, ink and watercolours */
:root {
  --paper: #fcf2e7;
  --panel: #f6e6d3;
  --ink: #302d26;
  --ink-2: #57504a;
  --muted: #746b5e;
  --line: rgba(48, 45, 38, 0.16);
  --line-2: rgba(48, 45, 38, 0.09);
  --rust: #a34b37;
  --ochre: #bb944e;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; color: var(--ink);
  font: 370 17px/1.62 var(--serif); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  /* paper grain, like the printed card */
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: rgba(187, 148, 78, 0.3); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:is(a, button, summary):focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 2px; }
.caps { font-family: var(--sans); font-weight: 450; font-size: 11px; line-height: 1.5; letter-spacing: 0.22em; text-transform: uppercase; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ico .f { fill: currentColor; stroke: none; }

@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes fade { from { opacity: 0; } }

/* monogram: D and S under a small arch, used in the top bar, footer and favicon */
.mono { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.mono-m { width: 32px; height: 41px; overflow: visible; }
.mono-m path { fill: none; stroke: var(--rust); stroke-width: 1.5; stroke-dasharray: 1; animation: draw 1.6s var(--ease) 0.2s both; }
.mono-m .inner { stroke: var(--ochre); stroke-width: 0.9; stroke-dasharray: none; animation: fade 1s 0.9s both; }
.mono-m circle { fill: var(--ochre); }
.mono-m text { font-family: var(--serif); font-style: italic; font-weight: 360; font-variation-settings: "opsz" 72; fill: var(--ink); animation: fade 0.9s 0.6s both; }
.mono-m .amp { fill: var(--ochre); font-weight: 330; }
.word { display: none; color: var(--ink-2); }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; max-width: 1080px; height: 60px; margin: 0 auto; padding: 0 22px; }
.langs { display: flex; gap: 6px; }
.langs a { padding: 10px 6px; text-decoration: none; color: var(--muted); }
.langs a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rust); text-underline-offset: 6px; }

/* hero: a double hairline Mughal arch that draws itself, like the printed pages */
.hero { display: flex; min-height: calc(100svh - 60px - 50px); padding: 2px 16px 22px; }
.arch {
  position: relative; flex: 1; max-width: 520px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 23% 26px 36px; text-align: center;
}
.arch-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.arch-line path { fill: none; stroke: var(--rust); stroke-width: 1; stroke-dasharray: 1; animation: draw 2.7s cubic-bezier(0.45, 0, 0.25, 1) 0.15s both; }
.arch-line .inner { stroke: var(--ochre); opacity: 0.75; animation-delay: 0.5s; }
/* hold the opening until the fonts are in (or 1.5 s), so nothing swaps typeface or jumps mid-draw */
.js:not(.go) :is(.hero, .top, .pick) * { animation-play-state: paused; }
.couple { width: min(190px, 54%); margin: 0 auto 20px; animation: rise 1.1s var(--ease) 0.55s both; }
.eyebrow { margin: 0 0 14px; color: var(--rust); animation: rise 0.9s var(--ease) 0.8s both; }
h1 { margin: 0; font-weight: 330; font-size: clamp(44px, 12vw, 66px); line-height: 0.98; letter-spacing: -0.01em; font-variation-settings: "opsz" 144; }
h1 span { display: block; animation: rise 1s var(--ease) 0.95s both; }
h1 .amp { font-style: italic; font-size: 0.5em; line-height: 1.5; color: var(--ochre); animation-delay: 1.1s; }
h1 span:last-child { animation-delay: 1.2s; }
.when { margin: 22px 0 0; color: var(--ink-2); line-height: 1.5; animation: rise 0.9s var(--ease) 1.35s both; }

/* guide. picker: two hotel doors that draw themselves in; tapping one walks through it (main.js) */
.swap { padding: 10px 0; color: var(--muted); text-decoration: none; }
.swap:hover { color: var(--rust); }
.pick { max-width: 460px; margin: 0 auto; padding: 20px 20px 56px; text-align: center; }
.pick h1 { font-size: clamp(38px, 10.5vw, 54px); }
.pick h1 span { display: inline; }
.pick .when { margin-top: 10px; }
.pick .q { margin: 34px 0 20px; font-size: clamp(24px, 6.4vw, 30px); animation: rise 0.9s var(--ease) 1.5s both; }
.stays { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stay { display: block; color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.door { display: block; width: 100%; height: auto; overflow: visible; transition: transform 0.5s var(--ease); }
.door path { fill: none; stroke: var(--rust); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: draw 2.2s cubic-bezier(0.45, 0, 0.25, 1) calc(1.6s + var(--i) * 0.3s) both; }
.door .inner { stroke: var(--ochre); opacity: 0.75; }
.door .bldg { transition: opacity 0.45s; }
.door .bldg path { stroke: var(--ink-2); stroke-width: 0.85; animation-duration: 2.6s; animation-delay: calc(2.3s + var(--i) * 0.3s); }
.door .bldg .acc { stroke: var(--ochre); stroke-width: 1; }
.door .bldg .faint { opacity: 0.55; }
.door .bldg .leaf { fill: var(--paper); }
.door .lit { fill: var(--ochre); opacity: 0.45; animation: fade 1.4s ease calc(4.2s + var(--i) * 0.3s) both; }
.stay b { display: block; margin-top: 12px; font-weight: 400; font-size: 19px; line-height: 1.25; animation: rise 0.9s var(--ease) calc(2.4s + var(--i) * 0.3s) both; }
.stay .caps { display: block; margin-top: 4px; color: var(--muted); animation: rise 0.9s var(--ease) calc(2.55s + var(--i) * 0.3s) both; }
.stay:hover .door, .stay:focus-visible .door { transform: translateY(-5px); }
.stay:hover b { color: var(--rust); }
body.leaving { overflow: hidden; }
.leaving :is(.top, footer, .pick > :not(.stays), .stay:not(.open)) { opacity: 0; transition: opacity 0.35s; }
.stay.open .door { position: relative; z-index: 5; transform: translate(var(--tx), var(--ty)) scale(var(--s)); transition: transform 0.9s cubic-bezier(0.6, 0, 0.25, 1); }
.stay.open .bldg { opacity: 0; }
.stay.open :is(b, .caps) { opacity: 0; transition: opacity 0.25s; }

/* the print's little butterflies: a few wing beats, then a glide */
.fly { position: absolute; z-index: 1; animation: fade 1.2s 2s both, var(--path) var(--t) ease-in-out 2s infinite alternate; }
.fly img { width: 100%; animation: flap var(--beat) ease-in-out infinite; }
.f1 { left: 11%; top: 19%; width: 19px; --path: drift-a; --t: 11s; --beat: 2.6s; }
.f2 { right: 20%; top: 11%; width: 14px; --path: drift-b; --t: 14s; --beat: 3.4s; }
.f3 { right: 8%; top: 31%; width: 16px; --path: drift-c; --t: 12.5s; --beat: 2.9s; }
@keyframes flap { 0%, 22%, 100% { transform: scaleX(1); } 5%, 16% { transform: scaleX(0.3); } 11% { transform: scaleX(0.95); } }
@keyframes drift-a { 0% { transform: translate(0, 0) rotate(-8deg); } 35% { transform: translate(16px, -14px) rotate(6deg); } 70% { transform: translate(4px, -26px) rotate(-4deg); } 100% { transform: translate(22px, -8px) rotate(10deg); } }
@keyframes drift-b { 0% { transform: translate(0, 0) rotate(14deg); } 40% { transform: translate(-18px, 8px) rotate(-6deg); } 100% { transform: translate(-6px, -12px) rotate(8deg); } }
@keyframes drift-c { 0% { transform: translate(0, 0) rotate(-12deg); } 50% { transform: translate(-12px, 18px) rotate(4deg); } 100% { transform: translate(6px, 8px) rotate(-6deg); } }

/* section links, sticky, with the current one underlined */
.sections {
  position: sticky; top: 0; z-index: 5;
  background: rgba(252, 242, 231, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-block: 1px solid var(--line-2);
}
.sections div {
  display: flex; align-items: center; gap: 24px; height: 50px; padding: 0 22px; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}
.sections div::-webkit-scrollbar { display: none; }
.sections a { position: relative; flex: none; padding: 12px 0; text-decoration: none; color: var(--ink-2); transition: color 0.3s; }
.sections a::after { content: ""; position: absolute; left: 0; right: 0.22em; bottom: 8px; height: 1px; background: var(--rust); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.sections a:first-child { margin-left: auto; }
.sections a:last-child { margin-right: auto; }
.sections a:hover, .sections a.on { color: var(--rust); }
.sections a.on::after { transform: scaleX(1); }

/* scroll reveals (only when the script runs; see main.js) */
:is(.head, .day h3, .items li, .cel header, .facts > div, .wear, .temp, .weather .w, .weather .pill, .tips li, .rituals li, .faq-group, .partner, .diya, .actions, .family, .blessing > *) {
  transition: opacity 0.9s ease, transform 0.9s var(--ease);
}
.js :is(.head, .day h3, .items li, .cel header, .facts > div, .wear, .temp, .weather .w, .weather .pill, .tips li, .rituals li, .faq-group, .partner, .diya, .actions, .family, .blessing > *):not(.in) {
  opacity: 0; transform: translateY(16px);
}

/* sections, each headed by a small arch that draws in */
.s { max-width: 680px; margin: 0 auto; padding: 104px 22px 0; }
.head { margin: 0 0 44px; text-align: center; }
.mark { display: block; width: 22px; height: 28px; margin: 0 auto 18px; overflow: visible; }
.mark path { fill: none; stroke: var(--rust); stroke-width: 2.2; stroke-dasharray: 1; }
.mark circle { fill: var(--ochre); }
.js .head:not(.in) .mark path { stroke-dashoffset: 1; }
.js .head:not(.in) .mark circle { opacity: 0; }
.head .mark path { transition: stroke-dashoffset 1.6s var(--ease) 0.2s; }
.head .mark circle { transition: opacity 0.8s 1.1s; }
.head .caps { margin: 0; color: var(--rust); }
h2 { margin: 12px 0 0; font-weight: 330; font-size: clamp(34px, 8.4vw, 48px); line-height: 1.06; font-variation-settings: "opsz" 144; }
.head .desc { max-width: 40ch; margin: 12px auto 0; color: var(--muted); font-style: italic; }

/* blessing */
.blessing { max-width: 520px; margin: 0 auto; padding: 84px 22px 0; text-align: center; }
.blessing p { margin: 0; }
.mantra { margin-bottom: 18px !important; font-family: "Tiro Mantra", serif; font-size: 19px; color: var(--rust); }
.blessing .small { display: block; color: var(--muted); font-size: 15px; font-style: italic; }
.elders { margin: 8px 0 14px !important; font-size: 18px; }
.elders i, .names .amp { color: var(--ochre); font-style: italic; }
.names { margin: 26px 0; }
.names .n { display: block; font-size: 32px; font-weight: 340; line-height: 1.15; font-variation-settings: "opsz" 144; }
.names .caps { color: var(--muted); font-size: 10.5px; }
.names .amp { margin: 6px 0 !important; font-size: 20px; }
.host { margin-bottom: 8px !important; font-size: 18px; }

/* itinerary: a thread down each day with a bead per moment, filled for the celebrations */
.day { margin-top: 44px; }
.day h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-weight: 360; font-size: 28px; line-height: 1.2; font-variation-settings: "opsz" 96; }
.day h3 .caps { color: var(--muted); }
.items { margin: 0; padding: 0; list-style: none; --tc: 5.4em; --gut: 26px; }
.items li { position: relative; display: grid; grid-template-columns: var(--tc) var(--gut) 1fr 58px; align-items: start; padding: 14px 0; }
.items li::before { content: ""; position: absolute; left: calc(var(--tc) + var(--gut) / 2); top: 0; bottom: 0; width: 1px; background: var(--line); }
.items li:first-child::before { top: 26px; }
.items li:last-child::before { bottom: calc(100% - 26px); }
.items li::after { content: ""; position: absolute; left: calc(var(--tc) + var(--gut) / 2 - 3.5px); top: 22px; width: 8px; height: 8px; border: 1px solid var(--ochre); border-radius: 50%; background: var(--paper); }
.items li.main::after { border-color: var(--rust); background: var(--rust); box-shadow: 0 0 0 4px rgba(163, 75, 55, 0.12); }
.items .t { grid-column: 1; padding-top: 3px; color: var(--ink-2); font-size: 14.5px; line-height: 1.4; font-variant-numeric: lining-nums tabular-nums; }
.items .w { grid-column: 3; }
.items b { display: block; font-weight: 400; font-size: 19px; line-height: 1.3; }
.items .g { display: block; color: var(--ink-2); font-size: 14.5px; font-style: italic; }
.items .p { display: block; margin-top: 3px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.items img { grid-column: 4; justify-self: end; width: 48px; margin-top: -2px; transition: transform 0.5s var(--ease); }
.items li:hover img { transform: translateY(-3px) rotate(-4deg); }
.items .main b a { color: var(--rust); text-decoration: none; border-bottom: 1px solid rgba(163, 75, 55, 0.35); }
.note { margin: 26px 0 0; color: var(--muted); font-size: 14px; font-style: italic; text-align: center; }
.cal { margin: 26px 0 0; text-align: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 24px;
  border: 1px solid var(--ink); border-radius: 999px; background: none; color: var(--ink); cursor: pointer;
  font: 450 11.5px/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; text-align: center;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}
.btn:hover { border-color: var(--rust); color: var(--rust); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--rust); border-color: var(--rust); color: var(--paper); }

/* celebrations */
.cel { padding: 48px 0; border-top: 1px solid var(--line); }
.cel:first-of-type { padding-top: 0; border-top: 0; }
.cel header { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; }
.cel .date { margin: 0 0 8px; color: var(--rust); }
.cel h3 { margin: 0; font-weight: 330; font-size: clamp(32px, 7.4vw, 40px); line-height: 1.05; font-variation-settings: "opsz" 144; }
.cel .tag { margin: 8px 0 0; color: var(--muted); font-style: italic; }
/* each celebration's watercolour sits in its own little arch window */
.win { position: relative; display: grid; place-items: end center; width: 84px; height: 107px; padding-bottom: 14px; }
.win svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.win path { fill: rgba(246, 230, 211, 0.7); stroke: var(--rust); stroke-width: 0.55; stroke-dasharray: 1; transition: stroke-dashoffset 1.8s var(--ease) 0.25s; }
.win img { position: relative; width: 60px; transition: opacity 0.8s 0.7s, transform 0.9s var(--ease) 0.7s; }
.js .cel header:not(.in) .win path { stroke-dashoffset: 1; }
.js .cel header:not(.in) .win img { opacity: 0; transform: translateY(8px); }
.facts { display: grid; gap: 18px; margin: 28px 0 0; }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; }
.facts dt { padding-top: 4px; color: var(--muted); }
.facts dd { margin: 0; }
.facts .addr { display: block; color: var(--muted); font-size: 15px; }
.facts .sn { display: block; margin-top: 6px; color: var(--ink-2); font-size: 15px; font-style: italic; }
.dir { display: inline-block; margin-top: 8px; padding: 6px 0 2px; color: var(--rust); text-decoration: none; border-bottom: 1px solid currentColor; }

/* what to wear: the palette as painted swatches, and a drawing for each wardrobe */
.wear { margin-top: 30px; padding: 22px 22px 24px; background: var(--panel); border-radius: 2px; }
.wear h4 { margin: 0 0 6px; color: var(--rust); }
.wear .vibe { margin: 0; color: var(--ink-2); font-style: italic; }
.swatches { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 16px 0 6px; padding: 0 0 18px; list-style: none; border-bottom: 1px solid var(--line-2); }
.swatches li { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 52px; font-size: 13px; line-height: 1.2; color: var(--ink-2); text-align: center; }
.sw {
  width: 34px; height: 34px; background: var(--c);
  border-radius: 52% 48% 55% 45% / 47% 55% 45% 53%;
  box-shadow: inset -3px -4px 7px rgba(0, 0, 0, 0.2), inset 3px 3px 6px rgba(255, 255, 255, 0.25), 0 1px 2px rgba(48, 45, 38, 0.15);
  transition: transform 0.7s cubic-bezier(0.3, 1.6, 0.5, 1);
  transition-delay: calc(0.35s + var(--i) * 90ms);
}
.swatches li:nth-child(2n) .sw { border-radius: 46% 54% 48% 52% / 55% 45% 55% 45%; }
.js .wear:not(.in) .sw { transform: scale(0.2); }
.who { display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; margin-top: 16px; }
.who .ico { grid-row: span 2; width: 40px; height: 40px; color: var(--rust); }
.who b { padding-top: 2px; color: var(--ink); font-weight: 500; font-size: 10.5px; }
.who p { margin: 2px 0 0; font-size: 15.5px; }
.compl { margin: 18px 0 0; color: var(--muted); font-size: 14px; font-style: italic; }

.weather { padding-top: 52px; border-top: 1px solid var(--line); text-align: center; }
.weather h3 { margin: 0; font-weight: 340; font-size: 30px; font-variation-settings: "opsz" 144; }
.temps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 0; }
.temp { padding: 20px 10px 18px; border: 1px solid var(--line); border-radius: 2px; }
.temp p { margin: 0; }
.temp .ico { display: block; width: 36px; height: 36px; margin: 0 auto 8px; }
.sun .ico { color: var(--ochre); animation: spin 60s linear infinite; }
.moon .ico { color: var(--ink-2); }
.temp .caps { color: var(--muted); font-size: 10px; }
.deg { margin-top: 4px !important; font-size: 25px; font-weight: 340; line-height: 1.2; font-variation-settings: "opsz" 96; }
.fahr { color: var(--muted); font-size: 14px; }
@keyframes spin { to { transform: rotate(1turn); } }
.weather .w { max-width: 42ch; margin: 18px auto 0; color: var(--ink-2); }
.pill { display: inline-block; margin-top: 14px; padding: 9px 16px; border: 1px solid var(--rust); border-radius: 999px; color: var(--rust); }
.tips h4 { margin: 48px 0 0; color: var(--muted); }
.tips ol { display: grid; gap: 24px; margin: 22px 0 0; padding: 0; list-style: none; text-align: left; }
.tips li { display: grid; grid-template-columns: 42px 1fr; gap: 0 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.tips .ico { grid-row: span 2; width: 42px; height: 42px; color: var(--rust); }
.tips b { display: block; margin: 2px 0 4px; font-weight: 420; font-size: 18px; line-height: 1.3; }
.tips p { margin: 0; color: var(--muted); font-size: 15.5px; }
.tips p a { color: var(--rust); text-underline-offset: 3px; }

/* traditions */
.rituals { display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }
.rituals li { padding-top: 16px; border-top: 1px solid var(--line); }
.rituals .caps { margin: 0; color: var(--rust); font-size: 10.5px; }
.rituals h3 { margin: 8px 0 6px; font-weight: 380; font-size: 23px; line-height: 1.2; }
.rituals p { margin: 0; }
.rituals p:last-child { color: var(--muted); font-size: 15.5px; }

/* travel */
.faq-group { margin-top: 36px; }
.faq-group h3 { margin: 0 0 4px; color: var(--rust); }
details { border-bottom: 1px solid var(--line-2); }
summary { display: grid; grid-template-columns: 1fr 12px; gap: 16px; padding: 16px 0; font-size: 18px; line-height: 1.35; list-style: none; cursor: pointer; transition: color 0.3s; }
summary:hover { color: var(--rust); }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; width: 12px; height: 12px; margin-top: 7px; transition: transform 0.35s var(--ease);
  background: linear-gradient(var(--rust), var(--rust)) center / 100% 1px no-repeat, linear-gradient(var(--rust), var(--rust)) center / 1px 100% no-repeat;
}
details[open] summary::after { transform: rotate(45deg); }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details::details-content { height: 0; overflow: clip; transition: height 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
  details[open]::details-content { height: auto; }
}
.ans p { margin: 0 0 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.ans strong { font-weight: 480; color: var(--ink); }
.ans a { color: var(--rust); }
.partner { margin-top: 52px; padding: 32px 24px; border: 1px solid var(--line); text-align: center; }
.partner .caps { margin: 0; color: var(--rust); }
.partner .rh { margin: 4px 0 18px; }
.partner .rh img { width: min(230px, 80%); margin: 0 auto; }
.partner .caps + p { margin-top: 10px; }
.partner p { max-width: 48ch; margin: 0 auto; color: var(--muted); font-size: 15.5px; }
.partner .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-top: 16px; }
.partner .links a { padding: 8px 0; color: var(--rust); font-size: 16px; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* contact: a diya, gently alight */
.contact { text-align: center; }
.contact .head { margin-bottom: 30px; }
.diya { position: relative; width: 110px; margin: 0 auto 6px; }
.diya::before {
  content: ""; position: absolute; left: 50%; top: 14%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%;
  /* closest-side keeps the glow fading to nothing inside its own box */
  background: radial-gradient(closest-side, rgba(255, 180, 80, 0.5), rgba(255, 180, 80, 0.16) 55%, rgba(255, 180, 80, 0));
  animation: flicker 3.4s ease-in-out infinite;
}
.diya img { position: relative; width: 110px; }
@keyframes flicker { 0%, 100% { opacity: 0.75; transform: scale(1); } 18% { opacity: 1; transform: scale(1.07); } 34% { opacity: 0.82; transform: scale(0.97); } 56% { opacity: 0.96; transform: scale(1.04); } 74% { opacity: 0.78; transform: scale(0.99); } }
.actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.num { margin: 0; color: var(--ink-2); font-size: 15px; font-variant-numeric: lining-nums; }
.num button { padding: 10px 4px; border: 0; background: none; color: var(--rust); font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.family { margin: 36px 0 0; font-size: 21px; font-style: italic; }

footer { max-width: 680px; margin: 104px auto 0; padding: 36px 22px 48px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; }
footer .mono-m { width: 44px; height: 56px; }
footer .mono-m * { animation: none; }
footer p { margin: 14px 0 0; line-height: 2.1; }

@media (max-width: 519px) {
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}
@media (min-width: 640px) {
  body { font-size: 18px; }
  .word { display: inline; }
  .tips ol { grid-template-columns: 1fr 1fr; gap: 28px 40px; }
  .tips li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .items { --tc: 7.6em; --gut: 40px; }
  .items li { grid-template-columns: var(--tc) var(--gut) 1fr 72px; }
  .items img { width: 60px; }
  .win { width: 96px; height: 122px; }
  .win img { width: 68px; }
  .wear { padding: 26px 30px 28px; }
}
@media (min-width: 720px) {
  .rituals { grid-template-columns: 1fr 1fr; gap: 36px 44px; }
  .s { padding-top: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
