:root{
  /* Taken from diyatanay.com: ivory paper, forest green, soft gold. One look on every phone, no dark variant. */
  --ivory:#F8F4EC; --ivory-deep:#F1EADA; --forest:#2C4A3E; --forest-deep:#1B3129; --gold:#B08D57; --gold-light:#D8C29A;
  --blush:#DCC9BE; --charcoal:#2B2621; --line:rgba(44,74,62,.18);
  --gold-ink:#7A5C2C; /* the site's gold, darkened so small labels stay readable in sunlight */
  --muted:#5A534A; --field:#FFFDF8;
  --ok:#1E6B45; --bad:#A3261B;
  --script:"Great Vibes",cursive; --display:"Cormorant Garamond",Georgia,"Times New Roman",serif; --body:Jost,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --gutter:16px;
  --r:16px; --r-s:12px; --soft:0 2px 12px rgba(44,74,62,.07); /* rounded corners and the soft shadow of the site's menu */
  color-scheme:light;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ivory);color:var(--charcoal);font-family:var(--body);font-weight:400;font-size:17px;line-height:1.55}
/* the site's paper grain */
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:9;opacity:.65;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.wrap{max-width:720px;margin:0 auto;padding-left:max(var(--gutter),env(safe-area-inset-left));padding-right:max(var(--gutter),env(safe-area-inset-right))}

/* Header: the couple's names in the site's script, gold ampersand */
header.top{position:sticky;top:0;z-index:5;padding-top:env(safe-area-inset-top);background:var(--ivory);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;justify-content:center;gap:10px;padding-block:6px}
.bar img{width:30px;height:30px}
.brand{font-family:var(--script);font-size:28px;line-height:1.3;color:var(--forest-deep)}
.amp{color:var(--gold);font-size:.75em}

main{padding-block:20px 0;min-height:70vh}
h2{font-family:var(--script);font-weight:400;font-size:38px;line-height:1.2;color:var(--forest-deep);margin:6px 0;text-align:center}
h2+.sub{text-align:center}
/* the site's divider: a hairline with a small gold diamond */
h2::after,.foot::before{content:"";display:block;height:7px;margin:10px auto 0;max-width:220px;background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='7'%3E%3Cpath d='M3.5 0L7 3.5 3.5 7 0 3.5z' fill='%23B08D57'/%3E%3C/svg%3E") center/7px no-repeat,
    linear-gradient(var(--ivory),var(--ivory)) center/22px 100% no-repeat,
    linear-gradient(var(--line),var(--line)) center/100% 1px no-repeat}
.foot::before{margin:0 auto 18px}
h3{font-family:var(--display);font-weight:600;font-size:23px;line-height:1.2;color:var(--forest-deep);margin:26px 0 8px}
.sub,.muted{color:var(--muted)}
.ok{color:var(--ok)} .bad{color:var(--bad)}
button,select,input,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--forest);outline-offset:2px}
a{color:var(--forest)}
[hidden]{display:none!important}

.head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
main>label{margin-bottom:12px}
.head h2{text-align:left;font-size:30px;line-height:1.15;margin:0} .head h2::after{display:none} .head .sub{text-align:left;margin:0}
.head .btn{flex:none;white-space:nowrap;padding-inline:16px;font-size:12.5px}
.head h3{font-family:var(--display);font-style:italic;font-size:26px;margin:0}
/* cards are the site's venue cards: deeper ivory, hairline edge, with its menu's rounded corners */
.card{background:var(--ivory-deep);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--soft);padding:18px 16px}
.card>:first-child{margin-top:0} .card>:last-child{margin-bottom:0}
.card ul{margin:0;padding-left:20px} .card li{margin-bottom:8px}
.card h3{margin-top:16px}
.card.alert{border:1.5px solid var(--gold)}

/* buttons are the site's RSVP button: gold, small capitals, wide spacing */
.btn{border:1px solid var(--gold);border-radius:24px;padding:11px 22px;min-height:48px;font-size:13.5px;line-height:1.35;font-weight:500;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;background:var(--gold);color:var(--forest-deep);transition:background .3s}
.btn:hover{background:var(--gold-light)}
.btn.ghost{background:none;border-color:var(--line);color:var(--forest-deep)}
.btn.ghost:hover{background:var(--ivory-deep)}
.btn.danger{color:var(--bad)}
.btn:disabled{opacity:.5;cursor:not-allowed}
a.btn{text-decoration:none;display:inline-flex;align-items:center}
/* the driver's buttons: the site's dark green panel, as big as a thumb */
.btn.big{border-radius:var(--r);font-size:19px;letter-spacing:.06em;min-height:68px;flex:1 1 100%;text-align:center;text-decoration:none;display:flex;align-items:center;justify-content:center;background:var(--forest-deep);border-color:var(--forest-deep);color:var(--ivory)}
.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.actions input{flex:1 1 220px;width:auto}
.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}
.chips .btn{white-space:nowrap;flex:none;border-radius:999px}

