/* ========= TOKENS ========= */
:root {
  --navy: #19213F;
  --navy-deep: #0c1428;
  --lavender: #6B7FBF;
  --lavender-soft: #a5b3d8;
  --light: #F2F3F7;
  --paper: #f8f8fa;
  --white: #FFFFFF;
  --ink: #0D0D0D;
  --ink-soft: #2a2d3a;
  --muted: #6b7080;
  --hairline: #e4e6ee;
  --hairline-on-dark: rgba(255,255,255,.12);
  --radius-md: 14px;
  --radius-lg: 22px;
  --pill: 999px;
  --container: 1320px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ========= RESET ========= */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -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-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1,h2,h3,h4 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--navy); color: var(--white); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--hairline); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--lavender-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ========= EDITORIAL UTILS ========= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lavender);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
.eyebrow.on-light { color: var(--navy); }

.section-num {
  display: inline-block;
  font-weight: 300;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.18em;
  margin-bottom: 28px;
}
.section-num::before { content: "/ "; opacity: .5; }
.section-num.on-dark { color: rgba(255,255,255,.5); }

.display {
  font-size: clamp(36px, 5.2vw, 80px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--lavender);
  letter-spacing: -0.03em;
}

.lede {
  font-size: clamp(17px, 1.45vw, 21px);
  color: var(--muted);
  line-height: 1.55;
  max-width: 620px;
  font-weight: 400;
}

section { padding: clamp(96px, 12vw, 160px) 0; position: relative; }

/* ========= BUTTONS ========= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  border-radius: var(--pill);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(25,33,63,.32); background: #0f1730; }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost:hover { transform: translateY(-3px); background: var(--navy); color: var(--white); }
.btn-on-dark-primary { background: var(--white); color: var(--navy); }
.btn-on-dark-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(255,255,255,.18); }
.btn-on-dark-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); }
.btn-on-dark-ghost:hover { transform: translateY(-3px); border-color: var(--white); background: rgba(255,255,255,.06); }
.btn .arrow { transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(5px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 3px;
  border-bottom: 1.5px solid currentColor;
  transition: gap .3s var(--ease-out), color .25s;
}
.link-arrow:hover { gap: 14px; color: var(--lavender); }
.link-arrow.on-dark { color: var(--white); }
.link-arrow.on-dark:hover { color: var(--lavender-soft); }

/* ========= LOGO ========= */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.logo .mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo--light { color: var(--white); }

/* ========= NAV ========= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: transparent;
  transition: background .35s var(--ease), backdrop-filter .35s, box-shadow .35s;
}
.nav.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav.over-dark:not(.scrolled) .logo,
.nav.over-dark:not(.scrolled) .nav-links a { color: var(--white); }
.nav.over-dark:not(.scrolled) .nav-cta { background: var(--white); color: var(--navy); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { padding: 12px 22px; font-size: 11px; }

/* ========= SECTION BACKGROUND LAYER ========= */
.sfpv-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.sfpv-bg img,
.sfpv-bg video,
.sfpv-bg iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
}
.sfpv-bg iframe {
  pointer-events: none;
  /* over-scale to mask YouTube chrome */
  width: 177.77vh;       /* 16:9 to viewport height */
  height: 56.25vw;       /* 16:9 to viewport width */
  min-width: 100%;
  min-height: 100%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  inset: auto;
}
.sfpv-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(12,20,40,0);
}

