:root {
  color-scheme: light;
  --ink: #18212a;
  --muted: #68737e;
  --paper: #fffaf0;
  --accent: #e65336;
  --accent-dark: #b83220;
  --teal: #176f6a;
  --line: rgba(56, 45, 33, .15);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: radial-gradient(circle at 10% 0, #ffe2ad, transparent 32rem), radial-gradient(circle at 100% 30%, #d7f1e9, transparent 28rem), var(--paper); }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 2rem)); margin: auto; padding: 1.2rem 0 4rem; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-weight: 950; letter-spacing: -.03em; text-decoration: none; }
.brand span { color: var(--accent); }
.status { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .9rem; }
.status::before { content: ''; width: .65rem; height: .65rem; border-radius: 50%; background: #a7afb5; }
.status.online::before { background: #29a176; box-shadow: 0 0 0 4px rgba(41,161,118,.12); }
.status.offline::before { background: var(--accent); }
.hero { min-height: 68vh; display: grid; align-content: center; padding: 3rem 0; }
.eyebrow { color: var(--teal); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 900; }
h1 { max-width: 900px; margin: .5rem 0 1.2rem; font-size: clamp(3.2rem, 11vw, 8rem); line-height: .82; letter-spacing: -.075em; }
h1 em { color: var(--accent); font-style: normal; }
.lede { max-width: 680px; color: var(--muted); line-height: 1.7; font-size: clamp(1rem, 2.2vw, 1.22rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.2rem; border-radius: 999px; background: var(--accent); color: white; text-decoration: none; font-weight: 800; border: 0; cursor: pointer; }
.button:hover { background: var(--accent-dark); }
.button.secondary { color: var(--ink); background: rgba(255,255,255,.78); border: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { padding: 1.4rem; border-radius: 24px; background: rgba(255,255,255,.72); border: 1px solid var(--line); box-shadow: 0 16px 50px rgba(73,44,23,.08); }
.card strong { display: block; color: var(--accent); font-size: 2rem; }
.card p { color: var(--muted); line-height: 1.55; margin-bottom: 0; }
.album-head { padding: 6vh 0 1.5rem; }
.album-head h1 { font-size: clamp(2.8rem, 9vw, 6.4rem); overflow-wrap: anywhere; }
.album-head .lede { white-space: pre-wrap; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem; }
.photo { border: 0; padding: 0; overflow: hidden; border-radius: 18px; background: #e7dfd4; aspect-ratio: 1; cursor: zoom-in; position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .25s; }
.photo img.loaded { opacity: 1; }
.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.55) 45%, transparent 65%); animation: shine 1.3s infinite; }
.photo.ready::after { display: none; }
.photo.failed::before { content: 'Preview unavailable'; position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; color: var(--muted); font-size: .82rem; font-weight: 800; text-align: center; }
@keyframes shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.state { margin: 3rem 0; padding: 2rem; border-radius: 20px; background: rgba(255,255,255,.76); border: 1px dashed var(--line); text-align: center; }
.state h2 { margin-top: 0; }
.hidden { display: none !important; }
.error { color: #a72b1d; }
dialog { width: min(1100px, calc(100% - 1rem)); max-height: 94vh; padding: 0; border: 0; border-radius: 20px; background: #111; box-shadow: 0 25px 90px rgba(0,0,0,.5); }
dialog::backdrop { background: rgba(14,18,22,.86); }
dialog img { display: block; width: 100%; max-height: 88vh; object-fit: contain; }
dialog .lightbox-close { position: absolute; z-index: 2; top: .7rem; right: .7rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: white; font-size: 1.3rem; cursor: pointer; }
.lightbox-state { min-height: 260px; display: grid; place-content: center; justify-items: center; gap: .8rem; padding: 4rem 2rem; color: white; text-align: center; }
.lightbox-state p { margin: 0; }
.lightbox-state .button { position: static; width: auto; height: auto; border-radius: 999px; background: var(--accent); font-size: 1rem; }
footer { margin-top: 3rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; }
  .hero { min-height: 74vh; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .photo { border-radius: 12px; }
}
