:root {
  --amber: #ff9a00;
  --amber-hover: #c97700;
  --amber-active: #9f5f00;
  --amber-status: #ff9900;
  --background: #050403;
  --background-alt: #080604;
  --border-strong: #ff9a00;
  --border-soft: rgba(255, 153, 0, 0.30);
  --border-nav: rgba(181, 99, 5, 0.30);
  --text-dim: rgba(255, 154, 0, 0.70);
  --font-display: "VT323", monospace;
  --font-body: "Spline Sans Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--sticky-offset, 118px);
  background: var(--background);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--amber);
  background: var(--background);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.site-shell {
  width: 1200px;
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  overflow: clip;
  background: var(--background);
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--background);
  isolation: isolate;
}

.sticky-header.is-scrolled {
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(255, 154, 0, 0.12);
}

.terminal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 73px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--border-nav);
  background: linear-gradient(rgba(255, 154, 0, 0.14) 0%, rgba(255, 154, 0, 0.03) 100%);
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: min-content;
  flex: 0 0 auto;
}

.pixel-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 6px;
  flex: 0 0 auto;
  overflow: hidden;
  background: rgba(255, 154, 0, 0.08);
  border: 0;
}

.pixel-logo {
  width: 50px;
  height: 50px;
  max-width: none;
  object-fit: cover;
}

.brand-title {
  display: block;
  flex: 0 0 auto;
  white-space: pre;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  width: min-content;
  flex: 0 0 auto;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.1;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  color: var(--amber);
  transition:
    color 160ms ease,
    text-shadow 160ms ease,
    opacity 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--amber-hover);
  opacity: 0.92;
  text-shadow: 0 0 7px rgba(201, 119, 0, 0.38);
}

.nav-links a:active {
  color: var(--amber-active);
}

.nav-links a.is-active {
  color: var(--amber-hover);
  opacity: 1;
  text-shadow: 0 0 8px rgba(201, 119, 0, 0.42);
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 8px rgba(201, 119, 0, 0.40);
}

.nav-links a:focus-visible {
  outline: 1px solid var(--amber-hover);
  outline-offset: 4px;
}

.terminal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min-content;
  height: min-content;
  flex: 0 0 auto;
  border: 1px solid var(--border-strong);
  color: var(--amber);
  background: rgba(255, 154, 0, 0.07);
  font-family: var(--font-display);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.terminal-button:hover,
.terminal-button:focus-visible {
  color: var(--amber-hover);
  border-color: var(--amber-hover);
  background-color: rgba(201, 119, 0, 0.13);
  box-shadow: 0 0 10px rgba(201, 119, 0, 0.24);
}

.terminal-button:active {
  color: var(--amber-active);
  border-color: var(--amber-active);
  background-color: rgba(159, 95, 0, 0.16);
  box-shadow: 0 0 7px rgba(159, 95, 0, 0.22);
}

.terminal-button:focus-visible {
  outline: 1px solid var(--amber-hover);
  outline-offset: 4px;
}

.register-button {
  padding: 10px 14px;
  font-size: 20px;
  box-shadow: 0 0 16px rgba(255, 154, 0, 0.35);
}

.register-button:hover,
.register-button:focus-visible {
  box-shadow: 0 0 12px rgba(201, 119, 0, 0.32);
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 6px 22px;
  border-bottom: 1px solid rgba(255, 153, 0, 0.29);
  background: var(--background);
  color: var(--amber-status);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 56px;
  padding: 28px 96px 0;
  overflow: hidden;
  overflow: clip;
  background: radial-gradient(50% 50% at 50% 50%, var(--background) 0%, var(--background-alt) 100%);
}

.main-content p a,
.footer-column a,
.footer-legal a {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.split-section,
.intro-section,
.speakers-section,
.venue-section {
  width: 100%;
  height: min-content;
  position: relative;
}

.split-section,
.venue-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copy-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 22px;
  height: min-content;
  color: var(--amber);
}

.about-copy {
  width: 616px;
}

.wide-copy {
  width: 1001px;
  max-width: 100%;
}

