/* ============================================================
   AJN Business Solutions — Design System
   "Bringing order to growth."
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&family=Figtree:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand-700: #0F76A8;
  --brand-600: #1391C6;
  --brand-500: #16A6E0;   /* primary AJN sky blue */
  --brand-400: #45BAE9;
  --brand-200: #AEE2F6;
  --brand-100: #DBF1FB;
  --brand-50:  #ECF7FD;

  /* Ink — deep blue-charcoal, tinted toward brand */
  --ink-900: #0A1922;
  --ink-800: #102330;
  --ink-700: #1C3340;
  --ink-500: #3E5563;
  --ink-400: #5E7280;
  --ink-300: #8A9BA7;

  /* Neutrals tinted slightly cool */
  --paper:   #FFFFFF;
  --mist:    #F4F8FB;
  --mist-2:  #EBF1F5;
  --line:    #E2EAEF;
  --line-2:  #D3DEE5;

  /* Type */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii — soft, rounded brand language */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Shadows — soft, blue-tinted */
  --sh-sm: 0 1px 2px rgba(16, 35, 48, .06), 0 2px 6px rgba(16, 35, 48, .05);
  --sh-md: 0 6px 18px rgba(16, 35, 48, .07), 0 18px 40px rgba(16, 35, 48, .06);
  --sh-lg: 0 12px 30px rgba(16, 35, 48, .09), 0 30px 70px rgba(20, 110, 160, .10);
  --sh-brand: 0 10px 24px rgba(22, 166, 224, .28);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink-800);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
  -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; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); line-height: 1.06; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 1.3rem + 2.9vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 1.05rem + 1.3vw, 1.85rem); letter-spacing: -0.015em; }
