/* ============================================================
   ECHO EAST — Section components
   ============================================================ */

/* ============================================================
   HERO — full screen, animated gradient on dark
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--bg);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(54px);
  opacity: 0.55;
  will-change: transform;
  mix-blend-mode: screen;
}
.hero__blob.b1 { width: 50vw; height: 50vw; left: -8vw; top: -10vw;
  background: radial-gradient(circle at 40% 40%, var(--ee-green) 0%, rgba(73,160,120,0) 68%);
  opacity: 0.66; }
.hero__blob.b2 { width: 46vw; height: 46vw; right: -8vw; top: -4vw;
  background: radial-gradient(circle at 50% 50%, var(--ee-yellow) 0%, rgba(227,185,17,0) 66%);
  opacity: 0.58; }
.hero__blob.b3 { width: 58vw; height: 58vw; left: 8vw; bottom: -26vw;
  background: radial-gradient(circle at 50% 50%, var(--ee-orange) 0%, rgba(207,89,6,0) 68%);
  opacity: 0.66; }
.hero__blob.b4 { width: 52vw; height: 52vw; right: 6vw; bottom: -16vw;
  background: radial-gradient(circle at 50% 50%, var(--ee-red) 0%, rgba(187,29,19,0) 68%);
  opacity: 0.7; }
/* mobile: blobs are tiny + mostly off-screen — make them larger and pull them
   into the visible upper-centre of the hero so the gradient actually reads */
@media (max-width: 760px) {
  .hero__blob { filter: blur(40px); }
  .hero__blob.b1 { width: 74vw; height: 74vw; left: -20vw; top: 2vh; bottom: auto; opacity: 0.62; }
  .hero__blob.b2 { width: 70vw; height: 70vw; right: -18vw; top: -3vh; bottom: auto; opacity: 0.56; }
  .hero__blob.b3 { width: 82vw; height: 82vw; left: -10vw; top: 26vh; bottom: auto; opacity: 0.62; }
  .hero__blob.b4 { width: 76vw; height: 76vw; right: -12vw; top: 20vh; bottom: auto; opacity: 0.64; }
}
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(16vw, 12vw) scale(1.22); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1.05); } to { transform: translate(-14vw, 16vw) scale(0.88); } }
@keyframes drift3 { from { transform: translate(0,0) scale(1); } to { transform: translate(14vw,-12vw) scale(1.2); } }
@keyframes drift4 { from { transform: translate(0,0) scale(1.1); } to { transform: translate(-12vw,-10vw) scale(0.9); } }
/* grain + vignette to keep it high-end */
.hero__grain { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  mix-blend-mode: overlay; }
.hero__vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 8%, rgba(20,21,26,0) 40%, var(--bg) 100%),
    linear-gradient(180deg, rgba(20,21,26,0.2) 0%, rgba(20,21,26,0) 30%, rgba(20,21,26,0.5) 100%); }

.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding: var(--gutter); padding-bottom: clamp(48px, 6vw, 88px);
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 0;
}
.hero__headline { grid-column: 1 / 3; max-width: none; padding-right: var(--s-6); }
.hero__headline .display { color: var(--fg); }
.hero__h1 { white-space: nowrap; }
.hero__headline .display em { font-style: italic; color: var(--fg); }
@media (max-width: 560px) { .hero__h1 { white-space: normal; } }
.hero__scroll {
  display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s-6);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3);
}
.hero__scroll .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary-bright);
  box-shadow: 0 0 0 0 var(--primary-glow); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 var(--primary-glow);} 70%{box-shadow:0 0 0 12px rgba(185,21,21,0);} 100%{box-shadow:0 0 0 0 rgba(185,21,21,0);} }

/* one testimonial, bottom-right — left line aligns with the continuous frame line */
.hero__quote {
  grid-column: 3; justify-self: stretch;
  position: relative;
  border-left: 1px solid rgba(255,255,255,0.06);
  padding: var(--s-4) 0 var(--s-2) var(--s-5);
  transition: transform var(--d2) var(--ease);
  cursor: pointer;
}
.hero__quote::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, var(--ee-green), var(--ee-yellow), var(--ee-orange), var(--ee-red));
  transform: scaleY(0); transform-origin: top;
  transition: transform var(--d3) var(--ease);
}
.hero__quote:hover::before { transform: scaleY(1); }
.hero__quote p {
  font-size: 15px; line-height: 1.55; color: var(--fg-3);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  transition: color var(--d2) var(--ease);
}
.hero__quote:hover p { color: var(--fg-2); }
.hero__quote .who { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-4); }
.hero__quote .who__id { display: flex; align-items: center; gap: 12px; }
.hero__quote .who b { font-family: var(--font-body); font-weight: 600; color: var(--fg); font-size: 14px; }
.hero__quote .viewall { font-family: var(--font-body); font-weight: 700; font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--fg-3); opacity: 0; transition: opacity var(--d2) var(--ease); }
.hero__quote:hover .viewall { opacity: 1; }

/* hero intro — fires after the loader clears (initHeroIntro adds .in; has a JS safety timeout) */
.hero__h1[data-hero-in] { opacity: 0; transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.hero__h1[data-hero-in].in { opacity: 1; transform: none; }
.hero__quote[data-hero-in] { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease); }
.hero__quote[data-hero-in].in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .hero__h1[data-hero-in], .hero__quote[data-hero-in] { opacity: 1; transform: none; clip-path: none; transition: none; }
}

