/* ====================================================================
   FOR MEDIA — one-page site styles
   --------------------------------------------------------------------
   Contents
   00. Design tokens & base
   01. Utilities (container, buttons, kickers, reveals, grain, guides)
   02. Sticky navigation
   03. Hero
   04. About
   05. Services
   06. Logo marquee (rights-holder strip)
   07. Partners (map + case study)
   08. Values
   09. Broadcasters
   10. News
   11. Contact
   12. Footer
   13. Responsive
   14. Reduced motion
   15. Contact form components
   ==================================================================== */

/* ============ 00. DESIGN TOKENS & BASE ============ */
:root {
  --bg-0: #0c1424;          /* page background — deep navy          */
  --bg-1: #131d31;          /* alternating section background       */
  --bg-2: #1b2740;          /* panel background                     */
  --panel: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.16);
  --ink: #f2f5fa;           /* primary text                         */
  --muted: #b3bed1;         /* secondary text — silver              */
  --accent: #3cc7d4;        /* broadcast teal — single accent      */
  --accent-soft: rgba(60, 199, 212, 0.12);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1); /* ease-out-expo-ish */
  --header-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  line-height: 1.05;
  font-weight: 640;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

a { color: inherit; }

::selection { background: var(--accent); color: #03171a; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 200;
  background: var(--accent); color: #03171a;
  padding: 10px 18px; font-weight: 600; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ============ 01. UTILITIES ============ */
.container {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section { position: relative; padding: clamp(96px, 12vw, 168px) 0; }

.section-head {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.section-head .index {
  color: var(--accent);
  font-size: 0.78rem;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head::after {
  content: ""; flex: 1; height: 1px;
  background: var(--line); transform: translateY(-4px);
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  max-width: 21ch;
  margin-bottom: 22px;
}
.section-sub {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.05rem;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 34px;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
              color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--ink); color: #0a0f17; }
.btn-solid:hover { background: var(--accent); color: #03171a; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 19px 46px; font-size: 1rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.text-link span { transition: transform 0.3s var(--ease); }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link:hover span { transform: translateX(5px); }

/* Stats */
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-stretch: 116%;
  font-weight: 700;
  font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: 1;
  color: var(--ink);
}
.stat-label { display: block; margin-top: 10px; }

/* Live dot */
.live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); margin-right: 10px;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Film grain overlay */
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2"/></filter><rect width="180" height="180" filter="url(%23n)" opacity="0.8"/></svg>');
}

/* Faint vertical guide lines across the whole page */
.page-guides {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  width: min(1240px, 100% - 48px); margin-inline: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}
.page-guides::before {
  content: ""; position: absolute; inset: 0; left: 50%; width: 1px;
  background: rgba(255, 255, 255, 0.025);
}
main, .site-footer { position: relative; z-index: 1; }

/* Scroll reveals (JS adds .is-visible) */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============ 02. STICKY NAVIGATION ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(12, 20, 36, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  width: min(1340px, 100% - 48px);
  margin-inline: auto;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand img { width: 96px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 38px; }
.main-nav ul { display: flex; gap: 30px; list-style: none; }
.nav-link {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 8px 0;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.btn-nav { padding: 11px 24px; font-size: 0.78rem; }

/* Mobile toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 7px;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); cursor: pointer;
  transition: border-color 0.3s var(--ease);
}
.nav-toggle span {
  display: block; height: 1.5px; margin-inline: 10px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ============ 03. HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--bg-0); }
.hero-media img {
  width: 100%; height: 112%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02) brightness(1.06);
  animation: kenburns 16s var(--ease) both;
  will-change: transform;
}
.hero-media video {
  width: 100%; height: 112%;
  object-fit: cover;
  /* pin the visible window to the bottom of the frame so the top-corner logos stay cropped out */
  object-position: 50% 100%;
  transform: scale(1.3);
  filter: saturate(0.9) contrast(1.02) brightness(1.06);
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.12); }
  to   { transform: scale(1.02); }
}
.hero-grade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg-0) 3%, rgba(12, 20, 36, 0.3) 34%, rgba(12, 20, 36, 0.08) 62%, rgba(12, 20, 36, 0.46) 100%),
    linear-gradient(100deg, rgba(12, 20, 36, 0.6) 8%, rgba(12, 20, 36, 0.04) 62%),
    radial-gradient(80% 60% at 75% 35%, rgba(60, 199, 212, 0.08), transparent 70%);
}

