/* =========================================================
   Creative 1 Media — shared styles
   Palette: ink navy + cobalt, warm amber CTA
   Type: Space Grotesk (display), Instrument Sans (body),
         Space Mono (data/labels)
   ========================================================= */

:root {
  --ink: #0B0F1C;
  --ink-2: #141A2E;
  --ink-3: #1D2540;
  --paper: #F4F6FB;
  --card: #FFFFFF;
  --cobalt: #2A43FF;
  --cobalt-deep: #1B2CB8;
  --amber: #FFB63D;
  --amber-deep: #E4952A;
  --text: #131829;
  --slate: #4A5468;
  --slate-soft: #6B7488;
  --line: #E2E7F0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --wrap: 1160px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -24px rgba(11, 15, 28, 0.4);
  --shadow-soft: 0 10px 30px -20px rgba(11, 15, 28, 0.5);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.3rem, 5.4vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.28rem; }

p { margin: 0 0 1rem; }

a { color: var(--cobalt-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 22px;
}

.eyebrow {
  font-family: "Space Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cobalt);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 12px;
  background:
    linear-gradient(var(--cobalt), var(--cobalt)) 0 100% / 4px 6px no-repeat,
    linear-gradient(var(--cobalt), var(--cobalt)) 7px 100% / 4px 10px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 14px 100% / 4px 12px no-repeat,
    linear-gradient(var(--cobalt), var(--cobalt)) 21px 100% / 4px 8px no-repeat;
}
.eyebrow.on-dark { color: var(--amber); }

.lead { font-size: 1.16rem; color: var(--slate); max-width: 60ch; }

.section { padding: 82px 0; }
.section-tight { padding: 56px 0; }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease), color 0.18s var(--ease);
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: #201400; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--amber-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { border-color: var(--line); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--cobalt); color: var(--cobalt-deep); }
.btn-ghost.on-dark { background: transparent; color: #fff; border-color: var(--line-dark); }
.btn-ghost.on-dark:hover { border-color: var(--amber); color: var(--amber); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 246, 251, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--ink);
  border-radius: 9px;
}
.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}
.brand-name b { color: var(--cobalt); font-weight: 700; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a {
  color: var(--slate);
  font-weight: 500;
  font-size: 0.98rem;
}
.site-nav > a:hover { color: var(--text); text-decoration: none; }
.site-nav > a[aria-current="page"] { color: var(--text); font-weight: 600; }
.btn-call {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: "Space Mono", monospace;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}
.btn-call:hover { background: var(--cobalt-deep); text-decoration: none; }

.nav-toggle {
  display: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 78% -10%, rgba(42, 67, 255, 0.35), transparent 60%),
    radial-gradient(700px 400px at 5% 110%, rgba(255, 182, 61, 0.14), transparent 55%),
    var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
  padding: 78px 0 88px;
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--amber); }
.hero .lead { color: #C7CEE0; }
.hero .btn-row { margin-top: 26px; }
.hero-trust {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #9AA4BE;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }

/* hero signal panel */
.signal {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  padding: 26px 26px 20px;
  box-shadow: var(--shadow);
}
.signal-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: "Space Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A93AE;
  margin-bottom: 20px;
}
.signal-head b { color: var(--amber); font-weight: 700; }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 168px; }
.bar {
  flex: 1;
  background: linear-gradient(180deg, var(--cobalt), #4d63ff);
  border-radius: 7px 7px 3px 3px;
  height: var(--h);
  transform-origin: bottom;
  animation: grow 1s var(--ease) both;
  animation-delay: var(--d, 0s);
}
.bar:last-child { background: linear-gradient(180deg, var(--amber), var(--amber-deep)); }
@keyframes grow { from { transform: scaleY(0.04); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.signal-foot {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  color: #737C97;
}

/* ---------- generic light section header ---------- */
.sec-head { max-width: 62ch; margin-bottom: 42px; }
.sec-head.center { margin-inline: auto; }

/* ---------- cards / services grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.card.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd5e6; }
.card .num {
  font-family: "Space Mono", monospace;
  font-size: 0.8rem;
  color: var(--cobalt);
  letter-spacing: 0.08em;
}
.card h3 { margin-top: 10px; }
.card p { color: var(--slate); font-size: 0.98rem; margin-bottom: 14px; }
.card .more {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cobalt-deep);
  display: inline-flex;
  gap: 6px;
}
.card.link-card:hover .more { gap: 10px; }

.icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: rgba(42, 67, 255, 0.09);
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--cobalt);
}
.icon svg { width: 24px; height: 24px; }

/* ---------- process / steps ---------- */
.steps { counter-reset: step; display: grid; gap: 4px; }
.step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n {
  font-family: "Space Mono", monospace;
  font-size: 0.85rem;
  color: var(--cobalt);
  padding-top: 4px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--slate); margin: 0; }

/* ---------- dark band ---------- */
.band {
  background:
    radial-gradient(700px 380px at 85% 0%, rgba(42, 67, 255, 0.4), transparent 60%),
    var(--ink);
  color: #fff;
  border-radius: 22px;
  padding: 54px;
  text-align: center;
}
.band h2 { color: #fff; }
.band p { color: #C7CEE0; max-width: 54ch; margin-inline: auto; }
.band .btn-row { justify-content: center; margin-top: 24px; }

/* ---------- feature list ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--slate); }
.checks li::before {
  content: "";
  margin-top: 6px;
  width: 16px; height: 16px;
  border-radius: 5px;
  background: var(--cobalt);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- split content (service pages) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.panel h3 { margin-top: 0; }
.panel + .panel { margin-top: 18px; }

/* subpage hero */
.subhero {
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(42, 67, 255, 0.32), transparent 60%),
    var(--ink);
  color: #fff;
  padding: 56px 0 60px;
}
.subhero h1 { color: #fff; max-width: 20ch; }
.subhero .lead { color: #C7CEE0; }
.crumbs {
  font-family: "Space Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: #8A93AE;
  margin-bottom: 18px;
}
.crumbs a { color: #B9C1DA; }
.crumbs span { color: #5C647E; }

/* ---------- contact ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(42, 67, 255, 0.14);
}
.form-note { font-size: 0.85rem; color: var(--slate-soft); }

.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .icon { margin: 0; flex: none; }
.info-row b { display: block; font-family: "Space Grotesk", sans-serif; }
.info-row a { color: var(--text); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #C7CEE0; padding: 56px 0 28px; margin-top: 20px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-dark);
}
.site-foot .brand-name { color: #fff; }
.site-foot h4 {
  font-family: "Space Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8A93AE;
  font-weight: 400;
  margin: 0 0 14px;
}
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-links a { color: #C7CEE0; font-size: 0.96rem; }
.foot-links a:hover { color: #fff; text-decoration: none; }
.foot-blurb { color: #97A0B8; font-size: 0.96rem; max-width: 34ch; margin-top: 14px; }
.foot-nap { font-style: normal; color: #C7CEE0; font-size: 0.96rem; line-height: 1.9; }
.foot-nap a { color: #fff; }
.foot-nap .mono { font-family: "Space Mono", monospace; letter-spacing: 0.01em; }
.foot-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.85rem;
  color: #7C859E;
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 64px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .band { padding: 40px 26px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 14px 22px 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 10px 4px; border-bottom: 1px solid var(--line); }
  .btn-call { justify-content: center; margin-top: 8px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .section { padding: 60px 0; }
  .step { grid-template-columns: 54px 1fr; gap: 12px; }
  .band { padding: 34px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