/* star ratings */
.stars { display: inline-flex; gap: 4px; margin-bottom: var(--s-4); }
.stars--c { display: flex; justify-content: center; }
.stars span { width: 15px; height: 15px; background: var(--ee-yellow);
  -webkit-mask: var(--star-mask) center/contain no-repeat; mask: var(--star-mask) center/contain no-repeat; }

/* avatars */
.avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  background: var(--surface-2); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .ph__label { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); border: 0; letter-spacing: 0.04em; }
.avatar--lg { width: 56px; height: 56px; margin-bottom: 14px; }
.avatar--lg .ph__label { font-size: 14px; }

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__headline { grid-column: 1; padding-right: 0; }
  .hero__quote { grid-column: 1; justify-self: stretch; max-width: 100%; margin-top: var(--s-7); }
}

/* ============================================================
   CASE STUDY SCROLL VIDEO — inset → fullscreen on scroll
   ============================================================ */
.csv { position: relative; height: 250vh; }
.csv__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.csv__frame {
  position: relative;
  width: var(--csv-w, 64%);
  aspect-ratio: 16/9;
  max-height: 86svh;
  border-radius: var(--csv-r, 18px);
  overflow: hidden;
  background: #0c0d10;
  border: 1px solid var(--line);
  will-change: width, border-radius;
}
.csv__media { position: absolute; inset: 0; }
.csv__media .ph { width: 100%; height: 100%; border: 0; }
.csv__media video, .csv__media img { width: 100%; height: 100%; object-fit: cover; }
.csv__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,12,0.15) 0%, rgba(8,9,12,0) 35%, rgba(8,9,12,0.55) 100%); pointer-events: none; }
.csv__logo {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.csv__logo .ph { width: clamp(180px, 22vw, 320px); aspect-ratio: 5/2; background: rgba(0,0,0,0.18); border-color: rgba(255,255,255,0.2); border-radius: var(--r-md); }
.csv__logo-img { width: clamp(120px, 15vw, 220px); height: auto; filter: drop-shadow(0 8px 30px rgba(0,0,0,0.4)); }
/* positioning lives on the wrapper so the button's own :active transform
   (translateY) can't clobber the centring transform */
.csv__cta-wrap { position: absolute; left: 50%; transform: translateX(-50%); bottom: clamp(18px, 2vw, 32px); z-index: 3; }
.csv__tag { position: absolute; left: clamp(18px, 2vw, 32px); bottom: clamp(18px, 2vw, 32px); z-index: 3;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2);
  display: flex; align-items: center; gap: 10px; }
.csv__tag .live { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-bright); box-shadow: 0 0 10px var(--primary-glow); }
.csv__spacer { height: 220vh; } /* scroll distance that drives the scale */

/* mobile: featured video is full-width from the start — no sticky scroll-to-grow */
@media (max-width: 760px) {
  .csv { height: auto; padding-bottom: 26px; }
  .csv__sticky { position: static; height: auto; overflow: visible; }
  .csv__frame { width: 100% !important; max-height: none !important; border-radius: 0 !important; aspect-ratio: 16/9;
    overflow: visible; }
  .csv__logo-img { width: clamp(120px, 34vw, 200px); }
  /* CTA straddles the bottom edge: top half over the video, bottom half below it */
  .csv__cta-wrap { bottom: 0; transform: translate(-50%, 50%); }
}

/* ============================================================
   SERVICES — continuous-line grid (verticals align to frame lines)
   ============================================================ */
.services__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-6); margin-bottom: var(--s-7); }
.services__head h2 { max-width: 26ch; }
/* full-bleed divider — centre via margin (not transform) so the .reveal transform
   on the first rule can't clobber the horizontal centring (was landing half-width) */
.rule-bleed { border: 0; height: 1px; background: var(--line);
  width: 100vw; margin: 0 0 0 calc(50% - 50vw); }
.svc-row { display: grid; }
.svc-row--a { grid-template-columns: 2fr 1fr; }
.svc-row--b { grid-template-columns: repeat(3, 1fr); }
.svc-row .svc + .svc { border-left: 1px solid var(--line); }
.svc {
  position: relative; background: var(--bg);
  padding: clamp(28px, 2.6vw, 52px);
  min-height: 320px;
  display: flex; flex-direction: column;
  transition: background var(--d2) var(--ease);
}
.svc:hover { background: var(--surface); }
.svc--wide { }
.svc__anim {
  height: 64px;
  display: flex; align-items: center;
}
.svc__anim img { height: 58px; width: auto; object-fit: contain; display: block; }
.svc__num { position: absolute; top: clamp(28px,2.6vw,44px); right: clamp(28px,2.6vw,44px); font-family: var(--font-mono); font-size: 12px; color: var(--fg-4); }
.svc h3 { margin-top: var(--s-6); margin-bottom: var(--s-3); }
/* acronym heading is all-caps so it reads larger — scale down to match the others visually */
.svc__h-acro { font-size: clamp(19px, 1.9vw, 28px); }
.svc__desc { color: var(--fg-3); font-size: 15.5px; line-height: 1.6; max-width: 52ch; }
.svc--wide .svc__desc { font-size: 16.5px; max-width: 46ch; }
.svc__more { margin-top: var(--s-5); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); opacity: 0; transform: translateY(6px); transition: all var(--d2) var(--ease); }
.svc:hover .svc__more { opacity: 1; transform: none; color: var(--primary-bright); }
/* CTA cell */
.svc--cta { background: var(--surface); justify-content: center; align-items: flex-start; }
.svc--cta:hover { background: var(--surface-2); }
.svc--cta h3 { margin-top: 0; }
.svc--cta .btn { margin-top: var(--s-6); }

