:root {
  --bg: #1c1c1c;
  --surface: #252525;
  --surface-2: #ff0084;
  --line: #c7c4c48a;
  --muted: #919191;
  --text: #e9e5e0;
  --accent: #f26c4f;
  --accent-soft: #f26c4f;
  --purple: #7e70ff;
  --max: 1180px;
  --sans: 'Google Sans Flex', system-ui, sans-serif;
  --mono: var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.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;
}

.section-shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: 82px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px max(24px, calc((100vw - var(--max)) / 2));
  background: #1b1a1c;
  border-bottom: 1px solid var(--accent);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: 116px;
  height: 32px;
  object-fit: contain;
  object-position: center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: .55rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.site-nav a {
  transition: color .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.nav-cta {
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  padding: 10px 14px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
}

.hero {
  width: 100%;
  margin-inline: 0;
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 150px 24px 100px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .95;
  background-color: var(--bg);
  background-image: url('/assets/ORYO_Hero_Artwork.webp');
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.hero-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      rgb(28 28 28) 0%,
      rgba(17, 21, 29, .35) 40%,
      rgb(255 255 255 / 0%) 78%
    ),
    linear-gradient(
      to bottom,
      transparent 70%,
      rgb(37 37 37) 100%,
      var(--bg) 100%
    );
}

.placeholder-surface {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #151a25, #0d1118);
  color: var(--accent);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-align: center;
}

.placeholder-surface::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(210, 255, 74, .18);
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 16px,
      rgba(210, 255, 74, .045) 17px 18px
    );
}

.placeholder-surface > * {
  position: relative;
  z-index: 1;
}

.placeholder-surface small {
  color: var(--muted);
  font-size: .6rem;
  letter-spacing: .02em;
  text-transform: none;
}

.hero-content {
  width: min(760px, 100%);
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-logo-frame {
  position: relative;
  width: min(760px, 90vw);
  aspect-ratio: 3533 / 1007;
  margin: 0 auto 6px;
  overflow: visible;
}

.hero-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

h1 {
  max-width: 900px;
  margin-bottom: 10px;
  font-size: clamp(4.8rem, 13vw, 10rem);
  line-height: .8;
  letter-spacing: -.09em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 23px;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  line-height: .86;
  letter-spacing: -.08em;
  text-transform: uppercase;
}

h2 em {
  color: var(--accent);
  font-style: normal;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-tagline {
  max-width: 680px;
  margin: 0 auto 15px;
  color: var(--accent);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.18;
}

.hero-copy {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 31px 0 17px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: transform .2s, background .2s, color .2s;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  color: #000;
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #10130b;
}

.button-ghost:hover {
  background: var(--accent-soft);
  color: #000;
}

.content-note {
  color: #6f7889;
  font-family: var(--mono);
  font-size: .62rem;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .61rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.hero-scroll span {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--accent);
}

.split-section,
.feature-section,
.media-section,
.roadmap-section,
.links-section {
  padding: 150px 0;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-intro {
  max-width: 480px;
}

.section-intro p:not(.eyebrow),
.links-panel > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
}

.art-frame {
  height: 550px;
}

.key-art-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.key-art-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.key-art-frame .frame-label,
.key-art-frame .frame-corner {
  z-index: 2;
}

.frame-label {
  position: absolute;
  top: 21px;
  left: 24px;
  color: var(--muted);
  font-size: .6rem;
}

.frame-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent);
  border-style: solid;
}

.frame-corner-a {
  top: 21px;
  right: 22px;
  border-width: 1px 1px 0 0;
}

