/* ============================================================
   FirstLayerIT — managed IT services
   Design tokens: "the first layer" — a deep navy foundation, a
   confident trust-blue for action, a luminous sky-blue "online"
   signal, and a restrained gold spark (navy + gold = trust).
   Display: Bricolage Grotesque · Body: IBM Plex Sans · Data: IBM Plex Mono
   ============================================================ */

:root {
  /* color */
  --deep:    #0A1322;   /* deep navy foundation */
  --deep-2:  #0F1E34;   /* raised surface on dark */
  --navy:    #12365F;   /* deep brand blue */
  --brand:   #2D6CDF;   /* trust blue — primary action */
  --brand-hi:#3F7BEC;   /* button hover */
  --signal:  #4FB6F5;   /* sky blue — the "online" glow / nodes */
  --signal-deep: #2E8BD6;
  --gold:    #E0A24C;   /* warm spark, used sparingly */
  --mineral: #EDF1F7;   /* daylight section bg */
  --paper:   #F8FAFD;   /* card on light */
  --cloud:   #E7EEF8;   /* text on dark */
  --ink:     #0C1B2E;   /* text on light */
  --slate:   #54657C;   /* muted on light */
  --steel:   #8499B5;   /* muted on dark */
  --line-d:  rgba(132,153,181,.16);  /* hairline on dark */
  --line-l:  rgba(12,27,46,.12);     /* hairline on light */

  /* type */
  --display: "Bricolage Grotesque", "IBM Plex Sans", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* scale */
  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 56px);
  --r: 16px;
  --r-sm: 10px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--mineral);
  color: var(--ink);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--brand); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.mono { font-family: var(--mono); }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--signal); color: var(--deep); padding: 10px 16px; border-radius: 0 0 8px 0;
  font: 600 14px var(--mono);
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--slate);
  margin-bottom: 22px;
}
.eyebrow--light { color: var(--steel); }
.eyebrow .prompt { color: var(--brand); }
.eyebrow--light .prompt { color: var(--signal); }

.head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 68px); }
.head__h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 50px);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--ink);
}
.head__h2--light { color: var(--cloud); }
.head__lead { margin-top: 20px; color: var(--slate); font-size: clamp(16px, 1.6vw, 19px); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--brand-hi); transform: translateY(-2px); box-shadow: 0 12px 32px -12px rgba(45,108,223,.7); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--sm { padding: 9px 17px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--ghost {
  background: transparent;
  color: var(--cloud);
  border-color: var(--line-d);
}
.btn--ghost:hover { background: rgba(231,238,248,.06); border-color: var(--steel); box-shadow: none; }

/* ===================== NAV ===================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10,19,34,.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-d);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--cloud); }
.brand__mark { width: 30px; height: 30px; color: var(--signal); flex: none; }
.brand__type { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.brand__it {
  color: var(--signal);
  border: 1.5px solid var(--signal);
  border-radius: 6px;
  padding: 0 5px;
  margin-left: 1px;
}

.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  color: var(--cloud);
  font-size: 15px; font-weight: 500;
  opacity: .82;
  position: relative;
  padding: 4px 0;
  transition: opacity .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--signal); transition: width .25s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }
.nav__inner > .btn { margin-left: 4px; }

.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.nav__toggle span { width: 24px; height: 2px; background: var(--cloud); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.nav__sheet {
  position: fixed; inset: 72px 0 auto 0;
  background: rgba(10,19,34,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-d);
  padding: 16px var(--gut) 28px;
  display: flex; flex-direction: column; gap: 6px;
}
.nav__sheet[hidden] { display: none; }
.nav__sheet a:not(.btn) { color: var(--cloud); padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line-d); }
.nav__sheet .btn { margin-top: 14px; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% -10%, #12294A 0%, var(--deep) 55%),
    var(--deep);
  color: var(--cloud);
  padding-top: 128px;
  overflow: hidden;
}
.hero__glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 80vw; height: 60vh;
  background: radial-gradient(circle, rgba(79,182,245,.18), transparent 62%);
  filter: blur(20px); pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
  padding-bottom: clamp(64px, 9vw, 104px);
}
.hero__col { max-width: 600px; }
.hero__h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(33px, 4.8vw, 58px);
  line-height: 1.04;
  letter-spacing: -.025em;
  color: #F7FAFF;
}
.hero__h1 em { color: var(--signal); font-style: normal; }
.hero__sub {
  margin: 24px 0 0;
  max-width: 54ch;
  color: var(--steel);
  font-size: clamp(16px, 1.7vw, 19px);
}
.hero__cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.hero__trust li { position: relative; padding-left: 22px; font-family: var(--mono); font-size: 12.5px; color: var(--steel); }
.hero__trust li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 13px; height: 7px;
  border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg);
}

/* static "system health" panel */
.hero__media { position: relative; }
.panel {
  background: linear-gradient(180deg, #0E2138, #0B1A2E);
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  box-shadow: 0 40px 90px -45px rgba(0,0,0,.8);
  overflow: hidden;
}
.panel__bar { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid var(--line-d); }
.panel__title { font-family: var(--mono); font-size: 13px; color: var(--cloud); letter-spacing: .02em; }
.panel__live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--signal); }
.panel__rows { list-style: none; padding: 8px 20px; }
.panel__rows li { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line-d); font-size: 14.5px; color: var(--cloud); }
.panel__rows li:last-child { border-bottom: none; }
.panel__rows .ok { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--steel); }
.panel__rows .ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px rgba(79,182,245,.8); }
.panel__rows .ok--check::before { content: "✓"; color: var(--signal); margin-right: 6px; font-size: 13px; }
.panel__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 18px 20px 22px; border-top: 1px solid var(--line-d); background: rgba(255,255,255,.015); }
.panel__stats div { display: flex; flex-direction: column; gap: 3px; }
.panel__stats b { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--cloud); letter-spacing: -.01em; }
.panel__stats span { font-family: var(--mono); font-size: 11px; color: var(--steel); letter-spacing: .03em; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }
.dot--live { box-shadow: 0 0 0 0 rgba(79,182,245,.6); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(79,182,245,.5); } 70%,100% { box-shadow: 0 0 0 7px rgba(79,182,245,0); } }