@media (max-width: 860px) {
  .svc-row--a { grid-template-columns: 1fr; }
  .svc-row--b { grid-template-columns: 1fr; }
  .svc-row .svc + .svc { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  /* full-bleed service cards so the dividers between them run edge to edge */
  .section--svc .wrap:has(.svc-row) { max-width: none; padding-inline: 0; }
  .section--svc .svc { padding-inline: var(--gutter); min-height: 0; }
}

/* ============================================================
   WORK SLIDER — coverflow, centre in focus
   ============================================================ */
.workslider { overflow: hidden; }
.workslider__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-6); margin-bottom: var(--s-7); }
.ws-track-mask { position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.ws-track { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); transition: transform var(--d3) var(--ease); will-change: transform;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ws-track:active { cursor: grabbing; }
.ws-card__img, .ws-card__img img, .ws-card__img video { -webkit-user-drag: none; user-select: none; }
.ws-card { flex: 0 0 clamp(360px, 46vw, 760px); opacity: 0.34; filter: saturate(0.5); transform: scale(0.9); transition: opacity var(--d3) var(--ease), transform var(--d3) var(--ease), filter var(--d3) var(--ease); }
.ws-card.is-active { opacity: 1; filter: none; transform: scale(1); }
.ws-card__img { display: block; position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.ws-card__img .ph { width: 100%; height: 100%; border: 0; }
.ws-card__img img, .ws-card__img video { width: 100%; height: 100%; object-fit: cover; }
.ws-card__meta { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: var(--s-5); text-align: center; }
.ws-card__meta .name { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: clamp(15px, 1.3vw, 19px); color: var(--fg); }
.ws-card__meta .cat { font-family: var(--font-body); font-size: 12.5px; letter-spacing: 0.04em; color: var(--fg-3); }
.ws-nav { display: flex; gap: var(--s-3); margin-top: var(--s-7); justify-content: center; }
.ws-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--fg); display: flex; align-items: center; justify-content: center; transition: all var(--d1) var(--ease); }
.ws-btn:hover { background: #fff; border-color: #fff; color: #0a0a0a; }

@media (max-width: 760px) {
  /* on mobile each card spans the column between the continuous lines, and you drag it */
  .ws-track-mask { -webkit-mask-image: none; mask-image: none; }
  .ws-track { gap: 0; cursor: grab; }
  .ws-track:active { cursor: grabbing; }
  .ws-card { flex: 0 0 calc(100vw - 2 * var(--gutter)); opacity: 1; filter: none; transform: none;
    padding-inline: 0; margin-inline: calc(var(--gutter) / 2); }
  .ws-card.is-active { transform: none; }
  .ws-nav { display: flex; }
}

/* ============================================================
   WHO WE ARE — team
   ============================================================ */
.team { padding-block: clamp(56px, 8vw, 128px); }
.team__head { max-width: 60ch; margin-bottom: clamp(48px, 6vw, 96px); }
.team__head h2 { margin-bottom: var(--s-5); }
.team__intro { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--fg-2); }
.team__row { display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(20px, 5vw, 84px); flex-wrap: wrap; }
.team__member { display: flex; flex-direction: column; align-items: center; text-align: center;
  width: clamp(120px, 15vw, 168px); }
/* 1st & 3rd sit lower so 2nd & 4th read a little higher (margin, not transform — keeps reveal clean) */
.team__member:nth-child(odd) { margin-top: clamp(22px, 3vw, 44px); }
.team__avatar { width: clamp(104px, 12vw, 150px); aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; position: relative;
  border: 1.5px solid transparent;
  background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    var(--ee-gradient) border-box;
  display: flex; align-items: center; justify-content: center; }
.team__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team__avatar .initial { font-family: var(--font-display); font-size: clamp(34px, 4vw, 54px); color: var(--fg); line-height: 1; }
.team__name { font-family: var(--font-body); font-weight: 700; font-size: 14.5px; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--fg); margin-top: var(--s-5); }
.team__role { font-family: var(--font-body); font-size: 13px; color: var(--fg-3); margin-top: 7px; max-width: 20ch; line-height: 1.4; }

@media (max-width: 680px) {
  .team__row { gap: 36px 24px; }
  .team__member { width: 42%; }
  .team__member:nth-child(odd) { margin-top: 0; }
  .team__member:nth-child(even) { margin-top: clamp(24px, 7vw, 44px); }
}

/* ============================================================
   CTA BAND — full width
   ============================================================ */
