/* ARCTURION GROUP — operating holding company.   serious. cinematic. ultramodern. */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --void: #000000;
  --ink: #04060a;
  --panel: #0a0e15;
  --panel-2: #11161f;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.05);
  --line-blue: rgba(58, 158, 255, 0.32);
  --text: #f4f6fb;
  --muted: #a8b0bf;
  --dim: #6a7180;
  --blue: #3a9eff;
  --blue-hot: #6dbcff;
  --blue-deep: #002a66;
  --silver: #c9d1de;
  --max: 1240px;
  --serif: "Inter", system-ui, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

::selection { background: rgba(58, 158, 255, 0.42); color: #fff; }

html {
  background: var(--void);
  color: var(--text);
  font-family: var(--serif);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(58, 158, 255, 0.10), transparent 28%),
    radial-gradient(circle at 82% 88%, rgba(58, 158, 255, 0.06), transparent 30%),
    linear-gradient(150deg, #000 0%, #02060d 60%, #000 100%);
  overflow-x: hidden;
}

body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 158, 255, 0.02) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, black 0%, black 36%, transparent 88%);
}

a { color: inherit; }

.grid {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0,0,0,0.92), rgba(0,0,0,0.5));
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand-lockup {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; white-space: nowrap;
  transition: opacity 200ms ease;
}
.brand-lockup:hover { opacity: 0.85; }

.brand-mark {
  width: 42px; height: 42px; object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(58, 158, 255, 0.55)) drop-shadow(0 0 28px rgba(58, 158, 255, 0.22));
  transition: filter 240ms ease, transform 240ms ease;
}
.brand-lockup:hover .brand-mark {
  filter: drop-shadow(0 0 18px rgba(109, 188, 255, 0.7)) drop-shadow(0 0 44px rgba(58, 158, 255, 0.35));
  transform: scale(1.04);
}

.brand-text {
  display: inline-flex; flex-direction: column; line-height: 1;
  font-family: var(--display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.brand-the {
  font-size: 0.6rem; color: var(--silver); letter-spacing: 0.32em;
  margin-bottom: 3px;
}
.brand-name {
  font-size: 0.82rem; font-weight: 600; color: #fff;
}

.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: lowercase;
  transition: color 200ms ease, text-shadow 200ms ease;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--blue-hot); transform: scaleX(0); transform-origin: left;
  transition: transform 240ms ease;
  box-shadow: 0 0 10px rgba(109, 188, 255, 0.7);
}
.nav a:hover { color: var(--blue-hot); text-shadow: 0 0 12px rgba(58, 158, 255, 0.5); }
.nav a:hover::after { transform: scaleX(1); }

main { position: relative; z-index: 1; }

/* ===== TYPE ===== */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.012em;
  color: #fff;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 1.02;
  margin-bottom: 24px;
  font-weight: 600;
}
h1 .accent {
  background: linear-gradient(90deg, var(--blue-hot), #fff 60%, var(--silver));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.12;
  max-width: 880px;
  font-weight: 600;
}

h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.2;
  margin-bottom: 12px;
  font-weight: 600;
}

p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
}

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-hot);
  text-shadow: 0 0 12px rgba(58, 158, 255, 0.5);
  margin-bottom: 18px;
}
.kicker .bar {
  display: inline-block; width: 28px; height: 1px;
  background: var(--blue-hot);
  box-shadow: 0 0 10px rgba(58, 158, 255, 0.7);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: clamp(120px, 14vh, 160px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: contrast(1.06) brightness(0.7) saturate(1.05);
  transform: scale(1.02);
  animation: hero-breathe 22s ease-in-out infinite;
}
@keyframes hero-breathe {
  0%, 100% { transform: scale(1.02); }
  50% { transform: scale(1.06); }
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 28%, rgba(0,0,0,0.65) 78%, rgba(0,0,0,0.95) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.36) 40%, rgba(0,0,0,0.18) 70%, rgba(0,0,0,0.6) 100%);
}

.hero-grid {
  position: relative; z-index: 2;
  padding-top: 0;
  padding-bottom: clamp(48px, 8vh, 96px);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}

.hero-meta {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--silver);
  text-transform: uppercase;
}
.hm-row { display: inline-flex; align-items: center; gap: 8px; }
.hm-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-hot);
  box-shadow: 0 0 10px rgba(58,158,255,0.85), 0 0 22px rgba(58,158,255,0.5);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.78); }
}
.hm-coord { color: var(--muted); font-size: 0.62rem; }
.hm-rev { color: var(--blue-hot); }