.venue-copy {
  width: 1015px;
  max-width: 100%;
  gap: 18px;
}

h1,
h2 {
  color: var(--amber);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
}

h1 {
  font-size: 40px;
  letter-spacing: 0.02em;
}

h2 {
  font-size: 40px;
}

.speakers-heading-row h2 {
  font-size: 36px;
}

.copy-column p {
  width: 100%;
  color: var(--amber);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: break-word;
}

.copy-column p.medium {
  font-weight: 500;
}

.copy-column p.relaxed {
  line-height: 1.4;
}

.pixel-city-illustration {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 389px;
  height: 287px;
  flex: 0 0 auto;
  overflow: visible;
  background: rgba(255, 154, 0, 0);
}

.pixel-city-illustration img {
  width: 375px;
  height: 282px;
  object-fit: cover;
}

.waterline {
  width: 100%;
  height: 3px;
  flex: 0 0 auto;
  opacity: 0.85;
  background: rgba(255, 154, 0, 0);
}

.intro-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
}

.speakers-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 22px;
}

.speakers-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.speakers-button {
  padding: 9px 14px;
  font-size: 24px;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  grid-auto-rows: min-content;
  justify-content: center;
  gap: 34px;
  width: 100%;
}

.speaker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  place-self: start;
  gap: 12px;
  width: 100%;
  height: min-content;
}

.speaker-card img {
  width: 120px;
  height: 150px;
  flex: 0 0 auto;
  object-fit: cover;
}

.speaker-card h3 {
  width: 100%;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.speaker-card p {
  width: 100%;
  color: var(--text-dim);
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.venue-button {
  gap: 12px;
  padding: 11px 14px;
  font-size: 24px;
  background: rgba(255, 154, 0, 0.06);
}

.button-arrow {
  display: inline-block;
  width: 16px;
  height: 16px;
  font-size: 18px;
  line-height: 14px;
  text-align: center;
}

.sponsor-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  width: 119%;
  height: min-content;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 153, 0, 0.31);
  border-bottom: 1px solid rgba(255, 153, 0, 0.31);
  background: rgba(255, 153, 0, 0);
}

.sponsor-band h2 {
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.sponsor-band img {
  width: 328px;
  height: 99px;
  object-fit: cover;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  grid-auto-rows: min-content;
  justify-content: center;
  gap: 28px;
  width: 100%;
  height: min-content;
  padding: 24px 96px;
  border-bottom: 1px solid rgba(255, 153, 0, 0.30);
  background: linear-gradient(rgba(255, 154, 0, 0.05) 0%, rgba(255, 154, 0, 0.02) 100%);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  place-self: start;
  gap: 10px;
  width: 100%;
  height: min-content;
}

.footer-column h2 {
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.footer-column a {
  color: var(--amber);
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  transition: color 160ms ease, opacity 160ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--amber-hover);
  opacity: 0.92;
}

.footer-column a:focus-visible,
.footer-legal a:focus-visible {
  outline: 1px solid var(--amber-hover);
  outline-offset: 3px;
}

.bottom-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: min-content;
  padding: 18px 96px;
  background: var(--background);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  width: min-content;
  height: min-content;
  white-space: nowrap;
}

.footer-legal a {
  transition: color 160ms ease, opacity 160ms ease;
}

.anchor-only {
  display: block;
  position: relative;
  width: 0;
  height: 0;
  overflow: hidden;
}

section[id],
footer[id],
.anchor-only {
  scroll-margin-top: var(--sticky-offset, 118px);
}

@media (min-width: 810px) and (max-width: 1199.98px) {
  .site-shell {
    width: 810px;
  }

  .terminal-nav {
    padding: 12px 20px;
  }

  .nav-links {
    gap: 18px;
  }

  .register-button {
    display: none;
  }

  .main-content {
    gap: 48px;
    padding: 28px 44px 0;
  }

  .split-section,
  .intro-section,
  .venue-section {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px;
  }

  .about-copy,
  .wide-copy,
  .venue-copy {
    width: 100%;
  }

  .pixel-city-illustration {
    width: 100%;
    height: 220px;
  }

  .pixel-city-illustration img {
    height: 220px;
    width: auto;
  }

  .speaker-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 28px;
  }

  .sponsor-band img {
    height: 100px;
  }

  .footer-link-grid {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    padding: 24px 44px;
  }

  .bottom-footer {
    padding: 18px 44px;
  }
}

