/* TheVoellmeckes.com members area, join, sign-in, admin and privacy pages.
   Dark, warm, heritage look. Written for old iPads: no flex gap, no aspect-ratio, no backdrop-filter. */
:root {
  --bg: #0e0c0a;
  --bg-2: #15120f;
  --panel: #1b1713;
  --panel-2: #231e18;
  --line: rgba(222, 196, 146, 0.14);
  --line-2: rgba(222, 196, 146, 0.28);
  --text: #efe6d6;
  --muted: #a99c86;
  --faint: #7a6f5e;
  --gold: #c9a45c;
  --gold-2: #e3c27f;
  --danger: #d97a62;
  --ok: #8fb27a;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(ellipse at 50% -10%, rgba(201, 164, 92, 0.10), rgba(14, 12, 10, 0) 55%);
  background-repeat: no-repeat;
}
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #f3d9a1; }
img { display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: 0.01em; margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 640px; margin: 0 auto; padding: 0 22px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.serif { font-family: var(--serif); }

/* ---------- header ---------- */
.top { position: -webkit-sticky; position: sticky; top: 0; z-index: 20; background: rgba(14, 12, 10, 0.94); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .mark { width: 30px; height: 30px; margin-right: 12px; color: var(--gold); }
.brand .name { font-family: var(--serif); font-size: 24px; letter-spacing: 0.02em; }
.brand .name em { font-style: italic; color: var(--gold-2); }
.nav { display: flex; align-items: center; }
.nav a, .nav button { margin-left: 22px; color: var(--muted); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; background: none; border: 0; cursor: pointer; font-family: var(--sans); padding: 6px 0; }
.nav a:hover, .nav button:hover, .nav a.on { color: var(--gold-2); }
.nav .who { color: var(--faint); text-transform: none; letter-spacing: 0; margin-left: 22px; font-size: 14px; }
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .top .wrap { height: 56px; }
  .brand .name { font-size: 20px; }
  .nav .who, .nav .wide { display: none; }
  .nav a, .nav button { margin-left: 14px; font-size: 12px; }
}

/* ---------- page heads ---------- */
.hero { padding: 64px 0 36px; text-align: center; }
.eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.hero h1 { font-size: 58px; line-height: 1.05; margin: 14px 0 12px; }
.hero h1 em { color: var(--gold-2); }
.hero p { color: var(--muted); font-size: 18px; margin: 0 auto; max-width: 640px; font-family: var(--serif); font-style: italic; }
.rule { width: 120px; height: 1px; margin: 26px auto 0; background: linear-gradient(90deg, rgba(201,164,92,0), var(--gold), rgba(201,164,92,0)); }
.pagehead { padding: 40px 0 22px; }
.crumbs { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-2); }
.crumbs span.sep { margin: 0 8px; color: var(--faint); }
.pagehead h1 { font-size: 46px; line-height: 1.1; }
.pagehead .sub { color: var(--muted); margin-top: 6px; font-family: var(--serif); font-size: 19px; font-style: italic; }
@media (max-width: 760px) { .hero { padding: 40px 0 24px; } .hero h1 { font-size: 40px; } .pagehead h1 { font-size: 34px; } }

