:root {
  --navy: #142d43;
  --navy-deep: #081f37;
  --teal: #9bdfe8;
  --cyan: #30cbd3;
  --blue: #2f7ff0;
  --white: #f8fafc;
  --ink: #12283b;
  --muted: #526878;
  --line: rgba(20, 45, 67, .13);
  --shadow: 0 24px 70px rgba(8, 31, 55, .16);
  --radius: 28px;
  --shell: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 16px; border-radius: 8px; background: white; color: var(--navy); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 50; top: 0; width: 100%; border-bottom: 1px solid transparent; transition: .25s ease; }
.site-header.scrolled { background: rgba(248, 250, 252, .88); border-color: var(--line); backdrop-filter: blur(16px); box-shadow: 0 8px 30px rgba(8,31,55,.06); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 176px; height: 58px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: .91rem; font-weight: 750; text-decoration: none; }
.nav-links a:not(.nav-cta) { position: relative; }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 18px; border-radius: 999px; color: white; background: var(--navy); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--navy); }

h1, h2, h3 { margin: 0 0 20px; color: var(--navy); line-height: 1.08; letter-spacing: -.04em; }
h1 { max-width: 760px; font-size: clamp(3rem, 6vw, 5.7rem); }
h1 em { color: #087f9f; font-style: normal; }
h2 { font-size: clamp(2.3rem, 4.3vw, 4.3rem); }
p { margin: 0 0 20px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #26788a; font-size: .78rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow > span { width: 30px; height: 3px; border-radius: 4px; background: var(--cyan); }
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--teal); }
.section { padding: 120px 0; }
.centered { max-width: 850px; text-align: center; }
.section-lead { color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.28rem); }

.immersive { position: relative; isolation: isolate; min-height: 760px; overflow: hidden; background-position: center top; background-size: 100% auto; background-repeat: no-repeat; }
.immersive::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.immersive--dark { color: rgba(248,250,252,.85); background-color: var(--navy); }
.immersive--dark h2 { color: white; }

