/* ============================================================
   Kay & Co., kayco.net
   Dark, dramatic design system. Vanilla CSS, no build step.
   ============================================================ */

:root {
  /* Palette */
  --bg:           #050508;
  --bg-soft:      #0b0b12;
  --bg-card:      #0c0c13;
  --bg-elevated:  #11111a;
  --line:         #24243a;
  --blue:         #2D6CFF;
  --blue-soft:    #5a8bff;
  --orange:       #FF5C1A;
  --orange-soft:  #ff814e;
  --white:        #F0F0F0;
  --grey:         #8A8A9A;
  --grey-dim:     #5b5b6b;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing / layout */
  --maxw: none;
  --page-pad: clamp(1.25rem, 5vw, 5.5rem);
  --radius: 16px;
  --radius-sm: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: #fff; }

a { color: inherit; text-decoration: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.08; font-weight: 700; letter-spacing: 0; }

h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

p { color: var(--grey); font-size: clamp(1rem, 1.2vw, 1.12rem); }

.lead { font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: #c7c7d4; max-width: 40ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue-soft);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--blue); display: inline-block; }

.accent-blue { color: var(--blue-soft); }
.accent-orange { color: var(--orange-soft); }

.gradient-text { color: var(--white); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--page-pad); }

section { position: relative; padding: clamp(5rem, 10vw, 10rem) 0; }

.section-head { max-width: 960px; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section-head p { margin-top: 1.1rem; font-size: 1.1rem; }

.divider { height: 1px; background: var(--line); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 100px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--white); color: var(--bg); box-shadow: 0 10px 40px -12px rgba(240,240,240,.42); }
.btn-primary:hover { box-shadow: 0 18px 50px -10px rgba(45,108,255,.55); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-soft); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 40px -12px rgba(255,92,26,.8); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5,5,8,.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { font-weight: 800; font-size: 1.25rem; letter-spacing: 0; display: inline-flex; align-items: center; gap: .65rem; }
.logo-mark { width: 34px; height: 34px; display: inline-grid; place-items: center; flex: 0 0 auto; }
.logo-mark img { width: 100%; height: 100%; display: block; }
.logo-wordmark { color: var(--white); }
.nav__links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav__links a { font-size: .95rem; color: var(--grey); font-weight: 500; transition: color .25s; position: relative; }
.nav__links a.btn-primary, .nav__links a.btn-primary:visited { color: var(--bg); }
.nav__links a.btn-primary::after { display: none; }
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__links a.btn-primary:hover, .nav__links a.btn-primary:focus-visible { color: var(--bg); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--blue); transition: width .3s var(--ease);
}
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__cta { padding: .65rem 1.3rem; }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 110; }
.nav__burger span { width: 26px; height: 2px; background: var(--white); transition: transform .35s var(--ease), opacity .25s; }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 2.2rem;
    background: rgba(5,5,8,.97); backdrop-filter: blur(16px);
    transform: translateX(100%); transition: transform .45s var(--ease); font-size: 1.3rem;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.4rem; }
  .nav__cta { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__inner { position: relative; z-index: 2; padding-top: 6rem; padding-bottom: 4rem; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, rgba(5,5,8,.35) 70%, var(--bg) 100%);
}
.hero h1 { max-width: 15ch; margin-bottom: 1.6rem; font-size: clamp(3.1rem, 8.8vw, 8.8rem); }
.hero .lead { max-width: 52ch; margin-bottom: 2.4rem; font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--grey-dim);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.hero__scroll .mouse { width: 22px; height: 36px; border: 1.5px solid var(--grey-dim); border-radius: 12px; position: relative; }
.hero__scroll .mouse::after { content:""; position:absolute; top:6px; left:50%; transform:translateX(-50%); width:3px; height:7px; border-radius:3px; background: var(--blue); animation: scrollwheel 1.6s infinite; }
@keyframes scrollwheel { 0%{opacity:0; transform:translate(-50%,0);} 30%{opacity:1;} 100%{opacity:0; transform:translate(-50%,12px);} }

/* ============================================================
   REVEAL ANIMATIONS (GSAP toggles + CSS fallback)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(40px); }
.gsap-ready .reveal { /* GSAP drives these; nothing here */ }
/* Fallback when GSAP fails: show content */
.no-gsap .reveal { opacity: 1; transform: none; }

