:root {
  color-scheme: dark;
  --night: #061426;
  --night-light: #102035;
  --ivory: #f8f2e9;
  --muted: #c4c9d1;
  --gold: #e2bb73;
  --gold-soft: #c69b58;
  --line: rgba(226, 187, 115, .38);
  font-family: Georgia, 'Times New Roman', serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; background: var(--night); color: var(--ivory); }
body, button { font-family: Georgia, 'Times New Roman', serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #ffe3a8; outline-offset: 5px; }
button { cursor: pointer; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 12px; padding: 12px 18px; background: var(--gold); color: var(--night); }
.skip-link:focus { top: 12px; }
.frame { width: min(1510px, calc(100% - clamp(36px, 8vw, 160px))); margin-inline: auto; }
.world-stage {
  isolation: isolate;
  background: linear-gradient(180deg, rgba(6, 20, 38, .1) 0, rgba(6, 20, 38, .1) 610px, #061426 1200px), url('home-atmosphere.png') center top / 100% auto no-repeat, var(--night);
}

.home-header { position: sticky; top: 0; min-height: 137px; display: flex; align-items: flex-start; justify-content: space-between; z-index: 80; isolation: isolate; }
.home-header.is-scrolled::before { content: ''; position: absolute; z-index: -1; inset-block: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: #061426; border-bottom: 1px solid var(--line); pointer-events: none; }
.home-header::after { content: ''; position: absolute; top: 72px; left: 135px; right: 0; height: 1px; background: var(--line); pointer-events: none; }
.home-logo { display: block; width: 111px; margin-top: 8px; flex: none; }
.home-logo img { width: 100%; height: auto; filter: drop-shadow(0 2px 7px rgba(0, 0, 0, .28)); }
.primary-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 58px); padding-top: 32px; }
.primary-nav a, .eyebrow, .text-link, .section-line, .project-count, .dragon-number, .dragon-status, .tech-caption > span, .technology-link, .footer-top > span, .footer-links, .all-series, .home-footer small {
  font-family: Georgia, 'Times New Roman', serif; font-size: .84rem; font-weight: 700; letter-spacing: .18em;
}
.primary-nav a { text-transform: uppercase; font-size: .78rem; white-space: nowrap; transition: color .2s ease; }
.primary-nav a:hover, .footer-links a:hover { color: var(--gold); }
.menu-toggle { display: none; }

.opening { display: grid; grid-template-columns: minmax(275px, .285fr) minmax(0, .715fr); align-items: stretch; gap: clamp(18px, 2.5vw, 40px); }
.opening-copy { align-self: center; padding: 22px 0 30px; }
.eyebrow { display: block; text-transform: uppercase; line-height: 1.4; }
.gold { color: var(--gold); }
.short-rule { display: block; width: 58px; height: 2px; background: var(--gold); margin: 17px 0 20px; }
.opening h1 { margin: 0; width: max-content; max-width: 100%; font-size: clamp(3.25rem, 5.05vw, 6.5rem); line-height: .86; letter-spacing: -.075em; font-weight: 700; }
.opening h1 span { display: block; background: linear-gradient(165deg, #fff5d7 3%, #d5a457 40%, #f4d29a 62%, #9b6b30 96%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); }
.opening h1 span + span { padding-left: .1em; }
.opening-copy p { margin: 30px 0 20px; font-size: clamp(1.12rem, 1.55vw, 1.68rem); line-height: 1.35; color: #f1e8db; }
.text-link, .all-series, .technology-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 38px; border-bottom: 1px solid var(--gold); transition: color .2s, border-color .2s; }
.text-link:hover, .all-series:hover, .technology-link:hover { color: #fff5d7; border-color: #fff5d7; }
.text-link span, .all-series span, .technology-link span { font-size: 1.16rem; line-height: 1; }
.opening-art { display: block; align-self: start; border: 1px solid rgba(255, 239, 205, .2); box-shadow: 0 18px 38px rgba(0, 0, 0, .23); }
.opening-art img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.image-link:hover { border-color: var(--gold); }

.series-selection { margin-top: clamp(45px, 5.5vw, 82px); }
.section-line { display: flex; justify-content: space-between; gap: 16px; align-items: end; padding-bottom: 13px; border-bottom: 1px solid var(--line); color: var(--gold); }
.section-line h2 { font-size: inherit; font-weight: inherit; margin: 0; }
.section-line span { color: #c4af90; }
.series-duo { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(18px, 2.4vw, 38px); margin-top: 22px; }
.project-feature { display: block; min-width: 0; }
.project-feature > img, .tech-feature > img { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.16); transition: border-color .2s; }
.project-feature:hover > img, .tech-feature:hover > img { border-color: var(--gold); }
.project-caption { display: flex; justify-content: space-between; align-items: start; gap: 14px; margin-top: 16px; }
.project-count { color: var(--gold); font-size: .72rem; }
.project-caption h3 { margin: 8px 0 0; font-size: clamp(2rem, 3vw, 3.7rem); line-height: 1; font-weight: 700; }
.volk-feature h3 { font-family: Georgia, 'Times New Roman', serif; letter-spacing: -.055em; color: #f6eee7; }
.electron-feature h3 { font-family: Arial, Helvetica, sans-serif; font-size: clamp(2rem, 2.75vw, 3.55rem); letter-spacing: -.075em; }
.electron-feature h3 span { display: block; }
.project-caption p { color: var(--muted); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.5; margin: 11px 0 0; max-width: 540px; }
.project-arrow { font-family: Arial, Helvetica, sans-serif; font-size: 1.7rem; color: var(--gold); line-height: 1; transition: transform .2s ease; }
.project-feature:hover .project-arrow, .tech-feature:hover .tech-caption b { transform: translate(3px, -3px); }
.dragon-entry { display: grid; grid-template-columns: 155px minmax(230px, 1fr) minmax(180px, .75fr) minmax(190px, .75fr); gap: 22px; align-items: center; margin-top: clamp(58px, 6vw, 92px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.dragon-number { align-self: start; color: var(--gold); font-size: .73rem; }
.dragon-entry strong { font-size: clamp(2rem, 4.2vw, 5rem); line-height: 1; letter-spacing: -.075em; white-space: nowrap; }
.dragon-desc { color: #e0e2e8; font-size: 1.12rem; line-height: 1.4; }
.dragon-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #c1b99f; font-size: .73rem; line-height: 1.5; }
.dragon-status b { color: var(--gold); font-size: 1.3rem; font-family: Arial, Helvetica, sans-serif; font-weight: 400; }
.dragon-entry:hover strong { color: var(--gold); }
.all-series { display: flex; width: max-content; margin: 26px 0 100px auto; color: var(--gold); }

.technology { background: #0b1a2d; border-top: 1px solid var(--line); border-bottom: 1px solid rgba(255,255,255,.08); padding: clamp(72px, 8vw, 125px) 0 clamp(78px, 8vw, 125px); }
.technology-heading { display: grid; grid-template-columns: minmax(150px, .35fr) minmax(300px, 1fr) minmax(210px, .55fr); align-items: start; gap: clamp(25px, 4vw, 70px); margin-bottom: 42px; }
.technology-heading h2, .studio-note h2 { margin: -10px 0 0; font-size: clamp(2.7rem, 4.3vw, 5.3rem); line-height: 1.06; letter-spacing: -.055em; }
.technology-heading p, .studio-note p { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--muted); font-size: 1.08rem; line-height: 1.62; }
.technology-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 2.6vw, 42px); }
.tech-feature { display: block; min-width: 0; }
.tech-caption { position: relative; padding: 21px 35px 0 0; }
.tech-caption > span { color: var(--gold); font-size: .73rem; }
.tech-caption h3 { margin: 8px 0; font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: clamp(1.8rem, 2.6vw, 3.4rem); line-height: 1.05; letter-spacing: -.055em; }
.tech-caption p { margin: 0; max-width: 530px; color: var(--muted); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.5; }
.tech-caption b { position: absolute; top: 29px; right: 2px; color: var(--gold); font-family: Arial, Helvetica, sans-serif; font-size: 1.7rem; font-weight: 400; transition: transform .2s; }
.syntra-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 16 / 9; padding: 28px; overflow: hidden; border: 1px solid rgba(226,187,115,.3); background: radial-gradient(circle at 82% 30%, rgba(61,133,156,.14), transparent 37%), repeating-linear-gradient(0deg, transparent 0 37px, rgba(155,200,218,.08) 38px 39px), #102537; }
.syntra-art::after { content: ''; position: absolute; height: 1px; left: 5%; right: 5%; top: 63%; background: linear-gradient(90deg, transparent, #6ca0b3, var(--gold), #6ca0b3, transparent); transform: rotate(-7deg); }
.syntra-index, .syntra-note { color: #97c8d4; font-family: Arial, Helvetica, sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .22em; }
.syntra-note { align-self: end; text-align: right; }
.syntra-art strong { color: #f4f7f9; font-family: Arial, Helvetica, sans-serif; font-size: clamp(3.2rem, 7vw, 8rem); line-height: 1; letter-spacing: -.085em; z-index: 1; }
.technology-link { display: flex; width: max-content; margin: 42px 0 0 auto; color: var(--gold); }
.studio-note { display: grid; grid-template-columns: .38fr 1fr .6fr; gap: 40px; padding-block: clamp(85px, 11vw, 165px); align-items: start; }
.studio-note h2 { margin: -10px 0 0; }
.studio-note p { grid-column: 3; }
.studio-note .text-link { grid-column: 3; width: max-content; }
.home-footer { border-top: 1px solid var(--line); padding-block: 28px 38px; }
.footer-top, .footer-links { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-top img { width: 65px; height: 65px; object-fit: contain; }
.footer-top > span { color: var(--gold); text-align: right; font-size: .75rem; }
.footer-links { margin: 23px 0; justify-content: flex-start; gap: 35px; font-size: .78rem; text-transform: uppercase; }
.home-footer small { color: #aaaeb9; font-size: .72rem; }

@media (max-width: 1100px) {
  .opening { grid-template-columns: minmax(220px, .32fr) minmax(0, .68fr); }
  .opening h1 { font-size: clamp(3rem, 5.1vw, 4.7rem); }
  .dragon-entry { grid-template-columns: 130px 1fr 1fr; }
  .dragon-status { grid-column: 3; }
  .dragon-desc { grid-column: 2; }
  .technology-heading { grid-template-columns: 160px 1fr; }
  .technology-heading p { grid-column: 2; max-width: 550px; }
  .studio-note { grid-template-columns: 160px 1fr; }
  .studio-note p, .studio-note .text-link { grid-column: 2; }
}

@media (max-width: 790px) {
  .frame { width: min(100% - 36px, 680px); }
  .world-stage { background-size: auto, auto 880px; background-position: center top, 31% top; }
  .home-header { min-height: 94px; align-items: start; }
  .home-header::after { top: 70px; left: 86px; }
  .home-logo { width: 70px; margin-top: 8px; }
  .menu-toggle { display: grid; gap: 5px; width: 49px; height: 47px; align-content: center; justify-items: center; margin-top: 12px; padding: 0; border: 1px solid var(--line); background: rgba(6,20,38,.8); }
  .menu-toggle span { display: block; width: 20px; height: 1px; background: var(--ivory); }
  .primary-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 24px; background: #0b192d; border: 1px solid var(--line); box-shadow: 0 15px 35px #0009; }
  .primary-nav.is-open { display: grid; gap: 21px; }
  .primary-nav a { font-size: .92rem; }
  .opening { grid-template-columns: 1fr; gap: 28px; }
  .opening-copy { padding: 5px 0 0; }
  .opening h1 { font-size: clamp(3.6rem, 10vw, 6.3rem); }
  .opening-copy p { margin: 22px 0 15px; }
  .series-selection { margin-top: 57px; }
  .dragon-entry { grid-template-columns: 1fr 1fr; gap: 14px; }
  .dragon-number { grid-column: 1 / -1; }
  .dragon-entry strong { grid-column: 1 / -1; }
  .dragon-desc { grid-column: 1; }
  .dragon-status { grid-column: 2; }
  .technology-heading { grid-template-columns: 1fr; gap: 20px; }
  .technology-heading p { grid-column: 1; }
  .studio-note { grid-template-columns: 1fr; gap: 25px; }
  .studio-note p, .studio-note .text-link { grid-column: 1; }
}

@media (max-width: 620px) {
  .series-duo, .technology-duo { grid-template-columns: 1fr; gap: 46px; }
  .opening h1 { font-size: clamp(3rem, 12vw, 5.25rem); }
  .opening-art { margin-inline: -4px; }
  .section-line { font-size: .76rem; }
  .project-caption h3 { font-size: clamp(2.3rem, 10vw, 4rem); }
  .electron-feature h3 { font-size: clamp(2.3rem, 9.8vw, 4rem); }
  .project-caption p { font-size: 1rem; }
  .dragon-entry { display: flex; flex-direction: column; align-items: start; }
  .dragon-entry strong { font-size: clamp(2.9rem, 11vw, 5rem); white-space: normal; }
  .dragon-status { width: 100%; }
  .all-series { margin-bottom: 75px; }
  .technology-heading h2, .studio-note h2 { font-size: clamp(2.4rem, 9vw, 4.2rem); }
  .syntra-art { padding: 20px; }
  .syntra-art strong { font-size: clamp(3.5rem, 16vw, 6rem); }
  .footer-top { align-items: start; }
  .footer-links { flex-wrap: wrap; gap: 17px 25px; }
}

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

.social-icon-link{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;color:inherit}.social-icon-link svg{display:block;width:24px;height:24px}.primary-nav .social-icon-link{margin-left:-12px;margin-top:-4px}.social-links{display:flex;align-items:center;gap:18px;margin:8px 0 14px}.social-links .social-icon-link{width:34px;height:34px}.social-icon-link:hover{color:var(--gold)}

@media(max-width:790px){.primary-nav .social-icon-link{margin:0;justify-content:flex-start}}
