/* =============================================================
   BrightPathDigital.pro, Shared stylesheet ("Hybrid Aurora")
   Navy chrome · Indigo→Cyan aurora accent · Crimson micro-pops
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand navy (sampled from the logo background so it blends seamlessly) */
  --navy:      #052234;
  --navy-2:    #03161f;   /* deeper, footer */
  --navy-line: #0e3a52;   /* hairlines / borders on navy */
  --navy-soft: #0b3149;   /* hover surface on navy */

  /* Body palette */
  --ink:       #0f1f33;
  --ink-soft:  #33475f;
  --muted:     #5a6b82;
  --bg:        #f6f8fc;
  --bg-2:      #eef2f9;
  --surface:   #ffffff;
  --border:    #e4e9f2;

  /* Accents */
  --indigo:    #6366f1;
  --indigo-d:  #4f46e5;
  --cyan:      #29abe2;
  --crimson:   #e0234e;
  --aurora:    linear-gradient(120deg, #6366f1 0%, #4f7ff0 45%, #29abe2 100%);
  --aurora-soft: linear-gradient(120deg, rgba(99,102,241,.14), rgba(41,171,226,.14));

  /* System */
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow:    0 6px 24px rgba(13, 34, 64, .08);
  --shadow-lg: 0 24px 60px rgba(13, 34, 64, .16);
  --shadow-cy: 0 18px 40px rgba(79, 70, 229, .28);
  --container: 1180px;
  --gut:       clamp(20px, 5vw, 48px);
  --ease:      cubic-bezier(.22, 1, .36, 1);

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 104px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
a { color: var(--indigo-d); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Decorative background blobs ---------- */
.bg-aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-aurora::before {
  content: ""; position: absolute; inset: -25%;
  background:
    radial-gradient(38% 38% at 22% 28%, rgba(99,102,241,.20), transparent 60%),
    radial-gradient(42% 42% at 82% 22%, rgba(41,171,226,.18), transparent 62%),
    radial-gradient(40% 40% at 65% 82%, rgba(224,35,78,.12), transparent 60%);
  animation: auroraShift 26s ease-in-out infinite alternate;
}
.bg-aurora .blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: drift 24s ease-in-out infinite;
}
.bg-aurora .blob.b1 { width: 520px; height: 520px; top: -160px; left: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(99,102,241,.55), transparent 70%); }
.bg-aurora .blob.b2 { width: 460px; height: 460px; top: 24%; right: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(41,171,226,.5), transparent 70%); animation-delay: -6s; }
.bg-aurora .blob.b3 { width: 420px; height: 420px; bottom: -180px; left: 30%;
  background: radial-gradient(circle at 30% 30%, rgba(224,35,78,.22), transparent 70%); animation-delay: -11s; }
.bg-grid { position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image: radial-gradient(rgba(15,31,51,.045) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: linear-gradient(180deg, #000, transparent 70%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  padding: .85em 1.6em; border-radius: 999px; font-weight: 600; font-family: var(--font-head);
  font-size: .98rem; letter-spacing: .01em; border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--aurora); color: #fff; box-shadow: var(--shadow-cy); }
.btn-primary::after { /* sheen */
  content: ""; position: absolute; inset: 0; transform: translateX(-130%); pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
}
.btn-primary:hover { transform: translateY(-3px); }
.btn-primary:hover::after { transform: translateX(130%); transition: transform .8s var(--ease); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--indigo); color: var(--indigo-d); box-shadow: var(--shadow); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
.btn-sm { padding: .6em 1.1em; font-size: .9rem; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head);
  font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--indigo-d); background: var(--aurora-soft); padding: .4em .9em; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); }
