:root {
  color-scheme: dark;
  --paper: #0b0d10;
  --ink: #f5f4f0;
  --muted: #91969f;
  --cube: clamp(84px, 10.5vw, 152px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid #fff; outline-offset: 7px; }
[hidden] { display: none !important; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }

/* A dark architectural stage. Colour belongs to the two active worlds. */
.shell {
  height: 100dvh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 28px clamp(24px, 5vw, 88px) 22px;
  isolation: isolate; position: relative;
  background: radial-gradient(ellipse at 69% 60%, #17223465, transparent 51%);
}
.shell::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(#ffffff04 1px, transparent 1px), linear-gradient(90deg, #ffffff04 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(transparent, #000 48%, transparent);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand h1 { font-size: 1.15rem; letter-spacing: .18em; font-weight: 800; margin: 0; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 6px); gap: 3px; transform: rotate(-9deg); }
.brand-mark i { width: 6px; height: 6px; background: #f1f1ed; }
.brand-mark i:last-child { background: #fa693d; }
.header-note { margin-left: auto; font: .65rem 'Courier New', monospace; letter-spacing: .13em; color: #a4a8af; text-transform: uppercase; }
.header-note i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fa693d; margin-right: 8px; }
main { display: flex; flex-direction: column; justify-content: center; min-height: 0; padding: 24px 0; }
.intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; width: 100%; margin-bottom: clamp(10px, 3vh, 32px); }
.intro h2 { font-size: clamp(2.4rem, 5.8vw, 5.8rem); line-height: .96; letter-spacing: -.075em; font-weight: 500; margin: 0; }
.intro h2 span { color: #858b95; }
.intro-note { margin: 0 0 8px; font-size: .8rem; line-height: 1.65; color: #a6abb3; max-width: 220px; }
.intro-note strong { color: #e3e5e8; font-weight: 400; }
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 55px); width: 100%; align-items: start; }
.sector {
  --front: #2a2c30; --top: #3b3e42; --right: #191b1f; --symbol: #9da1a8;
  --accent: #92969e; --glow: #91969e; --delay: 0s; --duration: 7s;
  min-width: 0; text-align: left; position: relative;
}
.finance { --delay: -3s; --duration: 8s; }
.media { --front: #e85629; --top: #ff9c72; --right: #9a321b; --symbol: #fff4e9; --accent: #ff8b61; --glow: #f56a33; --delay: -1s; --duration: 6.5s; }
.education { --front: #386ee3; --top: #94baff; --right: #1a388e; --symbol: #eff6ff; --accent: #89b1ff; --glow: #447ffa; --delay: -3.3s; --duration: 7.5s; }
.sector-trigger { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; cursor: pointer; border-radius: 5px; }
.cube-space { display: flex; align-items: center; justify-content: center; position: relative; height: calc(var(--cube) * 2.12); perspective: 1000px; }
.levitate { display: block; position: relative; width: var(--cube); height: var(--cube); animation: float var(--duration) ease-in-out var(--delay) infinite; z-index: 2; }
.cube { display: block; width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(-34deg); transition: transform .7s cubic-bezier(.2,.65,.2,1); }
.face { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; backface-visibility: hidden; border: 1px solid #ffffff40; }
.front { background: linear-gradient(135deg, #ffffff18, transparent 60%), var(--front); transform: translateZ(calc(var(--cube) * .5)); }
.right { background: linear-gradient(125deg, #ffffff0a, #00000030), var(--right); transform: rotateY(90deg) translateZ(calc(var(--cube) * .5)); }
.top { background: linear-gradient(145deg, #ffffff28, transparent), var(--top); transform: rotateX(90deg) translateZ(calc(var(--cube) * .5)); }
.face::after { content: ''; position: absolute; inset: 9%; border: 1px solid #ffffff20; pointer-events: none; }
.face svg { width: 43%; height: 43%; fill: none; stroke: var(--symbol); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.future .face { background: #ffffff02; border-color: #ffffff50; }
.future .face::after { border-color: #ffffff0a; }
.future .right { background: #ffffff01; }
.future .top { background: #ffffff05; }
.future .levitate { opacity: .85; transform: scale(.86); }
.future .cube { transform: rotateX(-24deg) rotateY(-34deg) scale(.86); }
.ground-shadow { position: absolute; bottom: 11%; width: 60%; height: 12%; background: #000; border-radius: 50%; filter: blur(12px); opacity: .8; }
.media .ground-shadow, .education .ground-shadow { background: var(--glow); filter: blur(28px); opacity: .3; width: 70%; height: 20%; }
/* Two phased rings create a slow signal ping, not a flashing light. */
.ping { position: absolute; width: 70%; aspect-ratio: 1; bottom: -12%; left: 15%; border-radius: 50%; border: 1px solid var(--accent); transform: rotateX(72deg); pointer-events: none; opacity: .45; animation: ping 4.8s ease-out infinite; }
.ping.second { animation-delay: -2.4s; }
.education .ping { animation-delay: -1.2s; }
.education .ping.second { animation-delay: -3.6s; }
.sector-trigger:hover .cube, .sector-trigger:focus-visible .cube, .sector-trigger[aria-expanded=true] .cube { transform: rotateX(-19deg) rotateY(-27deg) translateY(-9px); }
.sector-trigger:hover .ground-shadow, .sector-trigger[aria-expanded=true] .ground-shadow { opacity: .5; }
.sector-caption { display: block; border-top: 1px solid #ffffff20; padding-top: 16px; position: relative; }
.sector-caption::before { content: attr(data-index); position: absolute; right: 0; top: 19px; font: .6rem 'Courier New', monospace; color: #6b707b; }
.sector-caption h2, .sector-title { display: block; margin: 0; font-size: clamp(1.125rem, 1.9vw, 1.75rem); font-weight: 400; letter-spacing: -.035em; }
.sector-caption p, .status { display: block; margin: 9px 0 0; font: .625rem 'Courier New', monospace; letter-spacing: .035em; color: var(--muted); }
.future .sector-caption h2 { color: #969ba4; }
.status { color: var(--accent); }
.status i { display: inline-block; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 9px var(--glow); }
.arrow { display: inline-block; margin-left: 8px; font-size: .85em; color: var(--accent); transition: transform .3s; }
.sector-trigger:hover .arrow { transform: translate(3px,-3px); }
.explore-hint { margin: 26px 0 0; font: .625rem 'Courier New', monospace; letter-spacing: .05em; color: #8e949f; text-align: right; }
.explore-hint span { color: #d4d7dc; margin-right: 7px; }
footer { display: flex; justify-content: space-between; gap: 18px; align-items: center; border-top: 1px solid #ffffff13; padding-top: 16px; color: #7e848f; font: .6rem 'Courier New', monospace; letter-spacing: .04em; text-transform: uppercase; }
footer span:last-child { color: #a0a5ae; }

/* Shared information panel retains the existing keyboard and touch behaviour. */
.info-card { --card-accent: #ff8b61; position: fixed; z-index: 5; width: 350px; padding: 23px; background: #181c23; border: 1px solid #41464f; border-top: 2px solid var(--card-accent); border-radius: 4px; box-shadow: 0 24px 80px #0009; color: var(--ink); }
.info-card[data-sector=education] { --card-accent: #89b1ff; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.eyebrow { color: var(--card-accent); font: .6rem 'Courier New', monospace; letter-spacing: .1em; text-transform: uppercase; }
.close { flex-shrink: 0; background: #ffffff07; border: 1px solid #ffffff1a; border-radius: 50%; color: #d1d5db; font-size: 1.4rem; width: 36px; height: 36px; line-height: 1; cursor: pointer; margin: -8px -8px -5px 0; }
.close:hover { background: #ffffff18; }
.info-card h2 { font-size: 1.8rem; line-height: 1.1; font-weight: 500; letter-spacing: -.055em; margin: 22px 0 14px; }
.info-card > p { font-size: .85rem; line-height: 1.7; color: #b4bbc5; margin: 0 0 22px; }
.visit { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; width: 100%; background: #f47b52; color: #1b100c; border: 1px solid transparent; border-radius: 2px; font-size: .8rem; line-height: 1.5; text-decoration: none; }
.visit::after { content: '↗'; font-size: 1.1rem; }
.visit:hover { background: #ff936d; }
.visit[disabled] { background: #343941; border-color: #484e57; color: #a4abb5; cursor: not-allowed; }
.info-card .link-note { font-size: .65rem; margin: 10px 0 0; color: #a3a9b2; }
.backdrop { position: fixed; inset: 0; background: #05070bc4; backdrop-filter: blur(8px); z-index: 4; }
.info-card.compact { left: 50% !important; top: 50% !important; transform: translate(-50%,-50%); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; }
@keyframes float { 0%,100% { translate: 0 5px; } 50% { translate: 0 -7px; } }
@keyframes ping { 0% { transform: rotateX(72deg) scale(.75); opacity: .6; } 85%,100% { transform: rotateX(72deg) scale(1.75); opacity: 0; } }

@media (max-width: 680px) {
  :root { --cube: clamp(62px, min(21vw, 12.7vh), 100px); }
  .shell { padding: 22px 24px 17px; }
  .brand h1 { font-size: 1rem; }
  .header-note { font-size: .5rem; letter-spacing: .07em; }
  main { padding: 22px 0; }
  .intro { margin-bottom: 8px; }
  .intro h2 { font-size: clamp(2rem, 8vw, 3rem); line-height: 1; }
  .intro-note { display: none; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 25px; }
  .cube-space { height: calc(var(--cube) * 1.88); }
  .sector-caption { padding-top: 11px; }
  .sector-caption::before { top: 14px; font-size: .5rem; }
  .sector-title, .sector-caption h2 { font-size: 1.125rem; }
  .sector-caption p, .status { margin-top: 6px; font-size: .5625rem; }
  .ping { bottom: -16%; width: 76%; left: 12%; }
  .explore-hint { margin-top: 22px; font-size: .5625rem; text-align: center; }
  footer { font-size: .5rem; padding-top: 12px; }
  .info-card { width: min(350px, calc(100vw - 32px)); padding: 22px; }
}
@media (max-height: 700px) and (min-width: 681px) {
  :root { --cube: clamp(70px, 17vh, 115px); }
  .shell { padding-top: 18px; padding-bottom: 14px; }
  .intro h2 { font-size: clamp(2rem, 7vh, 3.5rem); }
  .intro { margin-bottom: 6px; }
  main { padding: 14px 0; }
  .explore-hint { margin-top: 18px; }
}
@media (max-height: 680px) and (max-width: 680px) {
  .shell { padding-top: 16px; padding-bottom: 12px; }
  main { padding: 16px 0; }
  .intro h2 { font-size: 1.9rem; }
  .intro h2 br { display: none; }
  .intro h2 span::before { content: ' '; }
  .sectors { gap: 17px 22px; }
  .explore-hint { margin-top: 18px; }
  footer { padding-top: 9px; }
}
/* When enlarged type cannot fit, reflow inside the viewport instead of clipping. */
.shell.accessible-overflow { height: 100dvh; min-height: 0; display: flex; flex-direction: column; overflow: auto; overscroll-behavior: contain; }
.shell.accessible-overflow main { flex: none; min-height: auto; padding-block: 28px; }
.shell.accessible-overflow footer { margin-top: auto; flex-shrink: 0; }
.shell.large-text { --cube: 95px; }
.shell.large-text .sectors { grid-template-columns: 1fr; max-width: 280px; margin-inline: auto; gap: 32px; }
.shell.large-text .brand { flex-shrink: 0; flex-wrap: wrap; }
.shell.large-text .intro { margin-bottom: 24px; }
.shell.large-text .intro h2 { font-size: 1.6rem; }
.shell.large-text .sector-caption { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ping { opacity: .24; }
  .ping.second { display: none; }
}
@media (max-height: 460px) and (min-width: 681px) {
  :root { --cube: clamp(55px, 15vh, 75px); }
  main { padding: 8px 0; }
  .intro h2 { font-size: 2rem; }
  .intro h2 br { display: none; }
  .intro h2 span::before { content: ' '; }
  .intro-note { display: none; }
  .sector-caption { padding-top: 10px; }
  .sector-caption::before { top: 13px; }
  .explore-hint { margin-top: 14px; }
}

/* Business services sit beside the introduction, not among the four sectors. */
.business-entry { text-align: right; flex-shrink: 0; padding-bottom: 7px; }
.business-trigger {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 36px;
  min-height: 48px; padding: 14px 19px; border: 1px solid #f2eee6;
  background: #f2eee6; color: #15191f; border-radius: 4px;
  font-size: .875rem; font-weight: 600; cursor: pointer;
}
.business-trigger:hover { background: #fff; border-color: #fff; }
.business-trigger span { font-size: 1.15em; }
.business-entry > p { margin: 10px 0 0; font-size: .6875rem; color: #a7adb7; }
.business-card { --card-accent: #e7dfca; width: min(550px, calc(100vw - 32px)); padding: 26px; }
.business-card .card-top { position: sticky; top: -26px; background: #181c23; z-index: 1; padding-block: 8px 12px; }
.business-card .eyebrow { max-width: 85%; line-height: 1.6; }
.business-card h2 { font-size: 2.2rem; max-width: 19rem; margin-top: 13px; }
.business-card .visit { background: #f2eee6; color: #15191f; }
.business-card .visit:hover { background: #fff; }
.business-card .visit[disabled] { background: #343941; color: #a4abb5; }
.business-details { margin: 0 0 23px; }
.business-details section + section { margin-top: 20px; }
.business-details h3 { font-size: .875rem; font-weight: 600; margin: 0 0 10px; color: #f0f0ed; }
.business-details p, .business-details li { font-size: .85rem; line-height: 1.65; color: #b4bbc5; }
.business-details p { margin: 0; }
.business-details ul { margin: 0; padding-left: 19px; }
.business-details li + li { margin-top: 6px; }
.business-details li::marker { color: #dcd1b8; }
@media (max-width: 680px) {
  .intro { gap: 12px; align-items: center; }
  .intro h2 { font-size: clamp(1.5rem, 6.5vw, 2.5rem); }
  .intro h2 br { display: initial; }
  .intro h2 span::before { content: none; }
  .business-entry { padding: 0; }
  .business-trigger { gap: 12px; padding: 12px; min-height: 44px; font-size: .75rem; }
  .business-entry > p { font-size: .5625rem; margin-top: 7px; }
  .sector-caption::before { top: 3px; }
  .business-card { padding: 20px; }
  .business-card .card-top { top: -20px; }
  .business-card h2 { font-size: 1.8rem; }
  .business-details { margin-bottom: 18px; }
  .business-details section + section { margin-top: 16px; }
}
@media (max-width: 680px) and (max-height: 600px) {
  :root { --cube: 58px; }
}
.shell.large-text .intro { flex-wrap: wrap; gap: 20px; }
.shell.large-text .business-entry { text-align: left; }
@media (max-height: 460px) and (min-width: 681px) {
  .business-entry > p { margin-top: 5px; }
  .business-entry { padding: 0; }
}