.hero { display: grid; align-items: center; padding: 135px 0 70px; background-color: #eef8fa; background-image: url('../assets/01-game-builder-background.png'); }
.hero::after { background: linear-gradient(90deg, rgba(248,250,252,.98) 0%, rgba(248,250,252,.92) 35%, rgba(248,250,252,.16) 70%, transparent 100%); }
.hero-copy { width: min(660px, 59%); }
.hero-lead { max-width: 610px; color: #3f5c70; font-size: clamp(1.1rem, 1.7vw, 1.32rem); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 24px; border: 0; border-radius: 14px; cursor: pointer; font: inherit; font-weight: 850; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.button--primary { color: white; background: var(--navy); box-shadow: 0 14px 35px rgba(20,45,67,.22); }
.button--primary:hover { transform: translateY(-3px); background: #087f9f; box-shadow: 0 18px 38px rgba(8,127,159,.28); }
.text-link { color: var(--navy); font-weight: 800; text-underline-offset: 5px; }
.microcopy { margin: 18px 0 0; color: #617585; font-size: .9rem; }
.ambient { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); animation: drift 8s ease-in-out infinite; }
.ambient--one { top: 15%; left: 44%; width: 11px; height: 11px; background: var(--cyan); box-shadow: 0 0 35px 12px rgba(48,203,211,.28); }
.ambient--two { bottom: 13%; left: 48%; width: 8px; height: 8px; background: var(--blue); animation-delay: -3s; }

.fact-ribbon { position: relative; z-index: 4; margin-top: -46px; }
.facts { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border: 1px solid rgba(155,223,232,.65); border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.facts div { padding: 22px 26px; border-right: 1px solid var(--line); }
.facts div:last-child { border: 0; }
.facts strong, .facts span { display: block; }
.facts strong { color: var(--navy); font-size: 1.15rem; }
.facts span { color: var(--muted); font-size: .84rem; }
.intro { padding-bottom: 90px; background: radial-gradient(circle at 15% 20%, rgba(155,223,232,.22), transparent 28%), var(--white); }

.story { display: grid; align-items: center; background-image: var(--scene); }
.story::after { background: linear-gradient(90deg, rgba(8,31,55,.97) 0%, rgba(8,31,55,.9) 42%, rgba(8,31,55,.08) 72%); }
.story--left::after { background: linear-gradient(270deg, rgba(248,250,252,.98) 0%, rgba(248,250,252,.92) 43%, rgba(248,250,252,.07) 72%); }
.story-layout { display: flex; }
.story--left .story-layout { justify-content: flex-end; }
.story-card { position: relative; width: min(520px, 48%); padding: 44px; border: 1px solid rgba(155,223,232,.18); border-radius: var(--radius); background: rgba(8,31,55,.68); box-shadow: 0 28px 80px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.story--left .story-card { color: var(--ink); border-color: rgba(20,45,67,.1); background: rgba(255,255,255,.82); }
.story-card h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.story-card p { font-size: 1.08rem; }
.step { position: absolute; top: 26px; right: 30px; color: rgba(155,223,232,.85); font-size: 1.05rem; font-weight: 900; }
.story--left .step { color: #0a8da2; }
.kicker { margin-bottom: 12px !important; color: var(--cyan); font-size: .75rem !important; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.check-list { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; color: var(--navy); background: var(--teal); font-size: .76rem; font-weight: 900; }

.details { display: grid; align-items: center; background-color: #f2fbfc; background-image: url('../assets/05-workshop-details-background.png'); }
.details::after { background: linear-gradient(90deg, rgba(248,250,252,.98) 0%, rgba(248,250,252,.84) 48%, rgba(248,250,252,.12) 78%); }
.details-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.details-copy h2 { font-size: clamp(2.6rem, 4.5vw, 4.5rem); }
.status-note { display: inline-flex; align-items: center; gap: 9px; margin-top: 15px; padding: 11px 15px; border-radius: 999px; color: #765707; background: #fff4cb; font-size: .88rem; font-weight: 800; }
.status-note span { color: #e6ae19; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.detail-grid article { min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; border: 1px solid rgba(155,223,232,.65); border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: 0 14px 40px rgba(20,45,67,.09); transition: transform .2s, border-color .2s; }
.detail-grid article:hover { transform: translateY(-5px); border-color: var(--cyan); }
.detail-grid b { color: #087f9f; font-size: 2.1rem; line-height: 1; }
.detail-grid span { margin-top: 8px; color: var(--navy); font-weight: 800; }

.why { display: grid; align-items: center; background-color: var(--navy); background-image: url('../assets/06-why-holunara-background.png'); }
.why::after { background: linear-gradient(270deg, rgba(8,31,55,.97) 0%, rgba(8,31,55,.9) 45%, rgba(8,31,55,.04) 75%); }
.why-layout { display: flex; justify-content: flex-end; }
.why-copy { width: min(590px, 49%); }
.why-copy p { font-size: 1.09rem; }
.motto { margin-top: 38px; color: var(--teal); font-size: 1.35rem !important; font-weight: 900; letter-spacing: .08em; }
.about { background: radial-gradient(circle at 80% 30%, rgba(47,127,240,.08), transparent 32%), linear-gradient(180deg, white, #eff9fa); }
.about-layout { display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: center; }
.about-mark { display: grid; place-items: center; aspect-ratio: 1; border-radius: 38% 62% 55% 45%; background: linear-gradient(145deg, var(--teal), #d9f6f8); box-shadow: var(--shadow); animation: morph 9s ease-in-out infinite; }
.about-mark img { width: 82%; }

.faq { background: #fff; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; align-items: start; }
.faq-heading { position: sticky; top: 120px; }
.faq-heading p:last-child { color: var(--muted); }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0; color: var(--navy); cursor: pointer; font-size: 1.08rem; font-weight: 820; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #e9f8fa; transition: transform .25s; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { max-width: 630px; padding: 0 50px 24px 0; color: var(--muted); }

.cta { min-height: 700px; display: grid; align-items: center; background-color: var(--navy); background-image: url('../assets/07-registration-cta-background.png'); }
.cta::after { background: linear-gradient(90deg, rgba(8,31,55,.98) 0%, rgba(8,31,55,.93) 42%, rgba(8,31,55,.05) 73%); }
.cta-copy { width: min(650px, 55%); }
.cta-copy p { font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 34px; }
.button--disabled { color: #6f7b87; background: rgba(255,255,255,.86); cursor: not-allowed; }
.availability { display: inline-flex; align-items: center; gap: 9px; color: var(--teal); font-size: .87rem; font-weight: 800; }
.availability i { width: 9px; height: 9px; border-radius: 50%; background: #f2bd35; box-shadow: 0 0 0 5px rgba(242,189,53,.13); }

.footer { padding: 70px 0 28px; color: #c7d7e3; background: #06182b; }
.footer-main { display: grid; grid-template-columns: 280px minmax(260px, 1fr) auto; gap: 60px; align-items: center; }
.footer-logo-panel { width: 300px; padding: 10px 0; border: 0; background: transparent; }
.footer-main img { width: 100%; }
.footer-main p { max-width: 530px; margin: 0; }
.privacy-link { padding: 0; border: 0; border-bottom: 1px solid currentColor; color: var(--teal); background: none; cursor: pointer; font: inherit; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.footer-bottom a { text-decoration: none; }

dialog { width: min(600px, calc(100% - 36px)); padding: 38px; border: 0; border-radius: 24px; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.32); }
dialog::backdrop { background: rgba(6,24,43,.7); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 15px; right: 18px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: var(--navy); background: #e8f8fa; cursor: pointer; font-size: 1.4rem; }
.draft-warning { margin: 25px 0 0; padding: 14px 16px; border-radius: 12px; color: #765707; background: #fff4cb; font-size: .88rem; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes drift { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(45deg); } }
@keyframes morph { 0%,100% { border-radius: 38% 62% 55% 45%; } 50% { border-radius: 60% 40% 42% 58%; } }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 68px; left: 20px; right: 20px; display: none; align-items: stretch; flex-direction: column; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(248,250,252,.98); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; }
  .nav-cta { text-align: center; }
  .hero { min-height: 810px; background-position: center top; }
  .hero::after { background: linear-gradient(90deg, rgba(248,250,252,.98) 0%, rgba(248,250,252,.88) 63%, rgba(248,250,252,.16)); }
  .hero-copy { width: 76%; }
  .facts { grid-template-columns: repeat(2,1fr); }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .story::after, .story--left::after { background: linear-gradient(0deg, rgba(8,31,55,.96) 0%, rgba(8,31,55,.76) 52%, rgba(8,31,55,.02) 88%); }
  .story--left::after { background: linear-gradient(0deg, rgba(248,250,252,.98) 0%, rgba(248,250,252,.8) 55%, rgba(248,250,252,.02) 90%); }
  .story-layout, .story--left .story-layout { align-items: flex-end; justify-content: center; min-height: 760px; padding-bottom: 55px; }
  .story-card { width: min(650px, 100%); }
  .details-layout { grid-template-columns: 1fr; gap: 40px; }
  .details { padding: 110px 0; }
  .why::after { background: linear-gradient(0deg, rgba(8,31,55,.98) 0%, rgba(8,31,55,.78) 57%, rgba(8,31,55,.02) 90%); }
  .why-layout { align-items: flex-end; min-height: 760px; padding-bottom: 60px; }
  .why-copy { width: 100%; }
  .about-layout { grid-template-columns: 180px 1fr; gap: 45px; }
  .faq-layout { grid-template-columns: 1fr; gap: 45px; }
  .faq-heading { position: static; }
  .cta-copy { width: 72%; }
  .footer-main { grid-template-columns: 1fr; gap: 25px; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 28px, 1160px); --radius: 22px; }
  .nav { min-height: 68px; }
  .brand img { width: 150px; height: 50px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .section { padding: 90px 0; }
  .hero { min-height: 780px; padding-top: 105px; background-position: center top; }
  .hero::after { background: linear-gradient(0deg, rgba(248,250,252,.99) 0%, rgba(248,250,252,.92) 58%, rgba(248,250,252,.26) 100%); }
  .hero-layout { display: flex; align-items: flex-end; min-height: 650px; }
  .hero-copy { width: 100%; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .text-link { text-align: center; }
  .fact-ribbon { margin-top: -20px; }
  .facts div { padding: 18px; }
  .facts strong { font-size: 1rem; }
  .immersive, .story-layout, .why-layout { min-height: 720px; }
  .story { background-position: center top; }
  .story-card { padding: 32px 24px; }
  .story-card h2 { font-size: 2.45rem; }
  .details { background-position: center top; }
  .details::after { background: rgba(248,250,252,.88); }
  .detail-grid { gap: 10px; }
  .detail-grid article { min-height: 125px; padding: 18px; }
  .detail-grid b { font-size: 1.65rem; }
  .why { background-position: center top; }
  .about-layout { grid-template-columns: 1fr; }
  .about-mark { width: 150px; }
  .cta { min-height: 740px; background-position: center top; }
  .cta::after { background: linear-gradient(0deg, rgba(8,31,55,.99) 0%, rgba(8,31,55,.9) 62%, rgba(8,31,55,.2) 100%); }
  .cta-layout { display: flex; align-items: flex-end; min-height: 640px; }
  .cta-copy { width: 100%; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}

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