.section-head { max-width: 680px; margin-inline: auto; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: .6rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: .9rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.text-grad { background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.skip-link { position: absolute; left: 12px; top: -70px; z-index: 200; background: var(--surface); color: var(--ink); padding: .7em 1.1em; border-radius: 10px; box-shadow: var(--shadow-lg); font-weight: 600; font-family: var(--font-head); transition: top .25s var(--ease); }
.skip-link:focus { top: 12px; }
:focus { outline: none; }
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(2, 12, 24, .35); background: rgba(5, 34, 52, .88); backdrop-filter: blur(12px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 88px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand img { height: 56px; width: auto; display: block; }
.brand .wordmark { display: none; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: #fff; letter-spacing: -.02em; }
.brand .wordmark .dot { color: var(--crimson); }
.brand.is-fallback img { display: none; }
.brand.is-fallback .wordmark { display: inline; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  color: #cdd9e6; font-family: var(--font-head); font-weight: 500; font-size: .96rem;
  padding: .55em .9em; border-radius: 999px; position: relative; transition: color .25s, background .25s;
}
.nav-links a:hover { color: #fff; background: var(--navy-soft); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 3px; background: var(--aurora);
}
.nav-cta { margin-left: .4rem; }

/* Hamburger */
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--navy-line);
  background: var(--navy-soft); border-radius: 12px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; border-radius: 2px;
  background: #fff; transform: translate(-50%, -50%); transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 7px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%, 0) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-block: clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; }
.hero p.lead { margin-top: 1.4rem; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.6rem; }
.hero-meta .stat { }
.hero-meta .stat b { font-family: var(--font-head); font-size: 1.7rem; display: block; line-height: 1; }
.hero-meta .stat span { color: var(--muted); font-size: .9rem; }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); background: var(--surface); transform: rotate(1.2deg);
  transition: transform .6s var(--ease);
}
.hero-visual:hover .frame { transform: rotate(0deg); }
.hero-visual .frame img { width: 100%; height: 420px; object-fit: cover; }
.hero-visual .float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: .9rem 1.1rem; display: flex; gap: .7rem; align-items: center;
}
.hero-visual .float-card .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--aurora-soft); color: var(--indigo-d); flex: none; }
.hero-visual .float-card b { font-family: var(--font-head); font-size: .95rem; display: block; }
.hero-visual .float-card span { font-size: .78rem; color: var(--muted); }
.hero-visual .fc-1 { left: -16px; bottom: 38px; animation: float 7s ease-in-out infinite; }
.hero-visual .fc-2 { right: -10px; top: 30px; animation: float 8s ease-in-out infinite; animation-delay: -3s; }

/* Marquee of "what we do" */
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.4rem; }
.pill { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .5em 1em; font-size: .9rem; font-weight: 500; color: var(--ink-soft); box-shadow: var(--shadow); }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.grid { display: grid; gap: clamp(20px, 3vw, 30px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--aurora); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--aurora-soft); color: var(--indigo-d); margin-bottom: 1.2rem;
}
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); margin-top: .6rem; }
.card .num { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--bg-2); line-height: 1; }

/* feature list with check icons */
.ticks { margin-top: 1.1rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; padding: .35rem 0; color: var(--ink-soft); }
.ticks li svg { flex: none; margin-top: .2rem; color: var(--cyan); }

/* ============================================================
   SERVICES detailed rows
   ============================================================ */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.svc-row + .svc-row { margin-top: clamp(48px, 7vw, 96px); }
.svc-row:nth-child(even) .svc-media { order: -1; }
.svc-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); position: relative; }
.svc-media img { width: 100%; height: 360px; object-fit: cover; transition: transform .7s var(--ease); }
.svc-media:hover img { transform: scale(1.05); }
.svc-media .badge { position: absolute; top: 1rem; left: 1rem; background: rgba(5,34,52,.82); color: #fff; backdrop-filter: blur(6px); padding: .4em .9em; border-radius: 999px; font-size: .8rem; font-weight: 600; font-family: var(--font-head); }
.svc-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--aurora); box-shadow: var(--shadow-cy); margin-bottom: 1.2rem; }
.svc-text h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.svc-text p { color: var(--muted); margin-top: .8rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.media-frame img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--aurora-soft); color: var(--indigo-d); margin-bottom: 1rem; }
.value-card h3 { font-size: 1.1rem; }
.value-card p { color: var(--muted); margin-top: .4rem; font-size: .96rem; }

.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1.1rem; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: #fff; background: var(--aurora); box-shadow: var(--shadow-cy); }
.team-card h3 { font-size: 1.2rem; }
.team-card .role { color: var(--indigo-d); font-weight: 600; font-size: .92rem; font-family: var(--font-head); }
.team-card .soon { display: inline-block; margin-top: .7rem; font-size: .78rem; color: var(--muted); background: var(--bg-2); padding: .3em .8em; border-radius: 999px; }
.team-card p { color: var(--muted); margin-top: .8rem; font-size: .95rem; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 30px); }
.work-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.work-thumb { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.07); }
.work-tag { position: absolute; top: .85rem; left: .85rem; background: rgba(5,34,52,.82); color: #fff; backdrop-filter: blur(6px); padding: .35em .8em; border-radius: 999px; font-size: .74rem; font-weight: 600; font-family: var(--font-head); letter-spacing: .03em; }
.work-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.work-body h3 { font-size: 1.2rem; }
.work-body p { color: var(--muted); margin-top: .5rem; font-size: .95rem; flex: 1; }
.work-link { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 600; color: var(--indigo-d); font-size: .95rem; align-self: flex-start; }
.work-link .arrow { transition: transform .3s var(--ease); }
.work-card:hover .work-link .arrow { transform: translateX(4px); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: .45rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--border); border-radius: 12px;
  font: inherit; font-size: .98rem; color: var(--ink); background: #fcfdff; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(99,102,241,.14); }
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .4rem; }
.toast { display: none; margin-top: 1.2rem; padding: .9rem 1.1rem; border-radius: 12px; background: var(--aurora-soft); border: 1px solid rgba(99,102,241,.3); color: var(--indigo-d); font-weight: 500; align-items: center; gap: .6rem; }
.toast.show { display: flex; animation: pop .4s var(--ease); }
.toast.error { background: rgba(224,35,78,.10); border-color: rgba(224,35,78,.35); color: var(--crimson); }

