/* Curated, real agency portraits. Color grading stays reversible in CSS. */
.home-page {
  --hero-navy: #04182b;
  --hero-gutter: clamp(22px, 4.4vw, 80px);
}

.home-page .site-header {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
  border: 0;
}

.home-page .header-inner,
.home-page .hero-layout {
  width: min(1600px, calc(100% - var(--hero-gutter) * 2));
}

.home-page .header-inner {
  height: 130px;
  display: grid;
  grid-template-columns: clamp(150px, 18.6vw, 298px) 1fr auto;
  gap: 16px;
}

.home-page .brand img {
  width: clamp(80px, 6.5vw, 104px);
  height: clamp(64px, 5.2vw, 83px);
}

.home-page .site-nav {
  gap: clamp(24px, 3.2vw, 51px);
}

.home-page .site-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.home-page .site-nav a[aria-current=page] {
  color: #fff;
}

.home-page .site-nav a:after {
  width: 5px;
  height: 5px;
  left: calc(50% - 2px);
  bottom: 1px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .2s;
}

.home-page .site-nav a[aria-current=page]:after,
.home-page .site-nav a:hover:after {
  width: 5px;
  opacity: 1;
}

.header-socials {
  display: flex;
  gap: 23px;
  align-items: center;
}

.header-socials a {
  display: grid;
  place-items: center;
  width: 23px;
  height: 32px;
  color: #e0e8ed;
}

.header-socials a:hover {
  color: var(--green);
}

.header-socials svg {
  width: 17px;
  height: 17px;
}

.home-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: 130px 0 38px;
  overflow: clip;
  color: #fff;
  background: radial-gradient(ellipse at 86% 42%, #0a2b4355, transparent 66%), var(--hero-navy);
}

.hero-layout {
  display: grid;
  grid-template-columns: 41.5% 58.5%;
  align-items: center;
  min-height: calc(100svh - 168px);
}

.hero-copy {
  position: relative;
  z-index: 5;
  padding-bottom: 12px;
}

.hero-kicker {
  color: #aebcc9;
  font-size: clamp(8px, .68vw, 11px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .29em;
  margin-bottom: 23px;
}

.hero-kicker:after {
  display: block;
  content: '';
  width: 36px;
  height: 2px;
  margin-top: 18px;
  background: var(--green);
}

.hero-headline {
  font-size: clamp(39px, 4.15vw, 69px);
  line-height: 1.015;
  font-weight: 500;
  letter-spacing: -.06em;
}

.hero-headline span,
.hero-headline strong {
  display: block;
  white-space: nowrap;
}

.hero-headline strong {
  color: var(--green);
  font-weight: 500;
}

.hero-reach {
  margin-top: clamp(32px, 3.1vw, 50px);
}

.hero-reach-number {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(90px, 8.8vw, 148px);
  line-height: .87;
  font-weight: 700;
  letter-spacing: -.075em;
}

.hero-reach-plus {
  align-self: center;
  margin-right: .08em;
  font-size: .64em;
  font-weight: 500;
  transform: translateY(-.03em);
}

.hero-reach-sparks {
  position: absolute;
  top: -.23em;
  right: -.39em;
  width: .42em;
  height: .4em;
  color: var(--green);
}

.hero-reach-caption {
  margin-top: 16px;
  font-size: clamp(8px, .82vw, 13px);
  line-height: 1.5;
  letter-spacing: .28em;
  color: #dce4ec;
}

.hero-description {
  max-width: 460px;
  margin-top: 27px;
  font-size: clamp(13px, 1.08vw, 17px);
  line-height: 1.55;
  letter-spacing: -.015em;
  color: #b1becd;
}

.hero-collage {
  position: relative;
  align-self: stretch;
  width: calc(100% + var(--hero-gutter));
  min-height: 540px;
  isolation: isolate;
  transform: scale(.87);
  transform-origin: 35% 50%;
}

.hero-threads {
  position: absolute;
  z-index: 1;
  left: -7%;
  top: -10%;
  width: 119%;
  height: 123%;
  color: #99ecc2;
  pointer-events: none;
}

.hero-threads path {
  stroke: currentColor;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: .73;
}

.hero-watermark {
  position: absolute;
  z-index: 0;
  width: 66%;
  height: auto;
  right: 8%;
  bottom: -31%;
  opacity: .075;
  transform: rotate(-14deg);
  pointer-events: none;
}

.hero-portrait {
  --angle: -3deg;
  --saturation: .72;
  --contrast: 1.035;
  --brightness: 1;
  --zoom: 1;
  --origin: 50% 25%;
  position: absolute;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  border-radius: 13px;
  background: #193044;
  outline: 1px solid #ffffff0c;
  box-shadow: 0 18px 44px #00000029;
  transform: rotate(var(--angle));
  animation: portrait-breathe 8s ease-in-out infinite alternate;
}

.hero-portrait picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--origin);
  transform: scale(var(--zoom));
  transform-origin: var(--origin);
  filter: saturate(var(--saturation)) contrast(var(--contrast)) brightness(var(--brightness));
}