/* ========= HERO ========= */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.hero .sfpv-bg img { will-change: transform; transform: scale(1.04); }
.hero .sfpv-bg-overlay {
  background:
    linear-gradient(180deg, rgba(12,20,40,.55) 0%, rgba(12,20,40,.35) 35%, rgba(12,20,40,.85) 85%, rgba(12,20,40,.98) 100%),
    linear-gradient(90deg, rgba(12,20,40,.45) 0%, transparent 60%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><g fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' opacity='0.06'><g transform='translate(100 100)'><line x1='0' y1='-40' x2='0' y2='-30'/><line x1='20' y1='-34.6' x2='15' y2='-26'/><line x1='34.6' y1='-20' x2='26' y2='-15'/><line x1='40' y1='0' x2='30' y2='0'/><line x1='34.6' y1='20' x2='26' y2='15'/><line x1='20' y1='34.6' x2='15' y2='26'/><line x1='0' y1='40' x2='0' y2='30'/><line x1='-20' y1='34.6' x2='-15' y2='26'/><line x1='-34.6' y1='20' x2='-26' y2='15'/><line x1='-40' y1='0' x2='-30' y2='0'/><line x1='-34.6' y1='-20' x2='-26' y2='-15'/><line x1='-20' y1='-34.6' x2='-15' y2='-26'/></g></g></svg>");
  background-size: 200px 200px;
  opacity: 1;
  z-index: 2;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 0 120px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--lavender-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.hero-eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: currentColor;
}
.hero-headline {
  font-size: clamp(48px, 8vw, 132px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.96;
  max-width: 1100px;
  text-align: left;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--lavender-soft);
  letter-spacing: -0.03em;
}
.hero-bottom {
  position: relative;
  z-index: 3;
  padding-bottom: 60px;
}
.hero-bottom-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: end;
  width: 100%;
}
.hero-sub {
  font-size: clamp(17px, 1.35vw, 20px);
  color: rgba(255,255,255,.78);
  max-width: 520px;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-meta-item .label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
}
.hero-meta-item .value {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  font-weight: 600;
}
.scroll-hint .line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), rgba(255,255,255,0));
  animation: drop 2.4s infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========= MARQUEE ========= */