.hero-copy { max-width: 880px; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: #d6dae2;
  max-width: 640px;
  text-wrap: balance;
}

.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}
.btn-arrow { transition: transform 220ms ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn.primary {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-hot) 100%);
  color: #02101f;
  box-shadow: 0 0 28px rgba(58,158,255,0.32), 0 0 56px rgba(58,158,255,0.18);
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 36px rgba(58,158,255,0.55), 0 0 80px rgba(58,158,255,0.28);
}

.btn.ghost {
  background: rgba(255,255,255,0.025);
  border-color: var(--line-blue);
  color: #fff;
}
.btn.ghost:hover {
  background: rgba(58,158,255,0.08);
  border-color: var(--blue-hot);
  transform: translateY(-1px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
  max-width: 720px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero-stats > div { display: grid; gap: 4px; }
.stat-num {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.stat-lbl {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-marquee {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.mq-track {
  display: flex; gap: 56px; padding: 14px 0;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  color: rgba(244,246,251,0.62);
  text-transform: lowercase;
  animation: marquee 56s linear infinite;
  width: max-content;
}
.mq-track span { flex: 0 0 auto; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===== REVEAL ===== */
.reveal { opacity: 1; transform: none; }
.has-js .reveal.reveal-armed {
  opacity: 0; transform: translateY(22px);
  transition: opacity 720ms cubic-bezier(.2,.7,.2,1), transform 720ms cubic-bezier(.2,.7,.2,1);
}
.has-js .reveal.reveal-armed.reveal-in { opacity: 1; transform: none; }

/* ===== BAND ===== */
.band, .portfolio, .contact {
  padding: clamp(72px, 11vh, 128px) 0;
  border-bottom: 1px solid var(--line);
}

.band-head { padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); max-width: var(--max); margin: 0 auto 48px; }
.band-sub {
  margin-top: 14px;
  color: var(--muted);
  max-width: 720px;
  font-size: 1.05rem;
}

/* ===== THESIS GRID ===== */
.thesis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.thesis-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005)),
    rgba(10,14,21,0.72);
  transition: border-color 280ms ease, transform 280ms ease, box-shadow 280ms ease;
  overflow: hidden;
}
.thesis-card::after {
  content: ""; position: absolute; top: 0; right: 0;
  width: 38px; height: 38px;
  border-top: 1px solid var(--line-blue);
  border-right: 1px solid var(--line-blue);
  opacity: 0.7;
}
.thesis-card:hover {
  transform: translateY(-3px);
  border-color: rgba(58,158,255,0.36);
  box-shadow: 0 18px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(58,158,255,0.14);
}
.t-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--blue-hot);
  text-shadow: 0 0 10px rgba(58,158,255,0.5);
  text-transform: uppercase;
  margin-bottom: 22px;
  padding: 4px 9px;
  border: 1px solid rgba(58,158,255,0.34);
  background: rgba(58,158,255,0.06);
  border-radius: 2px;
}

/* ===== FULL-BLEED ===== */
.full-bleed {
  position: relative;
  min-height: clamp(540px, 78vh, 760px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.fb-media { position: absolute; inset: 0; z-index: 0; }
.fb-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: contrast(1.05) brightness(0.78) saturate(1.05);
  animation: hero-breathe 26s ease-in-out infinite;
}
.fb-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.22) 38%, rgba(0,0,0,0.32) 62%, rgba(0,0,0,0.78) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 28%, rgba(0,0,0,0.45) 100%);
}
.fb-overlay--bottom {
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.18) 26%, rgba(0,0,0,0.78) 78%, rgba(0,0,0,0.96) 100%);
}
.fb-content {
  position: relative; z-index: 2;
  padding-top: 64px; padding-bottom: 64px;
  display: grid; gap: 18px;
}
.fb-content--bottom { align-self: flex-end; }
.fb-line {
  max-width: 780px;
  color: #e8ebf2;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  text-shadow: 0 0 16px rgba(0,0,0,0.7);
  text-wrap: balance;
}

.full-bleed .full-bleed--bottom { /* placeholder */ }
.full-bleed--bottom .fb-content { align-self: flex-end; padding-bottom: 72px; }

