/* RavenCorp — restored dark editorial identity. */
:root { --ink: #0b0d10; --panel: #14161a; --line: #2a2e35; --copy: #b8bdc6; --muted: #8b929e; --accent: #a84646; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--ink); color: var(--copy); font: 15px/1.65 'IBM Plex Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: #f5f5f6; font-weight: 600; line-height: 1.12; letter-spacing: -.035em; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: #632828; color: #fff; }
:focus-visible { outline: 2px solid var(--copy); outline-offset: 6px; }
.container { width: 100%; max-width: 1240px; margin: auto; padding: 0 48px; }
.font-mono, .section-label, .cta-link, .nav-wordmark, .tag, .channel-subtitle, .stat-label, .footer-copy, .form-group label, .map-bar { font-family: 'IBM Plex Mono', monospace; }
.section-label { color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
.section { padding: 96px 0; }
.section-lg { padding: 112px 0; }
.mb-4 { margin-bottom: 16px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mb-14 { margin-bottom: 56px; }
.rule-wrap { background: var(--ink); }
.rule, .rule-red { border: 0; border-top: 1px solid var(--line); }
.rule-red { border-color: #7a1e1e; }
.grid { display: grid; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-12 { grid-template-columns: 4fr 8fr; gap: 80px; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; transform: translateY(-180%); padding: 12px 20px; background: white; color: var(--ink); }
.skip-link:focus { transform: translateY(0); color: var(--ink); }
nav { position: fixed; z-index: 100; inset: 0 0 auto; padding: 24px 0; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
nav.scrolled { background: #0b0d10f2; border-color: var(--line); backdrop-filter: blur(12px); }
.nav-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-wordmark { display: inline-flex; align-items: center; gap: 12px; color: #f5f5f6; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.nav-mark { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #424650; }
.nav-mark svg { width: 16px; height: 16px; }
.cta-link { display: inline-flex; align-items: center; gap: 10px; border: 0; padding: 0; background: none; color: var(--copy); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.cta-link:hover { color: #fff; }
.cta-link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; fill: none; transition: transform .2s; }
.cta-link:hover svg { transform: translateX(3px); }
.hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 780px; height: 93svh; max-height: 1100px; background: var(--ink) url('/assets/img/raven-hero.webp') no-repeat 64% center / cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #0b0d10b8 0%, #0b0d1066 45%, transparent 78%), linear-gradient(0deg, var(--ink) 0%, transparent 25%, transparent 80%, #0b0d1055); pointer-events: none; }
.hero-content { position: relative; max-width: 760px; padding: 100px 0 72px; }
.hero h1 { font-size: clamp(48px, 6.4vw, 86px); font-weight: 600; line-height: 1.04; letter-spacing: -.055em; margin-bottom: 28px; }
.hero p:not(.section-label) { max-width: 460px; font-size: 16px; color: var(--copy); line-height: 1.65; margin-bottom: 34px; }
.hero .section-label { color: #a1a7b0; }
.capability-card { position: relative; background: var(--panel); padding: 36px 32px; border: 1px solid transparent; transition: border-color .2s; }
.capability-card:hover { border-color: #454a54; }
.capability-card h3 { font-size: 17px; margin-bottom: 14px; }
.capability-card p, .channel-body { font-size: 14px; line-height: 1.75; color: #acb2bd; }
.channel-card { display: flex; flex-direction: column; gap: 24px; background: var(--ink); padding: 40px 32px; transition: background .2s; }
.channel-card:hover { background: #101216; }
.channel-icon { width: 52px; height: 52px; margin-bottom: 8px; }
.channel-icon img { display: block; width: 100%; height: 100%; }
.channel-title { color: #f5f5f6; font-size: 24px; font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
.channel-subtitle { margin-top: 9px; color: #c27676; font-size: 10px; line-height: 1.7; letter-spacing: .09em; text-transform: uppercase; }
.channel-body { flex-grow: 1; }
.channel-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { color: #a3a9b3; border: 1px solid var(--line); padding: 5px 8px; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.map-wrapper { position: relative; border: 1px solid var(--line); overflow: hidden; background: #101216; }
.map-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 24px; background: #0b0d10db; font-size: 9px; letter-spacing: .12em; }
.map-bar.top { border-bottom: 1px solid var(--line); }
.map-bar.bottom { border-top: 1px solid var(--line); flex-wrap: wrap; }
.map-bar .label { color: var(--muted); }
.map-bar .coverage { color: #c27676; white-space: nowrap; }
.map-img { width: 100%; height: auto; display: block; }
.region { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; text-transform: uppercase; color: var(--copy); }
.region-dot { width: 4px; height: 4px; border-radius: 50%; background: #aa5454; }
.stat-card { border-left: 1px solid var(--line); padding: 20px 28px; }
.stat-number { color: #fff; display: block; font-size: clamp(32px, 4vw, 54px); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { display: block; font-size: 10px; color: var(--muted); letter-spacing: .1em; line-height: 1.6; margin-top: 16px; text-transform: uppercase; }
.philosophy { position: relative; padding: 160px 0; overflow: hidden; background: radial-gradient(ellipse at 50% 50%, #1c1e24, var(--ink) 70%); }
.philosophy::before { content: ''; position: absolute; inset: 0; opacity: .12; background-image: repeating-linear-gradient(115deg, transparent 0 38px, #777d891a 39px 40px); }
.philosophy-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink), transparent 45%, var(--ink)); }
.philosophy-content { position: relative; max-width: 800px; margin: auto; text-align: center; }
.philosophy-line { color: #f5f5f6; font-size: clamp(24px, 3.4vw, 42px); font-weight: 500; letter-spacing: -.03em; line-height: 1.3; margin-bottom: 18px; }
.philosophy-line:last-child { margin-bottom: 0; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; color: var(--muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.rc-input { display: block; width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 0; padding: 16px; color: var(--copy); font-size: 14px; outline: none; transition: border-color .2s; }
.rc-input:focus { border-color: #a3a9b3; color: #fff; }
.rc-input::placeholder { color: #7d8490; }
textarea.rc-input { min-height: 160px; resize: vertical; }
.contact-direct { margin-top: 36px; color: #d3d6dd; font-size: 13px; }
.contact-direct a { border-bottom: 1px solid #5d3030; padding-bottom: 5px; }
.form-status { margin-top: 20px; font-size: 13px; min-height: 22px; color: var(--muted); }
.form-status.is-error { color: #e7aaaa; }
#submit-btn { min-height: 32px; }
#submit-btn:disabled { opacity: .5; cursor: wait; }
.form-sent { padding: 40px 0; }
.form-sent .received { font-size: 15px; color: #fff; margin-bottom: 12px; }
.form-sent .follow-up { color: var(--muted); font-size: 14px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
footer { padding: 32px 0; border-top: 1px solid var(--line); }
.footer-copy { font-size: 9px; color: var(--muted); letter-spacing: .12em; }
.scroll-fade { opacity: 1; }
.reveal-ready { opacity: 0; transform: translateY(12px); transition: opacity .55s, transform .55s; }
.reveal-ready.visible { opacity: 1; transform: none; }
@media (max-width: 1000px) {
  .container { padding: 0 32px; }
  .hero h1 { font-size: 68px; }
  .hero-content { max-width: 640px; }
  .hero { min-height: 700px; background-position: 59% center; }
  .channel-card, .capability-card { padding: 28px 24px; }
  .grid-12 { gap: 40px; }
  .stat-card { padding: 20px; }
}
@media (max-width: 767px) {
  .container { padding: 0 24px; }
  nav { padding: 20px 0; }
  .nav-wordmark { font-size: 11px; gap: 9px; }
  .section, .section-lg { padding: 72px 0; }
  .hero { min-height: 700px; height: 93svh; max-height: 950px; justify-content: flex-end; background-position: 67% top; }
  .hero-overlay { background: linear-gradient(0deg, var(--ink) 3%, #0b0d10db 28%, #0b0d1055 62%, #0b0d1033); }
  .hero-content { padding: 140px 0 96px; max-width: 100%; }
  .hero h1 { font-size: clamp(41px, 8.5vw, 62px); line-height: 1.08; letter-spacing: -.05em; }
  .hero p:not(.section-label) { font-size: 14px; max-width: 320px; }
  .hero .section-label { margin-bottom: 20px !important; }
  .grid-3, .grid-12 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .grid-12 { gap: 48px; }
  .channel-card, .capability-card { padding: 32px; }
  .channel-card { gap: 18px; }
  .channel-icon { margin-bottom: 4px; }
  .map-bar { padding: 14px 16px; font-size: 8px; gap: 10px; }
  .map-bar.top { flex-wrap: wrap; }
  .map-bar.bottom { justify-content: flex-start; gap: 14px 20px; }
  .region { font-size: 8px; }
  .philosophy { padding: 100px 0; }
  .philosophy-line { font-size: 26px; }
  .stat-card { padding: 10px 16px; }
  .footer-inner { flex-wrap: wrap; gap: 24px; }
  #contact { padding-bottom: 80px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready { opacity: 1; transform: none; }
}

.nav-mark img { width: 24px; height: 24px; display: block; }