.hero-portrait:after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(145deg, #0b2c4521, transparent 48%, #041a2e18);
  pointer-events: none;
}

.hero-portrait--upper-left {
  --angle: -4deg;
  --brightness: 1.14;
  --contrast: 1.015;
  --zoom: 1.08;
  --origin: 54% 17%;
  top: 2%;
  left: 0;
  width: 29%;
  height: 46%;
  animation-delay: -3s;
}

.hero-portrait--lower-left {
  --angle: -4deg;
  --origin: 49% 20%;
  --zoom: 1.08;
  top: 53%;
  left: 0;
  width: 30%;
  height: 46%;
  animation-delay: -1.7s;
}

.hero-portrait--upper-right {
  --angle: 3deg;
  --saturation: .62;
  --brightness: .97;
  --zoom: 1.1;
  --origin: 50% 8%;
  top: 2%;
  left: 62%;
  width: 30%;
  height: 46%;
  animation-delay: -5s;
}

.hero-portrait--lower-right {
  --angle: 3deg;
  --saturation: .6;
  --brightness: .98;
  --origin: 55% 25%;
  top: 53%;
  left: 62%;
  width: 30%;
  height: 46%;
  animation-delay: -4s;
}

.hero-portrait--main {
  --angle: -2.5deg;
  --saturation: .76;
  --contrast: 1.055;
  --brightness: 1.035;
  --zoom: 1.32;
  --origin: 50% 18%;
  z-index: 4;
  top: 3%;
  left: 24%;
  width: 44%;
  height: 83%;
  animation-duration: 10s;
  animation-delay: -2s;
}

@keyframes portrait-breathe {
  from { transform: translateY(-3px) rotate(var(--angle)); }
  to { transform: translateY(3px) rotate(var(--angle)); }
}

@media (min-width: 761px) and (max-height: 740px) {
  .home-page .header-inner { height: 106px; }
  .home-page .brand img { width: 90px; height: 72px; }
  .home-hero { padding-top: 112px; padding-bottom: 28px; }
  .hero-layout { min-height: calc(100svh - 140px); }
  .hero-collage { min-height: 460px; }
  .hero-kicker { margin-bottom: 17px; font-size: 8px; }
  .hero-kicker:after { margin-top: 12px; }
  .hero-headline { font-size: clamp(38px, 3.9vw, 61px); }
  .hero-reach { margin-top: 27px; }
  .hero-reach-number { font-size: clamp(88px, 8.2vw, 128px); }
  .hero-description { margin-top: 19px; font-size: 13px; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .home-page .header-inner { grid-template-columns: 19% 1fr auto; }
  .home-page .site-nav { gap: 25px; }
  .home-page .site-nav a { font-size: 12px; }
  .header-socials { gap: 13px; }
  .hero-headline { font-size: clamp(31px, 3.9vw, 41px); }
  .hero-reach-number { font-size: clamp(78px, 8.8vw, 98px); }
  .hero-collage { min-height: 510px; }
  .hero-description { font-size: 13px; max-width: 320px; }
  .hero-reach-caption { font-size: 8px; letter-spacing: .17em; }
}

@media (max-width: 760px) {
  .home-page .header-inner { height: 90px; display: flex; justify-content: space-between; }
  .home-page .brand img { width: 72px; height: 58px; }
  .home-page .header-socials { display: none; }
  .home-page .site-nav { top: 90px; background: var(--hero-navy); padding-top: 18px; }
  .home-page .site-nav a { font-size: 17px; padding-block: 14px; }
  .home-page .site-nav a:after { left: 0; bottom: 6px; }
  .home-hero { min-height: 0; padding-top: 112px; padding-bottom: 40px; }
  .hero-layout { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-copy { max-width: 580px; padding-bottom: 0; }
  .hero-kicker { font-size: 8px; margin-bottom: 19px; }
  .hero-kicker:after { margin-top: 12px; width: 28px; }
  .hero-headline { font-size: clamp(28px, 8.5vw, 56px); line-height: 1.04; }
  .hero-reach { margin-top: 26px; }
  .hero-reach-number { font-size: clamp(90px, 21.5vw, 134px); }
  .hero-reach-sparks { width: .35em; right: -.33em; }
  .hero-reach-caption { font-size: 8px; margin-top: 13px; letter-spacing: .2em; }
  .hero-description { max-width: 490px; font-size: 13px; margin-top: 20px; }
  .hero-collage { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-portrait { animation: none; }
}