/* ===================== SECTIONS ===================== */
.section { padding-block: clamp(64px, 9vw, 116px); }
.section--tint { background: linear-gradient(180deg, #E3E9F3, var(--mineral)); }
.section--dark { background: var(--deep); color: var(--cloud); }

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

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

/* manage cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line-l);
  border-radius: var(--r);
  padding: 30px 28px 32px;
  position: relative;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(45,108,223,.45); box-shadow: 0 20px 44px -28px rgba(12,27,46,.5); }
.card__ix { font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.card__h3 { font-family: var(--display); font-weight: 600; font-size: 22px; margin: 14px 0 10px; letter-spacing: -.01em; }
.card p { color: var(--slate); font-size: 15.5px; }
.card::before {
  content: ""; position: absolute; left: 0; top: 26px; width: 3px; height: 24px; border-radius: 3px;
  background: var(--signal); transform: scaleY(0); transform-origin: top; transition: transform .25s var(--ease);
}
.card:hover::before { transform: scaleY(1); }

/* steps */
.steps { list-style: none; display: grid; gap: 0; max-width: 880px; }
.step { display: grid; grid-template-columns: 96px 1fr; gap: 28px; padding: 30px 0; border-top: 1px solid var(--line-l); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line-l); }
.step__n { font-family: var(--mono); font-size: 17px; color: var(--brand); font-weight: 600; padding-top: 3px; }
.step__body h3 { font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 8px; letter-spacing: -.01em; }
.step__body p { color: var(--slate); max-width: 58ch; }

/* ===================== PRICING ===================== */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pricing__lead { color: var(--steel); margin-top: 18px; max-width: 52ch; }
.checklist { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--cloud); font-size: 15.5px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px;
  border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg);
}