h4 { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); font-weight: 700; letter-spacing: -0.01em; }
p { color: var(--ink-500); }
strong { color: var(--ink-800); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: var(--brand-400); display: inline-block;
}
.eyebrow.center::before { display: none; }
.lead { font-size: clamp(1.1rem, 1.02rem + .5vw, 1.32rem); color: var(--ink-500); line-height: 1.55; }
.accent { color: var(--brand-600); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1380px; }
.section { padding-block: clamp(40px, 4vw, 80px); position: relative; }
.section--tight { padding-block: clamp(32px, 3vw, 56px); }
.bg-mist { background: var(--mist); }
.bg-mist-2 { background: var(--mist-2); }
.bg-ink { background: var(--ink-900); color: #fff; }
.bg-brand { background: var(--brand-500); }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: .7rem; }
.section-head p { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: .95em 1.7em; border-radius: var(--r-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn-primary { background: var(--brand-500); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22,166,224,.36); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink-800); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brand-400); color: var(--brand-700); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink-900); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn-onbrand { background: var(--ink-900); color: #fff; }
.btn-onbrand:hover { transform: translateY(-2px); background: var(--ink-800); }
.btn-lg { font-size: 1.08rem; padding: 1.05em 2em; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 700; color: var(--brand-600); font-size: .98rem;
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Scalloped badge motif ---------- */
.seal { position: relative; display: inline-grid; place-items: center; }
.seal > svg.seal-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal > .seal-fg { position: relative; z-index: 1; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(16,35,48,.05); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink-900); letter-spacing: -.02em; line-height: 1; }
.brand__name span { display: block; font-size: .58rem; font-weight: 700; letter-spacing: .22em; color: var(--ink-300); margin-top: 3px; }
.nav__menu { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav__link {
  font-family: var(--font-display); font-weight: 600; font-size: .96rem; color: var(--ink-700);
  padding: .4rem .65rem; border-radius: var(--r-pill); transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--brand-700); background: var(--brand-50); }
.nav__link.active { color: var(--brand-700); }
.nav__cta { margin-left: 1rem; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); margin-left: auto; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink-800); margin: 5px auto; border-radius: 2px; transition: .3s var(--ease); }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 1rem var(--gutter) 1.6rem; gap: .2rem; margin: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--sh-md);
    transform: translateY(-130%); transition: transform .4s var(--ease-out); max-height: calc(100vh - 78px); overflow:auto;
  }
  .nav.open .nav__menu { transform: translateY(0); }
  .nav__link { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav__cta { margin: .6rem 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 80px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { max-width: 620px; position: relative; z-index: 2; }
.hero h1 { margin-top: 1.4rem; }
.hero h1 .quiet { color: var(--brand-500); position: relative; white-space: nowrap; }
.hero__sub { margin-top: 1.6rem; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; align-items: center; }
.hero__trust { margin-top: 2.6rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.hero__trust-label { font-size: .82rem; color: var(--ink-400); font-weight: 600; }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid #fff; margin-left: -10px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: #fff; }
.avatars span:first-child { margin-left: 0; }
.stars { color: var(--brand-500); font-size: .95rem; letter-spacing: 2px; }

/* Hero visual — synchronized systems composition */
.hero__visual { position: relative; aspect-ratio: 1/1; max-width: 540px; margin-inline: auto; width: 100%; }
.blueprint-bg { position: absolute; inset: -8%;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px; -webkit-mask-image: radial-gradient(circle at 55% 45%, #000 35%, transparent 72%);
  mask-image: radial-gradient(circle at 55% 45%, #000 35%, transparent 72%); opacity: .8; }

.eyebrow-pill {
  display:inline-flex; align-items:center; gap:.5rem; padding:.45rem .9rem; border-radius:var(--r-pill);
  background: var(--brand-50); color: var(--brand-700); font-family:var(--font-display); font-weight:700; font-size:.82rem;
  box-shadow: inset 0 0 0 1px var(--brand-100);
}
.eyebrow-pill .dot { width:7px; height:7px; border-radius:50%; background: var(--brand-500); box-shadow:0 0 0 4px rgba(22,166,224,.18); }

/* ============================================================
   MARQUEE / LOGO STRIP
   ============================================================ */
.logos { padding-block: clamp(28px, 3vw, 44px); border-block: 1px solid var(--line); }
.logos__label { text-align: center; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-300); font-weight: 700; margin-bottom: 1.6rem; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 5vw, 72px); }
.logos__row span { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, .9rem + .6vw, 1.4rem); color: var(--ink-300); letter-spacing: -.02em; transition: color .3s; }
.logos__row span:hover { color: var(--ink-700); }

/* ============================================================
   PAIN POINT — chaos vs order
   ============================================================ */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); margin-top: 3rem; align-items: stretch; }
.contrast__card { border-radius: var(--r-lg); padding: clamp(28px, 3vw, 44px); position: relative; overflow: hidden; }
.contrast__card.chaos { background: var(--mist-2); }
.contrast__card.order { background: var(--ink-900); color: #fff; box-shadow: var(--sh-lg); }
.contrast__tag { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.contrast .chaos .contrast__tag { color: var(--ink-400); }
.contrast .order .contrast__tag { color: var(--brand-400); }
.contrast__card h3 { color: inherit; }
.contrast .order h3 { color: #fff; }
.contrast__card p { margin-top: .8rem; }
.contrast .order p { color: rgba(255,255,255,.72); }
.contrast__list { margin-top: 1.6rem; display: grid; gap: .7rem; }
.contrast__list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .98rem; }
.contrast__list li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.chaos .contrast__list li { color: var(--ink-500); }
.order .contrast__list li { color: rgba(255,255,255,.85); }

/* the tangled vs aligned mini diagram */
.diagram { height: 130px; margin-bottom: .4rem; }

/* ============================================================
   SERVICE PILLARS (3 cols, badge numbers)
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); margin-top: 3.4rem; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 2.4vw, 40px); position: relative; overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.pillar__num { position: relative; width: 76px; height: 76px; margin-bottom: 1.6rem; display: grid; place-items: center; }
.pillar__num svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pillar__num b { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #fff; }
.pillar h3 { margin-bottom: .7rem; }
.pillar p { font-size: 1rem; }
.pillar__list { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px dashed var(--line-2); display: grid; gap: .65rem; }
.pillar__list li { font-size: .95rem; color: var(--ink-700); display: flex; gap: .6rem; align-items: center; font-weight: 500; }
.pillar__list li svg { width: 17px; height: 17px; color: var(--brand-500); flex-shrink: 0; }
.pillar__foot { margin-top: 1.7rem; }
.pillar__watermark { position: absolute; right: -40px; bottom: -50px; width: 190px; height: 190px; opacity: .05; z-index: 0; pointer-events: none; }

/* ============================================================
   DEEP DIVE GRID (services with icons)
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); margin-top: 3rem; }
.feature {
  padding: clamp(22px, 2vw, 32px); border-radius: var(--r-md); background: #fff;
  border: 1px solid var(--line); transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.feature__icon { width: 54px; height: 54px; margin-bottom: 1.2rem; position: relative; display: grid; place-items: center; }
.feature__icon svg.seal-bg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--brand-50); }
.feature__icon svg.ico { position: relative; z-index: 1; width: 26px; height: 26px; color: var(--brand-600); }
.feature h4 { margin-bottom: .5rem; }
.feature p { font-size: .96rem; }

/* Split alternative layout (operational services) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.split--reverse .split__media { order: 2; }
.stack-list { display: grid; gap: 1rem; margin-top: 2rem; }
.stack-item { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: transform .3s var(--ease-out), box-shadow .3s; }
.stack-item:hover { transform: translateX(5px); box-shadow: var(--sh-sm); }
.stack-item__icon { width: 46px; height: 46px; position: relative; display: grid; place-items: center; }
.stack-item__icon svg.seal-bg { position:absolute; inset:0; width:100%; height:100%; color: var(--brand-100); }
.stack-item__icon svg.ico { position: relative; z-index: 1; width: 22px; height: 22px; color: var(--brand-600); }
.stack-item h4 { margin-bottom: .25rem; }
.stack-item p { font-size: .93rem; }

/* ============================================================
   AJN DIFFERENCE / alignment
   ============================================================ */
.align { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.align__visual { position: relative; }
.value-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem 1.4rem; }
.value-card:nth-child(odd) { transform: translateY(14px); }
.value-card__n { font-family: var(--font-display); font-weight: 800; color: var(--brand-200); font-size: 1.5rem; }
.value-card h4 { margin: .5rem 0 .4rem; }
.value-card p { font-size: .92rem; }
@media (max-width: 640px){ .value-card:nth-child(odd){ transform:none; } }

/* ============================================================
   PROCESS ROADMAP
   ============================================================ */
.roadmap { margin-top: 3.4rem; position: relative; }
.roadmap__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 30px); position: relative; }
.roadmap__track::before { content: ""; position: absolute; top: 38px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-200) 0 10px, transparent 10px 20px); z-index: 0; }
.step { position: relative; z-index: 1; }
.step__seal { width: 78px; height: 78px; position: relative; display: grid; place-items: center; margin-bottom: 1.4rem; }
.step__seal svg.seal-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.step__seal b { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.4rem; }
.step h4 { margin-bottom: .5rem; }
.step p { font-size: .95rem; }
@media (max-width: 860px){
  .roadmap__track { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .roadmap__track::before { display: none; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); color: var(--brand-500); letter-spacing: -.03em; line-height: 1; }
.bg-ink .stat__num { color: var(--brand-400); }
.stat__label { margin-top: .7rem; font-size: .98rem; color: var(--ink-400); font-weight: 500; }
.bg-ink .stat__label { color: rgba(255,255,255,.62); }
@media (max-width: 720px){ .stats { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 2.4vw, 32px); margin-top: 3rem; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 44px); position: relative; display:flex; flex-direction:column; }
.testi--feature { background: var(--ink-900); color: #fff; box-shadow: var(--sh-lg); }
.testi__quote-mark { font-family: var(--font-display); font-size: 4.4rem; line-height: .6; color: var(--brand-200); height: 32px; }
.testi--feature .testi__quote-mark { color: var(--brand-400); }
.testi blockquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); line-height: 1.38; letter-spacing: -.01em; color: var(--ink-900); margin: 1rem 0 1.6rem; }
.testi--feature blockquote { color: #fff; }
.testi__metric { font-family: var(--font-display); font-weight: 800; color: var(--brand-500); font-size: 1.15rem; margin-bottom:.4rem;}
.testi--feature .testi__metric { color: var(--brand-400); }
.testi__author { display: flex; align-items: center; gap: .9rem; margin-top: auto; padding-top: 1.4rem; }
.testi__avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; flex-shrink: 0; }
.testi__name { font-family: var(--font-display); font-weight: 700; color: var(--ink-900); font-size: .98rem; }
.testi--feature .testi__name { color: #fff; }
.testi__role { font-size: .85rem; color: var(--ink-400); }
.testi--feature .testi__role { color: rgba(255,255,255,.6); }
@media (max-width: 820px){ .testi-grid { grid-template-columns: 1fr; } }

/* ============================================================
   LEAD MAGNET
   ============================================================ */
.leadmag { background: var(--brand-500); border-radius: var(--r-xl); padding: clamp(32px, 4vw, 60px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px); align-items: center; position: relative; overflow: hidden; }
.leadmag__deco { position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; opacity: .14; color:#fff; }
.leadmag .eyebrow { color: #fff; }
.leadmag .eyebrow::before { background: rgba(255,255,255,.6); }
.leadmag h2 { color: #fff; position: relative; z-index: 1; }
.leadmag p { color: rgba(255,255,255,.9); position: relative; z-index: 1; }
.leadmag__form { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 2.4vw, 34px); box-shadow: var(--sh-lg); position: relative; z-index: 1; }
.leadmag__cover { display:flex; gap:1rem; align-items:center; margin-bottom: 1.4rem; padding-bottom:1.4rem; border-bottom:1px solid var(--line); }
.leadmag__cover .seal { width: 56px; height:56px; flex-shrink:0; }
.leadmag__cover svg.seal-bg { color: var(--brand-50); }
.leadmag__cover .ico { color: var(--brand-600); width:26px; height:26px; }
.leadmag__cover small { color: var(--ink-400); font-weight:600; letter-spacing:.04em; text-transform:uppercase; font-size:.7rem; }
.leadmag__cover strong { display:block; font-family:var(--font-display); color:var(--ink-900); font-size:1.05rem; margin-top:2px; }

.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--ink-700); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1.05rem; border-radius: var(--r-md); border: 1.5px solid var(--line-2);
  font: inherit; color: var(--ink-900); background: var(--mist); transition: border-color .25s, background .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-400); background: #fff; box-shadow: 0 0 0 4px rgba(22,166,224,.12); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-300); }
.form-note { font-size: .8rem; color: var(--ink-400); margin-top: .9rem; text-align: center; }
@media (max-width: 820px){ .leadmag { grid-template-columns: 1fr; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta { position: relative; overflow: hidden; text-align: center; }
.finalcta .container { position: relative; z-index: 1; }
.finalcta h2 { color: #fff; max-width: 900px; margin-inline: auto; }
.finalcta p { color: rgba(255,255,255,.78); max-width: 620px; margin: 1.4rem auto 2.4rem; font-size: 1.15rem; }
.finalcta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.finalcta__deco { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.finalcta__seal { position: absolute; opacity: .06; color: #fff; }
.finalcta__seal.a { width: 360px; height: 360px; left: -90px; bottom: -120px; }
.finalcta__seal.b { width: 240px; height: 240px; right: -50px; top: -70px; opacity: .05; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink-900); color: rgba(255,255,255,.66); padding-top: clamp(56px, 6vw, 88px); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(28px, 3vw, 48px); padding-bottom: 3rem; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name span { color: rgba(255,255,255,.45); }
.footer__about { margin-top: 1.3rem; max-width: 320px; font-size: .96rem; line-height: 1.6; color: rgba(255,255,255,.6); }
.footer__col h5 { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer__col a { display: block; padding: .35rem 0; color: rgba(255,255,255,.62); font-size: .96rem; transition: color .2s, transform .2s; }
.footer__col a:hover { color: var(--brand-400); transform: translateX(3px); }
.footer__contact a { display:flex; align-items:center; gap:.6rem; }
.footer__contact svg { width:16px; height:16px; color: var(--brand-400); flex-shrink:0; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.6rem; }
.footer__social a { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; background: rgba(255,255,255,.06); color: rgba(255,255,255,.8); transition: background .25s, transform .25s, color .25s; }
.footer__social a:hover { background: var(--brand-500); color: #fff; transform: translateY(-3px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.6rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .88rem; }
.footer__bottom .legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--brand-400); }
@media (max-width: 860px){ .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px){ .footer__top { grid-template-columns: 1fr; } }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.pagehead { padding-top: clamp(48px, 5vw, 80px); padding-bottom: clamp(40px, 4vw, 64px); position: relative; overflow: hidden; }
.pagehead .blueprint-bg { inset: 0; -webkit-mask-image: radial-gradient(circle at 80% 30%, #000 0%, transparent 60%); mask-image: radial-gradient(circle at 80% 30%, #000 0%, transparent 60%); opacity:.7; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .88rem; color: var(--ink-400); font-weight: 500; margin-bottom: 1.4rem; position:relative; z-index:1; }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
.pagehead__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 4vw, 60px); align-items: center; position: relative; z-index: 1; }
.pagehead h1 { margin-top: 1rem; }
.pagehead p { margin-top: 1.3rem; max-width: 540px; }
.pagehead__actions { margin-top: 2rem; display:flex; gap:.8rem; flex-wrap:wrap; }

/* big service hero seal */
.service-emblem { position: relative; width: 100%; max-width: 360px; margin-inline: auto; aspect-ratio: 1; display: grid; place-items: center; }
.service-emblem .seal-bg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--brand-500); filter: drop-shadow(0 20px 40px rgba(22,166,224,.3)); }
.service-emblem .ico { position: relative; z-index: 1; width: 38%; height: 38%; color: #fff; }

/* ============================================================
   INCLUDED LIST / checklist columns
   ============================================================ */
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 2rem; margin-top: 2rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-700); font-weight: 500; }
.checks li svg { width: 22px; height: 22px; color: var(--brand-500); flex-shrink: 0; margin-top: 1px; }
@media (max-width: 560px){ .checks { grid-template-columns: 1fr; } }

/* ============================================================
   PRICING / PACKAGES
   ============================================================ */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); margin-top: 3rem; align-items: stretch; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 2.4vw, 38px); display: flex; flex-direction: column; transition: transform .35s var(--ease-out), box-shadow .35s; }