.frame-corner-b {
  bottom: 21px;
  left: 22px;
  border-width: 0 0 1px 1px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 55px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.heading-note {
  max-width: 270px;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .68rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-card {
  position: relative;
  min-height: 245px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.feature-card h3 {
  color: var(--text);
}

.feature-card p {
  max-width: 230px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: .88rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 12px;
}

.media-card {
  min-height: 210px;
  cursor: default;
}

.media-image-card {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
}

.media-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: #000;
}

.video-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

button.media-card {
  appearance: none;
  margin: 0;
  width: 100%;
  cursor: pointer;
  padding: 0;
  border: 1px solid var(--line);
  background: none;
  font: inherit;
  text-align: inherit;
}

button.media-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.media-card-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.media-card:hover {
  border-color: var(--accent);
}

.media-play {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: .9rem;
}

.media-label {
  font-size: .72rem;
}

.media-card small {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: 0;
}

.roadmap-list {
  border-top: 1px solid var(--line);
}

.roadmap-fallback {
  margin: 0;
  padding: 11px 16px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--mono);
  font-size: .65rem;
}

.roadmap-fallback a {
  color: var(--accent);
}

.roadmap-full-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding: 16px 22px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #10130b;
  font-family: var(--mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: transform .2s, background .2s, color .2s;
}

.roadmap-full-link:hover,
.roadmap-full-link:focus-visible {
  transform: translateY(-3px);
  background: var(--accent-soft);
  color: #000;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 140px 70px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 132px;
  border-bottom: 1px solid var(--line);
}

.roadmap-status {
  color: var(--muted);
  font-family: var(--mono);
  font-size: .65rem;
  text-transform: uppercase;
}

.roadmap-item.is-current .roadmap-status {
  color: var(--accent);
}

.roadmap-index {
  color: var(--muted);
  font-family: var(--mono);
}

.roadmap-item h3 {
  margin-bottom: 5px;
}

.roadmap-item p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.links-section {
  padding-top: 80px;
  padding-bottom: 160px;
}

.links-panel {
  padding: clamp(35px, 8vw, 90px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.links-panel > p:not(.eyebrow) {
  max-width: 410px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 45px;
}

.external-link {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 20px 52px;
  border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
}

.external-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.external-link strong {
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.external-link small {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: .7rem;
}

.external-link b {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 400;
}

.coming-soon {
  pointer-events: none;
  cursor: default;
  opacity: .52;
}

.coming-soon:hover {
  border-color: var(--line);
  background: var(--surface);
}

.coming-soon strong,
.coming-soon small,
.coming-soon b {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 25px 0 35px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: .62rem;
}

.footer-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-meta a:hover,
.back-top:hover {
  color: var(--accent);
}

.back-top {
  color: var(--accent);
}

.roadmap-page {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

.roadmap-toolbar {
  flex: 0 0 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.roadmap-toolbar-title {
  color: var(--muted);
  font-family: var(--mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.roadmap-home-link {
  color: var(--accent);
  font-family: var(--mono);
  font-size: .65rem;
  text-transform: uppercase;
}

.roadmap-home-link:hover {
  color: var(--text);
}

.roadmap-frame {
  position: relative;
  flex: 1;
  min-height: 0;
}

.roadmap-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}

.roadmap-frame .roadmap-fallback {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
}


/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 12, .92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox[data-open] {
  opacity: 1;
  visibility: visible;
}

.lightbox-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  width: min(94vw, 1400px);
  margin-inline: auto;
  padding: 24px;
}

.lightbox-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.98);
  transition: opacity .25s ease, transform .25s ease;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5));
}

.lightbox-image.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.lightbox-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: lightbox-spin .8s linear infinite;
}

.lightbox-stage.is-loading .lightbox-spinner {
  opacity: 1;
}

@keyframes lightbox-spin {
  to {
    transform: rotate(360deg);
  }
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(28, 28, 28, .7);
  color: var(--text);
  cursor: pointer;
  transition:
    border-color .2s,
    color .2s,
    background .2s;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 52px;
  height: 52px;
  font-size: 1.6rem;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
}

.lightbox[data-single] .lightbox-nav,
.lightbox[data-single] .lightbox-counter {
  display: none;
}


/* Cookie consent */

.cookie-consent {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  width: min(720px, calc(100vw - 48px));
  border: 1px solid var(--accent);
  background: rgba(28, 28, 28, .97);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .42);
  backdrop-filter: blur(12px);
}

.cookie-consent[hidden],
.cookie-preferences[hidden] {
  display: none;
}

.cookie-consent-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: 28px;
}

.cookie-consent-copy {
  min-width: 0;
}

.cookie-consent-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.cookie-consent-eyebrow span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.cookie-consent h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: .95;
  letter-spacing: -.05em;
}

.cookie-consent-copy > p:not(.cookie-consent-eyebrow) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.cookie-consent-policy {
  display: inline-flex;
  gap: 8px;
  margin-top: 12px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.cookie-consent-policy:hover,
.cookie-consent-policy:focus-visible {
  color: var(--text);
}

.cookie-consent-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}

.cookie-button {
  min-height: 42px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: var(--mono);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease,
    color .2s ease;
}

.cookie-button:hover,
.cookie-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}

.cookie-button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #10130b;
}

.cookie-button-primary:hover,
.cookie-button-primary:focus-visible {
  background: var(--accent-soft);
  color: #000;
}

.cookie-button-secondary {
  border-color: var(--accent);
  color: var(--accent);
}