.op-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  margin-top: 22px;
}
.op-list li {
  display: grid;
  grid-template-columns: 32px 110px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-left: 1px solid rgba(58,158,255,0.36);
  border-radius: 2px;
  background: rgba(8,12,18,0.62);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #d6dae2;
  text-transform: lowercase;
}
.op-list li:hover {
  border-left-color: var(--blue-hot);
  background: rgba(58,158,255,0.06);
}
.op-tag {
  color: var(--blue-hot);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(58,158,255,0.4);
}
.op-name {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  text-transform: uppercase;
}
.op-role { color: var(--muted); font-size: 0.72rem; }

/* ===== PORTFOLIO ===== */
.port-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.port-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008)),
    rgba(10,14,21,0.72);
  display: grid;
  gap: 18px;
  align-content: start;
  transition: border-color 280ms ease, transform 280ms ease, box-shadow 280ms ease;
  overflow: hidden;
}
.port-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58,158,255,0.6), transparent);
  opacity: 0; transition: opacity 280ms ease;
}
.port-card:hover {
  transform: translateY(-3px);
  border-color: rgba(58,158,255,0.36);
  box-shadow: 0 22px 70px rgba(0,0,0,0.6), 0 0 0 1px rgba(58,158,255,0.16);
}
.port-card:hover::before { opacity: 1; }

.port-card--lg { grid-column: span 2; grid-row: span 2; }
.port-card--wide { grid-column: span 3; }

.port-card header { display: grid; gap: 8px; }
.pc-tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--blue-hot);
  text-shadow: 0 0 10px rgba(58,158,255,0.45);
}
.pc-meta {
  list-style: none; display: grid; gap: 6px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: lowercase;
  border-left: 1px solid var(--line-blue);
  padding-left: 14px;
}
.pc-meta li::before { content: "· "; color: var(--blue-hot); margin-right: 4px; }
.pc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: var(--blue-hot);
  text-transform: lowercase;
  margin-top: auto;
  transition: color 220ms ease;
  border-bottom: 1px solid rgba(58,158,255,0.34);
  padding-bottom: 2px;
  align-self: start;
  width: fit-content;
}
.pc-link:hover { color: #fff; border-bottom-color: #fff; }
.pc-link--internal { border: 1px solid var(--line); color: var(--dim); padding: 6px 10px; border-radius: 2px; cursor: default; }
.pc-link--internal:hover { color: var(--dim); border-color: var(--line); }

/* ===== DATA BAND ===== */
.data-band {
  position: relative; min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.db-media { position: absolute; inset: 0; z-index: 0; }
.db-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.06) brightness(0.6) saturate(1.1);
}
.db-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0.92) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 40%, rgba(0,0,0,0.5) 100%);
}
.db-content {
  position: relative; z-index: 2;
  padding: 64px 0; display: grid; gap: 24px;
}
.db-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.db-stats > div {
  display: grid; gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(6px);
}
.ds-num {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #fff;
}
.ds-lbl {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008)),
    rgba(10,14,21,0.72);
}
.contact-card h3 {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--blue-hot);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.contact-card a {
  color: var(--blue-hot);
  text-decoration: none;
  border-bottom: 1px solid rgba(58,158,255,0.36);
  transition: color 220ms ease, border-color 220ms ease;
}
.contact-card a:hover { color: #fff; border-bottom-color: #fff; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--void);
  border-top: 1px solid var(--line);
  padding: 32px 0 28px;
}
.ft-row {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
.ft-mark {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.24em;
  color: #fff;
}
.ft-meta {
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
  margin-top: 18px;
  font-size: 0.66rem;
  color: var(--dim);
  text-transform: lowercase;
  letter-spacing: 0.18em;
}
.ft-links { display: flex; gap: 22px; flex-wrap: wrap; }
.ft-links a { color: var(--muted); text-decoration: none; transition: color 200ms ease; }
.ft-links a:hover { color: var(--blue-hot); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: row; flex-wrap: wrap; gap: 18px; }
  .thesis-grid { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr; }
  .port-card--lg, .port-card--wide { grid-column: span 1; grid-row: span 1; }
  .db-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav { gap: 14px; }
  .nav a { font-size: 0.7rem; }
  h1 { font-size: 2.4rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .op-list li { grid-template-columns: 24px 90px 1fr; gap: 8px; padding: 10px 12px; }
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img, .fb-media img, .mq-track, .hm-dot { animation: none !important; }
  .has-js .reveal.reveal-armed { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