.marquee-wrap {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 32px 0;
  overflow: hidden;
  position: relative;
}
.marquee-wrap::before, .marquee-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--navy-deep), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(to left, var(--navy-deep), transparent); }
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-row {
  display: flex;
  align-items: center;
  gap: 80px;
  padding-right: 80px;
}
.marquee-row .client {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.marquee-row .client::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lavender);
  opacity: .6;
  margin-left: 80px;
}
.marquee-row .client:last-child::after { display: none; }
.marquee-row .client.logo-only::after,
.marquee-row .client.logo-text::after { display: inline-block; }
.marquee-row .client img {
  max-height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .8;
  transition: opacity .25s;
}
.marquee-row .client img:hover { opacity: 1; }
.marquee-row .client.logo-only { font-size: 0; }
.marquee-row .client.logo-text { gap: 18px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ========= STATS ========= */
.stats {
  background: var(--white);
  padding: 0;
  border-bottom: 1px solid var(--hairline);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(var(--sfpv-stats-count, 4), 1fr);
}
.stat {
  padding: 56px 32px;
  border-right: 1px solid var(--hairline);
  text-align: left;
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat .num .suffix { font-size: .5em; color: var(--lavender); }
.stat .label {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* ========= WORK ========= */
.work { background: var(--white); }
.work-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.work-head h2 { font-size: clamp(38px, 5.2vw, 78px); font-weight: 900; letter-spacing: -0.035em; line-height: 1; }
.work-head h2 em { font-style: italic; font-weight: 300; color: var(--lavender); }
.work-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0;
}
.filter {
  padding: 18px 24px 18px 0;
  margin-right: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  transition: color .25s;
}
.filter:hover { color: var(--navy); }
.filter.active { color: var(--navy); }
.filter::after {
  content: "";
  position: absolute;
  left: 0; right: 24px; bottom: -1px;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.filter.active::after { transform: scaleX(1); }
.filter .count {
  font-size: 9px;
  vertical-align: super;
  font-weight: 700;
  margin-left: 4px;
  color: var(--lavender);
  letter-spacing: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}
.work-card {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  cursor: pointer;
  transition: transform .5s var(--ease-out);
  display: block;
  color: var(--white);
  border-radius: 4px;
}
.work-card.feat { grid-column: span 4; }
.work-card.std { grid-column: span 2; }
.work-card.half { grid-column: span 3; }
.work-thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.work-card.feat .work-thumb { aspect-ratio: 16/9; }
.work-card.std .work-thumb { aspect-ratio: 3/4; }
.work-card.half .work-thumb { aspect-ratio: 16/10; }
.work-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter .5s var(--ease-out);
  filter: brightness(.88) saturate(.95);
}
.work-card:hover .work-thumb-img { transform: scale(1.06); filter: brightness(.7); }
.work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,20,40,.95) 0%, rgba(12,20,40,.3) 45%, rgba(12,20,40,0) 75%);
  transition: opacity .5s;
}
.work-tag {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: rgba(255,255,255,.95);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.work-year {
  position: absolute;
  top: 22px; right: 22px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.work-meta {
  position: absolute;
  left: 26px; right: 26px; bottom: 24px;
  z-index: 2;
}
.work-meta h3 {
  font-size: clamp(18px, 1.7vw, 28px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.work-card.feat .work-meta h3 { font-size: clamp(22px, 2vw, 36px); }
.work-meta .sub {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.work-meta .sub .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.4); }
.work-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.85);
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.work-card:hover .work-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-play::after {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  border-width: 14px 0 14px 20px;
  border-color: transparent transparent transparent var(--navy);
  margin-left: 5px;
}

.work-footer {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

/* ========= APPROACH (services) ========= */
.approach { background: var(--paper); }
.approach-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 84px;
}
.approach-head h2 { font-size: clamp(38px, 5.2vw, 78px); font-weight: 900; letter-spacing: -0.035em; line-height: 1; }
.approach-head h2 em { font-style: italic; font-weight: 300; color: var(--lavender); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(var(--sfpv-svc-count, 3), 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.svc-card {
  padding: 56px 44px 56px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--hairline);
  transition: transform .35s var(--ease-out);
}
.svc-card:last-child { border-right: 0; padding-right: 0; }
.svc-card:not(:first-child) { padding-left: 44px; padding-right: 44px; }
.svc-card:last-child { padding-left: 44px; padding-right: 0; }
.svc-card .num {
  font-size: 12px;
  font-weight: 300;
  color: var(--lavender);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
.svc-card .icon {
  width: 52px; height: 52px;
  margin-bottom: 32px;
  color: var(--navy);
}
.svc-card h3 {
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.svc-card > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.svc-list {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
}
.svc-list li {
  font-size: 14px;
  color: var(--ink-soft);
  display: flex; align-items: flex-start; gap: 12px;
  line-height: 1.5;
}
.svc-list li::before {
  content: "";
  flex: 0 0 5px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lavender);
  margin-top: 8px;
}

/* ========= RIGS ========= */
.rigs { background: var(--white); }
.rigs-head { margin-bottom: 80px; max-width: 800px; }
.rigs-head h2 { font-size: clamp(38px, 5.2vw, 78px); font-weight: 900; letter-spacing: -0.035em; line-height: 1; margin-bottom: 24px; }
.rigs-head h2 em { font-style: italic; font-weight: 300; color: var(--lavender); }
.rigs-list { border-top: 1px solid var(--hairline); }
.rig-row {
  display: grid;
  grid-template-columns: 80px 1.3fr 1fr 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 36px 8px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  transition: background .25s, padding .35s var(--ease-out);
}
.rig-row:hover { background: var(--paper); padding-left: 28px; padding-right: 28px; }
.rig-row .num {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.15em;
}
.rig-row .name h3 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.rig-row .name .cat {
  margin-top: 6px;
  font-size: 12px;
  color: var(--lavender);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rig-row .col {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.rig-row .col .lbl {
  display: block;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.rig-row .col strong { color: var(--navy); font-weight: 700; }
.rig-row .visual {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  transition: background .3s, color .3s;
  overflow: hidden;
}
.rig-row:hover .visual { background: var(--navy); color: var(--lavender-soft); }
.rig-row .visual svg { width: 55%; height: 55%; }
.rig-row .visual img { width: 100%; height: 100%; object-fit: cover; }

/* ========= CREDIBILITY ========= */
.creds {
  background: var(--navy);
  color: var(--white);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.creds::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><g fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' opacity='0.045'><g transform='translate(100 100)'><line x1='0' y1='-40' x2='0' y2='-30'/><line x1='20' y1='-34.6' x2='15' y2='-26'/><line x1='34.6' y1='-20' x2='26' y2='-15'/><line x1='40' y1='0' x2='30' y2='0'/><line x1='34.6' y1='20' x2='26' y2='15'/><line x1='20' y1='34.6' x2='15' y2='26'/><line x1='0' y1='40' x2='0' y2='30'/><line x1='-20' y1='34.6' x2='-15' y2='26'/><line x1='-34.6' y1='20' x2='-26' y2='-15'/><line x1='-40' y1='0' x2='-30' y2='0'/><line x1='-34.6' y1='-20' x2='-26' y2='-15'/><line x1='-20' y1='-34.6' x2='-15' y2='-26'/></g></g></svg>");
  background-size: 200px 200px;
  z-index: 0;
}
.creds-inner { position: relative; z-index: 2; }
.creds-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.creds-head h2 { font-size: clamp(38px, 5.2vw, 78px); font-weight: 900; letter-spacing: -0.035em; line-height: 1; color: var(--white); }
.creds-head h2 em { font-style: italic; font-weight: 300; color: var(--lavender-soft); }
.creds-head p { color: rgba(255,255,255,.7); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.6; max-width: 480px; }
.creds-grid {
  display: grid;
  grid-template-columns: repeat(var(--sfpv-creds-count, 4), 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.15);
}
.cred-card {
  padding: 48px 32px 48px 0;
  border-right: 1px solid rgba(255,255,255,.15);
}
.cred-card:last-child { border-right: 0; }
.cred-card:not(:first-child) { padding-left: 32px; }
.cred-card .icon {
  width: 36px; height: 36px;
  color: var(--lavender-soft);
  margin-bottom: 28px;
}
.cred-card h3 { font-size: 20px; font-weight: 800; color: var(--white); }
.cred-card p { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 8px; line-height: 1.5; }

/* ========= TESTIMONIALS ========= */
.testimonials { background: var(--white); }
.testi-head { margin-bottom: 80px; max-width: 800px; }
.testi-head h2 { font-size: clamp(38px, 5.2vw, 78px); font-weight: 900; letter-spacing: -0.035em; line-height: 1; margin-bottom: 24px; }
.testi-head h2 em { font-style: italic; font-weight: 300; color: var(--lavender); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(var(--sfpv-testi-count, 3), 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.testi-card {
  padding: 56px 36px 56px 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--hairline);
  position: relative;
}
.testi-card:last-child { border-right: 0; }
.testi-card:not(:first-child) { padding-left: 36px; }
.testi-card .qmark {
  font-style: italic;
  font-size: 80px;
  font-weight: 300;
  color: var(--lavender);
  line-height: .7;
  margin-bottom: 16px;
}
.testi-quote {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
  font-weight: 400;
}
.testi-author {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.testi-author strong {
  display: block;
  font-weight: 800;
  color: var(--navy);
  font-size: 15px;
  letter-spacing: -0.01em;
}
.testi-author span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.stars { display: inline-flex; gap: 1px; color: #F5B400; margin-top: 14px; }
.stars svg { width: 13px; height: 13px; }

/* ========= CTA FINAL ========= */
.cta-final {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><g fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' opacity='0.05'><g transform='translate(100 100)'><line x1='0' y1='-40' x2='0' y2='-30'/><line x1='20' y1='-34.6' x2='15' y2='-26'/><line x1='34.6' y1='-20' x2='26' y2='-15'/><line x1='40' y1='0' x2='30' y2='0'/><line x1='34.6' y1='20' x2='26' y2='15'/><line x1='20' y1='34.6' x2='15' y2='26'/><line x1='0' y1='40' x2='0' y2='30'/><line x1='-20' y1='34.6' x2='-15' y2='26'/><line x1='-34.6' y1='20' x2='-26' y2='15'/><line x1='-40' y1='0' x2='-30' y2='0'/><line x1='-34.6' y1='-20' x2='-26' y2='-15'/><line x1='-20' y1='-34.6' x2='-15' y2='-26'/></g></g></svg>");
  background-size: 200px 200px;
  z-index: 0;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.cta-final h2 {
  font-size: clamp(44px, 6.5vw, 110px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.cta-final h2 em { font-style: italic; font-weight: 300; color: var(--lavender-soft); }
.cta-final-sub {
  margin-top: 32px;
  color: rgba(255,255,255,.7);
  font-size: clamp(16px, 1.2vw, 19px);
  max-width: 460px;
  line-height: 1.6;
}
.cta-contact-list {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: flex; flex-direction: column; gap: 18px;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 32px;
}
.cta-contact-list li {
  display: flex; align-items: center; gap: 16px;
  color: rgba(255,255,255,.92);
  font-size: 15px;
}
.cta-contact-list svg { width: 16px; height: 16px; color: var(--lavender-soft); flex-shrink: 0; }
.cta-contact-list a:hover { color: var(--lavender-soft); }
.cta-contact-list .lbl {
  min-width: 90px;
  font-size: 10px;
  color: rgba(255,255,255,.45);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Form */
.lead-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(10px);
}
.lead-form h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.field { display: flex; flex-direction: column; margin-bottom: 22px; }
.field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lavender-soft);
  margin-bottom: 12px;
}
.field input, .field textarea, .field select {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--white);
  padding: 16px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .25s, background .25s;
  font-weight: 500;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); font-weight: 400; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--lavender);
  background: rgba(255,255,255,.10);
}
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path d='M3 5l4 4 4-4' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field select option { background: var(--navy); color: var(--white); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-error { color: #ff9b9b; font-size: 12px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #ff7777; }
.field.invalid .field-error { display: block; }
.form-submit { margin-top: 12px; width: 100%; justify-content: center; padding: 19px 28px; font-size: 12px; }
.form-success {
  display: none;
  padding: 60px 28px;
  text-align: center;
  color: var(--white);
}
.form-success.visible { display: block; }
.form-success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(107,127,191,.2);
  color: var(--lavender-soft);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.form-success h3 { font-size: 24px; }
.form-success p { margin-top: 12px; color: rgba(255,255,255,.7); line-height: 1.5; }
.form-tos {
  margin-top: 18px;
  font-size: 11px;
  color: rgba(255,255,255,.4);
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* ========= FOOTER ========= */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.55);
  padding: 100px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-col h4 {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; font-size: 14px; }
.footer-col a:hover { color: var(--lavender-soft); }
.footer-tag {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  margin-top: 20px;
  max-width: 320px;
  line-height: 1.65;
}
.social-list { display: flex; gap: 10px; margin-top: 28px; list-style: none; padding: 0; }
.social-list a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s;
  color: rgba(255,255,255,.7);
}
.social-list a:hover { border-color: var(--lavender-soft); color: var(--white); transform: translateY(-3px); }
.social-list svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 16px;
  letter-spacing: 0.04em;
}
.footer-bottom .legal { display: flex; gap: 28px; }

/* ========= STICKY CTA ========= */
.sticky-cta {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 55;
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(25,33,63,.4);
  display: inline-flex; align-items: center; gap: 12px;
  transform: translateY(120px);
  opacity: 0;
  transition: all .45s var(--ease-out);
}
.sticky-cta.visible { transform: translateY(0); opacity: 1; }
.sticky-cta:hover { background: #0f1730; transform: translateY(-3px); box-shadow: 0 22px 56px rgba(25,33,63,.5); }
.sticky-cta.hidden { display: none; }

/* ========= REVEAL ========= */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

/* ========= RESPONSIVE ========= */
@media (max-width: 1180px) {
  .work-grid { grid-template-columns: repeat(4, 1fr); }
  .work-card.feat { grid-column: span 4; }
  .work-card.std { grid-column: span 2; }
  .work-card.half { grid-column: span 2; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: 0; border-bottom: 1px solid var(--hairline); padding: 48px 0 !important; }
  .svc-card:last-child { border-bottom: 0; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-card { border-right: 0; border-bottom: 1px solid var(--hairline); padding: 48px 0 !important; }
  .testi-card:last-child { border-bottom: 0; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--hairline); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .creds-grid { grid-template-columns: 1fr 1fr; }
  .cred-card { padding: 36px 24px !important; border-bottom: 1px solid rgba(255,255,255,.15); }
  .cred-card:nth-child(2) { border-right: 0; }
  .cred-card:nth-child(3), .cred-card:nth-child(4) { border-bottom: 0; }
  .work-head, .approach-head, .creds-head { grid-template-columns: 1fr; gap: 24px; }
  .cta-inner { grid-template-columns: 1fr; gap: 60px; }
  .rig-row { grid-template-columns: 60px 1.5fr 1fr; gap: 24px; }
  .rig-row .col:last-of-type, .rig-row .visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-bottom-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .nav-links { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card.feat, .work-card.std, .work-card.half { grid-column: span 1; }
  .work-card.std .work-thumb { aspect-ratio: 16/10; }
  .work-thumb { aspect-ratio: 16/10 !important; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--hairline); padding: 32px 0; }
  .stat:last-child { border-bottom: 0; }
  .creds-grid { grid-template-columns: 1fr; }
  .cred-card { border-right: 0 !important; }
  .rig-row { grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; }
  .rig-row .col, .rig-row .visual { display: none; }
  .rig-row:hover { padding-left: 0; padding-right: 0; background: transparent; }
  .field-row { grid-template-columns: 1fr; }
  .lead-form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; }
  .sticky-cta { right: 16px; bottom: 16px; padding: 14px 18px; font-size: 10px; }
  .hero-meta { grid-template-columns: 1fr; gap: 16px; }
  .filter { padding: 14px 0; margin-right: 18px; }
}