.cookie-button-secondary:hover,
.cookie-button-secondary:focus-visible {
  background: var(--accent-soft);
  color: #10130b;
}

.cookie-preferences {
  border-top: 1px solid var(--line);
  padding: 24px 28px 28px;
}

.cookie-preferences-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.cookie-preferences-header .cookie-consent-eyebrow {
  margin-bottom: 7px;
}

.cookie-preferences-header h3 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -.03em;
}

.cookie-preferences-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
}

.cookie-preferences-close:hover,
.cookie-preferences-close:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.cookie-preference-list {
  border-top: 1px solid var(--line);
}

.cookie-preference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cookie-preference-copy {
  min-width: 0;
}

.cookie-preference-copy h4 {
  margin: 0 0 5px;
  font-size: .88rem;
}

.cookie-preference-copy p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.5;
}

.cookie-preference-status {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--mono);
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.cookie-switch {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 24px;
}

.cookie-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cookie-switch-track {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  background: #111;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.cookie-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--muted);
  transition: transform .2s ease, background .2s ease;
}

.cookie-switch input:checked + .cookie-switch-track {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.cookie-switch input:checked + .cookie-switch-track::after {
  transform: translateX(20px);
  background: var(--accent);
}

.cookie-switch input:focus-visible + .cookie-switch-track {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.cookie-preferences-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.cookie-settings-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus-visible {
  color: var(--accent);
}


/* Responsive */

@media (max-width: 800px) {
  .site-header {
    width: 100%;
    padding: 17px 16px;
  }

  .menu-toggle {
    display: grid;
    gap: 8px;
    padding: 12px;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 32px;
    height: 2px;
    background: var(--accent);
  }

  .site-nav {
    position: absolute;
    top: 65px;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(260px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid var(--line);
    background: #1b1a1c;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .section-shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero {
    width: 100%;
    min-height: min(750px, 100svh);
    padding-top: 150px;
  }

  .hero-backdrop {
    inset: 0 -16px;
    background-size: cover;
    background-position: 20% top;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 60px 0;
  }

  .art-frame {
    height: 420px;
  }

  .feature-section,
  .media-section,
  .roadmap-section {
    padding: 60px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 35px;
  }

  .heading-note {
    margin-top: 24px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card {
    min-height: 230px;
    padding: 22px;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(180px, auto);
  }

  .media-card,
  .media-card-wide {
    min-height: 180px;
    grid-column: auto;
    grid-row: auto;
  }

  .media-card-wide {
    grid-column: span 2;
  }

  .video-card {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .roadmap-item {
    grid-template-columns: 90px 35px 1fr;
    gap: 12px;
    min-height: 145px;
  }

  .links-section {
    padding: 30px 0 70px;
  }

  .links-panel {
    padding: 30px 20px;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .roadmap-toolbar {
    padding: 0 16px;
  }

  .roadmap-toolbar-title {
    display: none;
  }

  .lightbox-stage {
    width: 100vw;
    padding: 14px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-counter {
    padding-bottom: 14px;
  }

  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }

  .cookie-consent-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .cookie-consent-actions {
    min-width: 0;
  }

  .cookie-button {
    width: 100%;
  }

  .cookie-preferences {
    padding: 22px;
  }

  .cookie-preference {
    align-items: flex-start;
  }

  .cookie-preference-copy p {
    font-size: .7rem;
  }

  .cookie-preferences-footer {
    flex-direction: column-reverse;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: clamp(3.8rem, 18vw, 5.5rem);
  }

  h2 {
    font-size: clamp(2.6rem, 7vw, 6.8rem);
  }

  .hero {
    min-height: min(700px, 100svh);
  }

  .hero-backdrop {
    inset: 0;
    opacity: .55;
  }

  .hero-logo-frame {
    width: min(520px, 88vw);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-card-wide {
    grid-column: auto;
  }

  .roadmap-item {
    grid-template-columns: 1fr 35px;
    padding: 20px 0;
  }

  .roadmap-status {
    grid-column: 1 / -1;
  }

  .roadmap-index {
    grid-column: 2;
    grid-row: 2;
  }

  .roadmap-item > div {
    grid-column: 1;
    grid-row: 2;
  }

  .external-link {
    padding: 18px 40px;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 100svh;
    padding: 90px 20px 40px;
  }

  .hero-logo-frame {
    width: min(360px, 55vw);
    margin-bottom: 4px;
  }

  .hero-tagline {
    margin-bottom: 10px;
  }

  .hero-actions {
    margin: 16px 0 10px;
  }
}