.tier:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.tier--featured { background: var(--ink-900); color: #fff; border-color: transparent; box-shadow: var(--sh-lg); }
.tier__badge { align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .8rem; border-radius: var(--r-pill); background: var(--brand-500); color: #fff; margin-bottom: 1.2rem; }
.tier h3 { margin-bottom: .4rem; }
.tier--featured h3 { color: #fff; }
.tier__price { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--ink-900); letter-spacing: -.03em; margin: 1rem 0 .2rem; }
.tier--featured .tier__price { color: #fff; }
.tier__price small { font-size: .95rem; font-weight: 600; color: var(--ink-400); }
.tier--featured .tier__price small { color: rgba(255,255,255,.6); }
.tier__desc { font-size: .95rem; color: var(--ink-400); min-height: 2.6em; }
.tier--featured .tier__desc { color: rgba(255,255,255,.7); }
.tier__list { margin: 1.6rem 0; display: grid; gap: .75rem; flex: 1; }
.tier__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--ink-700); }
.tier--featured .tier__list li { color: rgba(255,255,255,.82); }
.tier__list svg { width: 19px; height: 19px; color: var(--brand-500); flex-shrink: 0; margin-top: 2px; }
.tier--featured .tier__list svg { color: var(--brand-400); }
@media (max-width: 860px){ .tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline:auto; } }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; margin-top: 2.6rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink-900); }
.faq__q .pm { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-50); display: grid; place-items: center; flex-shrink: 0; transition: background .3s, transform .3s; }
.faq__q .pm svg { width: 16px; height: 16px; color: var(--brand-600); transition: transform .3s var(--ease); }
.faq__item.open .pm { background: var(--brand-500); }
.faq__item.open .pm svg { color: #fff; transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 1.5rem; max-width: 90%; }

/* ============================================================
   ABOUT — story, culture
   ============================================================ */
.story { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,64px); align-items:center; }
.culture-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2vw,26px); margin-top: 3rem; }
.culture { padding: clamp(24px,2.4vw,34px); border-radius: var(--r-lg); background:#fff; border:1px solid var(--line); }
.culture__icon { width:52px; height:52px; position:relative; display:grid; place-items:center; margin-bottom:1.2rem; }
.culture__icon svg.seal-bg { position:absolute; inset:0; width:100%; height:100%; color: var(--brand-50); }
.culture__icon svg.ico { position:relative; z-index:1; width:24px;height:24px; color:var(--brand-600); }
.culture h4 { margin-bottom:.5rem; }
.culture p { font-size:.95rem; }

.manifesto { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.8rem); line-height: 1.25; letter-spacing: -.02em; color: var(--ink-900); max-width: 980px; }
.manifesto .mute { color: var(--ink-300); }

/* timeline (about) */
.tl { max-width: 760px; margin-top: 3rem; }
.tl__item { display: grid; grid-template-columns: 120px 1fr; gap: 1.6rem; padding-bottom: 2.2rem; position: relative; }
.tl__item::before { content:""; position:absolute; left: 130px; top: 12px; bottom: -12px; width: 2px; background: var(--line); }
.tl__item:last-child::before { display:none; }
.tl__year { font-family: var(--font-display); font-weight: 800; color: var(--brand-500); font-size: 1.2rem; text-align:right; }
.tl__dot { position:absolute; left: 124px; top: 8px; width: 14px; height: 14px; border-radius:50%; background:#fff; border:3px solid var(--brand-500); z-index:1; }
.tl__body h4 { margin-bottom:.4rem; }
.tl__body p { font-size:.97rem; }
@media (max-width:600px){ .tl__item{ grid-template-columns: 70px 1fr; gap:1rem;} .tl__item::before{left:80px;} .tl__dot{left:74px;} .tl__year{font-size:1rem;} }

/* generic two-column intro */
.intro2 { display:grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px,5vw,80px); align-items:start; }
.intro2 .section-head { max-width:none; }

/* CTA band (interior) */
.ctaband { background: var(--ink-900); border-radius: var(--r-xl); padding: clamp(36px,4vw,64px); display:flex; justify-content:space-between; align-items:center; gap:2rem; flex-wrap:wrap; position:relative; overflow:hidden; }
.ctaband h3 { color:#fff; max-width: 560px; }
.ctaband p { color: rgba(255,255,255,.7); margin-top:.7rem; max-width:540px; }
.ctaband__seal { position:absolute; right:-50px; bottom:-70px; width:240px; height:240px; opacity:.06; color:#fff; }

/* related services */
.related { display:grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2vw,24px); margin-top:3rem; }
.related a { background:#fff; border:1px solid var(--line); border-radius:var(--r-md); padding:1.6rem; display:flex; align-items:center; gap:1rem; transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.related a:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.related__ico { width:46px;height:46px; position:relative; display:grid; place-items:center; flex-shrink:0; }
.related__ico svg.seal-bg{position:absolute;inset:0;width:100%;height:100%;color:var(--brand-50);}
.related__ico svg.ico{position:relative;z-index:1;width:22px;height:22px;color:var(--brand-600);}
.related strong { font-family:var(--font-display); color:var(--ink-900); font-size:1rem; display:block; }
.related span { font-size:.85rem; color:var(--ink-400); }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay:.08s;} .reveal[data-d="2"]{ transition-delay:.16s;}
.reveal[data-d="3"]{ transition-delay:.24s;} .reveal[data-d="4"]{ transition-delay:.32s;}
.reveal[data-d="5"]{ transition-delay:.40s;}

/* ============================================================
   Responsive collapses
   ============================================================ */
@media (max-width: 980px){
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; }
  .pillars, .feature-grid, .culture-grid, .related { grid-template-columns: 1fr 1fr; }
  .align, .split, .split--reverse .split__media, .story, .intro2, .pagehead__grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .stats { gap: 30px; }
}
@media (max-width: 680px){
  .contrast, .pillars, .feature-grid, .culture-grid, .value-cards, .related { grid-template-columns: 1fr; }
  .nav__inner { height: 66px; }
  .hero__actions .btn { flex: 1; }
}

/* ============================================================
   GALLERY (40 IMAGES)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-rows: 160px;
  gap: 12px;
  margin-top: 1rem;
}
.gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--sh-md);
  z-index: 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Variations to make it look masonry-like */
.gallery-item:nth-child(4n+1) { grid-row: span 2; }
.gallery-item:nth-child(7n+3) { grid-column: span 2; grid-row: span 2; }

@media (max-width: 680px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); grid-auto-rows: 120px; gap: 8px; }
  .gallery-item:nth-child(7n+3) { grid-column: span 1; grid-row: span 1; }
}

/* ============================================================
   FULL WIDTH IMAGE
   ============================================================ */
.full-width-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(40px, 4vw, 80px);
  margin-bottom: clamp(40px, 4vw, 80px);
  position: relative;
}
.full-width-section img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  display: block;
}

/* ============================================================
   STOCK IMAGERY
   ============================================================ */
.img-wrap {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-md);
  margin-top: 1.5rem;
}
.img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
  pointer-events: none;
}
.stock-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

