@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Cormorant+Garamond:wght@300;400;500&family=Marcellus&family=Montserrat:wght@300;400;500;600&display=swap");

:root {
  --ink: #f8f1e8;
  --muted: rgba(248, 241, 232, 0.68);
  --ruby: #a51217;
  --ruby-bright: #ef4343;
  --oak: #7b5539;
  --dark: #110b09;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--dark);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--dark);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 300;
}

a,
button {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 6px;
}

.site-shell {
  overflow: clip;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 26px clamp(24px, 5vw, 78px);
  mix-blend-mode: screen;
}

.sound-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 8px 0;
  background: none;
  font: 400 9px/1 "Montserrat", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.sound-toggle__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
  transition: 250ms ease;
}

.sound-toggle[aria-pressed="true"] .sound-toggle__dot {
  background: var(--ruby-bright);
  box-shadow: 0 0 4px var(--ruby-bright), 0 0 16px var(--ruby-bright);
}

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: #6f4a32;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.055), transparent 9%, rgba(29,12,5,.12) 48%, transparent 80%),
    repeating-linear-gradient(90deg,
      #8b6344 0,
      #a27652 9px,
      #765037 17px,
      #261711 18px,
      #090706 23px,
      #1f1511 27px,
      #8a6246 28px,
      #b0835d 37px,
      #765036 45px,
      #130d0a 46px,
      #080606 51px,
      #20150f 55px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.hero::before {
  background:
    radial-gradient(circle at 50% 28%, rgba(226, 31, 34, .6), rgba(132, 6, 12, .27) 31%, transparent 62%),
    linear-gradient(180deg, rgba(8, 4, 2, .18), transparent 38%, rgba(8, 4, 2, .72));
}

.hero::after {
  box-shadow: inset 0 0 190px 60px rgba(13, 5, 3, .74);
}

.hero__light {
  position: absolute;
  z-index: -1;
  top: -25%;
  left: 50%;
  width: min(1160px, 120vw);
  aspect-ratio: 1.6;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 63, 53, .29), rgba(142, 0, 7, .1) 45%, transparent 72%);
  filter: blur(24px);
  opacity: .85;
  transition: opacity 800ms ease, filter 800ms ease;
}

body.glow-on .hero__light {
  opacity: 1;
  filter: blur(12px) saturate(1.35);
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: .07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.dragon-stage {
  position: absolute;
  top: clamp(58px, 7vh, 88px);
  left: 50%;
  width: min(720px, 68vw);
  height: min(50vh, 480px);
  margin: 0;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  animation: dragon-arrives 1.8s cubic-bezier(.2,.7,.2,1) both;
}

.dragon {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 10px 16px rgba(22, 3, 1, .55))
    drop-shadow(0 0 11px rgba(255, 240, 200, .45))
    drop-shadow(0 0 34px rgba(204, 16, 21, .58));
  animation: dragon-float 7s ease-in-out infinite;
  transform-origin: center 35%;
}

.dragon-stage__halo {
  position: absolute;
  width: 76%;
  height: 60%;
  border-radius: 50%;
  background: rgba(210, 14, 18, .44);
  filter: blur(65px);
  animation: halo-pulse 5s ease-in-out infinite alternate;
}

.dragon-stage__sparkles {
  position: absolute;
  z-index: 3;
  inset: 8% 7%;
  pointer-events: none;
}

.dragon-stage__sparkles i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff7d7;
  box-shadow: 0 0 6px 2px rgba(255,244,196,.8);
  opacity: 0;
  animation: sparkle 3.8s linear infinite;
}

.dragon-stage__sparkles i:nth-child(1) { left: 9%; top: 43%; animation-delay: .4s; }
.dragon-stage__sparkles i:nth-child(2) { left: 23%; top: 68%; animation-delay: 2.6s; }
.dragon-stage__sparkles i:nth-child(3) { left: 39%; top: 51%; animation-delay: 1.2s; }
.dragon-stage__sparkles i:nth-child(4) { left: 52%; top: 72%; animation-delay: 3.2s; }
.dragon-stage__sparkles i:nth-child(5) { left: 66%; top: 31%; animation-delay: 1.9s; }
.dragon-stage__sparkles i:nth-child(6) { left: 76%; top: 53%; animation-delay: .8s; }
.dragon-stage__sparkles i:nth-child(7) { left: 89%; top: 62%; animation-delay: 2.2s; }
.dragon-stage__sparkles i:nth-child(8) { left: 58%; top: 15%; animation-delay: 3.6s; }

.hero__content {
  position: relative;
  z-index: 5;
  width: min(92vw, 860px);
  margin-top: clamp(320px, 46vh, 480px);
  padding-bottom: 56px;
  text-align: center;
  animation: copy-arrives 1.4s .5s cubic-bezier(.2,.7,.2,1) both;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .56em;
  text-transform: uppercase;
}

h1 {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 2vw, 28px);
  margin: 0;
  font: 300 clamp(76px, 12vw, 154px)/.78 "Cormorant Garamond", Georgia, serif;
  letter-spacing: .14em;
  text-shadow: 0 2px 24px rgba(80, 0, 0, .5);
}

h1 span:nth-child(2) {
  transform: translateY(-4px);
}

.hero__line {
  margin: 24px auto 30px;
  color: var(--muted);
  font: 300 clamp(12px, 1.2vw, 14px)/1.6 "Montserrat", sans-serif;
  letter-spacing: .12em;
}

.enter-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 4px;
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.enter-link svg {
  width: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  transition: transform 250ms ease;
}

