:root {
  color-scheme: dark;
  --ink: #f3eddc;
  --muted: #aab6b6;
  --navy: #061725;
  --enamel: #0a2438;
  --enamel-light: #113550;
  --line: rgba(206, 224, 218, 0.18);
  --amber: #f7a928;
  --amber-soft: #ffd27a;
  --green: #83d6a0;
  --max: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -20%, rgba(37, 86, 116, 0.34), transparent 42rem),
    var(--navy);
  color: var(--ink);
  font: 400 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-shell {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.wordmark-mark { display: inline-flex; gap: 3px; align-items: flex-end; height: 20px; }
.wordmark-mark i { width: 4px; border-radius: 4px; background: var(--amber); box-shadow: 0 0 8px rgba(247, 169, 40, 0.45); }
.wordmark-mark i:nth-child(1) { height: 9px; }
.wordmark-mark i:nth-child(2) { height: 19px; }
.wordmark-mark i:nth-child(3) { height: 13px; }

nav { display: flex; gap: clamp(1.2rem, 4vw, 2.5rem); }
nav a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
nav a:hover, nav a:focus-visible { color: var(--ink); }

.hero {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding: 5rem 0 6rem;
}

.eyebrow {
  margin: 0 0 1.3rem;
  color: var(--amber-soft);
  font: 700 0.78rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
}

h1, h2, h3, p { overflow-wrap: break-word; }

h1, h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 { font-size: clamp(3.5rem, 7vw, 6.8rem); }
h1 em { color: var(--amber-soft); font-weight: 400; }
h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); }

.hero-intro {
  max-width: 35rem;
  margin: 2rem 0;
  color: #c4cdca;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.text-link {
  display: inline-block;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid var(--amber);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.scope {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.55;
  overflow: hidden;
  border: 1px solid rgba(247, 169, 40, 0.3);
  border-radius: 48% / 16%;
  background: #04111b;
  box-shadow: inset 0 0 60px #02080d, 0 24px 70px rgba(0, 0, 0, 0.25);
}

.scope::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;
  border: 1px solid rgba(243, 237, 220, 0.08);
  border-radius: inherit;
  pointer-events: none;
}

.scope-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(247, 169, 40, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 169, 40, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse, black 35%, transparent 82%);
}

.scope svg { position: absolute; inset: 12% 0 auto; width: 100%; }
.scope path { fill: none; }
.scope-glow { stroke: var(--amber); stroke-width: 11; opacity: 0.12; filter: blur(5px); }
.scope-line { stroke: var(--amber-soft); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 720; animation: trace 5s ease-out both; }

.scope-readout {
  position: absolute;
  right: 8%;
  bottom: 10%;
  left: 8%;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 210, 122, 0.68);
  font: 600 0.7rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.12em;
}

.projects-section { padding: 6.5rem 0; border-top: 1px solid var(--line); }

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.55fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 3.2rem;
}

.section-heading p:last-child { margin: 0 0 0.3rem; color: var(--muted); }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }

.project-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--enamel-light), var(--enamel));
  box-shadow: inset 0 1px rgba(255,255,255,0.05), 0 18px 40px rgba(0,0,0,0.16);
}

.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.channel-label, .status { font: 700 0.72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.channel-label { color: var(--amber-soft); }
.status { color: #c8d6d1; }
.status i { display: inline-block; width: 7px; height: 7px; margin-right: 0.35rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(131,214,160,0.7); }

.project-visual {
  height: 210px;
  margin: 1.6rem 0 1.8rem;
  border: 1px solid rgba(206,224,218,0.12);
  border-radius: 10px;
  background: rgba(2, 12, 19, 0.52);
}

.globe-visual { display: grid; place-items: center; }
.globe-visual svg { width: min(86%, 280px); }
.globe-visual circle, .globe-visual ellipse, .globe-visual path { fill: none; stroke: rgba(255, 210, 122, 0.6); stroke-width: 1.2; }
.globe-visual .globe-beacon { fill: var(--amber); stroke: none; filter: drop-shadow(0 0 7px var(--amber)); }
.globe-visual .globe-pulse { stroke: var(--amber); opacity: 0.8; }

.waveform-visual { display: grid; place-items: center; align-content: center; gap: 1.2rem; padding: 1.25rem; }
.wave-bars { display: flex; width: min(100%, 360px); height: 88px; align-items: center; justify-content: center; gap: clamp(5px, 1.3vw, 10px); }
.wave-bars i { flex: 1; height: var(--h); max-width: 6px; min-width: 3px; border-radius: 5px; background: var(--amber-soft); box-shadow: 0 0 8px rgba(247,169,40,0.18); }
.timecode { color: rgba(255,210,122,0.65); font: 600 0.72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0.15em; }

.card-copy { flex: 1; }
.project-kind { margin: 0 0 0.6rem; color: var(--amber-soft); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.card-copy h3 { margin: 0; font: 400 clamp(1.8rem, 4vw, 2.65rem)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -0.03em; }
.card-copy > p:last-child { max-width: 31rem; margin: 1rem 0 0; color: #b9c5c2; }

.card-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1rem;
  border: 1px solid var(--amber);
  border-radius: 6px;
  background: var(--amber);
  color: #14202a;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}
.button:hover { background: var(--amber-soft); border-color: var(--amber-soft); }
.button-secondary { background: transparent; color: var(--ink); border-color: rgba(243,237,220,0.32); }
.button-secondary:hover { background: rgba(243,237,220,0.08); border-color: rgba(243,237,220,0.55); }

.future-channel {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 0.6rem 0.2rem 0;
  color: #71828a;
  font: 600 0.7rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.future-channel div { flex: 1; border-top: 1px dashed rgba(113,130,138,0.4); }

.services-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 7rem);
  padding: 7rem 0;
  border-top: 1px solid var(--line);
}

.service-list article { display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.service-list article:first-child { padding-top: 0; }
.service-icon { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(247,169,40,0.42); border-radius: 50%; color: var(--amber-soft); font: 700 0.68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.service-list h3 { margin: 0; font-size: 1.12rem; }
.service-list p { margin: 0.4rem 0 0; color: var(--muted); }

footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2rem 0 2.5rem; border-top: 1px solid var(--line); color: #7f9095; font-size: 0.82rem; }
footer p { margin: 0; }
footer span { color: var(--amber); }

:focus-visible { outline: 3px solid var(--amber-soft); outline-offset: 4px; }

@keyframes trace { from { stroke-dashoffset: 720; } to { stroke-dashoffset: 0; } }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr); gap: 3.5rem; padding: 5rem 0; }
  .hero > * { min-width: 0; }
  .hero-copy { max-width: 680px; }
  .scope { width: 100%; max-width: 680px; justify-self: center; }
  .services-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-shell { width: min(calc(100% - 1.25rem), var(--max)); }
  .site-header { min-height: 76px; }
  .wordmark { font-size: 0.78rem; letter-spacing: 0.06em; }
  nav { gap: 0.85rem; }
  nav a { font-size: 0.82rem; }
  .hero { padding: 4.2rem 0; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .scope-readout span:last-child { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .project-grid { grid-template-columns: 1fr; }
  .project-visual { height: 180px; }
  .future-channel span:last-child { display: none; }
  .services-section { padding: 5.5rem 0; }
  footer { flex-direction: column; gap: 0.25rem; }
}

@media (max-width: 440px) {
  .site-header nav a:first-child { display: none; }
  .card-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .scope { aspect-ratio: 1.32; }
}

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