@media (max-width: 809.98px) {
  .site-shell {
    width: 390px;
  }

  .terminal-nav {
    padding: 10px 14px;
  }

  .brand-lockup {
    gap: 8px;
  }

  .pixel-logo-frame {
    width: 38px;
    height: 38px;
    padding: 4px;
  }

  .pixel-logo {
    width: 49px;
    height: 49px;
  }

  .brand-title,
  .nav-links,
  .register-button {
    display: none;
  }

  .status-bar {
    padding: 5px 14px;
    gap: 16px;
    overflow: hidden;
    white-space: nowrap;
  }

  .main-content {
    gap: 38px;
    padding: 22px 18px 0;
  }

  .split-section,
  .intro-section,
  .venue-section {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 28px;
  }

  .about-copy,
  .wide-copy,
  .venue-copy {
    width: 100%;
    gap: 18px;
  }

  .pixel-city-illustration {
    width: 100%;
    height: 170px;
  }

  .pixel-city-illustration img {
    height: 170px;
    width: auto;
  }

  .speakers-heading-row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
  }

  .speakers-button,
  .venue-button {
    width: 100%;
  }

  .speaker-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
  }

  .speaker-card {
    align-self: unset;
  }

  .sponsor-band {
    width: 119%;
    padding: 22px 18px;
  }

  .sponsor-band img {
    height: 100px;
  }

  .footer-link-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 22px;
    padding: 24px 18px;
  }

  .footer-column {
    align-self: unset;
  }

  .bottom-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    padding: 18px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    align-content: flex-start;
    gap: 10px;
  }
}

/* Responsive navigation / hamburger menu */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border-strong);
  background: rgba(255, 154, 0, 0.08);
  color: var(--amber);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 154, 0, 0.22);
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
  color: var(--amber-hover);
  border-color: var(--amber-hover);
  background-color: rgba(201, 119, 0, 0.13);
  box-shadow: 0 0 10px rgba(201, 119, 0, 0.24);
}

.mobile-menu-toggle:focus-visible {
  outline: 1px solid var(--amber-hover);
  outline-offset: 4px;
}

.terminal-nav.is-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.terminal-nav.is-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.terminal-nav.is-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-register-link {
  display: none;
}

@media (max-width: 1199.98px) {
  .terminal-nav {
    position: relative;
    z-index: 50;
    gap: 16px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 33px);
    left: 20px;
    right: 20px;
    z-index: 60;
    width: auto;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border-strong);
    background: linear-gradient(rgba(255, 154, 0, 0.10) 0%, rgba(5, 4, 3, 0.98) 42%), var(--background);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45), 0 0 18px rgba(255, 154, 0, 0.22);
    white-space: normal;
  }

  .terminal-nav.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 153, 0, 0.22);
    font-size: 24px;
    line-height: 1;
  }

  .nav-links a.is-active {
    background-color: rgba(201, 119, 0, 0.13);
  }

  .nav-links a.is-active::after {
    left: 10px;
    right: auto;
    bottom: 6px;
    width: 36px;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background-color: rgba(201, 119, 0, 0.10);
  }

  .mobile-register-link {
    display: flex !important;
    justify-content: center !important;
    margin-top: 8px;
    border: 1px solid var(--border-strong) !important;
    background: rgba(255, 154, 0, 0.08);
    box-shadow: 0 0 12px rgba(255, 154, 0, 0.20);
  }

  .register-button {
    display: none;
  }
}

@media (max-width: 809.98px) {
  .terminal-nav {
    align-items: center;
  }

  .nav-links {
    left: 14px;
    right: 14px;
  }

  .terminal-nav.is-open .nav-links {
    display: flex;
  }

  .status-bar {
    font-size: clamp(15px, 4.8vw, 20px);
  }

  .status-bar span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 380px) {
  .main-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1,
  h2 {
    font-size: 34px;
  }

  .copy-column p,
  .copy-column li {
    font-size: 16px;
    line-height: 1.35;
  }

  .speaker-card img {
    width: 112px;
    height: 140px;
  }

  .sponsor-band img {
    width: 280px;
    height: auto;
  }
}