/* Legal / long-form prose (terms, privacy) */
.legal { max-width: 860px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.06rem; margin-top: 1.4rem; }
.legal p { color: var(--ink-soft); margin-top: .85rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-top: .8rem; }
.legal li { color: var(--ink-soft); margin-top: .45rem; }
.legal a { color: var(--indigo-d); text-decoration: underline; }
.legal a:hover { color: var(--cyan); }
.legal .updated { display: inline-block; color: var(--muted); font-size: .9rem; margin-bottom: 1.2rem; }
.legal .note { background: var(--aurora-soft); border: 1px solid rgba(99,102,241,.25); border-radius: 12px; padding: .9rem 1.1rem; font-size: .92rem; color: var(--ink-soft); margin-top: 1.2rem; }
.mini-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(18px); background: var(--navy); color: #fff; padding: .8em 1.35em; border-radius: 999px; box-shadow: var(--shadow-lg); border: 1px solid var(--navy-line); font-family: var(--font-head); font-weight: 600; font-size: .95rem; opacity: 0; pointer-events: none; z-index: 300; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.mini-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.info-card { background: var(--navy); color: #cdd9e6; border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.info-card::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -90px; top: -90px; background: radial-gradient(circle, rgba(99,102,241,.5), transparent 70%); pointer-events: none; }
.info-card > * { position: relative; z-index: 1; }
.info-card h3 { color: #fff; position: relative; }
.info-item { display: flex; gap: .9rem; align-items: flex-start; margin-top: 1.4rem; position: relative; }
.info-item .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; flex: none; }
.info-item b { color: #fff; font-family: var(--font-head); display: block; font-size: .95rem; }
.info-item a, .info-item span { color: #aebfd1; font-size: .95rem; word-break: break-word; }
.info-item a:hover { color: #fff; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(2.4rem, 6vw, 4.5rem); text-align: center; color: #fff; background: var(--navy); box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--aurora); opacity: .9; pointer-events: none; }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 22px 22px; opacity: .5; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin: 1rem auto 0; }
.cta-band .hero-cta { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-2); color: #9fb2c6; margin-top: clamp(64px, 9vw, 120px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 48px); padding-block: clamp(48px, 6vw, 72px); }
.footer-brand img { height: 48px; }
.footer-brand .wordmark { display: none; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #fff; }
.footer-brand .wordmark .dot { color: var(--crimson); }
.footer-brand.is-fallback img { display: none; }
.footer-brand.is-fallback .wordmark { display: inline; }
.footer-brand p { margin-top: 1rem; font-size: .94rem; max-width: 34ch; color: #8ba0b6; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; color: #9fb2c6; padding: .3rem 0; font-size: .95rem; transition: color .2s, transform .2s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #cdd9e6; transition: background .25s, color .25s, transform .25s; }
.socials a:hover { background: var(--aurora); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center; font-size: .88rem; }
.footer-bottom .links { display: flex; gap: 1.2rem; }
.footer-bottom a { color: #9fb2c6; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(40px, 30px) scale(1.08); }
  50%  { transform: translate(-30px, 50px) scale(.96); }
  75%  { transform: translate(30px, -20px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes auroraShift {
  0%   { transform: translate3d(-2%, -1%, 0) rotate(0deg) scale(1.05); }
  50%  { transform: translate3d(2%, 2%, 0) rotate(4deg) scale(1.12); }
  100% { transform: translate3d(-1%, 1%, 0) rotate(-3deg) scale(1.05); }
}
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* On-load + on-scroll reveal (only active when JS is present) */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 560px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }   /* tablet: 2 cols */
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute; top: 88px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: .2rem; background: var(--navy); border-bottom: 1px solid var(--navy-line);
    padding: 1rem var(--gut) 1.4rem; box-shadow: 0 20px 40px rgba(2,12,24,.4);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { padding: .8em 1em; border-radius: 12px; }
  .nav-links a.active::after { left: 1em; transform: none; }
  .nav-cta { margin: .4rem 0 0; }
  .nav-cta .btn { width: 100%; }

  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-media { order: 0; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }              /* mobile: 1 col */
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-meta { gap: 1.2rem; }
  .svc-media img { height: 280px; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
}