.cta { position: relative; overflow: hidden; background: #fff; border-block: 1px solid var(--line); }
.cta__glow { display: none; }
/* moving brand-gradient wash — reuses .hero__blob (animated by initHeroGradient),
   but blends multiply so the colours read on the white CTA instead of screen */
.cta__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.cta__bg .hero__blob { mix-blend-mode: multiply; filter: blur(48px); }
.cta__bg .hero__blob.b1 { width: 34vw; height: 34vw; left: -8vw;  top: -30%;    opacity: .56; }
.cta__bg .hero__blob.b2 { width: 30vw; height: 30vw; left: 24%;   top: -46%;    opacity: .5; }
.cta__bg .hero__blob.b3 { width: 38vw; height: 38vw; right: 20%;  bottom: -50%; opacity: .56; }
.cta__bg .hero__blob.b4 { width: 32vw; height: 32vw; right: -8vw; top: -26%;    opacity: .62; }
@media (max-width: 760px) {
  .cta__bg .hero__blob { filter: blur(40px); }
  .cta__bg .hero__blob.b1 { width: 64vw; height: 64vw; left: -22vw; top: -28%;    opacity: .6; }
  .cta__bg .hero__blob.b2 { width: 58vw; height: 58vw; left: 12%;   top: -42%;    opacity: .52; }
  .cta__bg .hero__blob.b3 { width: 66vw; height: 66vw; right: 4%;   bottom: -44%; opacity: .56; }
  .cta__bg .hero__blob.b4 { width: 60vw; height: 60vw; right: -20vw; top: -24%;   opacity: .6; }
}
.cta__inner { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-6); padding-block: clamp(64px, 9vw, 150px); }
.cta__inner .display { max-width: none; color: #0a0a0a; }
.cta__sub { max-width: 50ch; color: #44464d; }

/* ============================================================
   TESTIMONIAL SLIDER
   ============================================================ */
.tslider { background: var(--bg); }
.tslider__head { text-align: center; margin-bottom: var(--s-8); display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }
.tslider__viewport { overflow: hidden; max-width: 1040px; margin-inline: auto;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tslider__viewport:active { cursor: grabbing; }
.tslider__viewport img { -webkit-user-drag: none; }
.tslider__track { display: flex; transition: transform var(--d3) var(--ease); }
.tslide { flex: 0 0 100%; padding-inline: clamp(8px, 3vw, 40px); }
.tslide blockquote { margin: 0; font-family: var(--font-body); font-weight: 400; font-size: clamp(17px, 1.7vw, 24px); line-height: 1.55; color: var(--fg-2); text-align: center; text-wrap: pretty; max-width: 62ch; margin-inline: auto; }
.tslide blockquote .q { color: var(--fg-4); }
.tslide__who { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: var(--s-7); }
.tslide__who b { font-family: var(--font-body); font-weight: 600; color: var(--fg); font-size: 15px; }
.tslide__who span { font-size: 13.5px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; }
.tslider__dots { display: flex; gap: 8px; justify-content: center; margin-top: var(--s-8); }
.tdot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-3); border: 0; padding: 0; transition: all var(--d1) var(--ease); }
.tdot.on { background: var(--ee-gradient); width: 26px; border-radius: var(--r-pill); }

/* ============================================================
   FAQ
   ============================================================ */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 96px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; background: none; border: 0; text-align: left; color: var(--fg);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  padding: var(--s-6) 0; font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 26px); }
.faq__q .ic { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; transition: transform var(--d2) var(--ease); }
.faq__q .ic::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); background: var(--ee-gradient); }
.faq__q .ic::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); background: linear-gradient(180deg, var(--ee-green), var(--ee-yellow), var(--ee-orange), var(--ee-red)); }
.faq__item.open .ic::after { transform: translateX(-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--d3) var(--ease); }
.faq__a-inner { padding: 0 0 var(--s-6); color: var(--fg-3); max-width: 60ch; }

@media (max-width: 760px) { .faq__grid { grid-template-columns: 1fr; } }

/* ============================================================
   WORK PAGE — project grid
   ============================================================ */
.work-hero { padding-top: clamp(170px, 22vh, 264px); padding-bottom: clamp(16px, 2vw, 28px); }
.work-hero .display { max-width: none; }
/* pull the work grid up close to the heading */
.work-hero + .section--tight { padding-top: clamp(6px, 1vw, 16px); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 2.6vw, 56px) clamp(24px, 2.4vw, 48px); }
.work-card { display: block; }
.work-card__media { position: relative; aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.work-card__media .ph { width: 100%; height: 100%; border: 0; }
.work-card__media img, .work-card__media video { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d3) var(--ease); }
.work-card:hover .work-card__media img, .work-card:hover .work-card__media video { transform: scale(1.04); }
.work-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,12,0) 55%, rgba(8,9,12,0.5) 100%); opacity: 0; transition: opacity var(--d2) var(--ease); }
.work-card:hover .work-card__media::after { opacity: 1; }
.work-card__badge { position: absolute; top: var(--s-4); left: var(--s-4); z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill); background: rgba(0,0,0,0.4); backdrop-filter: blur(6px); border: 1px solid var(--line-2); color: var(--fg-2); }
.work-card__badge.is-cs { color: var(--primary-bright); border-color: rgba(185,21,21,0.4); }
.work-card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-5); }
.work-card__foot .name { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: clamp(15px, 1.2vw, 18px); color: var(--fg); transition: none; }
.work-card:hover .work-card__foot .name { color: var(--fg); }
.work-card__foot .cat { font-family: var(--font-body); font-size: 12.5px; letter-spacing: 0.03em; color: var(--fg-3); white-space: nowrap; }
/* keep the services tag on one line even when the project name wraps to 2 */
.work-card__foot > div { flex-shrink: 0; }
.work-card__arrow { color: var(--fg-3); transition: transform var(--d2) var(--ease); }
.work-card:hover .work-card__arrow { transform: translate(4px,-4px); color: var(--fg-2); }

