/*
Theme Name: Glaucus Games
Theme URI: https://glaucus.games/
Author: Glaucus Games GmbH
Author URI: https://glaucus.games/
Description: Maßgeschneidertes WordPress-Theme für die Glaucus Games Unternehmenswebsite mit ConVis-, Realtime-VFX- und Rechteseiten.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: glaucus-games
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  color-scheme: dark;
  --bg: #05070a;
  --surface: #0a0e13;
  --ink: #f4f7f6;
  --muted: #a6afad;
  --faint: #747e7c;
  --line: rgba(255, 255, 255, .13);
  --line-strong: rgba(255, 255, 255, .23);
  --green: #9dfb4c;
  --green-deep: #37db74;
  --cyan: #70e4ff;
  --violet: #9c7cff;
  --rose: #ff6fae;
  --header-height: 78px;
  --shell: 1500px;
  --ease: cubic-bezier(.2, .72, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
section { scroll-margin-top: var(--header-height); }

::selection { background: rgba(157, 251, 76, .92); color: #071007; }

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

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 18px;
  top: 14px;
  transform: translateY(-150%);
  padding: 11px 15px;
  border-radius: 8px;
  background: white;
  color: black;
  font-weight: 800;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 clamp(20px, 4vw, 66px);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(3, 5, 7, .78), rgba(3, 5, 7, .18) 72%, transparent);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(4, 6, 8, .86);
  backdrop-filter: blur(18px) saturate(1.15);
}
.brand { width: clamp(132px, 10vw, 168px); flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 2.25vw, 40px); }
.site-nav > a:not(.header-cta) {
  position: relative;
  color: #b7bfbd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: color .25s ease;
}
.site-nav > a:not(.header-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10px;
  height: 1px;
  background: currentColor;
  transition: right .28s var(--ease);
}
.site-nav > a:not(.header-cta):hover,
.site-nav > a:not(.header-cta).is-active { color: white; }
.site-nav > a:not(.header-cta):hover::after,
.site-nav > a:not(.header-cta).is-active::after { right: 0; }
.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .25s var(--ease), background .25s ease, border-color .25s ease;
}
.header-cta:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .42); }
.menu-toggle { display: none; }

.portal {
  min-height: 100svh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: calc(var(--header-height) + 16px) clamp(14px, 2vw, 30px) 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(67, 210, 118, .08), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(108, 117, 255, .08), transparent 30%),
    #05070a;
}
.portal-cards {
  width: min(100%, 1760px);
  min-height: 0;
  margin: 0 auto;
  padding-bottom: clamp(12px, 1.6vh, 20px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 16px);
}
.portal-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: clamp(16px, 1.35vw, 24px);
  background: #0b0f12;
  box-shadow: 0 22px 90px rgba(0, 0, 0, .28);
  transition: transform .5s var(--ease), border-color .35s ease, box-shadow .5s ease;
}
.portal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
  pointer-events: none;
}
.portal-card:hover {
  z-index: 2;
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, .35);
  box-shadow: 0 34px 110px rgba(0, 0, 0, .42);
}
.portal-card__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .85s var(--ease), filter .55s ease;
}
.portal-card:hover .portal-card__image { transform: scale(1.035); }
.portal-card--convis .portal-card__image { object-position: 51% 45%; filter: saturate(.9) brightness(.69) contrast(1.04); }
.portal-card--vfx .portal-card__image { object-position: 50% 48%; filter: saturate(1.08) brightness(.65) contrast(1.05); }
.portal-card__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.portal-card--convis .portal-card__overlay {
  background:
    linear-gradient(180deg, rgba(0, 4, 1, .08), rgba(0, 5, 2, .06) 28%, rgba(1, 9, 4, .91) 100%),
    linear-gradient(125deg, rgba(67, 227, 111, .19), transparent 46%);
}
.portal-card--vfx .portal-card__overlay {
  background:
    linear-gradient(180deg, rgba(2, 3, 10, .08), rgba(4, 5, 15, .08) 28%, rgba(4, 6, 18, .93) 100%),
    linear-gradient(125deg, rgba(80, 210, 255, .12), transparent 42%),
    linear-gradient(305deg, rgba(204, 65, 218, .17), transparent 48%);
}
.portal-card__label {
  position: absolute;
  left: clamp(20px, 2vw, 34px);
  top: clamp(20px, 2vw, 32px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .82);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.portal-card__label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}
.portal-card--convis .portal-card__label { color: var(--green); }
.portal-card--vfx .portal-card__label { color: var(--cyan); }
.portal-card__content {
  position: absolute;
  left: clamp(20px, 2.5vw, 42px);
  right: clamp(20px, 2.5vw, 42px);
  bottom: clamp(70px, 8vh, 104px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.portal-card__content strong {
  font-size: clamp(48px, 6vw, 100px);
  font-weight: 690;
  line-height: .91;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.portal-card__content small {
  max-width: 520px;
  margin-top: 16px;
  color: rgba(239, 244, 243, .8);
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.45;
}
.portal-card__action {
  position: absolute;
  left: clamp(20px, 2.5vw, 42px);
  right: clamp(20px, 2.5vw, 42px);
  bottom: clamp(22px, 2.4vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.portal-card__action svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s var(--ease); }
.portal-card:hover .portal-card__action svg { transform: translateX(5px); }
.portal-card--convis .portal-card__action { color: var(--green); }
.portal-card--vfx .portal-card__action { color: var(--cyan); }

.reference-band {
  width: calc(100% + clamp(28px, 4vw, 60px));
  min-height: 88px;
  margin-left: calc(clamp(14px, 2vw, 30px) * -1);
  display: grid;
  grid-template-columns: minmax(225px, 17vw) 1fr;
  border-top: 1px solid var(--line);
  background: rgba(3, 5, 8, .92);
}
.reference-band__label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding-left: clamp(20px, 4vw, 66px);
  border-right: 1px solid var(--line);
}
.reference-band__label strong {
  color: white;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.reference-band__label span { color: var(--faint); font-size: 11px; }
.logo-marquee {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.logo-marquee__track {
  width: max-content;
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  animation: marquee 34s linear infinite;
}
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__group { display: flex; align-items: center; gap: clamp(50px, 5vw, 92px); padding-right: clamp(50px, 5vw, 92px); }
.client-logo {
  width: clamp(115px, 9vw, 170px);
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  opacity: .55;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .35));
  transition: opacity .25s ease;
}
.client-logo:hover { opacity: .92; }
.client-logo img { width: 100%; height: 100%; object-fit: contain; }
.client-logo--hirez { width: clamp(130px, 10vw, 185px); }
.client-logo--smite { width: clamp(105px, 8vw, 145px); }
.client-logo--smite2 { width: clamp(120px, 9vw, 165px); }
.client-logo--dlala { width: clamp(135px, 10vw, 180px); }
.client-logo--illusion { width: clamp(108px, 8vw, 145px); height: 58px; }
.client-logo--omelet { width: clamp(145px, 11vw, 200px); }
@keyframes marquee { to { transform: translateX(-50%); } }

.chapter {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: clamp(100px, 11vh, 132px) clamp(20px, 5vw, 82px);
}
.chapter-shell {
  position: relative;
  z-index: 2;
  width: min(100%, var(--shell));
  margin: 0 auto;
  display: grid;
  align-items: center;
  gap: clamp(46px, 6vw, 108px);
}
.chapter-shell--convis { grid-template-columns: minmax(360px, .82fr) minmax(520px, 1.18fr); }
.chapter-shell--vfx { grid-template-columns: minmax(520px, 1.12fr) minmax(360px, .88fr); }
.chapter-copy { min-width: 0; }
.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow i { width: 36px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--convis { color: var(--green); }
.eyebrow--vfx { color: var(--cyan); }
.chapter h2,
.footer-callout h2 {
  margin: 0;
  font-size: clamp(50px, 5.2vw, 84px);
  font-weight: 660;
  line-height: .96;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.chapter h2 em {
  font-style: normal;
  font-weight: 520;
}
.chapter--convis h2 em { color: var(--green); }
.chapter--vfx h2 em {
  background: linear-gradient(90deg, var(--cyan), #c69cff 48%, #ff83b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  max-width: 700px;
  margin: 26px 0 0;
  color: #b6bfbd;
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.68;
}

.chapter--convis {
  background:
    radial-gradient(circle at 83% 28%, rgba(85, 239, 91, .13), transparent 32%),
    radial-gradient(circle at 14% 92%, rgba(66, 163, 77, .08), transparent 31%),
    linear-gradient(135deg, #020403 0%, #050907 51%, #020403 100%);
}
.chapter--convis::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .34;
  background-image:
    linear-gradient(rgba(149, 255, 127, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(149, 255, 127, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 0%, black 36%, black 100%);
}
.chapter--convis::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 42vw;
  height: 42vw;
  max-width: 720px;
  max-height: 720px;
  right: -10vw;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 255, 93, .12), transparent 67%);
  filter: blur(10px);
}
.selling-points {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.selling-points article {
  min-width: 0;
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(157, 251, 76, .16);
  border-radius: 14px;
  background: rgba(8, 18, 10, .58);
}
.selling-points__icon {
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(157, 251, 76, .28);
  border-radius: 10px;
  color: var(--green);
  background: rgba(157, 251, 76, .06);
}
.selling-points__icon svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.selling-points strong { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; }
.selling-points p { margin: 0; color: #9da7a3; font-size: 12px; line-height: 1.52; }
.capability-tags { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 7px; }
.capability-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(157, 251, 76, .14);
  border-radius: 999px;
  color: #9eaaa5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.button {
  width: fit-content;
  min-height: 54px;
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), box-shadow .25s ease, filter .25s ease;
}
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:hover svg { transform: translateX(4px); }
.button--convis {
  background: var(--green);
  color: #071006;
  box-shadow: 0 16px 36px rgba(112, 255, 76, .12);
}
.button--convis:hover { box-shadow: 0 20px 44px rgba(112, 255, 76, .2); filter: brightness(1.03); }

.convis-media { min-width: 0; }
.convis-player {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(157, 251, 76, .28);
  border-radius: clamp(14px, 1.2vw, 20px);
  background: #071008;
  box-shadow: 0 36px 90px rgba(0, 0, 0, .5), 0 0 60px rgba(84, 255, 85, .06);
}
.convis-player::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
  pointer-events: none;
}
.convis-player video { width: 100%; height: 100%; object-fit: cover; }
.convis-player__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(1, 5, 2, .55) 0%, transparent 19%, transparent 66%, rgba(1, 7, 3, .72) 100%);
  pointer-events: none;
}
.convis-player__top,
.convis-player__bottom {
  position: absolute;
  z-index: 3;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, .86);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.convis-player__top { top: 18px; }
.convis-player__top span { display: inline-flex; align-items: center; gap: 9px; }
.convis-player__top i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.convis-player__top strong { color: #a6b0ab; font-size: inherit; }
.convis-player__bottom { bottom: 18px; padding-right: 80px; color: rgba(255, 255, 255, .7); }
.convis-player__bottom span:last-child { color: var(--green); }
.video-toggle {
  position: absolute;
  z-index: 5;
  right: 16px;
  bottom: 13px;
  min-width: 66px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(2, 7, 3, .66);
  backdrop-filter: blur(10px);
  cursor: pointer;
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.video-toggle svg { width: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.video-toggle__play { display: none; }
.video-toggle.is-paused .video-toggle__pause { display: none; }
.video-toggle.is-paused .video-toggle__play { display: block; }
.convis-media__meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  padding: 14px 16px;
  border: 1px solid rgba(157, 251, 76, .13);
  border-radius: 12px;
  background: rgba(5, 12, 7, .72);
}
.convis-media__meta span { min-width: 0; color: #8f9b96; font-size: 10px; line-height: 1.35; }
.convis-media__meta b { display: block; margin-bottom: 3px; color: var(--green); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.convis-media__meta i { width: 26px; height: 1px; flex: 0 0 auto; background: rgba(157, 251, 76, .27); }

.chapter--vfx {
  background:
    radial-gradient(circle at 13% 28%, rgba(74, 210, 255, .14), transparent 30%),
    radial-gradient(circle at 87% 78%, rgba(255, 78, 157, .13), transparent 34%),
    radial-gradient(circle at 58% 45%, rgba(131, 82, 255, .07), transparent 36%),
    linear-gradient(138deg, #05070d 0%, #090b18 47%, #130815 100%);
}
.chapter--vfx::before,
.chapter--vfx::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(30px);
  opacity: .6;
}
.chapter--vfx::before { width: 28vw; height: 28vw; left: -9vw; bottom: -8vw; background: rgba(56, 200, 255, .09); }
.chapter--vfx::after { width: 34vw; height: 34vw; right: -10vw; top: -12vw; background: rgba(218, 71, 191, .09); }
.vfx-media { min-width: 0; }
.vfx-showcase {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(130, 187, 255, .21);
  border-radius: clamp(14px, 1.2vw, 20px);
  background: #080a16;
  box-shadow: 0 38px 100px rgba(0, 0, 0, .48), 0 0 70px rgba(89, 91, 255, .08);
}
.vfx-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
  pointer-events: none;
}
.vfx-showcase > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.015); }
.vfx-showcase__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 6, 17, .5) 0%, transparent 22%, transparent 62%, rgba(5, 6, 17, .78) 100%);
}
.vfx-showcase__top,
.vfx-showcase__bottom {
  position: absolute;
  z-index: 4;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.vfx-showcase__top { top: 18px; color: rgba(255, 255, 255, .76); }
.vfx-showcase__top strong { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: inherit; }
.vfx-showcase__top i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 14px currentColor; }
.vfx-showcase__bottom { bottom: 18px; justify-content: flex-start; flex-wrap: wrap; color: rgba(255, 255, 255, .65); }
.vfx-showcase__bottom span:not(:last-child)::after { content: "/"; margin-left: 18px; color: rgba(255, 255, 255, .2); }
.project-strip {
  margin-top: 13px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 9px;
}
.project-strip article {
  min-width: 0;
  height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 11px;
  background: rgba(10, 10, 24, .66);
}
.project-strip article > span { color: #777f91; font-size: 7px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.project-strip article > img { width: 100%; height: 48px; object-fit: contain; opacity: .78; }
.project-strip__smite > div { height: 48px; display: flex; align-items: center; justify-content: space-around; gap: 14px; }
.project-strip__smite img { width: 45%; height: 100%; object-fit: contain; opacity: .78; }
.chapter-copy--vfx .lead { max-width: 620px; }
.service-cloud { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 7px; }
.service-cloud span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 2px;
  background: rgba(255, 255, 255, .025);
  color: #a5adbb;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.button--vfx {
  background: linear-gradient(90deg, #70e4ff, #b49cff 48%, #ff83af);
  color: #090b13;
  box-shadow: 0 16px 42px rgba(121, 117, 255, .14);
}
.button--vfx:hover { box-shadow: 0 20px 48px rgba(121, 117, 255, .22); filter: brightness(1.03); }

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 0%, rgba(73, 225, 131, .07), transparent 28%),
    radial-gradient(circle at 89% 100%, rgba(103, 125, 255, .08), transparent 31%),
    #030507;
}
.footer-shell { width: min(calc(100% - 40px), var(--shell)); margin: 0 auto; padding: clamp(72px, 9vw, 132px) 0 26px; }
.footer-callout { display: grid; grid-template-columns: minmax(160px, .45fr) minmax(420px, 1.2fr) auto; align-items: end; gap: clamp(24px, 5vw, 86px); padding-bottom: clamp(60px, 8vw, 112px); }
.footer-callout p { margin: 0 0 8px; color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.footer-callout h2 { font-size: clamp(42px, 5vw, 78px); }
.footer-callout > a {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, .32);
  color: white;
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 750;
}
.footer-callout > a svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s var(--ease); }
.footer-callout > a:hover svg { transform: translateX(4px); }
.footer-meta {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
}
.footer-brand { width: 138px; }
.footer-meta nav { display: flex; gap: 28px; }
.footer-meta nav a { color: #a7afad; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.footer-meta nav a:hover { color: white; }
.footer-legal {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #646d6b;
  font-size: 10px;
}
.footer-legal div { display: flex; gap: 20px; }
.footer-legal a:hover { color: #aeb6b4; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal--delay { transition-delay: .11s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .chapter { min-height: auto; padding-block: 110px; }
  .chapter-shell--convis,
  .chapter-shell--vfx { grid-template-columns: 1fr; }
  .chapter-copy { max-width: 800px; }
  .convis-media,
  .vfx-media { width: 100%; max-width: 980px; }
  .chapter-shell--convis .convis-media { grid-row: 2; }
  .chapter-shell--vfx .vfx-media { grid-row: 2; }
  .footer-callout { grid-template-columns: 1fr auto; }
  .footer-callout p { grid-column: 1 / -1; margin: 0; }
}

@media (max-width: 820px) {
  :root { --header-height: 70px; }
  .site-header { padding-inline: 20px; }
  .brand { width: 132px; }
  .menu-toggle {
    position: relative;
    z-index: 5;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    gap: 5px;
    padding: 12px 10px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 50%;
    background: rgba(3, 5, 7, .45);
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { width: 18px; height: 1px; background: white; transition: transform .25s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 27px;
    padding: 90px 28px 40px;
    background: rgba(3, 5, 8, .97);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s var(--ease);
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav > a:not(.header-cta) { font-size: 26px; letter-spacing: -.02em; text-transform: none; }
  .site-nav > a:not(.header-cta)::after { display: none; }
  .header-cta { margin-top: 8px; min-height: 48px; padding-inline: 22px; }

  .portal { padding: calc(var(--header-height) + 10px) 10px 0; }
  .portal-cards { grid-template-columns: 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; padding-bottom: 9px; }
  .portal-card { border-radius: 14px; }
  .portal-card--convis .portal-card__image { object-position: 50% 47%; }
  .portal-card__label { left: 17px; top: 15px; font-size: 8px; }
  .portal-card__content { left: 17px; right: 17px; bottom: 55px; }
  .portal-card__content strong { font-size: clamp(38px, 10vw, 56px); }
  .portal-card__content small { margin-top: 7px; max-width: 340px; font-size: 12px; line-height: 1.35; }
  .portal-card__action { left: 17px; right: 17px; bottom: 15px; padding-top: 10px; font-size: 8px; }
  .reference-band { width: calc(100% + 20px); min-height: 70px; margin-left: -10px; grid-template-columns: 1fr; }
  .reference-band__label { display: none; }
  .client-logo { height: 41px; }
  .logo-marquee__group { gap: 46px; padding-right: 46px; }

  .chapter { padding: 96px 20px 82px; }
  .chapter-shell { gap: 45px; }
  .chapter h2 { font-size: clamp(44px, 12.5vw, 68px); }
  .lead { margin-top: 22px; font-size: 15px; line-height: 1.62; }
  .selling-points { grid-template-columns: 1fr; }
  .convis-media__meta { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .convis-media__meta::-webkit-scrollbar { display: none; }
  .convis-media__meta span { min-width: 175px; }
  .convis-player__bottom { display: none; }
  .project-strip { grid-template-columns: 1fr 1fr; }
  .project-strip article:last-child { grid-column: 1 / -1; }

  .footer-shell { width: calc(100% - 40px); padding-top: 74px; }
  .footer-callout { grid-template-columns: 1fr; align-items: start; gap: 18px; padding-bottom: 66px; }
  .footer-callout p { grid-column: auto; }
  .footer-callout > a { width: fit-content; margin-top: 8px; }
  .footer-meta { padding-block: 24px; align-items: flex-start; }
  .footer-meta nav { flex-wrap: wrap; justify-content: flex-end; gap: 16px 22px; }
}

@media (max-width: 540px) {
  .portal-card__content small { max-width: 280px; }
  .portal-card--convis .portal-card__image { object-position: 48% 47%; }
  .chapter { padding-inline: 16px; }
  .eyebrow { font-size: 8px; letter-spacing: .12em; }
  .selling-points article { padding: 15px; }
  .button { width: 100%; justify-content: space-between; }
  .convis-player__top,
  .vfx-showcase__top { left: 13px; right: 13px; top: 12px; font-size: 7px; }
  .video-toggle { right: 10px; bottom: 9px; }
  .vfx-showcase__bottom { left: 13px; right: 13px; bottom: 12px; font-size: 7px; gap: 10px; }
  .vfx-showcase__bottom span:not(:last-child)::after { margin-left: 10px; }
  .project-strip { display: flex; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .project-strip::-webkit-scrollbar { display: none; }
  .project-strip article { min-width: 210px; }
  .project-strip article:last-child { grid-column: auto; }
  .footer-meta { flex-direction: column; }
  .footer-meta nav { justify-content: flex-start; }
  .footer-legal { align-items: flex-start; flex-direction: column; padding-block: 18px; }
}

@media (max-height: 700px) and (min-width: 821px) {
  .portal-card__content { bottom: 70px; }
  .portal-card__content strong { font-size: clamp(44px, 5vw, 78px); }
  .portal-card__content small { margin-top: 10px; font-size: 14px; }
  .reference-band { min-height: 70px; }
  .client-logo { height: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .logo-marquee { overflow-x: auto; mask-image: none; }
  .logo-marquee__track { transform: none !important; }
  .logo-marquee__group[aria-hidden="true"] { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Concept v4 refinements */