/* Broadcast HUD frame */
.hero-hud { position: absolute; inset: clamp(96px, 11vh, 130px) clamp(22px, 4vw, 56px) clamp(28px, 5vh, 56px); pointer-events: none; }
.hud.corner { position: absolute; width: 22px; height: 22px; border: 1px solid rgba(255, 255, 255, 0.35); }
.hud.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud.label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
}
.hud-tl { top: 6px; left: 38px; }
.hud-tr { top: 6px; right: 38px; }

.hero-content { padding-bottom: clamp(90px, 14vh, 150px); }
.hero-title {
  font-size: clamp(3.2rem, 8.5vw, 7.5rem);
  font-weight: 720;
  font-stretch: 122%;
  letter-spacing: 0.005em;
  line-height: 0.92;
  text-transform: uppercase;
}
.hero-title .line { display: block; }
.hero-title .dim {
  background: linear-gradient(95deg, var(--ink) 30%, #5d6b80 115%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  max-width: 34ch;
  color: var(--ink);
}
.hero-meta { margin-top: 14px; }
.hero-cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; right: clamp(24px, 4vw, 58px); bottom: 0;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-decoration: none;
}
.scroll-cue .mono { font-size: 0.62rem; letter-spacing: 0.3em; }
.cue-line {
  width: 1px; height: 72px;
  background: linear-gradient(var(--accent), transparent);
  animation: cue 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); } 45% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ============ 04. ABOUT ============ */
.about { background: var(--bg-0); }
.about-statement {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  max-width: 20ch;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.about-statement em {
  font-style: normal;
  color: var(--accent);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-copy .lede {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 28px;
}
.about-copy p + p { margin-top: 22px; }
.about-copy p { color: var(--muted); }

.about-rail {
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 3vw, 40px);
  display: grid; gap: 34px;
}
.regions { list-style: none; display: grid; gap: 12px; }
.regions li {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.regions li::before {
  content: ""; width: 6px; height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}
.rail-figure { overflow: hidden; }
.rail-figure img {
  transition: transform 0.8s var(--ease);
}
.rail-figure:hover img { transform: scale(1.05); }

/* ============ 05. SERVICES ============ */
.services { background: var(--bg-1); padding-bottom: clamp(56px, 7vw, 96px); }
.services-grid {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.svc-card {
  position: relative;
  grid-column: span 5;
  min-height: 380px;
  display: flex; align-items: flex-end;
  padding: clamp(26px, 3vw, 40px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.svc-wide { grid-column: span 7; }
.svc-card:hover { border-color: rgba(60, 199, 212, 0.45); transform: translateY(-4px); }

.svc-img { position: absolute; inset: 0; z-index: -1; }
.svc-img img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.5) contrast(1.05);
  transition: opacity 0.6s var(--ease), transform 1.1s var(--ease), filter 0.6s var(--ease);
}
.svc-card:hover .svc-img img { opacity: 0.3; transform: scale(1.06); filter: saturate(0.75); }
.svc-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(19, 29, 49, 0.92) 18%, rgba(19, 29, 49, 0.42) 70%, rgba(19, 29, 49, 0.68));
}

.svc-body { position: relative; }
.svc-no {
  display: block; color: var(--accent); margin-bottom: 16px;
}
.svc-body h3 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  margin-bottom: 12px;
}
.svc-body p { color: var(--muted); max-width: 52ch; font-size: 0.98rem; }
.svc-body .text-link { margin-top: 20px; }