@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CASE STUDY PAGE — AKQA-style editorial
   ============================================================ */
:root { --csx-col: 720px; }
/* full-bleed hero media, edge to edge */
.csx-hero { padding-top: 0; }
.csx-hero__media { position: relative; width: 100%; aspect-ratio: 16/9; max-height: 92svh; overflow: hidden; background: var(--surface); }
.csx-hero__media .ph { width: 100%; height: 100%; border: 0; }
.csx-hero__media img, .csx-hero__media video { width: 100%; height: 100%; object-fit: cover; }

/* narrow centered running column */
.csx-col { width: 100%; max-width: var(--csx-col); margin-inline: auto; padding-inline: var(--gutter); }
.csx-head { padding-top: clamp(130px, 16vh, 210px); padding-bottom: clamp(40px, 5vw, 72px); }
.csx-head .csx-col { max-width: var(--maxw); margin-inline: auto; }
.csx-back { display: inline-flex; margin-bottom: var(--s-7); }
.csx-client { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: var(--s-5); }
.csx-intro { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.14; color: var(--fg); text-wrap: pretty; max-width: 30ch; }

.csx-credits-sec { padding-block: clamp(40px, 5vw, 72px); }
.csx-credits { width: 100%; max-width: var(--csx-col); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; gap: var(--s-5); border-top: 1px solid var(--line); padding-top: var(--s-6); }
.csx-credits > div { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.csx-credits .k { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.csx-credits .v { font-family: var(--font-body); font-size: 15px; color: var(--fg); }

/* body text */
.csx-body { padding-block: clamp(40px, 5vw, 80px); }
.csx-lead { font-family: var(--font-body); font-size: clamp(19px, 1.6vw, 24px); line-height: 1.55; color: var(--fg); text-wrap: pretty; }
.csx-h2 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 46px); color: var(--fg); margin-bottom: var(--s-5); }
.csx-body p { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.7; color: var(--fg-2); max-width: 64ch; }
.csx-body p + p { margin-top: var(--s-5); }

/* full-bleed media between text */
.csx-bleed { margin: clamp(24px, 4vw, 64px) 0; width: 100%; }
.csx-bleed .ph { width: 100%; aspect-ratio: 21/9; border: 0; }
.csx-bleed img { display: block; width: 100%; height: auto; max-height: 90svh; object-fit: cover; }
/* contained media — full image visible, constrained to content width */
.csx-contain { width: 100%; max-width: var(--maxw); margin: clamp(24px, 4vw, 64px) auto; padding-inline: var(--gutter); }
.csx-contain img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
.csx-contain video { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }

/* 2-across image grid (full images, natural height) */
.csx-grid2 { width: 100%; max-width: var(--maxw); margin: clamp(24px, 4vw, 64px) auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); align-items: start; }
.csx-grid2 img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
@media (max-width: 680px) { .csx-grid2 { grid-template-columns: 1fr; } }
/* desktop + mobile screenshots side by side (raw, no device frames) — ~equal heights */
.csx-pair { width: 100%; max-width: var(--maxw); margin: clamp(24px, 4vw, 64px) auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr 0.28fr; gap: clamp(14px, 2.2vw, 36px); align-items: end; }
.csx-pair img, .csx-pair video { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }

/* centred "Visit site" link */
.csx-visit { display: flex; justify-content: center; padding-block: clamp(36px, 5vw, 72px); }

/* legal / privacy */
.legal { width: 100%; max-width: var(--csx-col); margin-inline: auto; padding-inline: var(--gutter); padding-bottom: clamp(64px, 9vw, 130px); }
.legal__meta { color: var(--fg-3); font-size: 14px; margin: 0 0 var(--s-7); }
.legal h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2.2vw, 30px); color: var(--fg); margin: clamp(34px, 4vw, 54px) 0 var(--s-4); }
.legal p { color: var(--fg-2); font-size: 16px; line-height: 1.75; }
.legal p + p { margin-top: var(--s-4); }
.legal ul { margin: var(--s-4) 0; padding-left: 1.25em; display: flex; flex-direction: column; gap: var(--s-3); }
.legal li { color: var(--fg-2); font-size: 16px; line-height: 1.6; }
.legal a { color: var(--fg); border-bottom: 1px solid var(--line-3); }
.legal a:hover { border-color: var(--fg); }

