/* Vaelor — public website (ink + signal teal) */

:root {
  --bg: #0B0F14;
  --bg-2: #0D1219;
  --panel: #121821;
  --panel-2: #0E131A;
  --line: rgba(138, 148, 166, 0.15);
  --text-2: #A8B0BE;
  --text-3: #C7CDD8;
  --muted: #8A94A6;
  --faint: #5F6874;
  --accent: #2DD4BF;
  --accent-hover: #5EEAD4;
  --display: 'Space Grotesk', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --gutter: clamp(20px, 5vw, 72px);
}

html, body { margin: 0; background: var(--bg); scroll-behavior: smooth; }
* { box-sizing: border-box; }
::selection { background: var(--accent); color: #0B0F14; }
a { color: var(--accent); text-decoration: none; transition: color 150ms, background 150ms, border-color 150ms, transform 150ms; }
a:hover { color: #5EEAD4; }
input, textarea, select, button { font-family: inherit; }
body { color: #fff; font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }

.wrap { max-width: 1560px; margin: 0 auto; }
.section { padding: clamp(64px, 9vh, 112px) var(--gutter); }
.section.alt { border-top: 1px solid rgba(138, 148, 166, 0.12); background: var(--bg-2); }
.section.line { border-top: 1px solid rgba(138, 148, 166, 0.12); }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 4px; color: var(--accent); text-transform: uppercase; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.5px; margin: 16px 0 0; text-wrap: balance; }
.lead { font-size: 16px; line-height: 1.65; color: var(--text-2); max-width: 60ch; margin: 18px 0 0; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 15, 20, 0.82); border-bottom: 1px solid rgba(138, 148, 166, 0.12);
}
.logo { display: flex; align-items: center; gap: 11px; color: #fff; }
.logo:hover { color: #fff; }
.logo img { width: 30px; height: 31px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 2.6px; }
.logo-text small { font-family: var(--mono); font-size: 8px; letter-spacing: 3.4px; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--text-3); font-size: 14px; font-weight: 500; }
.nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; cursor: pointer;
  padding: 15px 28px; border-radius: 6px; font-size: 14px; font-weight: 600; letter-spacing: 0.5px; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #0A0B0D; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #0A0B0D; transform: translateY(-2px); }
.btn-secondary { background: var(--panel); border-color: rgba(138, 148, 166, 0.28); color: #E6E9EF; }
.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-sm { padding: 11px 20px; font-size: 13px; letter-spacing: 0.4px; }
.btn-sm:hover { transform: none; }
.btn-ghost { padding: 10px 16px; font-size: 13px; color: var(--text-3); border-color: rgba(138, 148, 166, 0.28); background: transparent; }
.btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, 0.55); }

@media (max-width: 899px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(11, 15, 20, 0.97); border-bottom: 1px solid rgba(138, 148, 166, 0.12); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(138, 148, 166, 0.08); }
  .menu-toggle { display: inline-flex; padding: 10px 12px; background: transparent; border: 1px solid rgba(138, 148, 166, 0.28); border-radius: 6px; color: #fff; cursor: pointer; font-size: 13px; }
  .header-actions .btn-ghost { display: none; }
}
.logo-text small { white-space: nowrap; }
@media (max-width: 480px) {
  .header-actions .btn-sm { padding: 10px 14px; font-size: 12px; }
  .logo-text small { display: none; }
}

/* ---------------------------------------------------------------- hero */

.hero { position: relative; max-width: 1560px; margin: 0 auto; padding: clamp(56px, 9vh, 112px) var(--gutter) clamp(56px, 8vh, 96px); }
.hero-glow { position: absolute; top: -120px; right: 4%; width: 640px; height: 640px; max-width: 100%; border-radius: 50%; background: radial-gradient(circle, rgba(45, 212, 191, 0.07), rgba(45, 212, 191, 0) 68%); pointer-events: none; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(138, 148, 166, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(138, 148, 166, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 78%);
}
.hero-row { position: relative; display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 280px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -1px; margin: 24px 0 0; text-wrap: balance; }
.hero h1 span { color: var(--accent); }
.hero-lead { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.65; color: var(--text-2); max-width: 56ch; margin: 26px 0 0; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-media { flex: 1 1 380px; min-width: 280px; }

/* Hero "managed platform" panel: what every retainer client gets. */
.status-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.status-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.status-head span { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--muted); }
.status-dots { display: flex; gap: 6px; }
.status-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(138, 148, 166, 0.3); }
.status-live { display: inline-flex; align-items: center; gap: 7px; color: var(--accent) !important; }
.status-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s ease-in-out infinite; }
.status-rows { padding: 6px 18px 4px; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(138, 148, 166, 0.1); }
.status-row:last-child { border-bottom: 0; }
.status-row b { display: block; font-size: 14px; font-weight: 500; color: #E6E9EF; }
.status-row small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.status-ok { flex: 0 0 auto; font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); padding: 4px 8px; border: 1px solid rgba(45, 212, 191, 0.3); border-radius: 4px; background: rgba(45, 212, 191, 0.08); }
.status-foot { display: flex; align-items: flex-end; gap: 4px; height: 44px; padding: 0 18px 16px; }
.status-foot i { flex: 1; border-radius: 2px; background: rgba(45, 212, 191, 0.55); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .status-live::before { animation: none; } }
.hero-stats { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: clamp(48px, 7vh, 80px); padding-top: 28px; border-top: 1px solid rgba(138, 148, 166, 0.14); }
.hero-stat { display: flex; flex-direction: column; gap: 6px; }
.hero-stat b { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: 0.6px; }
.hero-stat span { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---------------------------------------------------------------- services */

.services { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 44px; }
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); } .service { padding: 30px 24px; } .service h3 { font-size: 20px; } }
.service { display: flex; flex-direction: column; gap: 18px; padding: 34px 30px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; transition: border-color 200ms; }
.service:hover { border-color: rgba(45, 212, 191, 0.55); }
.service-no { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; color: var(--faint); }
.service-bar { width: 34px; height: 2px; background: var(--accent); }
.service h3 { font-family: var(--display); font-size: 23px; font-weight: 600; letter-spacing: -0.2px; margin: 0; }
.service p { font-size: 15px; line-height: 1.65; color: var(--text-2); margin: 0; text-wrap: pretty; }
.bullets { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; padding-top: 18px; border-top: 1px solid rgba(138, 148, 166, 0.12); }
.bullet { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-3); }
.bullet::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; margin-top: 8px; }

