:root {
  --hex-deep: #030b1d;
  --hex-night: #081a3a;
  --hex-night-2: #0d2551;
  --hex-star: #f3f7ff;
  --hex-mist: #b8cae4;
  --hex-gold: #d5a84b;
  --hex-gold-light: #efd78d;
  --hex-aurora: #25d6c8;
  --hex-aurora-light: #7be7dd;
  --hex-violet: #7658e8;
  --hex-border: rgba(184, 202, 228, 0.22);
  --hex-surface: rgba(9, 29, 64, 0.82);
  --hex-shadow: 0 24px 80px rgba(0, 6, 24, 0.42);
  --hex-display: "Cormorant Garamond", Georgia, serif;
  --hex-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --hex-container: min(1200px, calc(100% - 2rem));
  --hex-reading: min(760px, calc(100% - 2rem));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--hex-star);
  background:
    radial-gradient(circle at 80% 8%, rgba(118, 88, 232, 0.12), transparent 26rem),
    radial-gradient(circle at 20% 42%, rgba(37, 214, 200, 0.08), transparent 28rem),
    var(--hex-deep);
  font-family: var(--hex-sans);
  font-size: clamp(1rem, 0.97rem + 0.14vw, 1.125rem);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-is-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a {
  color: var(--hex-aurora-light);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--hex-star); }

button, input, textarea, select { font: inherit; }

button { color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 0.7em;
  color: var(--hex-star);
  font-family: var(--hex-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 { font-size: clamp(3.8rem, 11vw, 8.75rem); }
h2 { font-size: clamp(2.5rem, 5.6vw, 4.8rem); }
h3 { font-size: clamp(1.65rem, 3vw, 2.35rem); }

p { margin: 0 0 1.35em; }

::selection { color: var(--hex-deep); background: var(--hex-aurora-light); }

:focus-visible {
  outline: 3px solid var(--hex-gold-light);
  outline-offset: 4px;
}

.hex-container { width: var(--hex-container); margin-inline: auto; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  z-index: 100000;
  top: 0.8rem;
  left: 0.8rem;
  width: auto;
  height: auto;
  padding: 0.8rem 1.1rem;
  clip: auto;
  color: var(--hex-deep);
  background: var(--hex-star);
  border-radius: 999px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--hex-gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  padding: 0.85rem 0;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(3, 11, 29, 0.72), transparent);
  transition: padding 180ms ease, background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
body:not(.hexelyra-front) .site-header {
  padding: 0.5rem 0;
  border-color: var(--hex-border);
  background: rgba(3, 11, 29, 0.92);
  backdrop-filter: blur(18px);
}

body.menu-is-open .site-header {
  border-color: var(--hex-border);
  background: var(--hex-deep);
  backdrop-filter: none;
}

.admin-bar .site-header { top: 32px; }

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 4.25rem;
  gap: 1rem;
}

.brand {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 0.7rem;
  color: var(--hex-star);
  text-decoration: none;
}

.brand:hover { color: var(--hex-star); }
.brand__symbol { width: 3.2rem; filter: drop-shadow(0 0 15px rgba(37, 214, 200, 0.2)); }
.brand__type { display: grid; }
.brand__name { font-family: var(--hex-display); font-size: 1.75rem; font-weight: 600; letter-spacing: 0.05em; line-height: 0.98; text-transform: uppercase; }
.brand__tagline { margin-top: 0.3rem; color: var(--hex-mist); font-size: 0.65rem; letter-spacing: 0.08em; line-height: 1; }

.primary-navigation {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 1.1rem;
}

.primary-navigation .menu {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: clamp(0.7rem, 1.5vw, 1.45rem);
  list-style: none;
}

.primary-navigation a {
  position: relative;
  color: rgba(243, 247, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-navigation .menu a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--hex-aurora), var(--hex-violet));
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.primary-navigation .current-menu-item > a,
.primary-navigation a:hover { color: var(--hex-star); }
.primary-navigation .current-menu-item > a::after,
.primary-navigation .menu a:hover::after { transform: scaleX(1); }

.nav-channel {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(213, 168, 75, 0.56);
  border-radius: 999px;
}

.menu-toggle {
  position: relative;
  z-index: 4;
  display: none;
  align-items: center;
  min-height: 2.75rem;
  margin-left: auto;
  padding: 0.45rem 0.75rem;
  gap: 0.55rem;
  border: 1px solid var(--hex-border);
  border-radius: 999px;
  background: rgba(8, 26, 58, 0.7);
  cursor: pointer;
}

.menu-toggle__lines { display: grid; width: 1.1rem; gap: 3px; }
.menu-toggle__lines span { height: 1px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle__label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

.motion-toggle {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1px solid var(--hex-border);
  border-radius: 999px;
  background: rgba(8, 26, 58, 0.72);
  cursor: pointer;
}

.motion-toggle:hover { border-color: var(--hex-gold); background: var(--hex-night); }

/* Hero */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: clamp(8.5rem, 16vh, 11rem) 0 7rem;
  isolation: isolate;
  overflow: clip;
  background: var(--hex-night);
}

.hero__media,
.hero__media img,
.hero__veil,
.hero__stars,
.hero__aurora { position: absolute; inset: 0; }

.hero__media { z-index: -5; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
.hero__veil {
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(3, 11, 29, 0.97) 0%, rgba(3, 11, 29, 0.82) 31%, rgba(3, 11, 29, 0.14) 68%, rgba(3, 11, 29, 0.2) 100%),
    linear-gradient(0deg, var(--hex-deep) 0%, transparent 29%, rgba(3, 11, 29, 0.1) 100%);
}

.hero__stars {
  z-index: -3;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 12% 28%, #fff 0 1px, transparent 1.7px),
    radial-gradient(circle at 26% 17%, #efd78d 0 1px, transparent 1.8px),
    radial-gradient(circle at 38% 64%, #fff 0 1px, transparent 1.7px),
    radial-gradient(circle at 52% 22%, #7be7dd 0 1px, transparent 1.8px),
    radial-gradient(circle at 70% 16%, #fff 0 1px, transparent 1.7px);
  background-size: 17rem 13rem, 23rem 19rem, 19rem 17rem, 29rem 23rem, 31rem 29rem;
  animation: stars-drift 20s linear infinite alternate;
}

.hero__aurora {
  z-index: -2;
  width: 34vw;
  height: 46vw;
  margin: -15vw auto 0 37%;
  border-radius: 50%;
  opacity: 0.14;
  filter: blur(46px);
  transform: rotate(-18deg);
  transform-origin: center;
  background: linear-gradient(120deg, var(--hex-aurora), transparent 48%, var(--hex-violet));
  animation: aurora-breathe 9s ease-in-out infinite alternate;
}

.hero__aurora--two {
  width: 22vw;
  height: 38vw;
  margin-left: 58%;
  opacity: 0.11;
  animation-delay: -4s;
  transform: rotate(23deg);
}

.hero__content { position: relative; z-index: 2; }
.hero__copy { max-width: 42rem; }
.hero h1 { margin: 0 0 0.05em; text-shadow: 0 8px 35px rgba(0, 0, 0, 0.32); }
.hero__tagline { margin: 0 0 1rem; color: var(--hex-gold-light); font-family: var(--hex-display); font-size: clamp(1.8rem, 4vw, 3.35rem); line-height: 1.12; }
.hero__intro { max-width: 38rem; color: #dbe7f8; font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.6; }

.hero__actions { display: flex; flex-wrap: wrap; margin-top: 2rem; gap: 0.85rem; }

.hex-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hex-button:hover,
.wp-block-button__link:hover { transform: translateY(-2px); }

.hex-button--primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  color: var(--hex-deep);
  background: linear-gradient(120deg, var(--hex-gold-light), var(--hex-gold));
  box-shadow: 0 10px 35px rgba(213, 168, 75, 0.2);
}

.hex-button--primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { color: var(--hex-deep); box-shadow: 0 14px 45px rgba(213, 168, 75, 0.32); }

.hex-button--ghost,
.wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--hex-star);
  border-color: rgba(243, 247, 255, 0.38);
  background: rgba(3, 11, 29, 0.35);
  backdrop-filter: blur(8px);
}

.hex-button--ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover { color: var(--hex-star); border-color: var(--hex-aurora); background: rgba(8, 26, 58, 0.75); }

.hero__status {
  display: inline-flex;
  align-items: center;
  max-width: 25rem;
  min-height: 4.5rem;
  margin-top: 2.2rem;
  padding: 0.65rem 0.9rem;
  gap: 0.8rem;
  color: var(--hex-star);
  border: 1px solid rgba(123, 231, 221, 0.24);
  border-radius: 0.9rem;
  background: rgba(3, 11, 29, 0.5);
  backdrop-filter: blur(10px);
  text-decoration: none;
}

.hero__status:hover { color: var(--hex-star); border-color: rgba(123, 231, 221, 0.55); }
.hero__status-dot { width: 0.65rem; height: 0.65rem; flex: 0 0 auto; border-radius: 50%; background: var(--hex-aurora); box-shadow: 0 0 0 0 rgba(37, 214, 200, 0.42); animation: status-pulse 2.8s infinite; }
.hero__status span:last-child { display: grid; }
.hero__status strong { font-size: 0.84rem; letter-spacing: 0.02em; }
.hero__status small { color: var(--hex-mist); }

.hero__scroll {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: 1.5rem;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  color: rgba(243, 247, 255, 0.74);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transform: translateX(50%);
}

.hero__scroll i { width: 1px; height: 2.4rem; background: linear-gradient(var(--hex-gold), transparent); animation: scroll-line 2s ease-in-out infinite; }

/* Gutenberg content sections */
.front-page-content > * { margin-block-start: 0; }

.hex-section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) max(1rem, calc((100% - 1200px) / 2));
}

.hex-section > .wp-block-group__inner-container { width: 100%; }

.hex-section h2 { max-width: 13ch; }
.hex-section .hex-lead { max-width: 45rem; color: #d8e4f5; font-size: clamp(1.14rem, 1.6vw, 1.35rem); }

.hex-intro {
  isolation: isolate;
  background:
    radial-gradient(circle at 15% 35%, rgba(37, 214, 200, 0.12), transparent 23rem),
    linear-gradient(180deg, var(--hex-deep), #06142e);
}

.hex-intro::before {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: 7%;
  width: clamp(13rem, 25vw, 24rem);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(213, 168, 75, 0.2);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(118, 88, 232, 0.08), 0 0 90px rgba(37, 214, 200, 0.04);
}

.hex-intro__grid { display: grid; align-items: center; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.75fr); gap: clamp(2rem, 7vw, 7rem); }

.hex-quote-card {
  position: relative;
  padding: clamp(2rem, 4vw, 3.2rem);
  border: 1px solid var(--hex-border);
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(13, 37, 81, 0.86), rgba(3, 11, 29, 0.78));
  box-shadow: var(--hex-shadow);
}

.hex-quote-card::before { display: block; margin-bottom: 1.2rem; color: var(--hex-gold); content: "✦"; font-size: 1.2rem; }
.hex-quote-card p { margin: 0; font-family: var(--hex-display); font-size: clamp(1.55rem, 3vw, 2.4rem); line-height: 1.26; }

.hex-portals { background: #06142e; }
.hex-portals__header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 2.5rem; gap: 2rem; }
.hex-portals__header p { max-width: 30rem; color: var(--hex-mist); }
.hex-portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

.hex-portal {
  position: relative;
  min-height: 23rem;
  padding: 2rem;
  color: var(--hex-star);
  border: 1px solid var(--hex-border);
  border-radius: 1.5rem;
  isolation: isolate;
  overflow: clip;
  background: linear-gradient(145deg, rgba(13, 37, 81, 0.95), rgba(3, 11, 29, 0.95));
  box-shadow: 0 20px 60px rgba(0, 6, 24, 0.22);
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease;
}

.hex-portal::before,
.hex-portal::after { position: absolute; z-index: -1; content: ""; }
.hex-portal::before { inset: auto -20% -45% 20%; height: 18rem; border-radius: 50%; filter: blur(35px); opacity: 0.26; background: var(--portal-color, var(--hex-aurora)); }
.hex-portal::after { top: 1.8rem; right: 1.8rem; width: 4.6rem; height: 4.6rem; border: 1px solid rgba(239, 215, 141, 0.36); border-radius: 50%; }
.hex-portal:hover { color: var(--hex-star); border-color: rgba(123, 231, 221, 0.52); transform: translateY(-6px); }
.hex-portal:nth-child(2) { --portal-color: var(--hex-violet); }
.hex-portal:nth-child(3) { --portal-color: var(--hex-gold); }
.hex-portal__number { display: block; color: var(--hex-gold-light); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; }
.hex-portal h3 { margin-top: 7.5rem; margin-bottom: 0.65rem; }
.hex-portal p { margin-bottom: 1.8rem; color: var(--hex-mist); }
.hex-portal__link { font-size: 0.9rem; font-weight: 700; }

.hex-feature {
  background:
    radial-gradient(circle at 84% 25%, rgba(118, 88, 232, 0.17), transparent 28rem),
    var(--hex-deep);
}

.hex-feature__card {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.2fr);
  border: 1px solid var(--hex-border);
  border-radius: clamp(1.2rem, 3vw, 2rem);
  overflow: clip;
  background: rgba(8, 26, 58, 0.78);
  box-shadow: var(--hex-shadow);
}

.hex-feature__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 32rem;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(circle at 50% 35%, rgba(37, 214, 200, 0.28), transparent 28%),
    linear-gradient(140deg, rgba(118, 88, 232, 0.54), rgba(8, 26, 58, 0.92) 55%, #030b1d);
}

.hex-feature__art::before { position: absolute; z-index: -1; width: 18rem; aspect-ratio: 1; content: ""; border: 1px solid rgba(213, 168, 75, 0.55); border-radius: 50%; box-shadow: 0 0 60px rgba(37, 214, 200, 0.12), inset 0 0 40px rgba(118, 88, 232, 0.15); }
.hex-feature__art img { width: min(10rem, 44%); filter: drop-shadow(0 0 35px rgba(37, 214, 200, 0.28)); }
.hex-feature__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 6vw, 5.5rem); }
.hex-feature__copy h2 { max-width: 12ch; }
.hex-feature__copy .work-status { align-self: flex-start; }
.hex-feature__copy p { max-width: 38rem; color: var(--hex-mist); }

.work-status {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  color: var(--hex-aurora-light);
  border: 1px solid rgba(123, 231, 221, 0.34);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hex-origin { background: linear-gradient(180deg, #030b1d, #071733); }
.hex-origin-grid { display: grid; align-items: center; grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1fr); gap: clamp(2.5rem, 8vw, 7rem); }
.hex-origin .wp-block-image { position: relative; margin: 0; }
.hex-origin .wp-block-image::before { position: absolute; z-index: -1; inset: -1rem; content: ""; border: 1px solid rgba(213, 168, 75, 0.28); border-radius: 50% 50% 2rem 2rem; transform: rotate(-2deg); }
.hex-origin .wp-block-image img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 50% 50% 2rem 2rem; box-shadow: var(--hex-shadow); }
.hex-origin__copy p { max-width: 41rem; color: #d6e2f3; }
.hex-origin__signature { color: var(--hex-gold-light); font-family: var(--hex-display); font-size: 1.5rem; }

.hex-transparency { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: clamp(4rem, 8vw, 7rem); background: #071733; }
.hex-transparency__box { display: grid; align-items: center; grid-template-columns: auto 1fr auto; padding: clamp(1.5rem, 4vw, 2.6rem); gap: 1.4rem; border: 1px solid var(--hex-border); border-radius: 1.3rem; background: rgba(3, 11, 29, 0.42); }
.hex-transparency__mark { display: grid; place-items: center; width: 4rem; height: 4rem; color: var(--hex-gold-light); border: 1px solid rgba(213, 168, 75, 0.44); border-radius: 50%; font-size: 1.25rem; }
.hex-transparency h2 { margin: 0 0 0.25rem; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.hex-transparency p { margin: 0; color: var(--hex-mist); }

/* Pages */
.page-main, .work-main { position: relative; min-height: 70svh; padding: 10rem 0 clamp(5rem, 9vw, 8rem); overflow: clip; background: linear-gradient(180deg, #071733, var(--hex-deep) 34rem); }
.page-sky { position: absolute; z-index: 0; top: -12rem; left: 50%; width: min(90rem, 130vw); height: 34rem; border-radius: 50%; opacity: 0.28; filter: blur(60px); transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--hex-violet), var(--hex-aurora), transparent); }
.page-article, .work-article, .archive-wrap { position: relative; z-index: 1; }
.page-hero, .work-hero { max-width: 58rem; margin: 0 auto clamp(3rem, 7vw, 6rem); text-align: center; }
.page-hero h1, .work-hero h1 { font-size: clamp(3.5rem, 9vw, 7rem); }
.page-hero__lead, .work-hero__core { max-width: 46rem; margin-inline: auto; color: #d7e4f6; font-size: clamp(1.15rem, 2vw, 1.45rem); }

.entry-content { width: var(--hex-reading); margin-inline: auto; }
.entry-content > * { margin-block-start: 0; margin-block-end: 1.5rem; }
.entry-content > h2 { margin-top: 2.4rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.entry-content > h3 { margin-top: 2.2rem; }
.entry-content p, .entry-content li { color: #d6e2f3; }
.entry-content strong { color: var(--hex-star); }
.entry-content ul, .entry-content ol { padding-left: 1.35rem; }
.entry-content li + li { margin-top: 0.5rem; }
.entry-content blockquote { margin: 2rem 0; padding: 1.2rem 1.5rem; border-left: 2px solid var(--hex-gold); background: rgba(8, 26, 58, 0.55); }
.entry-content blockquote p { color: var(--hex-star); font-family: var(--hex-display); font-size: 1.45rem; }
.entry-content .wp-block-separator { width: 8rem; margin: 3rem auto; border: 0; border-top: 1px solid var(--hex-gold); opacity: 0.56; }
.entry-content .wp-block-group.has-background { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--hex-border); border-radius: 1.25rem; }

.hex-page-cards { display: grid; width: min(100%, 1000px); margin: 2.5rem auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.hex-page-card { padding: clamp(1.4rem, 4vw, 2.2rem); border: 1px solid var(--hex-border); border-radius: 1.2rem; background: var(--hex-surface); }
.hex-page-card h2, .hex-page-card h3 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.hex-page-card p:last-child { margin-bottom: 0; }

.contact-panel { padding: clamp(1.5rem, 4vw, 2.6rem); border: 1px solid rgba(123, 231, 221, 0.26); border-radius: 1.3rem; background: linear-gradient(145deg, rgba(13, 37, 81, 0.82), rgba(3, 11, 29, 0.72)); }
.contact-panel__email { font-family: var(--hex-display); font-size: clamp(1.5rem, 4vw, 2.5rem); overflow-wrap: anywhere; }

/* Work */
.work-hero__meta { display: flex; justify-content: center; margin-bottom: 1.2rem; gap: 0.7rem; color: var(--hex-mist); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.work-layout { display: grid; align-items: start; width: min(100%, 1000px); margin-inline: auto; grid-template-columns: minmax(0, 1fr) 18rem; gap: clamp(2rem, 6vw, 5rem); }
.work-layout .entry-content { width: 100%; }
.work-note { position: sticky; top: 7rem; padding: 1.5rem; border: 1px solid var(--hex-border); border-radius: 1.2rem; background: rgba(8, 26, 58, 0.7); }
.work-note__symbol { color: var(--hex-gold); }
.work-note h2 { margin-top: 0.7rem; font-size: 1.5rem; }
.work-note p { margin: 0; color: var(--hex-mist); font-size: 0.9rem; }
.production-steps { counter-reset: steps; padding: 0 !important; list-style: none; }
.production-steps li { position: relative; padding: 0.2rem 0 1.25rem 3.2rem; counter-increment: steps; }
.production-steps li::before { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; content: counter(steps, decimal-leading-zero); color: var(--hex-gold-light); border: 1px solid rgba(213, 168, 75, 0.36); border-radius: 50%; font-size: 0.72rem; font-weight: 700; }

/* Archives and 404 */
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.archive-card { padding: 1.6rem; border: 1px solid var(--hex-border); border-radius: 1.2rem; background: var(--hex-surface); }
.archive-card__date { color: var(--hex-gold-light); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.archive-card h2 { font-size: 2rem; }
.archive-card h2 a { color: var(--hex-star); text-decoration: none; }
.archive-card p:last-child { margin-bottom: 0; color: var(--hex-mist); }

.error-main { position: relative; display: grid; place-items: center; min-height: 86svh; padding: 9rem 0 6rem; overflow: clip; background: radial-gradient(circle at 50% 35%, #102b60, var(--hex-deep) 55%); }
.error-main__aurora { position: absolute; width: 60vw; height: 25vw; border-radius: 50%; opacity: 0.18; filter: blur(50px); background: linear-gradient(90deg, var(--hex-violet), var(--hex-aurora)); transform: rotate(-12deg); animation: aurora-breathe 9s ease-in-out infinite alternate; }
.error-content { position: relative; text-align: center; }
.error-content > p:not(.eyebrow, .error-code) { max-width: 38rem; margin-inline: auto; color: var(--hex-mist); }
.error-code { margin: 0; color: transparent; font-family: var(--hex-display); font-size: clamp(8rem, 26vw, 18rem); font-weight: 600; line-height: 0.65; -webkit-text-stroke: 1px rgba(239, 215, 141, 0.36); }
.error-content .hero__actions { justify-content: center; }

/* Footer */
.site-footer { position: relative; padding: clamp(4rem, 8vw, 7rem) 0 1.5rem; overflow: clip; border-top: 1px solid var(--hex-border); background: #020817; }
.site-footer__glow { position: absolute; top: -18rem; left: 50%; width: 70rem; max-width: 120vw; height: 24rem; border-radius: 50%; opacity: 0.14; filter: blur(65px); transform: translateX(-50%); background: linear-gradient(90deg, var(--hex-violet), var(--hex-aurora)); }
.site-footer__grid { position: relative; display: grid; grid-template-columns: minmax(18rem, 1.4fr) minmax(10rem, 0.65fr) minmax(12rem, 0.75fr); gap: clamp(2rem, 7vw, 6rem); }
.brand--footer { margin-bottom: 1.4rem; }
.site-footer__identity p { max-width: 33rem; color: var(--hex-mist); font-size: 0.93rem; }
.site-footer__heading { margin: 0 0 1rem; color: var(--hex-gold-light); font-family: var(--hex-sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li + li { margin-top: 0.65rem; }
.footer-menu a { color: #d8e4f5; font-size: 0.9rem; text-decoration: none; }
.footer-menu a:hover { color: var(--hex-aurora-light); }
.site-footer__bottom { position: relative; display: flex; justify-content: space-between; margin-top: 4rem; padding-top: 1.4rem; gap: 1rem; border-top: 1px solid rgba(184, 202, 228, 0.14); color: #91a6c7; font-size: 0.78rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__pronunciation span { color: var(--hex-gold-light); }

/* WordPress utilities */
.alignwide { width: min(1200px, calc(100vw - 2rem)); max-width: none; margin-right: 50%; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-right: 50%; margin-left: 50%; transform: translateX(-50%); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.wp-block-button__link { border-radius: 999px; }
.wp-block-image figcaption { color: var(--hex-mist); font-size: 0.82rem; text-align: center; }
.wp-caption, .gallery-caption { color: var(--hex-mist); }
.pagination .nav-links { display: flex; justify-content: center; margin-top: 2.5rem; gap: 0.5rem; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 2.7rem; min-height: 2.7rem; border: 1px solid var(--hex-border); border-radius: 999px; text-decoration: none; }

@keyframes aurora-breathe {
  from { opacity: 0.09; transform: rotate(-18deg) scale(0.96) translate3d(-1%, 0, 0); }
  to { opacity: 0.2; transform: rotate(-12deg) scale(1.06) translate3d(2%, 1%, 0); }
}

@keyframes stars-drift { to { transform: translate3d(0.7rem, -0.5rem, 0); } }
@keyframes status-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 214, 200, 0.35); } 50% { box-shadow: 0 0 0 8px rgba(37, 214, 200, 0); } }
@keyframes scroll-line { 0%, 100% { opacity: 0.35; transform: scaleY(0.7); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

.is-motion-paused *, .is-motion-paused *::before, .is-motion-paused *::after { animation-play-state: paused !important; }

@media (max-width: 1050px) {
  .brand__tagline { display: none; }
  .primary-navigation .menu { gap: 0.75rem; }
  .primary-navigation a { font-size: 0.84rem; }
  .nav-channel { display: none; }
  .hex-portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hex-portal:last-child { grid-column: 1 / -1; min-height: 18rem; }
  .hex-portal:last-child h3 { margin-top: 3rem; }
}

@media (max-width: 900px) {
  .admin-bar .site-header { top: 46px; }
  .menu-toggle { display: inline-flex; }
  .motion-toggle { width: 2.75rem; height: 2.75rem; }
  .primary-navigation {
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: auto;
    display: flex;
    visibility: hidden;
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: calc(6.4rem + env(safe-area-inset-top)) 1.4rem calc(2rem + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    background: var(--hex-deep);
    transform: translateX(100%);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }
  .admin-bar .primary-navigation { top: 46px; height: calc(100vh - 46px); height: calc(100dvh - 46px); padding-top: 5.8rem; }
  .primary-navigation.is-open { visibility: visible; opacity: 1; transform: translateX(0); }
  .primary-navigation .menu { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-navigation .menu li { border-bottom: 1px solid rgba(184, 202, 228, 0.12); }
  .primary-navigation .menu a { display: block; padding: 0.72rem 0.2rem; font-family: var(--hex-display); font-size: 1.55rem; font-weight: 500; line-height: 1.15; }
  .primary-navigation .menu a::after { display: none; }
  .nav-channel { display: inline-flex; align-self: flex-start; margin-top: 1rem; }

  .hero__veil { background: linear-gradient(90deg, rgba(3, 11, 29, 0.94), rgba(3, 11, 29, 0.64) 55%, rgba(3, 11, 29, 0.22)), linear-gradient(0deg, var(--hex-deep), transparent 38%); }
  .hero__copy { max-width: 35rem; }
  .hex-intro__grid, .hex-origin-grid { grid-template-columns: 1fr; }
  .hex-intro__grid { gap: 3rem; }
  .hex-origin .wp-block-image { width: min(35rem, 100%); margin-inline: auto; }
  .hex-feature__card { grid-template-columns: 1fr; }
  .hex-feature__art { min-height: 22rem; }
  .work-layout { grid-template-columns: 1fr; }
  .work-note { position: static; }
  .site-footer__grid { grid-template-columns: 1.2fr 0.8fr; }
  .site-footer__identity { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --hex-container: min(100% - 1.25rem, 1200px); --hex-reading: min(100% - 1.25rem, 760px); }
  .site-header { padding: 0.45rem 0; background: rgba(3, 11, 29, 0.68); backdrop-filter: blur(10px); }
  .site-header__inner { min-height: 3.8rem; gap: 0.55rem; }
  .brand__symbol { width: 2.85rem; }
  .brand__name { font-size: 1.4rem; }
  .brand__tagline { display: none; }
  .menu-toggle { min-height: 2.65rem; padding-inline: 0.65rem; }
  .menu-toggle__label { display: none; }
  .motion-toggle { width: 2.65rem; height: 2.65rem; }
  .primary-navigation { padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right)); }

  .hero { align-items: end; min-height: 100svh; padding: 8rem 0 5.4rem; }
  .hero__media img { object-position: 72% 24%; }
  .hero__veil { background: linear-gradient(0deg, rgba(3, 11, 29, 0.99) 0%, rgba(3, 11, 29, 0.92) 31%, rgba(3, 11, 29, 0.34) 62%, rgba(3, 11, 29, 0.2) 100%); }
  .hero__aurora { display: none; }
  .hero h1 { font-size: clamp(4.1rem, 20vw, 6.3rem); }
  .hero__tagline { font-size: 1.9rem; }
  .hero__intro { display: none; }
  .hero__actions { margin-top: 1.4rem; }
  .hex-button { min-height: 3rem; padding-inline: 1.05rem; font-size: 0.9rem; }
  .hero__status { min-height: 4rem; margin-top: 1.2rem; padding: 0.55rem 0.7rem; }
  .hero__status strong { font-size: 0.78rem; }
  .hero__scroll { display: none; }

  .hex-section { padding: 4.5rem max(0.625rem, calc((100% - 1200px) / 2)); }
  .hex-section h2 { max-width: 100%; }
  .hex-portals__header { display: block; }
  .hex-portal-grid { grid-template-columns: 1fr; }
  .hex-portal, .hex-portal:last-child { min-height: 17rem; grid-column: auto; }
  .hex-portal h3, .hex-portal:last-child h3 { margin-top: 3.3rem; }
  .hex-feature__art { min-height: 18rem; }
  .hex-feature__art::before { width: 13rem; }
  .hex-feature__art img { width: 7rem; }
  .hex-feature__copy { padding: 1.6rem; }
  .hex-transparency__box { grid-template-columns: auto 1fr; }
  .hex-transparency__box .hex-button { grid-column: 1 / -1; }

  .page-main, .work-main { padding-top: 8rem; }
  .page-hero, .work-hero { margin-bottom: 3rem; }
  .page-hero h1, .work-hero h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .hex-page-cards { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__identity { grid-column: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

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

@media print {
  :root { color-scheme: light; }
  body { color: #111; background: #fff; }
  .site-header, .site-footer, .motion-toggle, .hero__scroll { display: none !important; }
  .page-main, .work-main, .hex-section { padding: 1rem 0; color: #111; background: #fff; }
  h1, h2, h3, p, li, .entry-content p, .entry-content li { color: #111 !important; }
  a { color: #111; text-decoration: underline; }
}

/* Du anar inte: native media controls, no autoplay, version 1.5.0. */
.hex-release-media{margin-block:1.5rem 2.5rem;min-width:0}
.hex-release-media video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#081a3a;border-radius:12px}
.hex-release-media audio{display:block;width:100%;max-width:100%;min-width:0}
.hex-release-media figcaption{margin-top:.75rem;font-size:.95rem;color:#b8cae4}
.hex-release-links{display:flex;gap:.75rem;flex-wrap:wrap}
.hex-release-note{border-left:2px solid #d5a84b;padding-left:1rem;margin-block:2rem}