/* brand collateral cluster (logo + mockups) */
.brand-cluster { width: 100%; max-width: var(--maxw); margin: clamp(24px, 4vw, 64px) auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.brand-cluster__tile { position: relative; aspect-ratio: 3/2; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.brand-cluster__tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-cluster__tile--logo { display: flex; align-items: center; justify-content: center; background: var(--bg-2); }
.brand-cluster__tile--logo img { width: auto; height: auto; max-width: 56%; max-height: 44%; object-fit: contain; }
@media (max-width: 680px) { .brand-cluster { grid-template-columns: 1fr; } }
.csx-bleed-wrap { padding-block: clamp(40px, 5vw, 80px); }
.csx-duo { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.csx-duo .ph { width: 100%; aspect-ratio: 4/3; border: 0; }
@media (max-width: 640px) {
  .csx-duo { grid-template-columns: 1fr; }
  .csx-credits { flex-direction: column; align-items: flex-start; gap: 22px; border-top: none; padding-top: 0; }
  .csx-credits > div { flex: none; width: 100%; align-items: flex-start; text-align: left; }
}

/* quote */
.csx-quote-sec { border-block: 1px solid var(--line); }
.csx-quote { margin: 0; font-family: var(--font-body); font-weight: 500; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.5; color: var(--fg); text-wrap: pretty; }
.csx-quote__who { display: flex; align-items: center; gap: 14px; margin-top: var(--s-6); font-size: 15px; color: var(--fg-3); }

/* device mockups */
.mockups { display: grid; grid-template-columns: 1.6fr 0.7fr; gap: clamp(24px, 3vw, 56px); align-items: end; }
.mock-laptop { }
.mock-laptop__screen { position: relative; aspect-ratio: 16/10; border-radius: 14px 14px 0 0; overflow: hidden; border: 10px solid #2a2d36; border-bottom: 0; background: #0c0d10; }
.mock-laptop__screen .ph { width: 100%; height: 100%; border: 0; }
.mock-laptop__screen img, .mock-laptop__screen video { width: 100%; height: 100%; object-fit: contain; }
.mock-laptop__base { height: 16px; background: linear-gradient(180deg, #2a2d36, #1a1c22); border-radius: 0 0 12px 12px;
  position: relative; box-shadow: inset 0 2px 0 rgba(255,255,255,0.05); }
.mock-laptop__base::after { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 14%; height: 5px; background: #0e0f13; border-radius: 0 0 6px 6px; }
.mock-phone { }
.mock-phone__screen { position: relative; aspect-ratio: 9/19; border-radius: 30px; overflow: hidden; border: 9px solid #2a2d36; background: #0c0d10; box-shadow: var(--shadow-2); }
.mock-phone__screen .ph { width: 100%; height: 100%; border: 0; }
.mock-phone__screen img, .mock-phone__screen video { width: 100%; height: 100%; object-fit: contain; }
.mock-phone__screen::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 3; width: 34%; height: 18px; background: #2a2d36; border-radius: var(--r-pill); }
@media (max-width: 680px) { .mockups { grid-template-columns: 1fr; } .mock-phone { max-width: 220px; } }

.cs-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px,2vw,28px); }
.cs-gallery .ph { aspect-ratio: 4/3; border-radius: var(--r-lg); }
.cs-gallery .span2 { grid-column: span 2; }
.cs-gallery .span2.tall { aspect-ratio: 21/9; }
@media (max-width: 680px) { .cs-gallery { grid-template-columns: 1fr; } .cs-gallery .span2 { grid-column: span 1; } }

.cs-quote { text-align: center; max-width: 1000px; margin-inline: auto; }
.cs-quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 50px); line-height: 1.28; color: var(--fg); text-wrap: balance; }
.cs-quote .who { margin-top: var(--s-6); font-size: 14px; color: var(--fg-3); }

.cs-next { border-top: 1px solid var(--line); }
.cs-next a { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; text-align: right; gap: var(--s-4); padding-block: clamp(40px,5vw,72px); }
.cs-next .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.cs-next .title {
  font-family: var(--font-body); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-size: clamp(20px, 3vw, 32px); color: var(--fg);
  display: inline-block; margin-top: 7px;
  /* brand-gradient underline like .link-u */
  background-image: var(--ee-gradient); background-repeat: no-repeat;
  background-position: 0 100%; background-size: 0% 1.5px;
  transition: background-size var(--d2) var(--ease);
  padding-bottom: 4px;
}
.cs-next a:hover .title { background-size: 100% 1.5px; }
.cs-next .work-card__arrow svg { width: 28px; height: 28px; }

/* ============================================================
   PLANNER WIZARD
   ============================================================ */
.planner { padding-top: clamp(150px, 20vh, 230px); padding-bottom: clamp(80px, 10vw, 160px);
  min-height: 100svh; display: flex; }
.wiz { width: 100%; max-width: 880px; margin-inline: auto; display: flex; flex-direction: column; }
.wiz__bar { display: flex; align-items: center; gap: var(--s-5); margin-bottom: clamp(36px, 5vw, 64px); }
.wiz__track { flex: 1; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.wiz__fill { display: block; height: 100%; background: var(--ee-gradient); transition: width var(--d3) var(--ease); }
.wiz__count { font-family: var(--font-body); font-size: 14px; color: var(--fg-3); white-space: nowrap; }
.wiz__count b { color: var(--fg); font-weight: 700; }

.wiz__step, .wiz__done { display: none; }
.wiz__step.is-active, .wiz__done.is-active { display: block; }
.wiz__intro { margin-bottom: clamp(28px, 4vw, 48px); }
.wiz__h { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 60px); line-height: 1.05; color: var(--fg); }
.wiz__sub { margin-top: var(--s-5); max-width: 60ch; color: var(--fg-3); font-size: 16px; line-height: 1.6; }
.opt-tag { color: var(--fg-4); font-weight: 400; }

/* service select cards */
.serv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.serv-opt { position: relative; cursor: pointer; user-select: none; color: var(--fg);
  display: flex; align-items: center; gap: var(--s-5);
  border: 1.5px solid var(--line-2); padding: clamp(20px, 2.4vw, 30px);
  background: var(--surface); transition: border-color var(--d1) var(--ease), background var(--d1) var(--ease), color var(--d1) var(--ease); }
.serv-opt:hover { border-color: var(--line-3); }
.serv-opt input { position: absolute; opacity: 0; pointer-events: none; }
.serv-opt__ic { width: 64px; height: 64px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; }
.serv-opt__ic svg { width: 26px; height: 26px; display: block; }
.serv-opt__ic img { width: 64px; height: 64px; object-fit: contain; display: block; }
/* swap to the light-background icon once the service is selected (tile turns white) */
.serv-opt__ic .serv-opt__img--light { display: none; }
.serv-opt:has(input:checked) .serv-opt__ic .serv-opt__img--dark { display: none; }
.serv-opt:has(input:checked) .serv-opt__ic .serv-opt__img--light { display: block; }
.serv-opt__t { font-family: var(--font-body); font-weight: 600; font-size: 17px; color: inherit; }
.serv-opt__tick { position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line-3); transition: all var(--d1) var(--ease); }
/* selected: brand gradient border, white fill, black text (like the buttons) */
.serv-opt:has(input:checked) { border-color: transparent; color: #0a0a0a;
  background: linear-gradient(#fff, #fff) padding-box, var(--ee-gradient) border-box; }
.serv-opt:has(input:checked) .serv-opt__tick { border-color: #0a0a0a; background: transparent; box-shadow: none; }
.serv-opt:has(input:checked) .serv-opt__tick::after { content: ""; position: absolute; left: 7px; top: 3.5px;
  width: 5px; height: 9px; border: solid #0a0a0a; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }

/* budget slider */
.bracket-slider { padding-top: var(--s-3); }
.bracket-slider__val { font-family: var(--font-body); font-weight: 700; font-size: clamp(40px, 6vw, 64px);
  line-height: 1; color: var(--fg); letter-spacing: -0.01em; margin-bottom: clamp(24px, 3.4vw, 38px); }
.bracket-slider__scale { display: flex; justify-content: space-between; margin-top: var(--s-4);
  font-family: var(--font-body); font-size: 14px; color: var(--fg-3); }
.ranger { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: transparent; cursor: pointer; }
.ranger:focus { outline: none; }
.ranger::-webkit-slider-runnable-track { height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--ee-green), var(--ee-yellow), var(--ee-orange), var(--ee-red)) no-repeat, var(--line-2);
  background-size: var(--p, 0%) 100%, 100% 100%; }
.ranger::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin-top: -8px;
  border-radius: 50%; background: #fff; border: 1.5px solid rgba(0,0,0,0.15); box-shadow: 0 2px 10px rgba(0,0,0,0.4); cursor: pointer; }
.ranger::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line-2); }
.ranger::-moz-range-progress { height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--ee-green), var(--ee-yellow), var(--ee-orange), var(--ee-red)); }
.ranger::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff;
  border: 1.5px solid rgba(0,0,0,0.15); box-shadow: 0 2px 10px rgba(0,0,0,0.4); cursor: pointer; }