.portal {
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding-top: calc(var(--header-height) + 8px);
}
.portal-intro {
  width: min(100%, 1760px);
  min-height: clamp(86px, 9.5vh, 112px);
  margin: 0 auto;
  padding: 2px clamp(6px, .8vw, 14px) clamp(14px, 1.8vh, 22px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(28px, 5vw, 90px);
}
.portal-intro__claim p {
  margin: 0 0 5px;
  color: #89928f;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.portal-intro h1 {
  margin: 0;
  color: #f7f9f8;
  font-size: clamp(34px, 3.25vw, 58px);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.055em;
}
.portal-intro__scope {
  margin: 0 0 2px;
  display: grid;
  gap: 6px;
  color: #aab2b0;
  font-size: clamp(11px, .9vw, 14px);
  font-weight: 650;
  line-height: 1.25;
  text-align: right;
}
.portal-intro__scope span:first-child { color: #b8ff7c; }
.portal-intro__scope span:last-child { color: #83e8ff; }
.portal-cards { padding-bottom: clamp(12px, 1.45vh, 18px); }
.portal-card--convis .portal-card__image { filter: saturate(.88) brightness(.62) contrast(1.08); }
.portal-card--vfx .portal-card__image { filter: saturate(1.08) brightness(.61) contrast(1.06); }
.portal-card--convis .portal-card__overlay {
  background:
    linear-gradient(180deg, rgba(0, 4, 1, .06), rgba(0, 5, 2, .13) 28%, rgba(1, 8, 4, .95) 100%),
    linear-gradient(125deg, rgba(67, 227, 111, .2), transparent 46%);
}
.portal-card--vfx .portal-card__overlay {
  background:
    linear-gradient(180deg, rgba(2, 3, 10, .05), rgba(4, 5, 15, .13) 28%, rgba(4, 6, 18, .96) 100%),
    linear-gradient(125deg, rgba(80, 210, 255, .13), transparent 42%),
    linear-gradient(305deg, rgba(204, 65, 218, .18), transparent 48%);
}
.portal-card__content {
  bottom: clamp(78px, 8.2vh, 106px);
  text-shadow: 0 3px 24px rgba(0, 0, 0, .45);
}
.portal-card__content strong {
  font-size: clamp(48px, 5.35vw, 90px);
}
.portal-card__descriptor {
  display: block;
  margin-top: 12px;
  font-size: clamp(16px, 1.42vw, 23px);
  font-weight: 790;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.portal-card--convis .portal-card__descriptor { color: #b7ff78; }
.portal-card--vfx .portal-card__descriptor { color: #79e6ff; }
.portal-card__content small {
  margin-top: 10px;
  color: rgba(242, 246, 245, .77);
}
.client-logo--nequinox { width: clamp(145px, 11vw, 205px); }

.eyebrow--convis {
  width: fit-content;
  margin-bottom: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(157, 251, 76, .3);
  border-radius: 999px;
  background: rgba(91, 203, 74, .1);
  color: #c5ff93;
  font-size: 11px;
  letter-spacing: .11em;
  box-shadow: 0 0 30px rgba(106, 255, 77, .055);
}
.eyebrow--convis i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  opacity: 1;
  box-shadow: 0 0 16px var(--green);
}
.chapter-shell--convis {
  grid-template-columns: minmax(440px, .96fr) minmax(520px, 1.04fr);
  gap: clamp(52px, 5vw, 82px);
}
.chapter--convis {
  padding-top: clamp(122px, 13.5vh, 154px);
  padding-bottom: clamp(88px, 9.5vh, 112px);
}
.chapter--convis h2 {
  max-width: 720px;
  font-size: clamp(47px, 4.55vw, 76px);
  line-height: .98;
}
.chapter--convis .lead {
  margin-top: 22px;
  font-size: clamp(14px, 1.02vw, 17px);
  line-height: 1.6;
}
.chapter--convis .selling-points { margin-top: 24px; }
.chapter--convis .selling-points article { padding: 16px; }
.chapter--convis .capability-tags { margin-top: 12px; }
.chapter--convis .button { margin-top: 24px; }

@media (max-width: 1180px) {
  .chapter-shell--convis { grid-template-columns: 1fr; }
  .chapter--convis { padding-top: 112px; padding-bottom: 96px; }
  .chapter--convis h2 { max-width: 780px; }
}

@media (max-width: 820px) {
  .portal {
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding-top: calc(var(--header-height) + 5px);
  }
  .portal-intro {
    min-height: 74px;
    padding: 3px 7px 10px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 6px;
  }
  .portal-intro__claim p { margin-bottom: 3px; font-size: 7px; }
  .portal-intro h1 { font-size: clamp(29px, 8vw, 38px); line-height: 1; }
  .portal-intro__scope {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin: 0;
    font-size: 9px;
    line-height: 1.2;
    text-align: left;
  }
  .portal-cards { padding-bottom: 8px; }
  .portal-card__content { bottom: 58px; }
  .portal-card__content strong { font-size: clamp(36px, 10vw, 52px); }
  .portal-card__descriptor { margin-top: 5px; font-size: clamp(11px, 3.2vw, 14px); }
  .portal-card__content small { margin-top: 6px; max-width: 330px; font-size: 11px; line-height: 1.3; }
  .chapter--convis { padding-top: 102px; padding-bottom: 82px; }
  .eyebrow--convis { margin-bottom: 18px; padding: 8px 10px; font-size: 8px; }
  .chapter--convis h2 { font-size: clamp(42px, 11.5vw, 66px); }
}

@media (max-width: 540px) {
  .portal-intro { min-height: 70px; }
  .portal-intro h1 { font-size: 29px; }
  .portal-intro__scope { gap: 3px 10px; font-size: 8px; }
  .portal-card__content small { max-width: 290px; }
  .client-logo--nequinox { width: 150px; }
}

@media (max-height: 700px) and (min-width: 821px) {
  .portal-intro { min-height: 68px; padding-bottom: 10px; }
  .portal-intro__claim p { margin-bottom: 2px; font-size: 7px; }
  .portal-intro h1 { font-size: 34px; }
  .portal-intro__scope { gap: 3px; font-size: 10px; }
  .portal-card__content { bottom: 70px; }
  .portal-card__content strong { font-size: clamp(42px, 4.6vw, 70px); }
  .portal-card__descriptor { margin-top: 6px; font-size: 15px; }
  .portal-card__content small { margin-top: 6px; font-size: 12px; }
}

/* Concept v5 refinements */
:root {
  --vfx-navy-950: #040a11;
  --vfx-navy-900: #071321;
  --vfx-navy-800: #0b2035;
  --vfx-navy-700: #153754;
  --vfx-cyan: #8fe7f2;
  --vfx-cyan-strong: #6fd7e8;
  --vfx-blue: #7db8eb;
}

/* Hero imagery */
.portal-card--vfx .portal-card__image {
  object-position: 52% 47%;
  filter: saturate(1.04) brightness(.7) contrast(1.035);
}
.portal-card--vfx .portal-card__overlay {
  background:
    linear-gradient(180deg, rgba(2, 8, 13, .08), rgba(3, 12, 20, .12) 29%, rgba(4, 13, 23, .96) 100%),
    linear-gradient(125deg, rgba(112, 221, 238, .12), transparent 43%),
    radial-gradient(circle at 70% 44%, rgba(255, 155, 65, .11), transparent 28%);
}
.portal-card--vfx .portal-card__descriptor { color: #9eeaf5; }

/* The two section labels deliberately share the same typographic construction. */
.eyebrow--convis,
.eyebrow--vfx {
  width: auto;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 10px;
  letter-spacing: .15em;
}
.eyebrow--convis { color: var(--green); }
.eyebrow--vfx { color: var(--vfx-cyan); }
.eyebrow--convis i,
.eyebrow--vfx i {
  width: 36px;
  height: 1px;
  border-radius: 0;
  background: currentColor;
  opacity: .72;
  box-shadow: none;
}

/* Minimal external CTAs */
.section-link {
  width: fit-content;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: white;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section-link > span {
  padding: 0 0 7px;
  border-bottom: 1px solid currentColor;
  transition: opacity .25s ease, border-color .25s ease;
}
.section-link > i {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: rgba(255, 255, 255, .025);
  font-style: normal;
  transition: transform .3s var(--ease), background .3s ease, box-shadow .3s ease;
}
.section-link svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.section-link:hover > span { opacity: .82; }
.section-link:hover > i { transform: translate(2px, -2px); }
.section-link--convis { color: #a8ff61; }
.section-link--convis > i { border-color: rgba(168, 255, 97, .52); }
.section-link--convis:hover > i {
  background: rgba(157, 251, 76, .1);
  box-shadow: 0 0 28px rgba(157, 251, 76, .12);
}
.section-link--vfx { color: var(--vfx-cyan); }
.section-link--vfx > i { border-color: rgba(143, 231, 242, .48); }
.section-link--vfx:hover > i {
  background: rgba(143, 231, 242, .1);
  box-shadow: 0 0 28px rgba(111, 215, 232, .14);
}

/* Unobstructed video players */
.media-player {
  position: relative;
  isolation: isolate;
}
.media-player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.media-player::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
  pointer-events: none;
}
.media-toggle {
  position: absolute;
  z-index: 5;
  right: 13px;
  bottom: 13px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(2, 7, 10, .62);
  backdrop-filter: blur(10px);
  color: white;
  cursor: pointer;
  opacity: .72;
  transition: opacity .25s ease, transform .25s var(--ease), background .25s ease;
}
.media-player:hover .media-toggle,
.media-toggle:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  background: rgba(2, 7, 10, .78);
}
.media-toggle svg {
  grid-area: 1 / 1;
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.media-toggle__play { display: none; }
.media-toggle.is-paused .media-toggle__pause { display: none; }
.media-toggle.is-paused .media-toggle__play { display: block; }
.convis-player .media-toggle { color: #b8ff78; border-color: rgba(184, 255, 120, .48); }
.vfx-showcase .media-toggle { color: #b7f2f8; border-color: rgba(183, 242, 248, .48); }

/* ConVis media now speaks without interface labels. */
.convis-player {
  aspect-ratio: 16 / 9;
  border-color: rgba(157, 251, 76, .24);
  background: #050b06;
  box-shadow: 0 38px 96px rgba(0, 0, 0, .52), 0 0 58px rgba(84, 255, 85, .055);
}
.convis-player::before { display: none; }
.chapter--convis .section-link { margin-top: 26px; }

/* VFX: closer to Glaucus' established deep-navy and cyan visual language. */
.chapter--vfx {
  background:
    radial-gradient(circle at 11% 24%, rgba(94, 211, 231, .12), transparent 30%),
    radial-gradient(circle at 88% 74%, rgba(54, 116, 171, .14), transparent 34%),
    radial-gradient(circle at 63% 36%, rgba(255, 155, 68, .045), transparent 25%),
    linear-gradient(135deg, var(--vfx-navy-950) 0%, var(--vfx-navy-900) 44%, #0b1b2d 72%, #07111d 100%);
}
.chapter--vfx::before {
  inset: 0;
  width: auto;
  height: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 0;
  opacity: .36;
  filter: none;
  background:
    linear-gradient(116deg, transparent 0 54%, rgba(139, 224, 238, .055) 54% 54.12%, transparent 54.12% 100%),
    linear-gradient(116deg, transparent 0 68%, rgba(139, 224, 238, .035) 68% 68.1%, transparent 68.1% 100%),
    repeating-linear-gradient(90deg, rgba(115, 191, 221, .025) 0 1px, transparent 1px 96px);
  mask-image: linear-gradient(90deg, black, rgba(0,0,0,.72) 72%, transparent 100%);
}
.chapter--vfx::after {
  width: min(56vw, 980px);
  height: min(56vw, 980px);
  right: -22vw;
  top: -26vw;
  bottom: auto;
  left: auto;
  border-radius: 50%;
  opacity: .66;
  filter: blur(18px);
  background: radial-gradient(circle, rgba(63, 136, 190, .16), transparent 68%);
}
.chapter--vfx h2 em {
  background: linear-gradient(90deg, #a3edf5 0%, #88d9ed 44%, #78b7e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.chapter--vfx .lead { color: #afc0cc; }

.vfx-showcase {
  aspect-ratio: 16 / 9;
  border-color: rgba(143, 231, 242, .24);
  background: #06121f;
  box-shadow: 0 38px 100px rgba(0, 0, 0, .5), 0 0 72px rgba(75, 174, 211, .075);
}
.vfx-showcase::before { display: none; }
.vfx-showcase video { object-position: 50% 50%; }

.project-strip {
  margin-top: 12px;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 9px;
}
.project-strip article {
  height: 76px;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  border-color: rgba(143, 231, 242, .105);
  background: rgba(8, 27, 44, .72);
}
.project-strip article > img {
  width: 100%;
  height: 49px;
  opacity: .88;
}
.project-strip__smite > div {
  width: 100%;
  height: 47px;
  justify-content: center;
  gap: 18px;
}
.project-strip__smite img { width: 43%; opacity: .88; }

.service-cloud span {
  border-color: rgba(143, 231, 242, .14);
  background: rgba(110, 194, 222, .035);
  color: #b6c9d5;
}

@media (max-width: 1180px) {
  .chapter-shell--convis,
  .chapter-shell--vfx { gap: 54px; }
  .convis-media,
  .vfx-media { max-width: 940px; }
}

@media (max-width: 820px) {
  .portal-card--vfx .portal-card__image { object-position: 52% 45%; }
  .eyebrow--convis,
  .eyebrow--vfx {
    margin-bottom: 18px;
    padding: 0;
    font-size: 8px;
  }
  .eyebrow--convis i,
  .eyebrow--vfx i { width: 28px; }
  .section-link { margin-top: 25px; }
  .project-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .project-strip article,
  .project-strip article:last-child { grid-column: auto; }
}

@media (max-width: 540px) {
  .portal-card--vfx .portal-card__image { object-position: 51% 45%; }
  .section-link {
    gap: 13px;
    font-size: 10px;
  }
  .section-link > i { width: 40px; height: 40px; }
  .media-toggle { right: 10px; bottom: 10px; width: 36px; height: 36px; }
  .project-strip {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    overflow: visible;
    padding-bottom: 0;
  }
  .project-strip article { min-width: 0; height: 62px; padding: 10px 8px; }
  .project-strip article > img { height: 38px; }
  .project-strip__smite > div { height: 36px; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .media-toggle { transition: none; }
}

/* Concept v6 refinements */

/* Hero: make all three Glaucus disciplines visible without sacrificing the visual-first layout. */
.portal-intro {
  min-height: clamp(96px, 10.5vh, 124px);
}
.portal-intro__scope {
  min-width: min(36vw, 430px);
  gap: 5px;
}
.portal-intro__scope-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}
.portal-intro__scope-item::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  opacity: .8;
}
.portal-intro__scope-item--twin { color: #b8ff7c; }
.portal-intro__scope-item--capture { color: #d5f5c0; }
.portal-intro__scope-item--vfx { color: #9eeaf5; }
.portal-card--convis .portal-card__content small {
  max-width: 560px;
}

/* External product links: stronger than a text link, quieter than a solid CTA slab. */
.section-link {
  min-width: 282px;
  min-height: 64px;
  margin-top: 30px;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 10px 10px 18px;
  border: 1px solid currentColor;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  text-transform: none;
  transition: transform .28s var(--ease), border-color .28s ease, box-shadow .28s ease, background .28s ease;
}
.section-link::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .8;
  transition: opacity .28s ease;
}
.section-link > .section-link__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0;
  border: 0;
}
.section-link__copy small {
  color: rgba(255, 255, 255, .58);
  font-size: 8px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-link__copy strong {
  color: currentColor;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: .015em;
}
.section-link > i {
  width: 43px;
  height: 43px;
  border-color: currentColor;
  background: rgba(255, 255, 255, .065);
}
.section-link:hover {
  transform: translateY(-3px);
}
.section-link:hover > .section-link__copy { opacity: 1; }
.section-link:hover::before { opacity: 1; }
.section-link--convis {
  color: #b8ff78;
  border-color: rgba(184, 255, 120, .5);
  background: rgba(49, 110, 42, .13);
  box-shadow: 0 14px 36px rgba(40, 124, 42, .12), inset 0 1px 0 rgba(255, 255, 255, .035);
}
.section-link--convis::before {
  background: linear-gradient(100deg, rgba(157, 251, 76, .12), rgba(157, 251, 76, .025) 68%, rgba(157, 251, 76, .11));
}
.section-link--convis:hover {
  border-color: rgba(184, 255, 120, .78);
  box-shadow: 0 18px 44px rgba(63, 182, 58, .18), inset 0 1px 0 rgba(255, 255, 255, .055);
}
.section-link--convis > i {
  border-color: rgba(184, 255, 120, .68);
  background: rgba(157, 251, 76, .11);
}
.section-link--vfx {
  color: #a5edf6;
  border-color: rgba(143, 231, 242, .48);
  background: rgba(38, 111, 151, .13);
  box-shadow: 0 14px 36px rgba(39, 112, 151, .13), inset 0 1px 0 rgba(255, 255, 255, .035);
}
.section-link--vfx::before {
  background: linear-gradient(100deg, rgba(111, 215, 232, .115), rgba(111, 215, 232, .025) 68%, rgba(111, 215, 232, .1));
}
.section-link--vfx:hover {
  border-color: rgba(165, 237, 246, .76);
  box-shadow: 0 18px 44px rgba(54, 148, 190, .2), inset 0 1px 0 rgba(255, 255, 255, .055);
}
.section-link--vfx > i {
  border-color: rgba(165, 237, 246, .66);
  background: rgba(111, 215, 232, .105);
}

/* Contact CTA: a visual project router for the two disciplines. */
.site-footer {
  background:
    radial-gradient(circle at 13% 8%, rgba(95, 240, 113, .08), transparent 28%),
    radial-gradient(circle at 88% 86%, rgba(88, 191, 226, .1), transparent 30%),
    #030507;
}
.footer-shell {
  padding-top: clamp(68px, 7vw, 108px);
}
.contact-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(430px, 47vw, 600px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr);
  align-items: center;
  gap: clamp(44px, 7vw, 112px);
  padding: clamp(38px, 5.2vw, 78px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: clamp(22px, 2.2vw, 34px);
  background:
    radial-gradient(circle at 8% 6%, rgba(111, 250, 102, .16), transparent 31%),
    radial-gradient(circle at 94% 92%, rgba(92, 199, 235, .16), transparent 34%),
    linear-gradient(128deg, #06100a 0%, #071016 48%, #071626 100%);
  box-shadow: 0 42px 120px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .035);
}
.contact-panel::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .25;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, rgba(0, 0, 0, .78) 60%, transparent 100%);
}
.contact-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(54vw, 860px);
  aspect-ratio: 1;
  right: -25%;
  bottom: -72%;
  border: 1px solid rgba(143, 231, 242, .13);
  border-radius: 50%;
  box-shadow:
    0 0 0 74px rgba(143, 231, 242, .025),
    0 0 0 148px rgba(143, 231, 242, .018);
}
.contact-panel__copy,
.contact-panel__routes { position: relative; z-index: 2; }
.contact-panel__eyebrow {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #c8ff9a;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.contact-panel__eyebrow i {
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: .75;
}
.contact-panel h2 {
  margin: 0;
  color: #f6f9f8;
  font-size: clamp(48px, 5.4vw, 86px);
  font-weight: 650;
  line-height: .94;
  letter-spacing: -.062em;
  text-wrap: balance;
}
.contact-panel h2 em {
  font-style: normal;
  font-weight: 540;
  background: linear-gradient(90deg, #b7ff79 0%, #b7f4c7 44%, #9de8f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-panel__lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: #b4c0bd;
  font-size: clamp(14px, 1.08vw, 18px);
  line-height: 1.65;
}
.contact-panel__email {
  width: fit-content;
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .34);
  color: white;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 760;
  transition: border-color .25s ease, color .25s ease;
}
.contact-panel__email svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform .25s var(--ease);
}
.contact-panel__email:hover {
  color: #c8ff9a;
  border-color: #c8ff9a;
}
.contact-panel__email:hover svg { transform: translateX(4px); }
.contact-panel__routes {
  display: grid;
  gap: 14px;
}
.contact-route {
  position: relative;
  min-height: 154px;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 9px;
  padding: 28px 84px 28px 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(5, 11, 15, .58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  transition: transform .32s var(--ease), border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.contact-route::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .55;
  transition: opacity .3s ease;
}
.contact-route__label,
.contact-route strong,
.contact-route i { position: relative; z-index: 2; }
.contact-route__label {
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-route strong {
  max-width: 380px;
  color: #f7f9f8;
  font-size: clamp(21px, 1.7vw, 28px);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.contact-route i {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-style: normal;
  transition: transform .3s var(--ease), background .3s ease;
}
.contact-route i svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-route:hover {
  transform: translateY(-4px);
}
.contact-route:hover::before { opacity: .9; }
.contact-route:hover i { transform: translate(2px, -2px); }
.contact-route--convis {
  color: #b9ff7d;
  border-color: rgba(157, 251, 76, .25);
}
.contact-route--convis::before {
  background: linear-gradient(118deg, rgba(113, 236, 83, .13), transparent 62%);
}
.contact-route--convis:hover {
  border-color: rgba(185, 255, 125, .56);
  background: rgba(11, 28, 15, .74);
  box-shadow: 0 20px 50px rgba(42, 130, 42, .13), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.contact-route--convis i { background: rgba(157, 251, 76, .07); }
.contact-route--vfx {
  color: #a1ebf5;
  border-color: rgba(143, 231, 242, .23);
}
.contact-route--vfx::before {
  background: linear-gradient(118deg, rgba(80, 179, 218, .14), transparent 62%);
}
.contact-route--vfx:hover {
  border-color: rgba(161, 235, 245, .54);
  background: rgba(9, 28, 43, .76);
  box-shadow: 0 20px 50px rgba(50, 132, 171, .15), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.contact-route--vfx i { background: rgba(111, 215, 232, .07); }
.footer-meta { margin-top: clamp(38px, 4.2vw, 62px); }

@media (max-width: 1180px) {
  .contact-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .contact-panel__copy { max-width: 900px; }
  .contact-panel__routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .portal-intro {
    min-height: 88px;
    gap: 7px;
  }
  .portal-intro__scope {
    min-width: 0;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 4px 13px;
  }
  .portal-intro__scope-item {
    justify-content: flex-start;
    gap: 5px;
  }
  .portal-intro__scope-item::before { width: 3px; height: 3px; box-shadow: none; }
  .portal-intro__scope-item--capture { grid-column: 1 / -1; }
  .section-link {
    min-width: 272px;
    min-height: 60px;
    margin-top: 26px;
  }
  .contact-panel {
    gap: 38px;
    padding: 34px 26px;
    border-radius: 22px;
  }
  .contact-panel h2 { font-size: clamp(44px, 11.5vw, 70px); }
  .contact-panel__routes { grid-template-columns: 1fr; }
  .contact-route { min-height: 136px; }
  .footer-shell { padding-top: 58px; }
}

@media (max-width: 540px) {
  .portal-intro { min-height: 86px; padding-bottom: 9px; }
  .portal-intro h1 { font-size: 28px; }
  .portal-intro__scope { gap: 3px 9px; font-size: 7.5px; }
  .portal-card--convis .portal-card__content small { max-width: 310px; }
  .section-link {
    width: min(100%, 330px);
    min-width: 0;
    padding-left: 15px;
  }
  .section-link__copy strong { font-size: 12px; }
  .contact-panel {
    padding: 30px 20px;
    border-radius: 18px;
  }
  .contact-panel__eyebrow { margin-bottom: 18px; font-size: 8px; }
  .contact-panel__eyebrow i { width: 28px; }
  .contact-panel h2 { font-size: clamp(42px, 12vw, 58px); }
  .contact-panel__lead { margin-top: 20px; font-size: 14px; }
  .contact-panel__email { margin-top: 24px; }
  .contact-route {
    min-height: 128px;
    padding: 24px 72px 24px 20px;
    border-radius: 14px;
  }
  .contact-route strong { font-size: 21px; }
  .contact-route i { right: 18px; bottom: 18px; width: 42px; height: 42px; }
  .footer-meta { margin-top: 34px; }
}

@media (max-height: 700px) and (min-width: 821px) {
  .portal-intro { min-height: 78px; padding-bottom: 9px; }
  .portal-intro__scope { gap: 2px; font-size: 9px; }
}

.site-footer { scroll-margin-top: var(--header-height); }

/* Concept v7 refinements */
/* Keep the opening statement minimal; product detail lives inside the two cards. */
.portal-intro {
  min-height: clamp(78px, 8.4vh, 98px);
  grid-template-columns: 1fr;
  align-items: end;
  gap: 0;
}
.portal-intro__claim { max-width: 760px; }
.portal-card--convis .portal-card__content small span {
  color: #d5ffb3;
  font-weight: 760;
}

/* Anchor the CTA background to the button itself, not the entire chapter shell. */
.section-link { position: relative; }
.section-link:hover > i { transform: none; }
.section-link svg { transition: transform .28s var(--ease); }
.section-link:hover svg { transform: translateX(4px); }

@media (max-width: 820px) {
  .portal-intro { min-height: 66px; padding-bottom: 9px; }
}

@media (max-width: 540px) {
  .portal-intro { min-height: 62px; }
  .portal-card--convis .portal-card__content small { max-width: 340px; }
}

@media (max-height: 700px) and (min-width: 821px) {
  .portal-intro { min-height: 62px; padding-bottom: 8px; }
}

.contact-route i svg { transition: transform .28s var(--ease); }
.contact-route:hover i { transform: none; }
.contact-route:hover i svg { transform: translateX(4px); }

/* Concept v8 refinements --------------------------------------------------- */
/* The logo already carries the company name; the hero keeps only the positioning statement. */
.portal-intro {
  min-height: clamp(66px, 7.4vh, 86px);
  padding-bottom: clamp(11px, 1.35vh, 17px);
}
.portal-intro__claim p { display: none; }

/* Give spatial capture its own visual weight while keeping it inside the ConVis proposition. */
.portal-card--convis .portal-card__content .portal-card__proposition {
  max-width: 590px;
  margin-top: 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: rgba(238, 245, 236, .88);
  font-size: clamp(14px, 1.08vw, 18px);
  font-weight: 620;
  line-height: 1.22;
  letter-spacing: -.015em;
}
.portal-card--convis .portal-card__content .portal-card__proposition > span {
  display: block;
}
.portal-card--convis .portal-card__content .portal-card__proposition > span:first-child {
  color: rgba(243, 247, 241, .9);
  font-weight: 650;
}
.portal-card--convis .portal-card__content .portal-card__proposition > span:last-child {
  color: #d2ffad;
  font-weight: 780;
}
.portal-card__proposition i {
  margin-right: .18em;
  color: rgba(230, 240, 226, .62);
  font-size: .72em;
  font-style: normal;
  font-weight: 720;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* The project routes behave like compact decision buttons rather than large content cards. */
.contact-panel {
  min-height: clamp(400px, 41vw, 530px);
}
.contact-panel__routes { gap: 10px; }
.contact-route {
  min-height: 112px;
  align-content: center;
  gap: 7px;
  padding: 21px 70px 21px 24px;
  border-radius: 16px;
}
.contact-route strong {
  max-width: 410px;
  font-size: clamp(20px, 1.5vw, 25px);
}
.contact-route i {
  top: 50%;
  right: 20px;
  bottom: auto;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
}
.contact-route:hover i { transform: translateY(-50%); }
.contact-route:hover i svg { transform: translateX(4px); }

@media (max-width: 820px) {
  .portal-intro {
    min-height: 55px;
    padding-bottom: 8px;
  }
  .portal-card--convis .portal-card__content .portal-card__proposition {
    margin-top: 5px;
    gap: 1px;
    font-size: 11px;
    line-height: 1.2;
  }
  .contact-panel { gap: 32px; }
  .contact-route {
    min-height: 104px;
    padding: 19px 66px 19px 20px;
  }
  .contact-route i {
    right: 18px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 540px) {
  .portal-intro { min-height: 52px; }
  .portal-card--convis .portal-card__content .portal-card__proposition {
    max-width: 325px;
    font-size: 10.5px;
  }
  .contact-panel { padding-block: 28px; }
  .contact-route {
    min-height: 98px;
    padding: 18px 62px 18px 18px;
  }
  .contact-route strong { font-size: 19px; }
  .contact-route i { right: 16px; width: 36px; height: 36px; }
}

@media (max-height: 700px) and (min-width: 821px) {
  .portal-intro { min-height: 54px; padding-bottom: 7px; }
}

/* Keep the conjunction conversational within the split ConVis proposition. */
.portal-card__proposition i {
  text-transform: none;
  letter-spacing: 0;
  font-size: .8em;
}


/* Concept v9 refinements --------------------------------------------------- */
/* Reframe the ConVis hero visual so the network node becomes the visual centre. */
.portal-card--convis .portal-card__image {
  object-position: 50% 50%;
  transform: scale(1);
}
.portal-card--convis:hover .portal-card__image {
  transform: scale(1.035);
}

/* Present Digital Twin and Spatial Data Capture as two connected, equal offers. */
.portal-card__offerings {
  width: min(100%, 660px);
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.portal-card__offerings > span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px 13px 10px 14px;
  border: 1px solid rgba(194, 255, 143, .22);
  border-radius: 10px;
  background: rgba(2, 12, 5, .42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  backdrop-filter: blur(8px);
}
.portal-card__offerings b {
  color: #c8ff98;
  font-size: clamp(13px, 1.05vw, 17px);
  font-weight: 790;
  line-height: 1.08;
  letter-spacing: -.018em;
}
.portal-card__offerings small {
  margin: 0 !important;
  color: rgba(238, 246, 235, .69) !important;
  font-size: clamp(9px, .68vw, 11px) !important;
  font-weight: 720;
  line-height: 1.2 !important;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.portal-card--convis .portal-card__content .portal-card__proposition {
  max-width: 650px;
  margin-top: 10px;
  display: block;
  color: rgba(241, 246, 239, .82);
  font-size: clamp(12px, .92vw, 15px);
  font-weight: 620;
  line-height: 1.35;
  letter-spacing: -.01em;
}

/* The reference label now stays category-neutral; give the logo strip a little more air. */
.reference-band__label {
  gap: 0;
}
.reference-band__label strong {
  max-width: 165px;
  line-height: 1.35;
}
.client-logo--illusion {
  width: clamp(112px, 8.5vw, 152px);
  height: 54px;
}
.client-logo--illusion img {
  width: auto !important;
  height: 50px !important;
  max-width: 100%;
  max-height: 50px;
  padding: 0;
  object-fit: contain;
}

/* Legal pages -------------------------------------------------------------- */
body.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(117, 246, 86, .075), transparent 32%),
    radial-gradient(circle at 91% 28%, rgba(76, 195, 239, .07), transparent 30%),
    #050708;
}
.legal-page .site-header {
  background: rgba(4, 7, 8, .78);
}
.legal-main {
  min-height: 100vh;
  padding: calc(var(--header-height) + clamp(54px, 7vw, 100px)) clamp(20px, 5vw, 82px) clamp(86px, 10vw, 150px);
}
.legal-shell {
  width: min(100%, 1320px);
  margin: 0 auto;
}
.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 70px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(20, 31, 27, .92), rgba(7, 14, 18, .88)),
    rgba(8, 13, 15, .85);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .035);
}
.legal-hero::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -160px;
  top: -210px;
  border-radius: 50%;
  background: rgba(126, 239, 98, .09);
  filter: blur(2px);
  box-shadow: 0 0 0 75px rgba(106, 219, 96, .025), 0 0 0 150px rgba(95, 189, 209, .018);
}
.legal-hero > * { position: relative; z-index: 1; }
.legal-kicker {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #c8ff9a;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.legal-kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .75; }
.legal-hero h1 {
  max-width: 880px;
  margin: 0;
  color: #f7f9f8;
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 650;
  line-height: .9;
  letter-spacing: -.066em;
}
.legal-hero__intro {
  max-width: 760px;
  margin: 26px 0 0;
  color: #b8c2bf;
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.65;
}
.legal-updated {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: #aeb8b5;
  background: rgba(1, 4, 5, .24);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.legal-updated::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #a9ef79; box-shadow: 0 0 12px rgba(169, 239, 121, .7); }
.legal-layout {
  margin-top: clamp(32px, 5vw, 62px);
  display: grid;
  grid-template-columns: minmax(210px, .28fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  background: rgba(8, 13, 15, .58);
  backdrop-filter: blur(12px);
}
.legal-toc strong {
  margin-bottom: 7px;
  color: #f4f6f5;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.legal-toc a {
  padding: 9px 10px;
  border-radius: 9px;
  color: #8f9b98;
  font-size: 12px;
  font-weight: 680;
  line-height: 1.3;
  transition: color .2s ease, background .2s ease;
}
.legal-toc a:hover { color: #ecf3ef; background: rgba(255, 255, 255, .045); }
.legal-content { min-width: 0; display: grid; gap: 14px; }
.legal-section {
  scroll-margin-top: calc(var(--header-height) + 28px);
  padding: clamp(24px, 3.5vw, 42px);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  background: rgba(8, 13, 15, .64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}
.legal-section h2 {
  margin: 0 0 20px;
  color: #f4f7f5;
  font-size: clamp(23px, 2.25vw, 34px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.legal-section h3 {
  margin: 26px 0 10px;
  color: #dce5e1;
  font-size: 16px;
  font-weight: 730;
  letter-spacing: -.01em;
}
.legal-section p,
.legal-section li,
.legal-section address {
  color: #aeb9b5;
  font-size: 14px;
  line-height: 1.72;
}
.legal-section p { margin: 0 0 15px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section address { font-style: normal; }
.legal-section ul { margin: 12px 0 18px; padding-left: 20px; }
.legal-section li + li { margin-top: 6px; }
.legal-section a { color: #c4ff94; text-decoration: underline; text-decoration-color: rgba(196, 255, 148, .35); text-underline-offset: 3px; }
.legal-section a:hover { text-decoration-color: currentColor; }
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.legal-card {
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
}
.legal-card small {
  display: block;
  margin-bottom: 8px;
  color: #92a09c;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.legal-card strong,
.legal-card address {
  color: #edf2ef;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.55;
}
.legal-note {
  padding: 17px 19px;
  border-left: 2px solid #a9ef79;
  border-radius: 0 11px 11px 0;
  background: rgba(114, 220, 83, .055);
}
.legal-note p { color: #c2ccc8; }
.legal-summary {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.legal-summary span {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 11px;
  color: #b9c5c1;
  background: rgba(0, 0, 0, .16);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}
.legal-page .site-footer { border-top: 1px solid rgba(255,255,255,.08); }
.legal-page .footer-shell { padding-top: 32px; }
.legal-page .footer-meta { margin-top: 0; }
.legal-page .footer-legal { margin-top: 0; }

@media (max-width: 920px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .legal-toc strong { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .portal-card--convis .portal-card__image { transform: scale(1); }
  .portal-card--convis:hover .portal-card__image { transform: scale(1.025); }
  .portal-card__offerings { margin-top: 7px; gap: 6px; }
  .portal-card__offerings > span { gap: 2px; padding: 7px 8px; border-radius: 8px; }
  .portal-card__offerings b { font-size: 11px; }
  .portal-card__offerings small { font-size: 7px !important; }
  .portal-card--convis .portal-card__content .portal-card__proposition { margin-top: 6px; font-size: 9.5px; }
  .legal-main { padding-top: calc(var(--header-height) + 30px); }
  .legal-hero { border-radius: 20px; }
  .legal-summary { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .portal-card__offerings { grid-template-columns: 1fr 1fr; }
  .portal-card__offerings b { font-size: 10px; }
  .portal-card__offerings small { font-size: 6.5px !important; }
  .legal-main { padding-inline: 14px; }
  .legal-hero { padding: 28px 22px; }
  .legal-hero h1 { font-size: clamp(48px, 15vw, 70px); }
  .legal-layout { margin-top: 24px; gap: 22px; }
  .legal-toc { grid-template-columns: 1fr; }
  .legal-toc strong { grid-column: auto; }
  .legal-section { padding: 23px 20px; border-radius: 15px; }
  .legal-grid { grid-template-columns: 1fr; }
}

/* WordPress integration */
.admin-bar .site-header { top: 32px; }
.admin-bar section { scroll-margin-top: calc(var(--header-height) + 32px); }
.wp-site-blocks { min-height: 100%; }
.legal-content .alignwide,
.legal-content .alignfull { margin-inline: 0; width: auto; max-width: none; }
.legal-content > :first-child { margin-top: 0; }
.legal-content > :last-child { margin-bottom: 0; }
.generic-content { min-height: calc(100svh - var(--header-height)); }
.post-navigation { margin-top: 42px; display: flex; justify-content: space-between; gap: 24px; }
.post-navigation a { color: var(--green); font-weight: 800; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar section { scroll-margin-top: calc(var(--header-height) + 46px); }
}
@media (max-width: 600px) {
  #wpadminbar { position: fixed; }
}