/* ---------------------------------------------------------------- work */

.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 22px; margin-top: 40px; }
.project { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform 260ms ease, border-color 260ms ease; }
.project:hover { transform: translateY(-4px); border-color: var(--accent); }
.shot { position: relative; aspect-ratio: 16 / 9; background: var(--panel-2); border-bottom: 1px solid rgba(138, 148, 166, 0.12); display: flex; align-items: center; justify-content: center; background-image: repeating-linear-gradient(135deg, rgba(138, 148, 166, 0.09) 0 2px, transparent 2px 11px); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot-label { font-family: var(--mono); font-size: 10px; letter-spacing: 2.4px; color: var(--faint); padding: 5px 10px; border: 1px dashed rgba(138, 148, 166, 0.28); border-radius: 3px; text-transform: uppercase; }
.project-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; flex: 1; }
.kind { font-family: var(--mono); font-size: 10px; letter-spacing: 2.4px; color: var(--muted); text-transform: uppercase; }
.project h3 { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.2px; margin: 0; }
.project p { font-size: 14px; line-height: 1.6; color: var(--text-2); margin: 0; text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.chip { padding: 4px 9px; border-radius: 3px; background: rgba(138, 148, 166, 0.12); border: 1px solid rgba(138, 148, 166, 0.14); font-family: var(--mono); font-size: 9px; letter-spacing: 1.8px; color: var(--text-2); text-transform: uppercase; }
.more { margin-top: auto; padding-top: 10px; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.more:hover { color: var(--accent); }
.more span { color: var(--accent); }

/* ---------------------------------------------------------------- process */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 44px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.step { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; background: var(--panel); border-right: 1px solid rgba(138, 148, 166, 0.12); border-bottom: 1px solid rgba(138, 148, 166, 0.12); }
.step-no { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; color: var(--accent); }
.step h3 { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -0.2px; margin: 0; }
.step p { font-size: 14px; line-height: 1.6; color: var(--text-2); margin: 0; }

/* ---------------------------------------------------------------- pricing */

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px; margin-top: 44px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.plan.featured { border-color: rgba(45, 212, 191, 0.55); }
.plan-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; }
.plan.featured .plan-tag { color: var(--accent); }
.plan h3 { font-family: var(--display); font-size: 23px; font-weight: 600; letter-spacing: -0.2px; margin: 0; line-height: 1.2; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.plan-price b { font-family: var(--display); font-size: clamp(30px, 2.6vw, 38px); font-weight: 700; letter-spacing: 0.5px; }
.plan-price span { font-size: 14px; color: var(--muted); }
.plan-hours { align-self: flex-start; padding: 5px 10px; border-radius: 3px; background: rgba(45, 212, 191, 0.1); border: 1px solid rgba(45, 212, 191, 0.3); font-family: var(--mono); font-size: 10px; letter-spacing: 1.8px; color: #5EEAD4; text-transform: uppercase; }
.plan p { font-size: 14px; line-height: 1.65; color: var(--text-2); margin: 0; }
.plan-items { display: flex; flex-direction: column; gap: 9px; padding-top: 16px; border-top: 1px solid rgba(138, 148, 166, 0.12); }
.plan-item { display: flex; gap: 10px; font-size: 14px; color: var(--text-3); line-height: 1.45; }
.plan-item::before { content: '✓'; color: var(--accent); font-size: 13px; }
.plan-cta { margin-top: auto; display: block; text-align: center; padding: 14px; border-radius: 6px; border: 1px solid rgba(138, 148, 166, 0.3); color: #E6E9EF; font-size: 13px; font-weight: 600; letter-spacing: 0.6px; }
.plan-cta:hover, .plan.featured .plan-cta { background: var(--accent); border-color: var(--accent); color: #0A0B0D; }
.plan.featured .plan-cta:hover { background: var(--accent-hover); }
.pricing-note { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- contact */

.contact { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 80px); }
.contact-info { flex: 1 1 360px; }
.contact-info .h2 { margin-bottom: 20px; }
.contact-info p { font-size: 16px; line-height: 1.65; color: var(--text-2); margin: 0; max-width: 44ch; }
.contact-meta { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.contact-meta div { display: flex; flex-direction: column; gap: 4px; }
.contact-meta small { font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: var(--faint); }
.contact-meta a, .contact-meta span { color: #fff; font-size: 15px; }
.contact-meta span { color: var(--text-3); }
.contact-form-wrap { flex: 1 1 440px; min-width: 0; }
.quote-form { display: flex; flex-direction: column; gap: 18px; padding: 32px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.form-label { font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: var(--muted); }
.type-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.type-option input { position: absolute; opacity: 0; pointer-events: none; }
.type-option span { display: inline-block; padding: 10px 16px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 500; border: 1px solid rgba(138, 148, 166, 0.2); background: var(--panel-2); color: var(--text-2); }
.type-option input:checked + span { border-color: var(--accent); background: rgba(45, 212, 191, 0.14); color: #fff; }
.type-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.quote-form input[type=text], .quote-form input[type=email], .quote-form textarea, .quote-form select {
  width: 100%; padding: 14px; background: var(--panel-2); border: 1px solid rgba(138, 148, 166, 0.2); border-radius: 6px; color: #fff; font-size: 14px; outline: none;
}
.quote-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; color: var(--text-2); }
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus { border-color: var(--accent); }
.quote-form textarea { resize: vertical; }
.quote-form button[type=submit] { padding: 16px; border: none; border-radius: 6px; background: var(--accent); color: #0A0B0D; font-size: 14px; font-weight: 600; letter-spacing: 0.6px; cursor: pointer; }
.quote-form button[type=submit]:hover { background: var(--accent-hover); }
.form-privacy { margin: 0; font-size: 12px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 48px 32px; background: var(--panel); border: 1px solid var(--accent); border-radius: 12px; display: flex; flex-direction: column; gap: 12px; }
.notice b { font-family: var(--display); font-size: 24px; font-weight: 600; }
.notice span { font-size: 15px; color: var(--text-2); line-height: 1.6; }
.form-error { padding: 12px 14px; border-radius: 6px; border: 1px solid rgba(240, 82, 77, 0.4); background: rgba(240, 82, 77, 0.1); color: #FF8E8A; font-size: 14px; }

/* ---------------------------------------------------------------- footer */

.site-footer { background: #080B0F; border-top: 1px solid rgba(138, 148, 166, 0.14); padding: 40px var(--gutter); }
.footer-row { max-width: 1560px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand img { width: 22px; height: 23px; object-fit: contain; }
.footer-brand span { font-family: var(--mono); font-size: 10px; letter-spacing: 2.2px; color: var(--faint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: #fff; }

.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { font-size: 12px; color: var(--faint); }
.footer-legal a:hover { color: var(--text-3); }

@media (min-width: 900px) { .nav .nav-portal { display: none; } }

/* ---------------------------------------------------------------- audience + standards */

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; margin-top: 40px; }
.tile { padding: 24px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.tile b { display: block; font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -0.2px; }
.tile span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 40px; margin-top: 36px; }
.check-item { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(138, 148, 166, 0.12); }
.check-item::before { content: '✓'; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; color: var(--accent); background: rgba(45, 212, 191, 0.1); border: 1px solid rgba(45, 212, 191, 0.3); }
.check-item b { display: block; font-size: 15px; font-weight: 600; color: #E6E9EF; }
.check-item span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--text-2); }

/* ---------------------------------------------------------------- legal pages */

.legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vh, 96px) var(--gutter); }
.legal h1 { font-family: var(--display); font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -0.5px; margin: 14px 0 6px; }
.legal .updated { font-size: 13px; color: var(--muted); }
.legal h2 { font-family: var(--display); font-size: 20px; font-weight: 600; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--text-2); }
.legal ul { padding-left: 20px; }