.wiz__nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); margin-top: clamp(36px, 5vw, 56px); }
.wiz__nav .btn { margin-left: auto; }
.wiz__prev { background: none; border: 0; padding: 0; cursor: pointer; }

/* success */
.wiz__done { text-align: center; padding-block: clamp(20px, 4vw, 48px); }
.wiz__done-mark { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto var(--s-6);
  border: 2px solid var(--ee-green); position: relative; }
.wiz__done-mark::after { content: ""; position: absolute; left: 27px; top: 16px; width: 14px; height: 28px;
  border: solid var(--ee-green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wiz__done .wiz__sub { margin-inline: auto; }

.field { display: flex; flex-direction: column; gap: var(--s-3); }
.field label { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--fg); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 16px; color: var(--fg);
  background: var(--surface); border: 1.5px solid var(--line-2);
  padding: 16px 18px; width: 100%; transition: border-color var(--d1) var(--ease), background var(--d1) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-4); }
/* focused: brand gradient border instead of red */
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: transparent;
  background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--ee-gradient) border-box; }
.field textarea { resize: vertical; min-height: 150px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }

/* ---- form validation states ---- */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.field input.invalid, .field textarea.invalid {
  border-color: transparent;
  background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    linear-gradient(var(--primary-bright), var(--primary-bright)) border-box; }
