* { box-sizing: border-box; }
:root {
  font-family: 'Chakra Petch', sans-serif;
  color: #f1eee9;
  background: #111112;
  color-scheme: dark;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
html, body { margin: 0; min-height: 100%; }
body { min-height: 100svh; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 2px solid #d3b9a1; outline-offset: 5px; }
.landing { position: relative; width: 100%; min-height: 100svh; display: flex; align-items: flex-end; justify-content: center; text-align: center; isolation: isolate; overflow: hidden; }
.photo-panel { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #28282b; }
.photo-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 12%) 15%, rgb(0 0 0 / 15%) 42%, rgb(0 0 0 / 70%) 100%); }
.photo-panel.no-photo::before { content: "Add your photo as assets/cristo-chair.jpg"; position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: #ddd; text-align: center; }
.portrait { display: block; width: 100%; height: 100%; min-height: 100svh; object-fit: cover; object-position: 50% 25%; }
.photo-copy { width: 100%; padding: 32px 24px max(28px, env(safe-area-inset-bottom)); color: #fffaf5; text-shadow: 0 2px 5px #111112, 0 0 18px #111112; }
h1 { font-family: 'Chakra Petch', sans-serif; font-size: clamp(38px, 7vw, 70px); line-height: 1.05; font-weight: 700; letter-spacing: -.025em; text-transform: uppercase; margin: 0 0 12px; }
.intro { font-size: 15px; line-height: 1.6; margin: 0 auto 14px; }
.more-section { width: 100%; }
.more-link { display: inline-block; border: 0; background: transparent; color: inherit; padding: 6px 8px; min-height: 44px; font-size: 20px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 6px; text-shadow: inherit; }
.more-link:hover { color: #bdc1c7; }
.age-dialog { position: fixed; inset: 0; width: min(480px, calc(100% - 32px)); max-height: calc(100svh - 32px); margin: auto; padding: 42px 30px 30px; border: 1px solid #606369; border-top: 5px solid #e0e2e5; border-radius: 0; background: #17191c; color: #f3f4f5; text-align: left; text-shadow: none; box-shadow: 12px 12px 0 rgb(5 6 8 / 45%); }
.age-dialog::backdrop { background: rgb(8 10 13 / 82%); }
.close-dialog { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 1px solid #50545b; border-radius: 0; background: transparent; font-size: 27px; color: #f3f4f5; }
.close-dialog:hover { background: #30343a; }
.age-label { display: inline-block; font-size: clamp(54px, 14vw, 76px); line-height: 1; font-weight: 700; letter-spacing: -.06em; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 3px solid #8c949e; }
.age-dialog h2 { font-size: clamp(25px, 6vw, 32px); line-height: 1.1; font-weight: 700; text-transform: uppercase; letter-spacing: -.025em; margin: 0 0 16px; }
.age-dialog p { font-size: 15px; line-height: 1.65; color: #bdc1c7; margin: 0 0 28px; }
.age-choices { display: grid; gap: 10px; }
.age-choices button, .back-button { min-height: 54px; width: 100%; padding: 14px 16px; border: 1px solid #626872; border-radius: 0; background: #202328; color: #e0e2e5; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-shadow: none; }
.age-choices .confirm-button { background: #e0e2e5; border-color: #e0e2e5; color: #141619; }
.age-choices button:hover, .back-button:hover { background: #363c44; }
.age-choices .confirm-button:hover { background: #fff; border-color: #fff; }
.age-dialog button:focus-visible { outline: 2px solid #f3f4f5; outline-offset: 4px; }
.age-dialog button:active { transform: translateY(1px); }
[hidden] { display: none !important; }
@media (max-width: 480px) { .photo-copy { padding-inline: 16px; } h1 { font-size: clamp(26px, 8vw, 38px); } .intro { max-width: 290px; font-size: 13px; } .age-dialog { padding-inline: 24px; } }
@media (max-height: 500px) { .photo-copy { padding-block: 16px; } h1 { font-size: 30px; margin-bottom: 8px; } .intro { font-size: 12px; margin-bottom: 4px; } .more-link { font-size: 16px; } }
@media (prefers-reduced-motion: no-preference) { .more-link, .age-choices button, .back-button { transition: color .18s, background-color .18s; } .age-dialog[open] { animation: appear .18s ease-out; } @keyframes appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } }
