/* ═══════════════════════════════════════════════════
   KARIM ADAPT — styles.css
   Mobile-first, fully responsive
   ═══════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────── */
:root {
  --teal:        #2e6171;
  --teal-deep:   #1a3f4d;
  --teal-mid:    #3d7a8a;
  --teal-light:  #5b9aaa;
  --teal-pale:   #d0e8ed;
  --teal-ghost:  #eaf4f6;
  --white:       #ffffff;
  --off-white:   #f8fbfc;
  --grey-50:     #f2f6f8;
  --grey-100:    #e2ebed;
  --grey-300:    #b0c5cb;
  --grey-500:    #6b8f97;
  --ink:         #0f2c34;
  --ink-soft:    #3d6070;

  --display:     'Cormorant Garamond', Georgia, serif;
  --body:        'DM Sans', system-ui, sans-serif;

  --container:   min(1180px, 100% - 3rem);
  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   32px;
  --radius-xl:   48px;

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--off-white);
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; margin: 0; padding: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

p { margin: 0; }

/* ── CUSTOM CURSOR (desktop only) ─────────────────── */
.cursor, .cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transition-property: transform, opacity;
  transition-timing-function: var(--ease-out);
  display: none;
}
@media (hover: hover) and (min-width: 768px) {
  .cursor {
    display: block;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(46,97,113,.5);
    transform: translate(-50%, -50%);
    transition-duration: 180ms;
  }
  .cursor-dot {
    display: block;
    width: 6px; height: 6px;
    background: var(--teal);
    transform: translate(-50%, -50%);
    transition-duration: 80ms;
  }
  .cursor.cursor-hover {
    transform: translate(-50%, -50%) scale(1.6);
    background: rgba(46,97,113,.08);
  }
}

/* ── UTILITY ─────────────────────────────────────── */
.container { width: var(--container); margin: 0 auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: fit-content;
  justify-self: center;
  margin-inline: auto;
  font-family: var(--body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  padding: .35rem .9rem;
  border: 1px solid rgba(46,97,113,.18);
  border-radius: 999px;
  background: rgba(46,97,113,.05);
}

.eyebrow-light {
  color: #a8d4dd;
  border-color: rgba(168,212,221,.25);
  background: rgba(255,255,255,.06);
}

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

.section {
  padding: 7rem 0;
  position: relative;
}
.section-alt { background: var(--grey-50); }
.section-dark {
  background: var(--teal-deep);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.72); }

.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
  display: grid;
  gap: .85rem;
}
.section-intro h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--body);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1;
  padding: .95rem 1.8rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s, color .2s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--white);
  box-shadow: 0 12px 32px rgba(46,97,113,.3);
}
.btn-primary:hover { box-shadow: 0 18px 40px rgba(46,97,113,.38); }

.btn-outline {
  background: transparent;
  color: var(--teal-deep);
  border-color: rgba(46,97,113,.25);
}
.btn-outline:hover {
  background: rgba(46,97,113,.06);
  border-color: var(--teal);
}

.btn-white {
  background: var(--white);
  color: var(--teal-deep);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.btn-white:hover { box-shadow: 0 14px 36px rgba(0,0,0,.22); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}

/* ── REVEAL ANIMATIONS ───────────────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
  transition-delay: var(--delay, 0s);
  will-change: transform, opacity;
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.is-visible.reveal-up,
.is-visible.reveal-left,
.is-visible.reveal-right {
  opacity: 1;
  transform: translate(0);
}

/* ── HEADER ──────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: .75rem 0;
  transition: background .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  background: rgba(248,251,252,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(46,97,113,.1);
}

.header-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--white);
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { display: flex; flex-direction: column; gap: .05rem; }
.logo-name {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1;
}
.logo-sub {
  font-size: .7rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .04em;
}

.site-header .logo-header {
  gap: 0;
}

.site-header .logo-header .logo-text {
  gap: .18rem;
}

.site-header .logo-header .logo-name {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
}

.site-header .logo-header .logo-sub {
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.1;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: .55rem .9rem;
  border-radius: 8px;
  transition: color .18s, background .18s;
}
.nav-link:hover, .nav-link.is-active { color: var(--teal-deep); background: rgba(46,97,113,.06); }
.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: .6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  margin-left: .5rem;
  transition: background .18s, transform .18s, box-shadow .18s;
  box-shadow: 0 4px 14px rgba(46,97,113,.28);
}
.nav-cta:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(46,97,113,.35);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  transition: background .18s;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { background: rgba(46,97,113,.08); }
.toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .25s var(--ease-out), opacity .25s;
}
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding: 7rem 0 4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46,97,113,.18), transparent 70%);
  top: -100px; right: -50px;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(91,154,170,.12), transparent 70%);
  bottom: 0; left: -80px;
}
.blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(208,232,237,.6), transparent 70%);
  top: 40%; right: 30%;
}
.hero-lines {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
}
.hero-lines span {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(46,97,113,.06), transparent);
}

.hero-content {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Text */
.hero-text {
  display: grid;
  gap: 1.8rem;
}
.hero-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
}
.hero-headline {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.0;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: .1em;
}
.hero-headline .line { display: block; }
.hero-headline .line-accent {
  color: var(--teal);
  font-style: italic;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 36ch;
  line-height: 1.75;
}
.hero-btns {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(46,97,113,.1);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(46,97,113,.08);
}
.stat { display: grid; gap: .2rem; }
.stat strong {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--teal-deep);
  line-height: 1;
}
.stat span {
  font-size: .75rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.stat-sep {
  width: 1px; height: 36px;
  background: rgba(46,97,113,.15);
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual { position: relative; }
.hero-img-stack {
  position: relative;
  height: 600px;
  isolation: isolate;
}

.himg {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: 0;
  box-shadow: 0 24px 60px rgba(46,97,113,.18);
}
.himg img { width: 100%; height: 100%; object-fit: cover; }

.himg-main {
  top: 0; right: 0;
  width: 62%; height: 68%;
  transform: rotate(1.5deg);
  z-index: 1;
}
.himg-tall {
  bottom: 0; left: 0;
  width: 42%; height: 62%;
  transform: rotate(-2deg);
  z-index: 3;
}
.himg-bottom {
  bottom: 4%;
  right: -6%;
  width: 46%;
  height: 40%;
  transform: rotate(3deg);
  z-index: 8;
  border-radius: var(--radius-md);
  border: 3px solid var(--white);
  box-shadow: 0 18px 48px rgba(46,97,113,.28);
}

.himg-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .7rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(46,97,113,.1);
  border-radius: var(--radius-md);
  padding: .8rem 1rem;
  box-shadow: 0 10px 30px rgba(46,97,113,.14);
  z-index: 5;
  max-width: 220px;
}
.badge-a { top: 10%; left: -12%; }
.badge-b { bottom: 8%; right: 2%; }
.himg-badge .badge-icon { font-size: 1.6rem; flex-shrink: 0; }
.himg-badge div { display: grid; gap: .1rem; }
.himg-badge strong {
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.himg-badge p {
  font-size: .7rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  z-index: 2;
}
.hero-scroll span:first-child {
  display: block;
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--teal));
  animation: scrollCue 2s var(--ease-in-out) infinite;
}
.hero-scroll span:last-child {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-light);
}
@keyframes scrollCue {
  0%, 100% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* ── MARQUEE ──────────────────────────────────────── */
.marquee-strip {
  background: var(--teal-deep);
  overflow: hidden;
  padding: .9rem 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-track .sep {
  color: rgba(255,255,255,.3);
  letter-spacing: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── APPROACH ─────────────────────────────────────── */
.approach-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.approach-image {
  position: sticky;
  top: 100px;
}
.approach-image figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 30px 80px rgba(46,97,113,.18);
}

.approach-image figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-out);
}
.approach-image figure:hover img { transform: scale(1.03); }
.approach-quote {
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--teal);
  box-shadow: 0 8px 24px rgba(46,97,113,.08);
}
.approach-quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.approach-quote cite {
  display: block;
  margin-top: .5rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal);
  font-style: normal;
}

.approach-pillars { display: grid; gap: 2.5rem; }
.approach-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.8;
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.pillar {
  padding: 1.4rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-100);
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(46,97,113,.1);
}
.pillar-icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: var(--teal-ghost);
  border-radius: 10px;
  color: var(--teal);
  margin-bottom: .85rem;
}
.pillar-icon svg { width: 20px; height: 20px; }
.pillar h3 {
  font-family: var(--body);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--ink);
}
.pillar p {
  font-size: .875rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ── SERVICES ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-100);
  overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .25s;
  position: relative;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(46,97,113,.14);
}
.service-card.card-featured {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  border-color: transparent;
  color: var(--white);
}