.chips {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
}
.chips li {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 7px 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.chips li:hover { border-color: var(--accent); color: var(--accent); }

/* ============ 06. LOGO MARQUEE ============ */
.logo-strip {
  padding: clamp(44px, 6vw, 68px) 0;
  border-block: 1px solid var(--line);
  background: var(--bg-0);
  overflow: hidden;
}
.strip-label { text-align: center; letter-spacing: 0.26em; }
.marquee {
  margin-top: 36px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex; align-items: center;
  list-style: none;
  flex: none;
}
.marquee-item {
  display: flex; align-items: center;
  gap: clamp(40px, 5vw, 84px);
  padding-right: clamp(40px, 5vw, 84px);
}
/* diamond separator between marks */
.marquee-item::after {
  content: ""; flex: none;
  width: 5px; height: 5px;
  background: var(--accent); opacity: 0.45;
  transform: rotate(45deg);
}
.mark {
  white-space: nowrap;
  font-family: var(--font-display);
  font-stretch: 116%;
  font-weight: 620;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(238, 242, 247, 0.5);
  transition: color 0.4s var(--ease);
}
.marquee-item:hover .mark { color: var(--ink); }
/* image-logo variant — used if wordmarks are swapped for logo files */
.marquee-item img {
  height: 36px; width: auto;
  filter: brightness(0) invert(1);  /* white monochrome treatment */
  opacity: 0.6;
  transition: opacity 0.4s var(--ease);
}
.marquee-item:hover img { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ 07. PARTNERS ============ */
.partners { background: var(--bg-1); }

.network {
  position: relative;
  width: 75%;
  margin-inline: auto;
  margin-block: clamp(48px, 6vw, 80px) clamp(56px, 7vw, 96px);
}
.network-map {
  width: 100%;
  /* existing black-on-white dotted map artwork, re-graded for dark theme */
  filter: invert(1) hue-rotate(305deg) saturate(1.6) brightness(1.25);
  mix-blend-mode: screen;
  opacity: 0.72;
}
.network-arcs {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  fill: none;
}
.network-arcs path {
  stroke: var(--accent);
  stroke-width: 1.2;
  opacity: 0.65;
  stroke-dasharray: 6 9;
  animation: arcs 26s linear infinite;
}
@keyframes arcs { to { stroke-dashoffset: -600; } }
.network-arcs circle {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent));
  animation: node-pulse 3s infinite;
}
@keyframes node-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.network-arcs circle:nth-of-type(odd) { animation-delay: 1.4s; }

.case {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.case-media { position: relative; overflow: hidden; min-height: 340px; }
.case-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.75);
  transition: transform 1.1s var(--ease);
}
.case:hover .case-media img { transform: scale(1.04); }
.case-media figcaption {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  padding: 7px 13px;
  background: rgba(12, 20, 36, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--accent);
}
.case-body { padding: clamp(30px, 4vw, 56px); }
.case-body h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: 10px; }
.case-period { color: var(--accent); margin-bottom: 20px; }
.case-body > p:not(.mono) { color: var(--muted); }
.case-stats {
  display: flex; gap: clamp(32px, 4vw, 64px);
  margin-block: 30px 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

/* ============ 08. VALUES ============ */
.values { background: var(--bg-0); }
.values-grid {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.value {
  padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease);
}
.value:hover { background: var(--panel); }
.value .mono { color: var(--accent); }
.value h3 { font-size: 1.3rem; margin-block: 14px 10px; }
.value p { color: var(--muted); font-size: 0.95rem; }

/* ============ 09. BROADCASTERS ============ */
.broadcasters {
  position: relative;
  isolation: isolate;
  min-height: 88vh;
  display: flex; align-items: center;
}
.bc-media { position: absolute; inset: 0; z-index: -1; }
.bc-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.95) brightness(1.02);
}
.bc-grade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--bg-0) 2%, rgba(12, 20, 36, 0.4) 30%, rgba(12, 20, 36, 0.46) 70%, var(--bg-0) 98%),
    linear-gradient(95deg, rgba(12, 20, 36, 0.78) 16%, rgba(12, 20, 36, 0.12) 80%);
}
.bc-content .section-title { font-size: clamp(2rem, 4.4vw, 3.8rem); }
.bc-content .section-sub { max-width: 56ch; }

.bc-meta {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  padding: 18px 24px;
  width: fit-content;
  border: 1px solid var(--line);
  background: rgba(12, 20, 36, 0.55);
  backdrop-filter: blur(10px);
}
.onair { color: var(--ink); }
.signal-bars { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.signal-bars span {
  width: 3px; background: var(--accent);
  animation: bars 1.6s var(--ease) infinite;
}
.signal-bars span:nth-child(1) { height: 35%; animation-delay: 0s; }
.signal-bars span:nth-child(2) { height: 65%; animation-delay: 0.15s; }
.signal-bars span:nth-child(3) { height: 100%; animation-delay: 0.3s; }
.signal-bars span:nth-child(4) { height: 55%; animation-delay: 0.45s; }
.signal-bars span:nth-child(5) { height: 80%; animation-delay: 0.6s; }
@keyframes bars { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
.bc-line { font-size: 0.68rem; }

/* ============ 10. NEWS ============ */
.news { background: var(--bg-1); padding-top: clamp(64px, 8vw, 112px); }
.news-list {
  list-style: none;
  margin-block: clamp(40px, 5vw, 60px) 44px;
  border-top: 1px solid var(--line);
}
.news-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center; gap: 24px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), padding-left 0.4s var(--ease);
}
.news-list li:hover .news-row { background: var(--panel); padding-left: 20px; }