/* About section visual fitting
   The right-side illustration follows the height of the text column on desktop.
   JS sets the wrapper height to match .about-copy; CSS centers the image vertically. */
@media (min-width: 1200px) {
  .about-section {
    align-items: stretch;
  }

  .about-section .pixel-city-illustration {
    align-self: stretch;
    justify-content: center;
    height: auto;
    min-height: 0;
  }

  .about-section .pixel-city-illustration img {
    width: min(375px, 100%);
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }

  .about-section .waterline {
    display: none;
  }
}

/* Start-page temporary visibility and layout overrides
   Full CSS above is intentionally kept for later sections. */
.is-temporarily-hidden {
  display: none !important;
}

.legal-main {
  min-height: calc(100vh - var(--sticky-offset, 118px) - 220px);
  padding-bottom: 56px;
}

.legal-page-section {
  align-items: center;
}

.committee-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

.copy-column > .committee-track:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.committee-members {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.member-name {
  color: var(--amber);
}

.member-name a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 154, 0, 0.35);
  transition: text-decoration-color 160ms ease;
}

.member-name a:hover {
  text-decoration-color: var(--amber);
}

.member-affiliation {
  color: rgba(255, 154, 0, 0.46);
}

.member-affiliation::before {
  content: " - ";
}

.committee-note {
  color: var(--text-dim);
  font-style: italic;
}

.dates-table-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dates-table {
  table-layout: fixed;
  width: 100%;
  min-width: 360px;
  border-collapse: collapse;
  color: var(--amber);
}

.dates-table th,
.dates-table td {
  padding: 10px 14px;
  border: 1px solid var(--border-soft);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.3;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}

.dates-table thead th {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
  background: rgba(255, 154, 0, 0.07);
}

.dates-col-label {
  width: 250px;
}

.dates-table td:first-child {
  color: var(--text-dim);
}

.copy-column ol,
.copy-column ul {
  padding-left: 2em;
  margin: 0;
  width: 100%;
}

.copy-column li {
  font-size: 18px;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.copy-column li + li {
  margin-top: 10px;
}

.copy-column li p {
  margin-top: 8px;
}

@media (min-width: 1200px) {
  .terminal-nav {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-content: normal;
    column-gap: 22px;
  }

  .brand-lockup {
    justify-self: start;
    width: auto;
  }

  .nav-links {
    justify-self: end;
    justify-content: flex-end;
    width: auto;
  }

  .mobile-menu-toggle {
    display: none !important;
  }
}


/* Start version v3 refinements
   Keep the full stylesheet for future sections, but simplify the visible footer
   and align Contact with the ICALP in Krakow content column. */
.contact-section {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  padding: 0;
}

.contact-copy {
  width: 1001px;
  max-width: 100%;
}

.contact-copy a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 160ms ease, opacity 160ms ease;
}

.contact-copy a:hover,
.contact-copy a:focus-visible {
  color: var(--amber-hover);
  opacity: 0.92;
}

.footer-simple-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  padding: 18px 96px;
  border-top: 1px solid rgba(255, 153, 0, 0.30);
  border-bottom: 1px solid rgba(255, 153, 0, 0.30);
  background: linear-gradient(rgba(255, 154, 0, 0.05) 0%, rgba(255, 154, 0, 0.02) 100%);
}

.footer-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  width: 100%;
  max-width: 900px;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}

.footer-menu a {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 160ms ease, opacity 160ms ease;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  color: var(--amber-hover);
  opacity: 0.92;
}

.footer-menu a:focus-visible {
  outline: 1px solid var(--amber-hover);
  outline-offset: 4px;
}

