@font-face { font-family: "Fraunces"; src: url(/fonts/fraunces.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(/fonts/montserrat.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f4f1e9;
  --paper: #fbfaf6;
  --ink: #2e271d;
  --brown: #483018;
  --gold: #947d53;
  --gold-soft: #c2b08d;
  --muted: #7d715f;
  --line: #ddd3c1;
  --soft: #ebe5d8;
  --accent: #483018;
  --accent-ink: #fbfaf6;
  --heart: #c4573a;
  --danger: #9c2f22;
  --radius: 2px;
  --display: "Fraunces", Georgia, serif;
  --text: "Montserrat", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--text); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
.wrap { padding: 0 var(--gutter); max-width: 1600px; margin: 0 auto; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

.btn { display: inline-flex; align-items: center; gap: .5em; padding: .7em 1.15em; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--bg); font: 500 15px var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.small { padding: .45em .8em; font-size: 14px; }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn:disabled { opacity: .4; cursor: default; }
.btn svg { width: 1.1em; height: 1.1em; }
.link { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; }

.site-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.site-head .names { font: 500 24px var(--display); text-decoration: none; white-space: nowrap; }
.site-head nav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.site-head nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
.site-head nav a:hover, .site-head nav a.on { color: var(--ink); }
.site-head nav a.on { text-decoration: underline; text-underline-offset: 6px; }
.tools { display: flex; gap: 14px; align-items: center; font-size: 14px; }
.langs { display: flex; gap: 8px; }
.langs a { text-decoration: none; color: var(--muted); text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.langs a.on { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .site-head { flex-wrap: wrap; gap: 10px; }
  .site-head nav { order: 3; width: 100%; overflow-x: auto; gap: 18px; padding-bottom: 2px; scrollbar-width: none; }
}

.hero { position: relative; height: min(86vh, 900px); min-height: 420px; background: var(--ink); color: #fff; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0) 55%); }
.hero .wrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-bottom: clamp(28px, 6vh, 64px); }
.hero h1 { font-size: clamp(48px, 9vw, 132px); font-weight: 400; }
.hero p { margin: 14px 0 0; font-size: clamp(15px, 1.6vw, 19px); letter-spacing: .02em; }

.intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding-top: 48px; padding-bottom: 40px; }
.intro p { font: 400 clamp(20px, 2.4vw, 28px)/1.35 var(--display); margin: 0; max-width: 36ch; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .intro { grid-template-columns: 1fr; } }

.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 36px 24px; padding-bottom: 80px; }
.album-card { text-decoration: none; }
.album-card .ph { aspect-ratio: 4 / 5; background: var(--soft); overflow: hidden; }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.album-card:hover img { transform: scale(1.03); }
.album-card h2 { font-size: 26px; margin-top: 14px; }
.album-card span { color: var(--muted); font-size: 14px; }

.page-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 28px; }
.page-head h1 { font-size: clamp(36px, 5vw, 64px); }
.page-head .count { color: var(--muted); margin-top: 8px; }

.grid { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 80px; }
.grid::after { content: ""; flex-grow: 999999; }
.tile { position: relative; flex-grow: calc(var(--r) * 100); flex-basis: calc(var(--r) * 240px); aspect-ratio: var(--r); background: var(--soft); overflow: hidden; }
.tile > a, .tile > label { display: block; width: 100%; height: 100%; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .tile { flex-basis: calc(var(--r) * 140px); } .grid { gap: 3px; } }

.heart { position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; cursor: pointer; opacity: 0; transition: opacity .2s, transform .15s; }
.heart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.heart.on { opacity: 1; color: #fff; background: var(--heart); }
.heart.on svg { fill: currentColor; }
.heart:active { transform: scale(.9); }
.tile:hover .heart { opacity: 1; }
@media (hover: none) { .heart { opacity: 1; } }

.empty { padding: 60px 0 120px; color: var(--muted); font-size: 18px; }

.pswp__button--fav, .pswp__button--dl { display: grid; place-items: center; }
.pswp__button--fav svg, .pswp__button--dl svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; }
.pswp__button--fav.on svg { fill: var(--heart); stroke: var(--heart); }

.auth { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 100vh; }
.auth .pic { background: var(--ink); position: relative; }
.auth .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth .box { display: flex; flex-direction: column; justify-content: center; padding: 48px var(--gutter); max-width: 520px; width: 100%; margin: 0 auto; }
.auth h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 8px; }
.auth .langs { margin-bottom: 40px; }
@media (max-width: 820px) { .auth { grid-template-columns: 1fr; } .auth .pic { height: 34vh; } }