.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.fields.shuttle{margin-bottom:8px}
/* field names stay in plain sentence case: people fill these in on a phone, often outdoors */
label{display:flex;flex-direction:column;gap:5px;font-size:15px;font-weight:500;color:var(--forest)}
input,select,textarea{font-weight:400;font-size:17px;color:var(--charcoal);padding:11px 12px;min-height:48px;border:1px solid var(--line);border-radius:var(--r-s);background:var(--field);width:100%;min-width:0}
/* the chosen value in a dropdown is set in the heading serif, with a gold arrow in place of the system one */
select{font-family:var(--display);font-weight:600;font-size:20px;color:var(--forest-deep);appearance:none;-webkit-appearance:none;padding-right:38px;
  background:var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B08D57' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center/12px no-repeat}
select option{font-family:var(--body);font-weight:400;font-size:17px}
textarea{min-height:120px}
input[type=file]{padding:9px}
input[type=search]{margin-bottom:4px}
label.check{flex-direction:row;align-items:center;gap:10px;font-size:16px;font-weight:400;color:var(--charcoal);margin-top:12px;min-height:32px}
label.check input{width:22px;height:22px;min-height:0;border-radius:6px;flex:none;accent-color:var(--forest)}
.ticks{display:flex;flex-wrap:wrap;gap:4px 16px;margin-bottom:8px}
.ticks label.check{margin-top:4px}

.list{background:var(--field);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--soft)}
.list.notice{border-color:var(--gold);margin-bottom:8px}
.row{padding:13px 14px;border-top:1px solid var(--line)} .row:first-child{border-top:0}
.row b,.row span{display:block} .row b{font-weight:500} .row span{font-size:15px}
.row b span{display:inline}
.row.link{display:block;width:100%;text-align:left;background:none;border:0;border-top:1px solid var(--line);cursor:pointer;font:inherit;color:inherit;min-height:48px}
.row.link:first-child{border-top:0}
.row.link:hover{background:var(--ivory-deep)}
.actions>select{width:auto;max-width:100%;flex:1 1 220px}
label>select,label>input,label>textarea{flex:none}
select{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.row>select{margin-top:8px;width:100%}
.msg{margin:8px 0 0;font-size:15px;overflow-wrap:anywhere} .msg:empty{display:none} .msg input{margin-top:6px}
/* a box inside a box is quieter: smaller corner, no shadow of its own */
details.section .card,details.section .list,.card .list,.card .card{box-shadow:none;border-radius:var(--r-s)}
/* the schedule is the site's itinerary: a thin line, gold-ringed dots, the time in italic gold */
details.section .list.timeline,.list.timeline{background:none;border:0;border-left:1px solid var(--line);border-radius:0;box-shadow:none;overflow:visible;margin:4px 0 0 5px;padding-left:24px}
.timeline .row{border:0;padding:0 0 22px;position:relative} .timeline .row:last-child{padding-bottom:4px}
.timeline .row::before{content:"";position:absolute;left:-29.5px;top:8px;width:9px;height:9px;border-radius:50%;background:var(--ivory);border:1.5px solid var(--gold)}
.timeline .row .tl-time{font-family:var(--display);font-style:italic;font-size:18px;color:var(--gold-ink)}
.timeline .row b{font-family:var(--display);font-weight:500;font-size:23px;line-height:1.2;color:var(--forest-deep)}
.flag{color:var(--bad);font-weight:500}
.warn{color:#7A4E00;font-weight:500}

details{margin-top:28px;color:var(--muted)} details label{margin-top:12px}
details.section{margin-top:12px;color:inherit;background:var(--ivory);border:1px solid var(--line);border-radius:var(--r);padding:0 16px;box-shadow:var(--soft)}
details.section>summary{font-family:var(--display);font-style:italic;font-weight:500;font-size:25px;color:var(--forest-deep);padding:13px 0;min-height:56px;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px}
details.section>summary::-webkit-details-marker{display:none}
/* the gold diamond from the divider: whole when closed, small and green when open */
details.section>summary::after{content:"";width:8px;height:8px;background:var(--gold);transform:rotate(45deg);flex:none;margin-right:4px;transition:transform .15s}
details.section[open]>summary::after{transform:rotate(45deg) scale(.55);background:var(--forest)}
details.section[open]{padding-bottom:14px}
details.section[open]>summary{border-bottom:1px solid var(--line);margin-bottom:12px}
details.more{margin-top:8px}
details.more>summary{cursor:pointer;padding:10px 0;min-height:44px}

.driver .card{margin-top:12px;font-size:19px}

/* Welcome screen: the top of diyatanay.com */
.hero{text-align:center;padding:18px 0 22px;margin:-20px calc(-1*var(--gutter)) 18px;background:radial-gradient(ellipse at 50% 0%,var(--ivory-deep) 0%,var(--ivory) 70%)}
.hero img{width:104px;height:104px}
.hero h1{font-family:var(--script);font-weight:400;font-size:clamp(2.6rem,13vw,4.2rem);line-height:1.15;color:var(--forest-deep);margin:14px 0 0;white-space:nowrap}
.hero .tagline{font-family:var(--display);font-style:italic;letter-spacing:.04em;margin:2px 0 16px}
.hero .date-line{font-size:15px;letter-spacing:.18em;text-transform:uppercase;color:var(--forest);margin:0}
.hero .place-line{font-family:var(--display);font-style:italic;font-size:20px;margin:2px 0 0}
body:has(.hero) header.top{display:none} /* the welcome screen already carries the names */
.hero{padding-top:calc(34px + env(safe-area-inset-top))}
.foot{text-align:center;padding:40px 0 48px;margin:0;font-family:var(--display);font-style:italic;font-size:18px;color:var(--forest)}

.pack{overflow-x:auto}
.sheet{width:100%;border-collapse:collapse;font-size:.85rem;margin-bottom:12px}
.sheet th,.sheet td{border:1px solid #999;padding:4px 6px;text-align:left;vertical-align:top}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
@media (min-width:760px){:root{--gutter:24px} h2{font-size:44px}}
@media print{.noprint,header.top,.foot,body::before{display:none}.newpage{break-before:page}body{background:#fff;font-size:11pt}.sheet{font-size:9pt}h2::after{display:none}}
.album{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px;margin-top:12px}
.album figure{margin:0;min-width:0} .album img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--r-s);display:block;background:var(--ivory-deep)}
.album figcaption{font-size:12.5px;line-height:1.3;color:var(--muted);overflow:hidden;margin-top:4px}
.album .btn{min-height:36px;padding:4px 12px;font-size:11.5px;margin-top:4px}
textarea{resize:vertical}
.fields+input,.fields+select,.fields+textarea{margin-top:12px}

.events{display:flex;flex-direction:column;gap:14px;margin-top:8px}
.events>div{display:flex;flex-direction:column;gap:2px}
.events .check{display:inline-flex;align-items:center;gap:6px;min-height:40px;margin-right:16px}
/* the guest's journey: numbered steps, a tick when done, the next one picked out */
.journey{list-style:none;margin:0;padding:0;counter-reset:j}
.journey li{counter-increment:j;position:relative;display:flex;flex-direction:column;gap:4px;padding:13px 14px 13px 54px;border-top:1px solid var(--line)}
.journey li:first-child{border-top:0}
.journey li span{font-size:15px}
.journey li::before{content:counter(j);position:absolute;left:13px;top:12px;width:28px;height:28px;border-radius:50%;border:1px solid var(--gold);display:grid;place-items:center;font-size:14px;font-weight:500;color:var(--gold-ink)}
.journey li.done::before{content:"\2713";background:var(--ok);border-color:var(--ok);color:#fff}
.journey li.next{background:var(--ivory-deep)}
.journey li.next::before{background:var(--gold);color:var(--forest-deep)}
.row.link.on{background:var(--ivory-deep);box-shadow:inset 4px 0 var(--gold)}
.stages{margin-bottom:14px}
.num{background:none;border:0;padding:8px 0;margin-right:18px;min-height:40px;font:inherit;font-size:15px;color:var(--forest);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.num.on{font-weight:600;color:var(--forest-deep)}
.stages .list{margin:6px 0 4px}