.enter-link:hover svg {
  transform: translateX(7px);
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: clamp(20px, 4vw, 64px);
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 8px;
  letter-spacing: .35em;
  text-transform: uppercase;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(#fff, transparent);
}

.welcome {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 110px 28px 80px;
  background:
    radial-gradient(circle at 50% 46%, rgba(139, 12, 18, .24), transparent 34%),
    linear-gradient(145deg, #130c09, #090706 72%);
}

.welcome::before {
  content: "INA";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.05);
  font: 300 min(36vw, 520px)/1 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.04em;
}

.welcome__orb {
  position: absolute;
  top: 18%;
  left: calc(50% - 210px);
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: inset 0 0 100px rgba(170,15,19,.08), 0 0 80px rgba(170,15,19,.08);
}

.welcome__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
}

.welcome h2 {
  margin: 0;
  font: 300 clamp(48px, 7.2vw, 104px)/.93 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.035em;
}

.welcome__content > p:not(.eyebrow) {
  max-width: 560px;
  margin: 34px auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.return-link {
  display: inline-block;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding: 0 0 8px;
  text-decoration: none;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
}

footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 78px);
  color: rgba(255,255,255,.38);
  font-size: 8px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-title {
  position: absolute;
  z-index: 5;
  top: 62vh;
  left: 0;
  right: 0;
  display: block;
  margin: 0 24px;
  text-align: center;
  font-size: clamp(58px, 9vw, 116px);
  line-height: 0.9;
  letter-spacing: 0.06em;
  animation: copy-arrives 1.4s 0.45s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes dragon-arrives {
  from { opacity: 0; transform: translate(-50%, -28px) scale(.94); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes copy-arrives {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dragon-float {
  0%, 100% { transform: translateY(0) rotate(-.25deg); }
  50% { transform: translateY(-8px) rotate(.35deg); }
}

@keyframes halo-pulse {
  from { opacity: .62; transform: scale(.94); }
  to { opacity: 1; transform: scale(1.06); }
}

@keyframes sparkle {
  0%, 76%, 100% { opacity: 0; transform: scale(.3); }
  81% { opacity: 1; transform: scale(1.8); }
  87% { opacity: .28; transform: scale(.7); }
  92% { opacity: .92; transform: scale(1.3); }
}

@media (max-width: 700px) {
  .topbar {
    padding-top: 22px;
  }

  .sound-toggle__label {
    display: none;
  }

  .dragon-stage {
    top: 72px;
    width: 112vw;
    height: 42vh;
  }

  .hero__content {
    margin-top: 39vh;
  }

  h1 {
    gap: 2px;
    letter-spacing: .08em;
  }

  .faq-title {
    top: 48vh;
    font-size: clamp(48px, 16vw, 72px);
    letter-spacing: 0.035em;
  }

  .hero__line {
    max-width: 260px;
  }

  .scroll-cue {
    right: 14px;
    bottom: 18px;
  }

  footer {
    gap: 18px;
    align-items: flex-end;
  }

  footer span:last-child {
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* FAQ layout */
.hero {
  display: block;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(430px, 57vh, 545px) 24px 96px;
}

.faq-content {
  position: relative;
  z-index: 5;
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.faq-title {
  position: static;
  display: block;
  margin: 0;
  background: linear-gradient(135deg, #fffdf4 8%, #f2c98b 46%, #fff7df 72%, #dca560 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-family: "Cinzel Decorative", "Times New Roman", serif;
  font-size: clamp(52px, 7.4vw, 92px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.025em;
  white-space: nowrap;
  filter: drop-shadow(0 3px 16px rgba(80, 0, 0, 0.6));
}

.faq-intro {
  max-width: 610px;
  margin: 28px auto 46px;
  color: rgba(248, 241, 232, 0.76);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.065em;
  text-shadow: 0 2px 14px rgba(26, 4, 3, 0.85);
}

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

.faq-list details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(90deg, rgba(59, 13, 11, 0.16), rgba(137, 16, 20, 0.11), rgba(59, 13, 11, 0.16));
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 20px 62px 20px 20px;
  list-style: none;
  color: rgba(255, 250, 242, 0.94);
  font: 400 clamp(18px, 2vw, 23px) / 1.3 "Marcellus", Georgia, serif;
  letter-spacing: 0.018em;
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 18px;
  height: 1px;
  background: rgba(255, 247, 232, 0.78);
  transition: transform 260ms ease, opacity 260ms ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary {
  color: #fff;
  background: rgba(137, 16, 20, 0.13);
}

.faq-list details[open] summary::after {
  transform: rotate(0deg);
  opacity: 0;
}

.faq-list summary:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.035);
}

.faq-list summary:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.85);
  outline-offset: -3px;
}

.faq-list details p {
  margin: -2px 64px 0 20px;
  padding: 0 0 25px;
  color: rgba(248, 241, 232, 0.67);
  font: 400 13px / 1.75 "Montserrat", Arial, sans-serif;
  letter-spacing: 0.035em;
}

@media (max-width: 700px) {
  .hero {
    padding: 390px 20px 72px;
  }

  .faq-title {
    position: static;
    margin: 0;
    font-size: clamp(38px, 11.5vw, 50px);
    letter-spacing: 0.01em;
  }

  .faq-intro {
    margin: 22px auto 36px;
    font-size: 12px;
    line-height: 1.75;
    letter-spacing: 0.055em;
  }

  .faq-list summary {
    min-height: 68px;
    padding: 18px 50px 18px 14px;
    font-size: 18px;
  }

  .faq-list summary::before,
  .faq-list summary::after {
    right: 15px;
    width: 16px;
  }

  .faq-list details p {
    margin: -2px 44px 0 14px;
    padding-bottom: 22px;
    font-size: 12px;
  }
}