/* ============================================================
   SERVICE ROWS
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-inline: calc(var(--page-pad) * -1);
  counter-reset: svc;
}

.card {
  position: relative; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; padding: clamp(2rem, 5vw, 4.8rem) var(--page-pad);
  display: grid; grid-template-columns: minmax(5rem, 10vw) minmax(16rem, 28vw) minmax(0, 1fr) auto;
  gap: clamp(1.2rem, 4vw, 4rem); align-items: center;
  transition: transform .25s var(--ease), border-color .35s, background .35s;
  transform-style: preserve-3d; will-change: transform; overflow: hidden;
}
.card:last-child { border-bottom: 1px solid var(--line); }
.card::before {
  content:""; position:absolute; left:0; top:-1px; bottom:-1px; width: 0; opacity: .9; transition: width .35s var(--ease);
  background: linear-gradient(180deg, var(--blue), var(--orange));
}
.card:hover::before { width: 4px; }
.card:hover { background: linear-gradient(90deg, rgba(45,108,255,.07), transparent 55%); }
.card { counter-increment: svc; }
.card__icon {
  align-self: start; position: relative; transform: translateZ(40px);
  font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; line-height: 1;
  color: var(--grey-dim); font-variant-numeric: tabular-nums; letter-spacing: -.03em;
  padding-top: .35em;
}
.card__icon::before { content: counter(svc, decimal-leading-zero); }
.card__icon::after {
  content: ""; display: block; width: 26px; height: 2px; margin-top: .7rem;
  background: linear-gradient(90deg, var(--blue), var(--orange)); transition: width .35s var(--ease);
}
.card:hover .card__icon { color: var(--white); }
.card:hover .card__icon::after { width: 52px; }
.card h3 { margin-bottom: 0; transform: translateZ(28px); font-size: clamp(1.8rem, 4vw, 4.8rem); }
.card p { transform: translateZ(18px); max-width: 58ch; }
.card__link { display:inline-flex; align-items:center; gap:.45rem; margin-top: 0; color: var(--blue-soft); font-weight:600; font-size:.92rem; transform: translateZ(24px); white-space: nowrap; }
.card__link .arrow { transition: transform .3s var(--ease); }
.card:hover .card__link .arrow { transform: translateX(5px); }
@media (max-width: 900px) {
  .card { grid-template-columns: auto 1fr; }
  .card p, .card__link { grid-column: 2; }
}
@media (max-width: 620px) {
  .card { grid-template-columns: 1fr; }
  .card p, .card__link { grid-column: auto; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-inline: calc(var(--page-pad) * -1); }
@media (max-width: 740px) { .stats { grid-template-columns: 1fr; } }
.stat { text-align: left; padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2.5rem); border-top: 0; border-right: 1px solid var(--line); background: transparent; position: relative; }
.stat:last-child { border-right: 0; }
.stat::before { content:""; position:absolute; top:-1px; left:0; width:54px; height:1px; background: var(--orange); }
.stat__num { font-size: clamp(4rem, 10vw, 11rem); font-weight: 800; letter-spacing: 0; line-height: .88;
  background: linear-gradient(180deg, var(--white), var(--blue-soft)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { margin-top: .9rem; color: var(--grey); font-size: .95rem; }

/* ============================================================
   FEATURE / SPLIT BLOCKS
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.feature-list { list-style: none; margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1.1rem; }
.feature-list li { display: flex; gap: .9rem; align-items: flex-start; color: #c2c2cf; }
.feature-list .tick { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; display:grid; place-items:center;
  background: rgba(45,108,255,.14); color: var(--blue-soft); font-size: 0; margin-top: 3px; position: relative; }
.feature-list .tick::before {
  content: ""; width: 10px; height: 6px; border-left: 2px solid var(--blue-soft); border-bottom: 2px solid var(--blue-soft);
  transform: rotate(-45deg) translate(1px, -1px);
}

/* Visual panel (engine diagram) */
.panel {
  position: relative; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent;
  padding: clamp(2rem, 5vw, 4rem) 0; min-height: 320px; overflow: hidden;
}
.panel::before {
  content:""; position:absolute; inset: 1rem;
  background:
    repeating-linear-gradient(90deg, rgba(240,240,240,.045) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(240,240,240,.035) 0 1px, transparent 1px 34px);
  pointer-events: none;
}
.panel > * { position: relative; z-index: 1; }
.panel__chip { display:flex; align-items:center; gap:.7rem; padding:.85rem 0; border:0; border-bottom:1px solid var(--line); border-radius: 0; background: transparent; margin-bottom: .2rem; }
.panel__chip:last-child { margin-bottom: 0; }
.panel__chip .logo { width: 30px; height: 30px; border-radius: 8px; display:grid; place-items:center; font-weight:700; font-size:.8rem; background: rgba(255,255,255,.04); border:1px solid var(--line); }
.panel__chip .bar { flex:1; height: 6px; border-radius: 4px; background: var(--line); overflow:hidden; position:relative; }
.panel__chip .bar i { position:absolute; inset:0 auto 0 0; border-radius:4px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
.panel__chip .pct { font-size:.82rem; color: var(--grey); width: 44px; text-align:right; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); margin-inline: calc(var(--page-pad) * -1); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 2rem); border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.step:last-child { border-right: 0; }
.step__n { font-size: .8rem; font-weight: 700; color: var(--orange-soft); letter-spacing: .15em; }
.step h3 { font-size: 1.2rem; margin: .7rem 0 .5rem; }
.step p { font-size: .96rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta {
  position: relative; border-radius: 0; overflow: hidden; text-align: left;
  padding: clamp(3.5rem, 8vw, 7rem) var(--page-pad);
  margin-inline: calc(var(--page-pad) * -1);
  background:
    radial-gradient(70% 120% at 20% 0%, rgba(45,108,255,.22), transparent 60%),
    radial-gradient(70% 120% at 90% 100%, rgba(255,92,26,.18), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta h2 { max-width: 20ch; margin: 0 0 1.2rem; font-size: clamp(2.4rem, 7vw, 7rem); }
.cta p { max-width: 58ch; margin: 0 0 2.2rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; color: var(--white); cursor: pointer;
  padding: 1.5rem 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 600; font-family: var(--font);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__q .ico { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: transform .35s var(--ease), background .3s, color .3s; color: var(--blue-soft); }
.faq__item.open .faq__q .ico { transform: rotate(45deg); background: var(--blue); color: #fff; border-color: var(--blue); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq__a p { padding-bottom: 1.5rem; }
.faq__item.open .faq__a { max-height: 420px; }

/* ============================================================
   BLOG
   ============================================================ */
.posts { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); margin-inline: calc(var(--page-pad) * -1); }
.post {
  display: grid; grid-template-columns: minmax(260px, 34vw) minmax(0, 1fr); border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; overflow: hidden; transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.post:hover { transform: none; background: rgba(45,108,255,.045); }
@media (max-width: 760px) { .post { grid-template-columns: 1fr; } }
.post__thumb { min-height: clamp(240px, 30vw, 420px); height: 100%; position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 15% 10%, #0e1322 0%, #07070b 60%); border-right: 1px solid var(--line); }
.post__thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(5,5,8,.55) 100%);
}
.post__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .95; }
@media (max-width: 760px) { .post__thumb { border-right: 0; border-bottom: 1px solid var(--line); } }
.post__thumb .tag { position: absolute; top: 1.1rem; left: 1.1rem; z-index:2; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(5,5,8,.65); backdrop-filter: blur(6px); border: 1px solid var(--line); padding: .35rem .7rem; border-radius: 100px; color: var(--blue-soft); }
.post__body { padding: clamp(2rem, 6vw, 5.5rem); display: flex; flex-direction: column; flex: 1; justify-content: center; }
.post__meta { font-size: .8rem; color: var(--grey-dim); margin-bottom: .7rem; }
.post__body h3 { font-size: clamp(1.9rem, 4.8vw, 5rem); margin-bottom: 1rem; max-width: 15ch; }
.post__body p { font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 58ch; flex: 0; }
.post__body .card__link { margin-top: 1.5rem; }

/* ============================================================
   ARTICLE (generated pages)
   ============================================================ */
.article { max-width: 760px; margin: 0 auto; }
.article__header { max-width: none; margin: 0 0 clamp(2.5rem,5vw,3.5rem); text-align: left; padding: 8rem var(--page-pad) 0; }
.article__header .container { padding: 0; }
.article__header h1 { font-size: clamp(3rem, 8vw, 8rem); margin: 1.2rem 0; max-width: 13ch; }
.article__meta { color: var(--grey-dim); font-size: .9rem; }
.article-visual {
  width: 100%;
  margin: 2rem auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: radial-gradient(120% 120% at 75% 15%, #0e1322 0%, #07070b 65%);
  display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 3rem);
}
.article-visual img { width: 100%; max-width: 900px; height: clamp(240px, 38vw, 460px); object-fit: contain; display: block; }
.visual-strip {
  margin: clamp(4rem, 9vw, 9rem) calc(var(--page-pad) * -1) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.visual-strip__copy { padding: clamp(2rem, 6vw, 6rem); align-self: center; }
.visual-strip__copy h2, .visual-strip__copy h3 { font-size: clamp(2rem, 5vw, 5.5rem); max-width: 13ch; }
.visual-strip__media { min-height: clamp(360px, 48vw, 640px); background: radial-gradient(120% 120% at 80% 20%, #0e1322 0%, #07070b 65%); overflow: hidden; border-left: 1px solid var(--line); display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 3.5rem); }
.visual-strip__media img { width: 100%; height: 100%; max-height: 460px; object-fit: contain; }
@media (max-width: 820px) {
  .visual-strip { grid-template-columns: 1fr; }
  .visual-strip__media { border-left: 0; border-top: 1px solid var(--line); }
}
.article__body { color: #c5c5d2; font-size: 1.1rem; }
.article__body h2 { margin: 2.6rem 0 1rem; }
.article__body h3 { margin: 2rem 0 .8rem; color: var(--white); }
.article__body p { margin-bottom: 1.3rem; color: #c5c5d2; }
.article__body ul, .article__body ol { margin: 0 0 1.4rem 1.3rem; color: #c5c5d2; }
.article__body li { margin-bottom: .6rem; }
.article__body a { color: var(--blue-soft); text-decoration: underline; text-underline-offset: 3px; }
.article__body blockquote { border-left: 3px solid var(--blue); padding: .4rem 0 .4rem 1.4rem; margin: 1.6rem 0; color: var(--white); font-style: italic; }
.article__body strong { color: var(--white); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form { display: grid; gap: 1.2rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px){ .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .85rem; color: var(--grey); margin-bottom: .5rem; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .95rem 1.1rem; color: var(--white); font-family: var(--font); font-size: 1rem; transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,108,255,.18); }
.form__status { font-size: .95rem; padding: .8rem 0; }
.form__status.ok { color: var(--blue-soft); }
.form__status.err { color: var(--orange-soft); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
@media (max-width: 880px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 1.8rem; }
.contact-info .item { display:flex; gap:1rem; align-items:flex-start; }
.contact-info .ico { width:42px; height:42px; border-radius:11px; display:grid; place-items:center; background: rgba(45,108,255,.12); border:1px solid var(--line); color: var(--blue-soft); }
.contact-info .ico::before { content:""; width:18px; height:18px; border:2px solid var(--blue-soft); border-radius:6px; box-shadow: 7px 7px 0 -4px var(--orange); }
.contact-info .item b { color: var(--white); display:block; margin-bottom:.15rem; }
.contact-info .item span { color: var(--grey); font-size:.95rem; }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-hero { position: relative; padding: clamp(9rem,16vw,15rem) 0 clamp(4rem,8vw,7rem); overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; z-index:0;
  background: radial-gradient(60% 80% at 80% 0%, rgba(45,108,255,.16), transparent 60%),
              radial-gradient(50% 60% at 0% 20%, rgba(255,92,26,.1), transparent 60%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 13ch; margin: 1.3rem 0; font-size: clamp(3rem, 8vw, 8rem); }
.page-hero .lead { max-width: 60ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 4rem 0 2.5rem; background: var(--bg-soft); }
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1.2fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
@media (max-width: 980px){ .footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 2.2rem; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px){ .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer__brand .nav__logo { margin-bottom: 1rem; }
.footer__brand p { max-width: 34ch; font-size: .95rem; }
.footer h4 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-dim); margin-bottom: 1.1rem; font-weight: 600; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer ul a { color: var(--grey); font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 1rem; }
.footer__bottom p { font-size: .85rem; color: var(--grey-dim); }
.footer__email { color: var(--grey); font-size: .9rem; transition: color .2s; }
.footer__email:hover { color: var(--white); }

/* ============================================================
   RESOURCES INDEX
   ============================================================ */
.res-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); margin-inline: calc(var(--page-pad) * -1); }
@media (max-width: 760px) { .res-list { grid-template-columns: 1fr; } }
.res-item { display: block; padding: clamp(1.6rem, 3vw, 2.6rem) var(--page-pad); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
  transition: background .3s var(--ease); position: relative; }
.res-item:nth-child(2n) { border-right: 0; }
@media (max-width: 760px) { .res-item { border-right: 0; } }
.res-item::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 0; background: linear-gradient(180deg, var(--blue), var(--orange)); transition: width .3s var(--ease); }
.res-item:hover { background: linear-gradient(90deg, rgba(45,108,255,.06), transparent 60%); }
.res-item:hover::before { width: 3px; }
.res-item .res-kicker { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-dim); }
.res-item h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); margin: .5rem 0 .5rem; }
.res-item:hover h3 { color: var(--blue-soft); }
.res-item p { font-size: .96rem; max-width: 46ch; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.tag-pill { display:inline-block; font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; color: var(--orange-soft);
  border:1px solid var(--line); padding:.3rem .8rem; border-radius:100px; }

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