/* pricing-model card */
.plan {
  background: linear-gradient(180deg, #0E2138, #0B1A2E);
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  padding: 28px 28px 30px;
  box-shadow: 0 40px 80px -45px rgba(0,0,0,.7);
}
.plan__row { padding: 18px 0; border-bottom: 1px solid var(--line-d); }
.plan__row:first-child { padding-top: 4px; }
.plan__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.plan__k { font-family: var(--display); font-weight: 700; font-size: 21px; color: var(--cloud); letter-spacing: -.01em; }
.plan__tag { font-family: var(--mono); font-size: 12px; color: var(--signal); }
.plan__row p { color: var(--steel); font-size: 14.5px; }
.plan__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 20px 0 6px; }
.plan__meta li { position: relative; padding-left: 20px; font-family: var(--mono); font-size: 12.5px; color: var(--steel); }
.plan__meta li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 6px;
  border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg);
}
.plan > .btn { margin-top: 18px; }

/* ===================== REASONS ===================== */
.reason { padding: 32px 30px; border: 1px solid var(--line-l); border-radius: var(--r); background: var(--paper); }
.grid--2.reasons { gap: 20px; }
.reason h3 { font-family: var(--display); font-weight: 600; font-size: 23px; margin-bottom: 10px; letter-spacing: -.01em; }
.reason h3::before { content: "→ "; color: var(--brand); }
.reason p { color: var(--slate); font-size: 15.5px; }

/* ===================== TIERS ===================== */
.tier { padding: 32px 28px; background: var(--paper); border: 1px solid var(--line-l); border-radius: var(--r); transition: border-color .25s, transform .25s var(--ease); }
.tier:hover { transform: translateY(-4px); border-color: rgba(45,108,223,.45); }
.tier__size { font-family: var(--display); font-weight: 700; font-size: 38px; letter-spacing: -.02em; color: var(--navy); line-height: 1; }
.tier__size span { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--slate); letter-spacing: .04em; }
.tier h3 { font-family: var(--display); font-weight: 600; font-size: 20px; margin: 18px 0 8px; }
.tier p { color: var(--slate); font-size: 15.5px; }

/* ===================== CTA / FORM ===================== */
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.cta__lead { color: var(--steel); margin-top: 18px; max-width: 48ch; }
.cta__points { list-style: none; margin-top: 26px; display: grid; gap: 13px; }
.cta__points li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--cloud); }

.form { background: var(--deep-2); border: 1px solid var(--line-d); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 12.5px; color: var(--steel); letter-spacing: .02em; }
.field .opt { color: #5d6f86; }
.field input, .field textarea {
  background: #07121F; border: 1px solid var(--line-d); border-radius: 9px;
  padding: 13px 14px; color: var(--cloud); font: inherit; font-size: 15px; width: 100%; resize: vertical;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--signal); outline: none; box-shadow: 0 0 0 3px rgba(79,182,245,.18); }
.field input::placeholder { color: #475a72; }
.form > .btn { grid-column: 1 / -1; }
.form__note { grid-column: 1 / -1; font-family: var(--mono); font-size: 12.5px; color: var(--steel); text-align: center; }
.form__note.is-ok { color: var(--signal); }

/* ===================== FOOTER ===================== */
.footer { background: #060E1A; color: var(--cloud); padding-top: clamp(56px, 7vw, 84px); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px 32px; padding-bottom: 48px; }
.footer__tag { color: var(--steel); margin-top: 16px; max-width: 30ch; font-size: 14.5px; }
.footer__col h4 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--steel); padding: 6px 0; font-size: 14.5px; transition: color .2s; }
.footer__col a:hover { color: var(--cloud); }
.footer__small { color: #56697f; font-size: 13px; margin-top: 10px; }
.footer__base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 22px 0 32px; margin-top: 8px; border-top: 1px solid var(--line-d); font-size: 13px; color: var(--steel); }
.footer__base .mono { font-size: 13px; }