/* ---------- album and event cards ---------- */
.cards { margin: 0 -10px; padding-bottom: 40px; }
.cards:after { content: ""; display: table; clear: both; }
.card { float: left; width: 33.333%; padding: 10px; }
.card a { display: block; color: var(--text); }
.card .frame { position: relative; padding-top: 70%; overflow: hidden; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.card .frame img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease, transform 1.2s ease; }
.card .frame img.in { opacity: 1; }
.card a:hover .frame img { transform: scale(1.04); }
.card .frame:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg, rgba(10,8,6,0), rgba(10,8,6,0.86)); }
.card .label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px; }
.card .label h2 { font-size: 30px; line-height: 1.1; }
.card .label .meta { color: #d9ccb4; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; }
.card .label .meta b { color: var(--gold-2); font-weight: 600; }
.card .tag { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(14,12,10,0.8); border: 1px solid var(--line-2); color: var(--gold-2); padding: 4px 9px; border-radius: 20px; }
.cards.small .card { width: 25%; }
.cards.small .card .frame { padding-top: 66%; }
.cards.small .card .label { padding: 12px 14px; }
.cards.small .card .label h2 { font-size: 21px; }
.cards.small .card .label .meta { font-size: 11px; }
@media (max-width: 1000px) { .card { width: 50%; } .cards.small .card { width: 33.333%; } }
@media (max-width: 600px) { .card { width: 100%; } .cards.small .card { width: 50%; } .cards.small .card .label h2 { font-size: 18px; } }

.yearhead { display: flex; align-items: center; margin: 26px 0 4px; }
.yearhead h2 { font-size: 34px; color: var(--gold-2); margin-right: 18px; }
.yearhead .line { flex: 1; height: 1px; background: var(--line); }
.yearhead .n { margin-left: 18px; font-size: 13px; color: var(--faint); letter-spacing: 0.1em; text-transform: uppercase; }

.waiting { border-top: 1px solid var(--line); margin-top: 20px; padding: 26px 0 60px; text-align: center; }
.waiting h3 { font-size: 24px; color: var(--muted); }
.waiting p { color: var(--faint); max-width: 640px; margin: 8px auto 0; }
.waiting .names { margin-top: 12px; font-family: var(--serif); font-size: 20px; color: var(--muted); }
.waiting .names span { display: inline-block; margin: 4px 12px; }

/* ---------- justified photo grid ---------- */
.grid { position: relative; padding-bottom: 60px; }
.grid .row { white-space: nowrap; margin-bottom: 6px; }
.grid .tile { display: inline-block; vertical-align: top; position: relative; margin-right: 6px; overflow: hidden; background: var(--panel); border-radius: 4px; cursor: pointer; }
.grid .tile:last-child { margin-right: 0; }
.grid .tile img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease, transform .6s ease; }
.grid .tile img.in { opacity: 1; }
.grid .tile:hover img { transform: scale(1.03); }
.grid .tile .play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(14,12,10,0.7); border: 1px solid var(--gold); }
.grid .tile .play:after { content: ""; position: absolute; left: 21px; top: 16px; border-left: 17px solid var(--gold-2); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.grid .tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: 12px; color: #eadfcb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: linear-gradient(180deg, rgba(10,8,6,0), rgba(10,8,6,0.8)); opacity: 0; transition: opacity .3s; }
.grid .tile:hover .cap { opacity: 1; }
.loadmore { text-align: center; color: var(--faint); padding: 20px; }

/* ---------- lightbox ---------- */
.lb { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 100; background: #050403; opacity: 0; transition: opacity .25s ease; -webkit-user-select: none; user-select: none; }
.lb.open { opacity: 1; }
.lb .stage { position: absolute; top: 56px; bottom: 92px; left: 70px; right: 70px; display: flex; align-items: center; justify-content: center; }
.lb .stage img, .lb .stage video { max-width: 100%; max-height: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.6); transition: opacity .25s ease; }
.lb .stage img.fade { opacity: 0; }
.lb .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 92px; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(222,196,146,0.08); }
.lb .bar .txt { min-width: 0; overflow: hidden; }
.lb .caption { font-family: var(--serif); font-size: 23px; font-style: italic; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb .when { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; margin-top: 2px; }
.lb .acts { flex: none; margin-left: 20px; display: flex; align-items: center; }
.lb .acts a, .lb .acts span { margin-left: 18px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.lb .acts a:hover { color: var(--gold-2); }
.lb .head { position: absolute; top: 0; left: 0; right: 0; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px 0 24px; }
.lb .head .title { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb .btn { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 30px; line-height: 1; padding: 8px 12px; }
.lb .btn:hover { color: var(--gold-2); }
.lb .prev, .lb .next { position: absolute; top: 50%; margin-top: -40px; width: 60px; height: 80px; font-size: 54px; font-family: var(--serif); }
.lb .prev { left: 6px; } .lb .next { right: 6px; }
.lb .spinner { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border: 2px solid rgba(201,164,92,0.2); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.9s linear infinite; }
.lb .note { color: var(--muted); text-align: center; max-width: 420px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .lb .stage { left: 0; right: 0; top: 48px; bottom: 96px; }
  .lb .prev, .lb .next { display: none; }
  .lb .head { height: 48px; }
  .lb .bar { flex-direction: column; align-items: flex-start; justify-content: center; height: 96px; padding: 10px 16px; }
  .lb .acts { margin: 8px 0 0; } .lb .acts a, .lb .acts span { margin: 0 16px 0 0; }
  .lb .caption { font-size: 19px; }
}

/* ---------- forms and panels ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 34px; box-shadow: 0 30px 80px rgba(0,0,0,0.35); }
.panel h1 { font-size: 40px; line-height: 1.1; }
.panel .lede { color: var(--muted); font-family: var(--serif); font-size: 19px; font-style: italic; margin: 8px 0 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field .opt { text-transform: none; letter-spacing: 0; color: var(--faint); }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; padding: 13px 14px; font: 16px var(--sans); color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: 8px; outline: none; -webkit-appearance: none; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
input:focus, textarea:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,92,0.18); }
textarea { min-height: 84px; resize: vertical; }
.check { display: flex; align-items: flex-start; margin: 12px 0; cursor: pointer; }
.check input { margin: 4px 12px 0 0; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.check span { color: var(--text); }
.btn-gold { display: inline-block; background: linear-gradient(180deg, #d8b46a, #b38d45); color: #1a140c; border: 0; border-radius: 30px; padding: 14px 30px; font: 600 15px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; box-shadow: 0 8px 24px rgba(201,164,92,0.22); }
.btn-gold:hover { color: #1a140c; background: linear-gradient(180deg, #e6c47c, #bf9850); }
.btn-gold[disabled] { opacity: 0.55; cursor: default; }
.btn-line { display: inline-block; background: none; color: var(--gold-2); border: 1px solid var(--line-2); border-radius: 30px; padding: 9px 18px; font: 500 13px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.btn-line:hover { border-color: var(--gold); color: #f3d9a1; }
.btn-line.danger { color: var(--danger); border-color: rgba(217,122,98,0.35); }
.btn-line + .btn-line { margin-left: 8px; }
.msg { margin-top: 16px; padding: 12px 14px; border-radius: 8px; display: none; }
.msg.show { display: block; }
.msg.err { background: rgba(217,122,98,0.1); border: 1px solid rgba(217,122,98,0.35); color: #f0b7a7; }
.msg.ok { background: rgba(143,178,122,0.08); border: 1px solid rgba(143,178,122,0.35); color: #cfe3c2; }
.small { font-size: 14px; }
.center { text-align: center; }
.two { display: flex; margin: 0 -8px; } .two > * { flex: 1; padding: 0 8px; }
@media (max-width: 600px) { .two { display: block; margin: 0; } .two > * { padding: 0; } .panel { padding: 24px 20px; } .panel h1 { font-size: 32px; } }
.cf-turnstile { margin: 18px 0 6px; min-height: 65px; }
.foot { text-align: center; color: var(--faint); font-size: 13px; padding: 40px 16px 50px; }
.foot a { color: var(--muted); margin: 0 10px; }
.foot .orn { color: var(--gold); font-family: var(--serif); font-size: 22px; display: block; margin-bottom: 8px; }

/* ---------- upload ---------- */
.drop { border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 46px 20px; text-align: center; background: rgba(27,23,19,0.6); transition: border-color .2s, background .2s; cursor: pointer; }
.drop.over { border-color: var(--gold); background: rgba(201,164,92,0.06); }
.drop h3 { font-size: 28px; }
.drop p { color: var(--muted); margin: 8px 0 0; }
.queue { margin-top: 20px; }
.qitem { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.qitem .qthumb { width: 56px; height: 56px; border-radius: 6px; background: var(--panel-2) center/cover no-repeat; flex: none; margin-right: 14px; }
.qitem .qname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qitem .qstate { margin-left: 12px; font-size: 13px; color: var(--muted); flex: none; }
.qitem .qstate.ok { color: var(--ok); } .qitem .qstate.err { color: var(--danger); }

/* ---------- admin ---------- */
.tabs { border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 12px 2px; margin-right: 26px; font: 500 14px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.tabs button.on { color: var(--gold-2); border-bottom-color: var(--gold); }
.tabs .count { display: inline-block; min-width: 22px; padding: 1px 7px; margin-left: 6px; border-radius: 11px; background: var(--gold); color: #1a140c; font-size: 12px; letter-spacing: 0; }
.req { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; margin-bottom: 16px; }
.req.flash { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,92,0.18); }
.req h3 { font-size: 28px; }
.req .when { color: var(--faint); font-size: 13px; }
.req dl { display: flex; flex-wrap: wrap; margin: 14px 0; }
.req dl div { width: 50%; padding: 6px 16px 6px 0; }
.req dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.req dd { margin: 2px 0 0; white-space: pre-line; }
.req .actions { display: flex; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; }
.req .actions select, .req .actions input { width: auto; min-width: 200px; margin-right: 10px; padding: 9px 34px 9px 12px; font-size: 15px; }
.req .actions > * { margin-bottom: 6px; }
@media (max-width: 600px) { .req dl div { width: 100%; } }
table.list { width: 100%; border-collapse: collapse; }
table.list th { text-align: left; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--line-2); }
table.list td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list td .sub { color: var(--faint); font-size: 13px; }
.pill { display: inline-block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 9px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--muted); }
.pill.member, .pill.admin { color: var(--ok); border-color: rgba(143,178,122,0.4); }
.pill.pending { color: var(--gold-2); border-color: var(--gold); }
.pill.restricted { color: #e0b36b; border-color: rgba(224,179,107,0.4); }
.pill.removed, .pill.declined { color: var(--danger); border-color: rgba(217,122,98,0.4); }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); font-family: var(--serif); font-size: 22px; font-style: italic; }
.mail { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 14px; }
.mail .hdr { color: var(--muted); font-size: 14px; }
.mail .hdr b { color: var(--text); font-weight: 600; }
.mail pre { white-space: pre-wrap; font: 14px/1.55 var(--sans); color: var(--text); margin: 12px 0; }
.legal h2 { font-size: 28px; margin: 30px 0 8px; color: var(--gold-2); }
.legal p, .legal li { color: #ddd2bf; }
.legal ul { padding-left: 20px; }