@media (min-width: 810px) and (max-width: 1199.98px) {
  .contact-section {
    width: 100%;
  }

  .contact-copy {
    width: 100%;
  }

  .footer-simple-menu {
    padding: 18px 44px;
  }

  .footer-menu {
    flex-wrap: wrap;
    gap: 22px 34px;
  }
}

@media (max-width: 809.98px) {
  .contact-section {
    width: 100%;
  }

  .contact-copy {
    width: 100%;
  }

  .footer-simple-menu {
    padding: 20px 18px;
  }

  .footer-menu {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    max-width: none;
    font-size: 22px;
  }
}

/* Start version v4 — anchor and active-menu fixes
   - all anchor scrolling is handled in JS with the real sticky-header height
   - hidden placeholder anchors do not affect scroll/active calculations
   - active state is visual only and does not change element dimensions */
html {
  scroll-padding-top: var(--sticky-offset, 118px);
}

section[id],
footer[id] {
  scroll-margin-top: var(--sticky-offset, 118px);
}

.anchor-only.is-temporarily-hidden {
  display: none !important;
}

.nav-links a,
.footer-menu a {
  scroll-margin-top: 0;
}

.nav-links a.is-active::after {
  pointer-events: none;
}

/* Shared components version: active legal links on legal subpages */
.footer-legal a.is-active {
  color: var(--amber-hover);
  text-shadow: 0 0 7px rgba(201, 119, 0, 0.38);
}


/* v9: About visual vertical centering fix
   The right-side image area uses the exact measured text-column height on desktop
   and centers the image both vertically and horizontally. */
@media (min-width: 1200px) {
  .about-section {
    display: grid;
    grid-template-columns: minmax(0, 616px) minmax(280px, 1fr);
    column-gap: clamp(56px, 9vw, 120px);
    align-items: stretch;
  }

  .about-section .about-copy {
    align-self: start;
  }

  .about-section .pixel-city-illustration {
    width: 100%;
    height: auto;
    min-height: 100%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 0;
  }

  .about-section .pixel-city-illustration img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(375px, 100%);
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
  }
}

@media (max-width: 1199.98px) {
  .about-section .pixel-city-illustration {
    height: auto !important;
  }
}



/* Cookie / GDPR consent popup */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  padding: 20px 22px;
  color: var(--amber);
  pointer-events: none;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(100%, 960px);
  padding: 18px 20px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(rgba(255, 154, 0, 0.10) 0%, rgba(5, 4, 3, 0.98) 46%),
    var(--background);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(255, 154, 0, 0.24);
  pointer-events: auto;
}

.cookie-consent__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-consent__title {
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.cookie-consent__content p:not(.cookie-consent__title) {
  max-width: 720px;
  color: var(--amber);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-consent__content a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 160ms ease, opacity 160ms ease;
}

.cookie-consent__content a:hover,
.cookie-consent__content a:focus-visible {
  color: var(--amber-hover);
  opacity: 0.92;
}

.cookie-consent__content a:focus-visible {
  outline: 1px solid var(--amber-hover);
  outline-offset: 4px;
}

.cookie-consent__button {
  flex: 0 0 auto;
  padding: 10px 18px;
  font-size: 22px;
  box-shadow: 0 0 14px rgba(255, 154, 0, 0.28);
}

@media (max-width: 809.98px) {
  .cookie-consent {
    padding: 14px;
  }

  .cookie-consent__panel {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
  }

  .cookie-consent__title {
    font-size: 22px;
  }

  .cookie-consent__content p:not(.cookie-consent__title) {
    font-size: 13px;
  }

  .cookie-consent__button {
    width: 100%;
  }
}



/* v12: Cookie / GDPR choices */
.cookie-consent__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.cookie-consent__button--secondary {
  background: transparent;
  box-shadow: none;
}

.cookie-consent__button--secondary:hover,
.cookie-consent__button--secondary:focus-visible {
  background-color: rgba(201, 119, 0, 0.10);
}

@media (max-width: 809.98px) {
  .cookie-consent__actions {
    flex-direction: column-reverse;
    align-items: stretch;
    width: 100%;
  }

  .cookie-consent__button {
    width: 100%;
  }
}

code {
  font-family: var(--font-display);
}