/* ===================== SUBPAGES (AI · blog · case studies) ===================== */
.phero {
  background: radial-gradient(120% 80% at 50% -25%, #12294A 0%, var(--deep) 60%), var(--deep);
  color: var(--cloud);
  padding: 128px 0 clamp(46px, 7vw, 74px);
  border-bottom: 1px solid var(--line-d);
}
.phero__inner { max-width: 780px; }
.crumb { font-family: var(--mono); font-size: 12.5px; color: var(--steel); margin-bottom: 20px; }
.crumb a { color: var(--steel); transition: color .2s; }
.crumb a:hover { color: var(--signal); }
.phero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(31px, 4.8vw, 52px); line-height: 1.05; letter-spacing: -.025em; color: #F7FAFF; }
.phero__sub { margin-top: 18px; color: var(--steel); font-size: clamp(16px, 1.7vw, 19px); max-width: 62ch; }
.phero .hero__cta { margin-top: 30px; }
.phero .hero__trust { margin-top: 26px; }

/* long-form prose */
.article { padding: clamp(46px, 7vw, 82px) 0; }
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: clamp(23px, 2.6vw, 31px); letter-spacing: -.015em; margin-top: 1.7em; color: var(--ink); }
.prose h3 { font-family: var(--display); font-weight: 600; font-size: 19px; margin-top: 1.4em; color: var(--ink); }
.prose p, .prose li { color: var(--slate); font-size: 17px; line-height: 1.72; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: .5em; }
.prose li::marker { color: var(--signal); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote { border-left: 3px solid var(--signal); padding: 6px 0 6px 22px; color: var(--ink); font-family: var(--display); font-size: 21px; font-weight: 500; line-height: 1.4; }
.prose .lede { font-size: 20px; line-height: 1.6; color: var(--ink); }
.prose figure { margin: 1.4em 0; }
.prose .callout { background: var(--paper); border: 1px solid var(--line-l); border-left: 3px solid var(--signal); border-radius: var(--r-sm); padding: 20px 22px; }
.prose .callout p { margin: 0; }

/* post / article meta */
.postmeta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--mono); font-size: 12.5px; color: var(--steel); margin-top: 18px; align-items: center; }
.postmeta .tag { color: var(--signal); }
.postmeta .sep { opacity: .5; }

/* index card links (blog + case studies) */
.cardlink { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line-l); border-radius: var(--r); padding: 28px 26px 24px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.cardlink:hover { transform: translateY(-4px); border-color: rgba(45,108,223,.45); box-shadow: 0 20px 44px -28px rgba(12,27,46,.5); }
.cardlink__kicker { font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: .07em; }
.cardlink__t { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.22; letter-spacing: -.01em; margin: 12px 0 10px; color: var(--ink); }
.cardlink p { color: var(--slate); font-size: 15px; }
.cardlink__more { margin-top: auto; padding-top: 18px; font-family: var(--mono); font-size: 13px; color: var(--brand); }
.cardlink:hover .cardlink__more { color: var(--brand-hi); }

/* KPI band (case-study results) */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kpi { background: var(--paper); border: 1px solid var(--line-l); border-radius: var(--r); padding: 26px 24px; }
.kpi b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 42px); color: var(--navy); letter-spacing: -.02em; line-height: 1; }
.kpi span { display: block; margin-top: 8px; color: var(--slate); font-size: 14.5px; }

/* end-of-article CTA band */
.endcta { text-align: center; max-width: 640px; margin: 0 auto; }
.endcta p { color: var(--steel); margin: 14px 0 26px; }

/* industries grid (image tiles) */
.tilegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-l); aspect-ratio: 4 / 3; background: linear-gradient(160deg, #12365F, #0E2138); display: flex; align-items: flex-end; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,19,34,.1) 30%, rgba(10,19,34,.85)); }
.tile span { position: relative; z-index: 1; padding: 18px 20px; font-family: var(--display); font-weight: 600; font-size: 18px; color: #fff; }

@media (max-width: 820px) { .tilegrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kpis, .tilegrid { grid-template-columns: 1fr; } }

/* hero video (home) */
.hero__video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  border-radius: var(--r); border: 1px solid var(--line-d);
  box-shadow: 0 40px 90px -45px rgba(0,0,0,.8); background: #0B1A2E;
}

/* photo service cards */
.card--photo { padding: 0; overflow: hidden; }
.card--photo::before { display: none; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(160deg, #12365F, #0E2138); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.card--photo:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 22px 26px 28px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__inner > .btn { display: none; }
  .nav__toggle { display: flex; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .hero__grid, .pricing, .cta__inner { grid-template-columns: 1fr; }
  .hero__col { max-width: none; }
  .hero__media { max-width: 480px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid--3, .grid--2.reasons { grid-template-columns: 1fr; }
  .step { grid-template-columns: 56px 1fr; gap: 16px; }
  .form { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; }
  .panel__stats b { font-size: 19px; }
}

/* ===================== MOTION SAFETY ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