/* Accordion behaviour */
.news-item summary { cursor: pointer; list-style: none; }
.news-item summary::-webkit-details-marker { display: none; }
.news-toggle {
  position: relative; width: 16px; height: 16px;
  justify-self: end;
}
.news-toggle::before, .news-toggle::after {
  content: ""; position: absolute; background: var(--accent);
  transition: transform 0.35s var(--ease);
}
.news-toggle::before { left: 0; right: 0; top: 7px; height: 2px; }
.news-toggle::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.news-item[open] .news-toggle::after { transform: scaleY(0); }
.news-item[open] .news-row { background: var(--panel); }

.news-body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: clamp(24px, 3vw, 40px) 8px clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  animation: news-open 0.6s var(--ease) both;
}
@keyframes news-open {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.news-text p { color: var(--muted); }
.news-text p + p { margin-top: 16px; }

/* Framed image panel */
.news-figure {
  position: relative;
  margin: 10px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 10px;
}
.news-figure::before {
  content: ""; position: absolute; inset: -10px;
  border: 1px solid rgba(60, 199, 212, 0.35);
  pointer-events: none;
}
.news-figure img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
}
.news-no { color: var(--accent); }
.news-title {
  font-family: var(--font-display);
  font-stretch: 106%;
  font-weight: 560;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  line-height: 1.3;
}
.news-note { letter-spacing: 0.2em; }

/* ============ 11. CONTACT ============ */
.contact {
  background:
    radial-gradient(60% 90% at 50% 110%, rgba(60, 199, 212, 0.1), transparent 70%),
    var(--bg-0);
}
.contact-title {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  max-width: 18ch;
  margin-bottom: 20px;
}
.contact-intro > p { color: var(--muted); }

/* ============ 12. FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-0);
  padding: 44px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.footer-logo { width: 76px; }
.footer-nav { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a {
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy { letter-spacing: 0.1em; }

/* ============ 13. RESPONSIVE ============ */
@media (max-width: 1024px) {
  .svc-card, .svc-wide { grid-column: span 6; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .case { grid-template-columns: 1fr; }
  .case-media { min-height: 280px; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }

  /* Mobile nav: full-screen overlay */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(12, 20, 36, 0.96);
    backdrop-filter: blur(18px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s var(--ease);
  }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 22px; }
  .nav-link { font-size: 1.05rem; letter-spacing: 0.24em; }

  .hero-content { padding-bottom: 110px; }
  .hero-sub { font-size: 1.05rem; }
  .hud.label { display: none; }
  .scroll-cue { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-rail {
    border-left: 0; padding-left: 0;
    border-top: 1px solid var(--line); padding-top: 34px;
  }

  .svc-card, .svc-wide { grid-column: span 12; min-height: 300px; }

  .values-grid { grid-template-columns: 1fr; }

  .news-row { grid-template-columns: 1fr auto; }
  .news-no { display: none; }
  .news-body { grid-template-columns: 1fr; }
  .news-figure { margin-top: 24px; }

  .footer-inner { flex-direction: column; text-align: center; }
}

/* ============ 15. CONTACT FORM COMPONENTS ============ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: start;
}
.contact-intro p { color: var(--muted); }
.contact-intro p + p { margin-top: 14px; }
.contact-points { list-style: none; margin-top: 30px; display: grid; gap: 12px; }
.contact-points li {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 0.95rem;
}
.contact-points li::before {
  content: ""; flex: none; width: 6px; height: 6px;
  background: var(--accent); transform: rotate(45deg);
}

.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 9px; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit; font-size: 0.98rem;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(147, 160, 180, 0.45); }
.field textarea { min-height: 170px; resize: vertical; }
.form .btn { justify-self: start; cursor: pointer; }
.form .btn:disabled { opacity: 0.6; cursor: default; }
.hp { display: none; }
.form-note {
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--line);
  background: var(--accent-soft);
  padding: 14px 18px;
}
.form-note.is-success { color: var(--accent); border-color: var(--line); background: var(--accent-soft); }
.form-note.is-error {
  color: #ff9b9b;
  border-color: rgba(255, 90, 90, 0.4);
  background: rgba(255, 70, 70, 0.08);
}

/* --- Contact form responsive --- */
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============ 14. REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-media img { animation: none; transform: none; }
  .hero-media video { transform: scale(1.275); }
}