.sc-number {
  position: absolute;
  top: 1.2rem; right: 1.4rem;
  font-family: var(--display);
  font-size: 5rem;
  font-weight: 400;
  line-height: 1;
  color: rgba(46,97,113,.08);
  pointer-events: none;
  user-select: none;
}
.card-featured .sc-number { color: rgba(255,255,255,.1); }

.sc-content { padding: 2rem 1.8rem 1.8rem; }

.sc-icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  background: var(--teal-ghost);
  border-radius: 12px;
  color: var(--teal);
  margin-bottom: 1rem;
}
.card-featured .sc-icon {
  background: rgba(255,255,255,.15);
  color: var(--white);
}
.sc-icon svg { width: 26px; height: 26px; }

.sc-content h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: .7rem;
  color: var(--ink);
}
.card-featured .sc-content h3 { color: var(--white); }

.sc-content p {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.72;
  margin-bottom: 1rem;
}
.card-featured .sc-content p { color: rgba(255,255,255,.78); }

.sc-content ul {
  display: grid;
  gap: .35rem;
  margin-bottom: 1.4rem;
}
.sc-content ul li {
  font-size: .845rem;
  color: var(--ink-soft);
  padding-left: 1rem;
  position: relative;
}
.sc-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--teal-light);
  font-weight: 700;
}
.card-featured .sc-content ul li { color: rgba(255,255,255,.72); }
.card-featured .sc-content ul li::before { color: rgba(255,255,255,.4); }

.sc-link {
  font-size: .845rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .02em;
  transition: color .18s;
}
.sc-link:hover { color: var(--teal-deep); }
.card-featured .sc-link { color: rgba(255,255,255,.85); }
.card-featured .sc-link:hover { color: var(--white); }

/* ── EXPERIENCE ───────────────────────────────────── */
.exp-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.exp-blob {
  position: absolute;
  width: 700px; height: 700px;
  right: -200px; top: -150px;
  background: radial-gradient(circle, rgba(255,255,255,.04), transparent 70%);
  border-radius: 50%;
}

.exp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.exp-left { display: grid; gap: 2.5rem; }
.exp-lead {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  max-width: 42ch;
}
.exp-left h2 { font-size: clamp(2.4rem, 4vw, 3.8rem); }

.credentials { display: grid; gap: .75rem; }
.cred {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  transition: background .2s, border-color .2s;
}
.cred:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
}
.cred-icon {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  color: var(--teal-pale);
  flex-shrink: 0;
}
.cred-icon svg { width: 16px; height: 16px; }
.cred div { display: grid; gap: .2rem; }
.cred strong {
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.cred span {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}

/* Experience photos */
.exp-photos {
  position: relative;
  height: 560px;
}
.ep {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.ep img { width: 100%; height: 100%; object-fit: cover; }
.ep-main {
  top: 0; left: 8%;
  width: 70%; height: 68%;
  transform: rotate(-2deg);
  z-index: 2;
}
.ep-secondary {
  bottom: 0; right: 5%;
  width: 55%; height: 46%;
  transform: rotate(3deg);
  z-index: 3;
}
.exp-stat-card {
  position: absolute;
  top: 2%; left: -5%;
  z-index: 5;
  background: var(--teal-pale);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0,0,0,.2);
}
.exp-stat-card strong {
  display: block;
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--teal-deep);
  line-height: 1;
}
.exp-stat-card span {
  font-size: .72rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ── PROCESS ──────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: .5rem;
  align-items: center;
}
.ps {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  border: 1px solid var(--grey-100);
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.ps:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(46,97,113,.1);
}
.ps-num {
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--teal-pale);
  line-height: 1;
  margin-bottom: .9rem;
}
.ps h3 {
  font-family: var(--body);
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .6rem;
}
.ps p {
  font-size: .85rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.ps-arrow {
  font-size: 1.2rem;
  color: var(--teal-light);
  font-weight: 300;
  flex-shrink: 0;
  padding: 0 .25rem;
}

/* ── GALLERY ──────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gg-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--grey-100);
  position: relative;
}
.gg-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
  display: block;
}
.gg-card:hover img { transform: scale(1.04); }
.gg-card figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .8rem 1rem;
  background: linear-gradient(transparent, rgba(15,44,52,.65));
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
}
.gg-card:hover figcaption { opacity: 1; transform: translateY(0); }

.gg-tall { grid-row: span 2; aspect-ratio: 3/4; }
.gg-wide { grid-column: span 2; aspect-ratio: 16/9; }
.gg-card:not(.gg-tall):not(.gg-wide) { aspect-ratio: 4/3; }

/* ── CTA BAND ─────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.06), transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.cta-text { display: grid; gap: .8rem; }
.cta-text h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}
.cta-text h2 em {
  color: var(--teal-pale);
  font-style: italic;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* ── CONTACT ──────────────────────────────────────── */
.contact-section { padding-bottom: 8rem; }

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}
.contact-left { display: grid; gap: 1.5rem; }
.contact-left h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); }
.contact-left > p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 36ch;
}
.contact-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: 0 24px 60px rgba(46,97,113,.15);
}
.contact-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.contact-right { display: grid; gap: 1.5rem; }

.contact-cards { display: grid; gap: .8rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-md);
  transition: transform .2s var(--ease-out), box-shadow .2s, border-color .2s;
}
.contact-card:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 32px rgba(46,97,113,.1);
  border-color: var(--teal-pale);
}
.cc-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: var(--teal-ghost);
  border-radius: 10px;
  color: var(--teal);
  flex-shrink: 0;
}
.cc-icon svg { width: 20px; height: 20px; }
.cc-body {
  flex: 1;
  display: grid;
  gap: .15rem;
}
.cc-body span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.cc-body strong {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.cc-arrow {
  color: var(--grey-300);
  font-size: 1rem;
  flex-shrink: 0;
  transition: color .2s, transform .2s;
}
.contact-card:hover .cc-arrow { color: var(--teal); transform: translateX(3px); }

.contact-note {
  padding: 1.1rem 1.3rem;
  background: var(--teal-ghost);
  border-radius: var(--radius-md);
  border: 1px solid var(--teal-pale);
}
.contact-note p {
  font-size: .875rem;
  color: var(--teal-deep);
  line-height: 1.65;
}

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { display: grid; gap: 1rem; }
.footer-brand .logo-mark { background: rgba(255,255,255,.12); }
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,.45); }
.footer-brand p {
  font-size: .875rem;
  line-height: 1.7;
  max-width: 32ch;
  color: rgba(255,255,255,.5);
}
.footer-nav {
  display: grid;
  gap: .6rem;
  align-content: start;
  padding-top: .25rem;
}
.footer-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  transition: color .18s;
}
.footer-nav a:hover { color: var(--white); }
.footer-social {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding-top: .25rem;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  color: rgba(255,255,255,.65);
  transition: background .18s, color .18s, transform .18s;
}
.footer-social a:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); transition: color .18s; }
.footer-bottom a:hover { color: var(--white); }
.back-top {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal-light) !important;
  text-decoration: none;
  transition: color .18s;
}
.back-top:hover { color: var(--white) !important; }

