/* Lanternwood website. Fonts and pictures are served from this site, so it makes no calls to anyone else. */
@font-face { font-family: 'Cinzel Decorative'; font-weight: 700; font-display: swap; src: url(fonts/cinzel-decorative-700.woff2) format('woff2'); }
@font-face { font-family: 'Lilita One'; font-weight: 400; font-display: swap; src: url(fonts/lilita-one.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 600 900; font-display: swap; src: url(fonts/nunito.woff2) format('woff2'); }

:root {
  --bg: #0e080a; --panel: #19110f; --panel2: #221613; --line: rgba(255, 208, 74, .16);
  --text: #f4ecdb; --soft: #d8ccb6; --muted: #a99c86; --gold: #ffd04a; --amber: #e89a3a;
  --display: 'Lilita One', 'Trebuchet MS', sans-serif; --body: 'Nunito', system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 600 16px/1.6 var(--body); }
img { display: block; max-width: 100%; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffe08a; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* header and footer */
.top { position: sticky; top: 0; z-index: 10; background: rgba(14, 8, 10, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font: 400 20px/1 var(--display); letter-spacing: .3px; }
.brand img { width: 28px; height: 28px; flex: none; }
.brand:hover { color: var(--text); }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--soft); text-decoration: none; font-weight: 800; font-size: 14px; padding: 8px 10px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current] { color: var(--gold); background: rgba(255, 208, 74, .08); }
.foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0 36px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 16px; }
.foot a { color: var(--soft); text-decoration: none; font-weight: 800; }
.foot a:hover { color: var(--gold); }

/* home: the painting and the title */
.hero { position: relative; }
.hero-art { position: relative; width: 100%; max-height: 78vh; aspect-ratio: 900 / 1095; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hero-art::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, rgba(14, 8, 10, 0), var(--bg) 92%); }
.hero-text { position: relative; margin-top: -110px; padding: 0 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.logo { margin: 0; font: 700 clamp(40px, 12vw, 64px)/1.05 'Cinzel Decorative', 'Times New Roman', serif;
  background: linear-gradient(180deg, #fff6c8 0%, #ffd24a 42%, #d8862a 78%, #8a4a10 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #2a1204) drop-shadow(0 0 16px rgba(255, 180, 60, .5)); }
.tag { margin: 0; font: 400 13px/1.2 var(--display); letter-spacing: 3.5px; text-transform: uppercase; color: #ffd890; }
.pitch { margin: 4px 0 0; max-width: 460px; color: var(--soft); font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.soon { margin-top: 10px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 14px;
  background: linear-gradient(180deg, #ffe7a0, #f3b34a); color: #2a1404; font: 400 18px/1 var(--display); box-shadow: 0 3px 0 #9a5a14, 0 8px 24px rgba(255, 170, 60, .25); }
.soon small { font: 800 12px/1 var(--body); opacity: .75; }

/* home: screenshots */
.section { margin-top: 56px; }
.section h2 { margin: 0 0 18px; text-align: center; font: 400 28px/1.15 var(--display); color: var(--text); }
.shots { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 4px 0 12px; }
.shots::-webkit-scrollbar { display: none; }
.shots .track { display: flex; gap: 14px; width: max-content; margin: 0 auto; padding: 0 16px; }
.shot { margin: 0; width: min(62vw, 220px); scroll-snap-align: center; }
.shot img { width: 100%; height: auto; aspect-ratio: 780 / 1688; object-fit: cover; border-radius: 22px; border: 1px solid rgba(255, 208, 74, .28); box-shadow: 0 10px 30px rgba(0, 0, 0, .55); background: var(--panel); }
.shot figcaption { margin-top: 10px; text-align: center; font-weight: 800; font-size: 14px; color: var(--soft); line-height: 1.3; }

/* home: features */
.feats { display: grid; grid-template-columns: 1fr; gap: 12px; }
.feat { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); }
.feat .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 208, 74, .1); color: var(--gold); }
.feat .ic svg { width: 22px; height: 22px; }
.feat b { display: block; font: 400 18px/1.2 var(--display); color: var(--text); margin-bottom: 2px; }
.feat span { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* the policy pages */
.doc { max-width: 720px; padding-top: 32px; }
.doc h1 { margin: 0; font: 400 34px/1.15 var(--display); }
.doc .date { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.doc .lede { margin: 18px 0 0; font-size: 17px; color: var(--soft); }
.doc h2 { margin: 30px 0 6px; font: 900 18px/1.3 var(--body); color: var(--gold); }
.doc p, .doc li { color: var(--soft); }
.doc p { margin: 0 0 10px; }
.doc ul { margin: 0 0 10px; padding-left: 20px; }
.doc li { margin: 4px 0; }
.doc b { color: var(--text); }
.box { margin-top: 22px; padding: 16px; border-radius: 16px; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); }
.box p:last-child { margin-bottom: 0; }
.mail { font: 400 20px/1.3 var(--display); word-break: break-word; }
.qa { margin-top: 26px; display: grid; gap: 10px; }
.qa details { border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; position: relative; font-weight: 900; color: var(--text); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 400 22px/1 var(--display); color: var(--gold); }
.qa details[open] summary::after { content: '−'; }
.qa details > div { padding: 0 16px 14px; }
.qa details > div p { margin: 0 0 8px; }
.todo { color: #2a1404; background: #ffd04a; border-radius: 6px; padding: 0 6px; font-weight: 900; }

@media (min-width: 640px) {
  .feats { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .hero .wrap { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 40px; }
  .hero-art { max-height: none; border-radius: 24px; border: 1px solid rgba(255, 208, 74, .25); box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 80px rgba(255, 170, 60, .08); }
  .hero-art::after { display: none; }
  .hero-text { margin-top: 0; padding: 0; text-align: left; align-items: flex-start; }
  .pitch { font-size: 19px; }
  .shots .track { gap: 18px; }
  .shot { width: 188px; }
}
@media (max-width: 899px) {
  .hero .wrap { padding: 0; }
}
@media (max-width: 430px) {
  .nav { gap: 0; }
  .nav a { padding: 8px 7px; font-size: 13.5px; }
}
@media (max-width: 340px) {
  .brand span { display: none; }
}
