:root {
  --bg: #14090d;
  --bg-2: #2a0f17;
  --wine: #6e1420;
  --gold: #e9b54a;
  --gold-hi: #fde7a6;
  --gold-lo: #9c6a1c;
  --text: #f3e6cc;
  --muted: #bda78a;
  --serif: "Cormorant Garamond", "Cormorant", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
html, body { margin: 0; }
body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: var(--serif);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(233, 181, 74, .16), transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% 0%, var(--bg-2), transparent 75%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23e9b54a' stroke-opacity='.06' stroke-width='1'%3E%3Cpath d='M28 4c6 8 6 16 0 24-6-8-6-16 0-24zM28 52c6-8 6-16 0-24-6 8-6 16 0 24zM4 28c8-6 16-6 24 0-8 6-16 6-24 0zM52 28c-8-6-16-6-24 0 8 6 16 6 24 0z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(24px, 5vh, 64px) 16px 32px;
}

.logo {
  width: min(760px, 92vw);
  height: auto;
  aspect-ratio: 1439 / 1001;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55));
  animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) both;
}
h1 {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.tagline {
  margin: clamp(12px, 3vh, 28px) 0 0;
  max-width: 40ch;
  text-wrap: balance;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  line-height: 1.35;
  font-style: italic;
  color: var(--text);
  animation: fade 1.2s .3s both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  margin-top: clamp(20px, 4vh, 36px);
  padding: .7em 1.8em;
  font-size: clamp(.95rem, .85rem + .4vw, 1.15rem);
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-hi);
  background: linear-gradient(180deg, #8a1a28, var(--wine) 60%, #4a0c15);
  border: 1px solid var(--gold);
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(20, 9, 13, .9), 0 0 0 4px var(--gold-lo), 0 10px 30px rgba(0, 0, 0, .45);
  animation: fade 1.2s .5s both;
}
.badge::before, .badge::after { content: "◆"; font-size: .55em; color: var(--gold); letter-spacing: 0; }

.about {
  width: min(640px, 100%);
  margin: clamp(28px, 5vh, 48px) auto 0;
  padding: clamp(22px, 4vw, 36px) clamp(20px, 5vw, 44px);
  text-align: left;
  background: linear-gradient(180deg, rgba(110, 20, 32, .28), rgba(20, 9, 13, .6));
  border: 1px solid rgba(233, 181, 74, .45);
  border-radius: 6px;
  box-shadow: inset 0 0 0 4px rgba(20, 9, 13, .6), inset 0 0 0 5px rgba(233, 181, 74, .18), 0 18px 40px rgba(0, 0, 0, .35);
  animation: fade 1.2s .7s both;
}
.about h2 {
  margin: 0 0 .7em;
  text-align: center;
  font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.about p {
  margin: 0 0 1em;
  font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem);
  line-height: 1.6;
  color: var(--text);
}
.about p:last-child { margin-bottom: 0; }
.about em { color: var(--gold-hi); }

.divider {
  width: min(320px, 60vw);
  height: 1px;
  margin: clamp(28px, 5vh, 48px) auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-lo), var(--gold), var(--gold-lo), transparent);
}

footer {
  padding: 20px 16px 28px;
  text-align: center;
  font-size: .95rem;
  color: var(--muted);
  opacity: .8;
}
footer p { margin: 0; }
footer .legal { margin: .5em auto 0; max-width: 60ch; font-size: .82rem; line-height: 1.5; opacity: .8; }
footer a { color: inherit; }

/* Footer links */
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6em 1.8em; margin-bottom: .9em; }
.footer-nav a[aria-current="page"] { color: var(--gold-hi); border-color: transparent; }
.footer-nav a {
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 181, 74, .4);
  padding-bottom: 2px;
}
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--gold-hi); border-color: var(--gold-hi); }

/* Sub-pages */
.page main { justify-content: flex-start; }
.logo-small { display: block; animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
.logo-small img {
  width: min(340px, 70vw);
  height: auto;
  aspect-ratio: 1439 / 1001;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .55));
}
.page h1 {
  position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
  margin: clamp(16px, 3vh, 28px) 0 0;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}
.about h3 {
  margin: 1.6em 0 .6em;
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.about h3:first-child { margin-top: 0; }
.timeline { list-style: none; margin: 0 0 1em; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 1em;
  padding: .55em 0;
  border-bottom: 1px solid rgba(233, 181, 74, .15);
  font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem);
  line-height: 1.45;
}
.timeline li:last-child { border-bottom: 0; }
.timeline time { color: var(--gold-hi); font-weight: 700; }
@media (max-width: 420px) { .timeline li { grid-template-columns: 1fr; gap: .1em; } }
.back { margin-top: clamp(24px, 4vh, 36px); }

@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
.page .about { width: min(720px, 100%); }
.about .sub { margin-top: -.3em; font-style: italic; color: var(--muted); }
.about a { color: var(--gold-hi); text-decoration-color: rgba(233, 181, 74, .5); text-underline-offset: 3px; }
.about a:hover, .about a:focus-visible { color: #fff; text-decoration-color: var(--gold); }
.about .closing {
  margin-top: 1.6em;
  padding-top: 1.1em;
  border-top: 1px solid rgba(233, 181, 74, .25);
  text-align: center;
  font-style: italic;
  font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem);
  color: var(--gold);
}
.about .closing-icon {
  display: block;
  width: 96px;
  height: 96px;
  margin: .2em auto .7em;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(233, 181, 74, .55), 0 10px 26px rgba(0, 0, 0, .5);
}

/* Start page call to action */
.cta { margin-top: clamp(18px, 3vh, 28px); animation: fade 1.2s .7s both; }
.btn {
  display: inline-block;
  padding: .75em 2.2em;
  font-family: inherit;
  font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #2a1206;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(253, 231, 166, .6) inset, 0 10px 28px rgba(0, 0, 0, .45), 0 0 24px rgba(233, 181, 74, .25);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 0 0 1px rgba(253, 231, 166, .8) inset, 0 14px 32px rgba(0, 0, 0, .5), 0 0 36px rgba(233, 181, 74, .4); }
.btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; }
.cta-note { margin: .8em 0 0; font-size: 1rem; font-style: italic; color: var(--muted); }

/* Contact page */
.contact iframe { display: block; border: 0; }

/* Privacy page */
.about .center { text-align: center; }
.about .updated { margin-top: 1.6em; font-size: .95rem; font-style: italic; color: var(--muted); }

/* Gamgo logo in the footer */
.gamgo { display: inline-block; margin: .4em 0 .8em; opacity: .85; transition: opacity .15s ease, transform .15s ease; }
.gamgo:hover, .gamgo:focus-visible { opacity: 1; transform: translateY(-1px); }
.gamgo img { display: block; width: 110px; height: auto; }