form.stack { display: grid; gap: 16px; margin-top: 28px; }
.field { display: grid; gap: 6px; }
.field label, .lbl { font-size: 14px; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea {
  width: 100%; padding: .7em .8em; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font: 16px var(--text);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: center; }
.errors { background: #fbecea; color: var(--danger); padding: 12px 14px; border-radius: var(--radius); font-size: 15px; }
.flash { background: #e9f1ec; color: #1f4030; padding: 12px 14px; border-radius: var(--radius); margin: 16px 0; font-size: 15px; }

.drop { border: 1.5px dashed #c9c4bd; border-radius: var(--radius); padding: 40px 20px; text-align: center; cursor: pointer; transition: background .2s, border-color .2s; }
.drop.over { background: var(--soft); border-color: var(--accent); }
.drop strong { display: block; font: 500 22px var(--display); margin-bottom: 6px; }
.queue { margin-top: 16px; font-size: 14px; color: var(--muted); }
.bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }

.notes { display: grid; gap: 18px; padding-bottom: 80px; max-width: 760px; }
.note { border-top: 1px solid var(--line); padding-top: 18px; }
.note p { margin: 0 0 8px; font: 400 20px/1.45 var(--display); white-space: pre-line; }
.note small { color: var(--muted); }

.mine { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 24px; }
.mine div { position: relative; aspect-ratio: 1; background: var(--soft); }
.mine img { width: 100%; height: 100%; object-fit: cover; }
.mine span { position: absolute; left: 6px; bottom: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 2px 6px; border-radius: 3px; }

.show { position: fixed; inset: 0; background: #000; color: #fff; }
.show img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1.2s ease; }
.show img.in { opacity: 1; }
.show .ctl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 10px; padding: 24px; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); transition: opacity .4s; }
.show.idle .ctl { opacity: 0; }
.show .ctl button, .show .ctl a { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: var(--radius); padding: 10px 16px; font: 500 15px var(--text); cursor: pointer; text-decoration: none; }

.admin-head { background: var(--ink); color: #fff; }
.admin-head .wrap { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.admin-head strong { font: 500 20px var(--display); }
.admin-head nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; }
.admin-head nav a { color: #bdb8b1; text-decoration: none; }
.admin-head nav a.on, .admin-head nav a:hover { color: #fff; }
.admin-head .badge { background: var(--heart); color: #fff; border-radius: 9px; font-size: 12px; padding: 1px 6px; margin-left: 4px; }
.admin main { padding-bottom: 120px; }
.admin h1 { font-size: 40px; margin: 36px 0 20px; }
.admin h2 { font-size: 26px; margin: 40px 0 16px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.stats div { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stats b { display: block; font: 500 38px var(--display); }
.stats span { color: var(--muted); font-size: 14px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 13px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table form { display: inline; }
.table-wrap { overflow-x: auto; }
.row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.row .field { flex: 1 1 180px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.copy { display: flex; gap: 6px; }
.copy input { font-size: 13px; padding: .45em .6em; min-width: 220px; }

.sel .tile { cursor: pointer; }
.sel .tile input { position: absolute; opacity: 0; pointer-events: none; }
.sel .tile::before { content: ""; position: absolute; top: 8px; left: 8px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.25); z-index: 1; }
.sel .tile:has(input:checked)::before { background: var(--accent); box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 5px #fff; }
.sel .tile:has(input:checked) img { opacity: .55; }
.tag { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 2px 7px; border-radius: 3px; }
.tag.r { left: auto; right: 8px; }
.bulk { position: sticky; bottom: 0; z-index: 5; background: var(--bg); border-top: 1px solid var(--line); padding: 12px 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bulk select { width: auto; }
.sortable { padding: 0; margin: 0; }
.sortable li { list-style: none; display: grid; grid-template-columns: 28px 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sortable .grip { cursor: grab; color: var(--muted); font-size: 20px; text-align: center; user-select: none; }
.sortable img, .sortable .noimg { width: 64px; height: 64px; object-fit: cover; background: var(--soft); }
.sortable li.dragging { opacity: .4; }

body { font-size: 16px; font-weight: 400; letter-spacing: .01em; }
h1, h2, h3 { color: var(--brown); font-weight: 400; letter-spacing: 0; }
.amp { color: var(--gold); font-weight: 400; }
.kicker { font: 500 13px var(--text); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0; }
.btn { background: var(--brown); border-color: var(--brown); color: var(--paper); font: 500 14px var(--text); letter-spacing: .14em; text-transform: uppercase; padding: 1em 1.6em .85em; }
.btn.ghost { color: var(--brown); border-color: var(--gold-soft); }
.btn.ghost:hover { border-color: var(--brown); }
.btn.small { padding: .7em 1em .55em; font-size: 12px; }
.orn { color: var(--gold); display: block; pointer-events: none; }
.divider { width: 220px; height: 18px; margin: 0 auto; }

.site-head { border-bottom-color: var(--line); background: var(--bg); }
.site-head .names { font: 400 26px var(--display); color: var(--brown); }
.site-head nav { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.site-head nav a.on { text-decoration: none; color: var(--brown); box-shadow: inset 0 -1px 0 var(--gold); padding-bottom: 4px; }
.langs a { font-size: 12px; letter-spacing: .12em; }

.cover { position: relative; text-align: center; padding-top: clamp(40px, 7vw, 80px); padding-bottom: 24px; overflow: hidden; }
.cover .olive { position: absolute; top: 18px; width: clamp(150px, 22vw, 300px); height: auto; aspect-ratio: 220 / 96; }
.cover .olive.l { left: -10px; transform: rotate(8deg); }
.cover .olive.r { right: -10px; transform: scaleX(-1) rotate(8deg); }
.cover h1 { font-size: clamp(52px, 9vw, 120px); line-height: 1.02; margin: 18px 0 20px; }
.cover .lead { max-width: 34ch; margin: 0 auto; font: 400 clamp(18px, 2vw, 22px)/1.5 var(--text); color: var(--ink); }
.arch-wrap { position: relative; width: min(440px, 78vw); margin: clamp(32px, 5vw, 56px) auto 0; }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--soft); outline: 1px solid var(--gold-soft); outline-offset: 10px; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-wrap .citrus { position: absolute; width: clamp(64px, 9vw, 96px); height: auto; aspect-ratio: 1; }
.arch-wrap .citrus.a { left: -14%; bottom: 8%; }
.arch-wrap .citrus.b { left: -4%; bottom: -2%; width: clamp(48px, 7vw, 74px); }
.arch-wrap .olive2 { position: absolute; right: -24%; top: 24%; width: clamp(110px, 16vw, 180px); height: auto; aspect-ratio: 220 / 96; transform: rotate(-58deg); }

.when { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; max-width: 680px; margin: 56px auto 0; color: var(--gold); text-transform: uppercase; letter-spacing: .22em; font-size: 13px; line-height: 1.6; }
.when > div { padding: 18px 22px; }
.when-date { grid-row: span 2; font: 400 clamp(40px, 5vw, 56px)/1 var(--display); letter-spacing: .04em; text-align: right; border-right: 1px solid var(--gold-soft); }
.when-days { text-align: left; border-bottom: 1px solid var(--gold-soft); }
.when-place { text-align: left; }
.cover .actions { justify-content: center; margin-top: 44px; }

.section-title { text-align: center; padding-top: 72px; padding-bottom: 36px; }
.section-title h2 { font-size: clamp(34px, 4.5vw, 52px); margin-top: 14px; }

.days { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 1100px; margin: 0 auto; }
.day { background: var(--paper); border: 1px solid var(--line); padding: 32px 28px 28px; text-align: center; }
.day h3 { font-size: 26px; margin: 10px 0 20px; }
.moment { display: grid; justify-items: center; gap: 8px; padding: 18px 0; }
.moment + .moment { border-top: 1px solid var(--line); }
.moment svg { width: 104px; height: 70px; color: var(--brown); }
.moment strong { font: 500 15px var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--brown); }
.moment span { color: var(--muted); }
.dress { text-align: center; margin: 36px auto 0; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.dress b { color: var(--brown); font-weight: 500; }

.albums { gap: 48px 28px; padding-top: 8px; }
.album-card { text-align: center; }
.album-card .ph { border-radius: 999px 999px 0 0; }
.album-card h2 { font-size: 28px; margin-top: 18px; }
.album-card span { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--gold); }

.site-foot { text-align: center; padding: 40px 0 72px; color: var(--muted); }
.site-foot .pair { display: flex; justify-content: center; margin-bottom: 18px; }
.site-foot .pair svg { width: 56px; height: 56px; color: var(--gold); }
.site-foot .pair svg + svg { margin-left: -14px; margin-top: 8px; }
.site-foot p { font: 400 26px var(--display); color: var(--brown); margin: 6px 0 0; }

.intro { display: block; text-align: center; }
.page-head { padding-top: 48px; }
.page-head h1 { margin-top: 10px; }
.page-head .count { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--gold); }
.tile, .album-card .ph, .mine div { background: var(--soft); }
.heart.on { background: var(--heart); }
.empty { text-align: center; }

.auth { grid-template-columns: 1fr 1fr; background: var(--bg); }
.auth .pic { background: none; display: grid; place-items: center; padding: 48px 24px; overflow: hidden; }
.auth .pic .arch-wrap { margin: 0; width: min(400px, 70%); }
.auth .pic img { position: static; }
.auth .box { text-align: left; }
.auth h1 { font-size: clamp(44px, 5vw, 68px); line-height: 1.05; margin: 14px 0 8px; }
.auth .when { margin: 18px 0 0; max-width: none; grid-template-columns: auto 1fr; font-size: 12px; }
.auth .when > div { padding: 10px 16px; }
.auth .when-date { font-size: 36px; padding-left: 0; }
@media (max-width: 820px) {
  .auth .pic { height: auto; padding: 32px 24px 0; }
  .auth .pic .arch-wrap { width: min(240px, 60vw); }
  .auth .box { padding-top: 32px; }
}

input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea { background: var(--paper); border-color: var(--line); font-family: var(--text); }
.field label, .lbl { letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--gold); }
.drop { background: var(--paper); border-color: var(--gold-soft); }
.drop strong { color: var(--brown); }
.note p { color: var(--brown); }
.flash { background: #e7ecdc; color: #3c4a22; }

.admin-head { background: var(--brown); }
.admin-head nav a { color: #d8c9ad; }
.admin-head strong .amp { color: var(--gold-soft); }
.stats div { background: var(--paper); }
.stats b { color: var(--brown); }
.panel { background: var(--paper); }
.table td { background: transparent; }

@media (max-width: 640px) {
  .when { grid-template-columns: 1fr; text-align: center; letter-spacing: .18em; }
  .when-date { grid-row: auto; text-align: center; border-right: 0; border-bottom: 1px solid var(--gold-soft); }
  .when-days, .when-place { text-align: center; }
  .when-days { border-bottom: 1px solid var(--gold-soft); }
  .arch-wrap .olive2 { right: -18%; }
  .cover .olive { top: 8px; }
}
.when { grid-template-columns: 1fr 1fr; }
.when-days, .when-place { grid-column: 2; }
.albums { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; }
@media (max-width: 640px) { .when-days, .when-place, .when-date { grid-column: 1; } .when { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .albums { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; } .album-card h2 { font-size: 21px; margin-top: 10px; } }

.kicker, .when, .site-head nav, .btn, .field label, .lbl, .moment strong, .dress, .album-card span, .page-head .count { font-weight: 400; }
.cover h1 { letter-spacing: -.01em; }
.cover .lead { font-size: clamp(16px, 1.7vw, 19px); font-weight: 400; }

h1, h2, h3, .site-head .names, .amp, .stats b, .when-date, .drop strong, .note p, .site-foot p, .admin-head strong { font-family: var(--display); font-weight: 300; font-variation-settings: "SOFT" 100, "WONK" 0; font-optical-sizing: auto; }
.cover h1, .auth h1 { font-weight: 300; letter-spacing: -.015em; }
.site-foot p.credit, .credit { margin: 28px auto 0; max-width: 34ch; font: 400 12px/1.7 var(--text); font-variation-settings: normal; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.credit a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-soft); }
.credit a:hover { color: var(--brown); }
.auth .credit { margin-top: 40px; }

.page-head .sub { margin: 10px 0 0; max-width: 46ch; color: var(--muted); font-size: 16px; }
.mnav { display: none; }

@media (max-width: 900px) {
  .desk { display: none !important; }
  .site-head { flex-wrap: nowrap; position: sticky; top: 0; z-index: 20; padding-top: 12px; padding-bottom: 12px; }
  .site-head .names { font-size: 21px; }
  .mnav { display: block; }
  .mnav summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; margin-right: -10px; }
  .mnav summary::-webkit-details-marker { display: none; }
  .mnav summary span, .mnav summary span::before, .mnav summary span::after { display: block; width: 20px; height: 1.5px; background: var(--brown); position: relative; transition: transform .2s, background .2s; }
  .mnav summary span::before, .mnav summary span::after { content: ""; position: absolute; left: 0; }
  .mnav summary span::before { top: -6px; } .mnav summary span::after { top: 6px; }
  .mnav[open] summary span { background: transparent; }
  .mnav[open] summary span::before { transform: translateY(6px) rotate(45deg); }
  .mnav[open] summary span::after { transform: translateY(-6px) rotate(-45deg); }
  .mnav-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(72,48,24,.35); padding: 6px var(--gutter) 18px; display: grid; }
  .mnav-panel > a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; text-align: center; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
  .mnav-panel > a.on { color: var(--brown); }
  .mnav-foot { display: flex; justify-content: center; align-items: center; gap: 24px; padding-top: 14px; }
  .mnav-foot .langs { gap: 0; }
  .mnav-foot .langs a, .mnav-foot .link { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; font-size: 14px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .btn { padding: .95em 1.2em .8em; font-size: 12px; letter-spacing: .12em; justify-content: center; }

  .cover { padding-top: 26px; padding-bottom: 8px; }
  .cover .olive { width: 104px; top: 6px; opacity: .7; }
  .cover .olive.l { left: -26px; } .cover .olive.r { right: -26px; }
  .cover .kicker { font-size: 11px; }
  .cover h1 { font-size: 40px; margin: 12px 0 14px; }
  .cover .lead { font-size: 14.5px; max-width: 30ch; }
  .arch-wrap { width: 58vw; margin-top: 26px; }
  .arch { outline-offset: 6px; }
  .arch-wrap .citrus.a { width: 46px; left: -18%; } .arch-wrap .citrus.b { width: 34px; left: -9%; }
  .arch-wrap .olive2 { width: 92px; right: -26%; }
  .when { display: block; text-align: center; margin-top: 26px; font-size: 11px; letter-spacing: .2em; }
  .when > div { padding: 0; border: 0 !important; }
  .when-date { font-size: 34px; margin-bottom: 8px; }
  .when-days br { display: none; }
  .when-days::after { content: " · "; }
  .when-days, .when-place { display: inline; }
  .cover .actions { flex-direction: column; align-items: stretch; width: min(300px, 100%); margin: 28px auto 0; gap: 8px; }

  .section-title { padding-top: 44px; padding-bottom: 22px; }
  .section-title h2 { font-size: 28px; }
  .divider { width: 150px; }
  .albums { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; padding-bottom: 48px; }
  .album-card h2 { font-size: 17px; margin-top: 8px; }
  .album-card span { font-size: 10px; letter-spacing: .16em; }
  .days { gap: 14px; }
  .day { padding: 22px 16px 14px; }
  .day h3 { font-size: 22px; margin-bottom: 8px; }
  .moment { padding: 12px 0; }
  .moment svg { width: 84px; height: 56px; }
  .moment strong { font-size: 12px; }
  .moment span { font-size: 14px; }
  .dress { font-size: 11px; line-height: 1.8; padding: 0 12px; }
  .site-foot { padding: 28px 0 44px; }
  .site-foot .pair svg { width: 44px; height: 44px; }
  .site-foot p { font-size: 21px; }

  .page-head { flex-direction: column; align-items: center; text-align: center; gap: 16px; padding-top: 26px; padding-bottom: 18px; }
  .page-head h1 { font-size: 32px; margin-top: 6px; }
  .page-head .sub { font-size: 14.5px; margin-left: auto; margin-right: auto; }
  .page-head .actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .grid { gap: 3px; padding-bottom: 48px; }
  .tile { flex-basis: calc(var(--r) * 110px); }
  .heart { width: 32px; height: 32px; right: 5px; bottom: 5px; opacity: 1; }
  .heart svg { width: 16px; height: 16px; }
  .empty { padding: 30px 0 80px; font-size: 15px; }
  .drop { padding: 28px 16px; }
  .drop strong { font-size: 19px; }
  .mine { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .notes { padding-bottom: 48px; }
  .note p { font-size: 17px; }
  form.stack { margin-top: 18px; }
  .page-head + .wrap form.stack { margin-left: auto; margin-right: auto; }

  .auth { display: block; min-height: 0; }
  .auth .pic { padding: 28px 0 0; height: auto; }
  .auth .pic .arch-wrap { width: 44vw; margin: 0 auto; }
  .auth .box { max-width: none; padding: 26px var(--gutter) 36px; text-align: center; }
  .auth .langs { justify-content: center; margin-bottom: 18px; }
  .auth .langs a { min-width: 40px; min-height: 40px; display: inline-grid; place-items: center; }
  .auth h1 { font-size: 36px; margin: 8px 0 4px; }
  .auth .when { margin: 14px 0 0; display: block; }
  .auth .when-date { font-size: 28px; padding: 0; }
  .auth .box > p { font-size: 14.5px; }
  .auth form.stack { text-align: left; }
  .auth form.stack .btn { width: 100%; }
  .auth .credit { margin-top: 28px; }

  .admin-head .wrap { gap: 8px 16px; padding-top: 10px; padding-bottom: 6px; }
  .admin-head strong { width: 100%; font-size: 18px; }
  .admin-head nav { gap: 0 4px; font-size: 14px; }
  .admin-head nav a { padding: 8px 6px; }
  .admin h1 { font-size: 30px; margin: 24px 0 14px; }
  .admin h2 { font-size: 22px; margin: 28px 0 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stats div { padding: 12px 14px; }
  .stats b { font-size: 30px; }
  .panel { padding: 14px; }
  .row .field { flex-basis: 100%; }
  .row .btn { width: 100%; }
  .bulk { gap: 6px; padding: 8px 0; }
  .bulk > span { width: 100%; font-size: 13px; }
  .bulk .btn.small { padding: .6em .7em .5em; font-size: 10.5px; letter-spacing: .08em; }
  .bulk select { flex: 1 1 55%; min-width: 150px; padding: .55em; font-size: 14px; }
  .sortable li { grid-template-columns: 22px 52px 1fr; }
  .sortable li > .btn { display: none; }
  .sortable img, .sortable .noimg { width: 52px; height: 52px; }
  .table.cards, .table.cards tbody, .table.cards tr, .table.cards td { display: block; }
  .table.cards tr:first-child { display: none; }
  .table.cards tr { border: 1px solid var(--line); background: var(--paper); padding: 12px 14px; margin-bottom: 10px; }
  .table.cards td { border: 0; padding: 3px 0; }
  .table.cards td.t { font: 300 20px var(--display); color: var(--brown); padding-bottom: 6px; }
  .table.cards td[data-label]::before { content: attr(data-label) ": "; color: var(--gold); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
  .table.cards td.acts { padding-top: 10px; }
  .table.cards td.acts .link { padding: 8px 0; }
  .copy { flex-wrap: wrap; margin-top: 6px; }
  .copy input { min-width: 0; flex: 1 1 100%; }
  .copy .btn { flex: 1; }
}

.films { display: grid; justify-items: center; gap: 40px; }
.film { margin: 0; width: 100%; max-width: 900px; }
.film + .film { max-width: 640px; }
.film video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--brown); border: 1px solid var(--gold-soft); }
.film figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.film figcaption strong { font-weight: 500; color: var(--brown); }
.film figcaption a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-soft); white-space: nowrap; }
@media (max-width: 760px) {
  .films { gap: 26px; }
  .film figcaption { font-size: 12.5px; }
  .film figcaption a { padding-top: 12px; }
}

.find { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; max-width: 760px; margin-bottom: 36px; }
.find .errors { width: 100%; }
.find label.btn { cursor: pointer; }
.find .busy { width: 100%; margin: 6px 0 0; font: 400 20px var(--display); color: var(--brown); }
.find .note-privacy { width: 100%; margin: 6px 0 0; font-size: 13px; color: var(--muted); max-width: 60ch; }
.find-promo { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; max-width: 900px; margin: 56px auto 0; padding: 26px 30px; background: var(--paper); border: 1px solid var(--line); }
.find-promo svg { width: 64px; height: 64px; }
.find-promo h2 { font-size: 26px; }
.find-promo p { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 640px) {
  .find { justify-content: center; text-align: center; }
  .find label.btn { flex: 1 1 100%; }
  .find .note-privacy { margin-left: auto; margin-right: auto; }
  .find-promo { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 12px; margin: 36px var(--gutter) 0; padding: 22px 18px; }
  .find-promo svg { width: 48px; height: 48px; }
  .find-promo h2 { font-size: 22px; }
  .find-promo .btn { width: 100%; }
}