.field__err { display: block; margin-top: 7px; font-family: var(--font-body); font-size: 12.5px; color: var(--primary-bright); }
.form__msg { margin-top: 18px; font-family: var(--font-body); font-size: 14px; color: var(--fg-2); }
.form__msg--err { color: var(--primary-bright); }
@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; }
  .serv-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding-top: clamp(150px, 20vh, 230px); padding-bottom: clamp(80px, 10vw, 150px); }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(48px, 7vw, 130px); align-items: start; }
.contact__intro .display { font-size: clamp(40px, 5vw, 50px); }
.contact__lead { font-family: var(--font-body); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: var(--fg-2); margin: var(--s-6) 0 var(--s-6); max-width: 30ch; }
.contact__direct { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-5); }
.contact__direct li { display: flex; flex-direction: column; gap: 6px; }
.contact__direct .k { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.contact__direct a { font-family: var(--font-body); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 16px; }
.contact__or { font-family: var(--font-body); font-weight: 600; font-size: clamp(16px, 1.4vw, 19px); color: var(--fg); margin-bottom: var(--s-6); }

.checks { border: 0; padding: 0; margin: 0; }
.checks legend { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--fg); margin-bottom: var(--s-4); padding: 0; }
.checks__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.check { display: flex; align-items: center; gap: 12px; cursor: pointer; user-select: none;
  border: 1px solid var(--line-2); padding: 15px 18px; background: var(--surface);
  transition: border-color var(--d1) var(--ease), background var(--d1) var(--ease); }
.check:hover { border-color: var(--line-3); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { width: 18px; height: 18px; flex: 0 0 auto; border: 1px solid var(--line-3); position: relative; transition: all var(--d1) var(--ease); }
.check__t { font-family: var(--font-body); font-size: 15px; color: var(--fg-2); }
.check:has(input:checked) { border-color: var(--primary-bright); background: var(--primary-tint); }
.check:has(input:checked) .check__box { background: var(--primary-bright); border-color: var(--primary-bright); }
.check:has(input:checked) .check__box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check:has(input:checked) .check__t { color: var(--fg); }
.contact__success { margin-top: var(--s-5); color: var(--ee-green); font-size: 15px; }
@media (max-width: 820px) {
  .contact__grid { grid-template-columns: 1fr; }
  .checks__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES — split hero (3 contained, colour-segmented panels)
   ============================================================ */
.svc-hero { position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  height: 100svh; min-height: 620px; background: var(--bg); }
.svc-seg { position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  text-decoration: none; border-left: 1px solid rgba(255,255,255,0.10);
  transition: filter var(--d3) var(--ease); }
.svc-seg:last-child { border-right: 1px solid rgba(255,255,255,0.10); }

/* moving, blurred colour blobs — clipped to each segment */
.svc-seg__bg { position: absolute; inset: 0; z-index: 0; }
.svc-blob { position: absolute; border-radius: 50%; aspect-ratio: 1;
  filter: blur(60px); mix-blend-mode: screen; will-change: transform; }
.svc-blob.s1 { width: 92%; left: -18%; top: -2%;  opacity: 0.78; }
.svc-blob.s2 { width: 104%; right: -26%; top: 22%; opacity: 0.64; }
.svc-blob.s3 { width: 96%; left: -2%;  bottom: -22%; opacity: 0.72; }
.svc-seg--web  .svc-blob { background: radial-gradient(circle at 50% 50%, #e21f1f 0%, rgba(226,31,31,0) 68%); }
.svc-seg--maint .svc-blob { background: radial-gradient(circle at 50% 50%, var(--ee-yellow) 0%, rgba(227,185,17,0) 68%); }
.svc-seg--aeo  .svc-blob { background: radial-gradient(circle at 50% 50%, #57c590 0%, rgba(87,197,144,0) 68%); }

/* readability gradient at the bottom */
.svc-seg::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,9,12,0.10) 0%, rgba(8,9,12,0) 38%, rgba(8,9,12,0.6) 100%); }

.svc-seg__label { position: relative; z-index: 2; text-align: center;
  font-family: var(--font-display); font-weight: 400; line-height: 1.04;
  font-size: clamp(26px, 3vw, 54px); color: var(--fg);
  margin-bottom: clamp(44px, 9vh, 110px);
  transition: opacity var(--d2) var(--ease); }
.svc-seg__sub { display: block; margin-top: 12px; font-family: var(--font-body); font-weight: 600;
  font-size: 12px; letter-spacing: var(--ls-button); text-transform: uppercase; color: var(--fg-3); }

/* hover: grey + dim the two non-hovered segments */
.svc-hero:hover .svc-seg:not(:hover) { filter: grayscale(1) brightness(0.42); }
.svc-hero:hover .svc-seg:not(:hover) .svc-seg__label { opacity: 0.45; }

@media (max-width: 760px) {
  .svc-hero { grid-template-columns: 1fr; height: auto; }
  .svc-seg { height: 56svh; min-height: 320px; border-left: 0; border-top: 1px solid rgba(255,255,255,0.10); }
  .svc-seg:last-child { border-right: 0; }
  /* on touch there is no hover; keep all three lit */
  .svc-hero:hover .svc-seg:not(:hover) { filter: none; }
  .svc-hero:hover .svc-seg:not(:hover) .svc-seg__label { opacity: 1; }
}