/* ════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .hero-img-stack { height: 480px; }
  .himg-main { width: 65%; height: 62%; }
  .himg-tall { width: 44%; height: 58%; }
  .badge-a { left: -5%; }

  .approach-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .approach-image {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }
  .approach-image figure { aspect-ratio: 3/4; }

  .exp-layout { gap: 3rem; }
  .exp-photos { height: 440px; }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
  }
  .ps-arrow { display: none; }

  .services-grid { gap: 1rem; }

  .contact-layout { gap: 3.5rem; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  :root { --container: min(100%, 100% - 2rem); }

  .section { padding: 5rem 0; }
  .section-intro { margin-bottom: 2.5rem; }

  /* Header */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(248,251,252,.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transform: scale(.96);
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
    padding: 2rem;
  }
  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }
  .nav-link {
    font-size: 1.4rem;
    font-family: var(--display);
    font-weight: 500;
    padding: .75rem 2rem;
    color: var(--ink);
    text-align: center;
    width: 100%;
    border-radius: var(--radius-md);
    transition: background .18s, color .18s;
  }
  .nav-link:hover { background: var(--teal-ghost); color: var(--teal-deep); }
  .nav-cta {
    margin: .5rem 0 0;
    width: 100%;
    max-width: 260px;
    font-size: 1rem;
    padding: 1rem 2rem;
  }

  .site-header .logo-header .logo-name {
    font-size: 1.45rem;
  }

  .site-header .logo-header .logo-sub {
    font-size: .82rem;
  }

  /* Hero */
  .hero {
    padding: 6rem 0 3rem;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding-top: 1rem;
  }

  .hero-text {
    gap: 1.35rem;
    text-align: center;
    justify-items: center;
  }

  .hero-eyebrow {
    text-align: center;
  }

  .hero-headline {
    font-size: clamp(2.6rem, 11vw, 3.8rem);
    align-items: center;
  }

  .hero-desc {
    max-width: 30ch;
    font-size: 1rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: .75rem;
    align-items: center;
    text-align: center;
    padding: 1rem 1.2rem;
    width: 100%;
  }

  .stat {
    justify-items: center;
  }

  .stat-sep {
    width: 100%;
    height: 1px;
  }

  /* Hero visual — keep laptop-style collage on mobile */
  .hero-visual {
    order: 2;
    width: 100%;
  }

  .hero-img-stack {
    position: relative;
    display: block;
    height: 360px;
    max-width: 420px;
    margin: 0 auto;
    overflow: visible;
    isolation: isolate;
  }

  .himg {
    position: absolute;
    margin: 0;
  }

  .himg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .himg-main {
    top: 0;
    right: 0;
    width: 68%;
    height: 62%;
    transform: rotate(1.5deg);
    z-index: 2;
    display: block;
  }

  .himg-tall {
    left: 0;
    bottom: 0;
    width: 46%;
    height: 58%;
    transform: rotate(-2deg);
    z-index: 3;
    display: block;
  }

  .himg-bottom {
    right: -1%;
    bottom: 10%;
    width: 46%;
    height: 34%;
    transform: rotate(3deg);
    z-index: 4;
    display: block;
    border-radius: var(--radius-md);
    border: 3px solid var(--white);
    box-shadow: 0 18px 48px rgba(46,97,113,.28);
}

  /* Hide badges on mobile so the collage stays clean */
  .himg-badge {
    display: none;
  }

  /* Hero scroll */
  .hero-scroll {
    display: none;
  }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card .sc-number {
    font-size: 4rem;
    top: 1rem; right: 1rem;
  }
  .sc-content { padding: 1.6rem 1.4rem 1.4rem; }

  /* Approach */
  .approach-image {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .approach-image figure { aspect-ratio: 16/9; }
  .pillars-grid { grid-template-columns: 1fr; }

  /* Experience */
  .exp-layout { grid-template-columns: 1fr; gap: 3rem; }
  .exp-photos { height: 340px; }
  .ep-main { width: 72%; height: 72%; left: 4%; }
  .ep-secondary { width: 52%; height: 44%; right: 2%; }
  .exp-stat-card { left: 0; top: -1.5rem; padding: .7rem .9rem; }
  .exp-stat-card strong { font-size: 1.7rem; }

  .exp-left {
    text-align: center;
    justify-items: center;
  }

  .exp-left h2,
  .exp-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .credentials {
    width: 100%;
  } 

  .cred {
    text-align: left;
  }

  /* Process */
  .process-steps {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .ps { padding: 1.4rem 1.3rem; }
  .ps-num { font-size: 2.2rem; margin-bottom: .6rem; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gg-tall { grid-row: span 1; aspect-ratio: 4/3; }
  .gg-wide { grid-column: span 2; aspect-ratio: 16/9; }
  .gallery-section .section-intro {
    text-align: center;
    justify-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* CTA */
  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-photo { aspect-ratio: 16/9; }
  .contact-left h2 { font-size: 2.8rem; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
    justify-items: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-nav {
    justify-items: center;
  }

  .footer-social {
    justify-content: center;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    text-align: center;
  }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero { padding: 5.5rem 0 2.5rem; }
  .hero-headline { font-size: clamp(2.2rem, 12vw, 3.2rem); }
  .hero-img-stack {
    height: 300px;
    max-width: 340px;
  }

  .himg-main {
    width: 70%;
    height: 60%;
  }

  .himg-tall {
    width: 48%;
    height: 56%;
  }

  .himg-bottom {
    width: 48%;
    height: 32%;
    right: 0;
    bottom: 4%;
  }

  .gallery-grid { grid-template-columns: 1fr; }
  .gg-wide { grid-column: span 1; }
  .gg-card:not(.gg-tall):not(.gg-wide) { aspect-ratio: 4/3; }

  .contact-cards { gap: .65rem; }
  .cc-body strong { font-size: .84rem; }

  h2 { font-size: 2.2rem; }
}

  .site-header .logo-header .logo-name {
    font-size: 1.3rem;
  }

  .site-header .logo-header .logo-sub {
    font-size: .78rem;
  }

/* ── REDUCED MOTION ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
}

.himg-bottom {
  outline: 0.01px solid white !important;
}