/* AT Boost home: centered statement and a dark, six-column expertise strip. */
.hero {
  --hero-cyan: #4ECDC4;
  --hero-coral: #F06060;
  --hero-ink: #F8FAFC;
  --hero-muted: #8E9BA6;
  --hero-rule: rgba(255, 255, 255, .09);
  --hero-intro-end: 2.1s;
  --hero-reveal-start: calc(var(--hero-intro-end) + .15s);
  --hero-ease: cubic-bezier(.22, 1, .36, 1);
  position: relative;
  padding: 54px 0 24px;
  overflow: hidden;
  color: var(--hero-ink);
  background:
    radial-gradient(ellipse at 10% 60%, rgba(78, 205, 196, .12), transparent 52%),
    radial-gradient(ellipse at 90% 45%, rgba(240, 96, 96, .10), transparent 48%),
    #07131B;
  border-bottom: 1px solid var(--hero-rule);
}

.hero .container {
  position: relative;
  z-index: 1;
  width: min(1530px, calc(100% - 13%));
}

.hero-main {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.hero-intro {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  grid-template-rows: min(100%, calc(100svh - var(--shell-nav-h, 80px)));
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  pointer-events: none;
  background: #0a0a0a;
  animation: hero-intro-exit .8s cubic-bezier(.4, 0, .2, 1) var(--hero-intro-end) forwards;
}

/* A soft halo and a single light pass accompany the logo drawing. */
.hero-intro::before,
.hero-intro::after {
  content: "";
  grid-area: 1 / 1;
  width: min(680px, 100%);
  height: min(620px, 100%);
  -webkit-mask-image: radial-gradient(ellipse closest-side, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero-intro::before {
  background:
    radial-gradient(ellipse at 35% 38%, rgba(78, 205, 196, .13), transparent 58%),
    radial-gradient(ellipse at 68% 58%, rgba(240, 96, 96, .10), transparent 56%);
  animation: hero-intro-halo 2.7s ease-in-out .05s both;
}

.hero-intro::after {
  z-index: 2;
  background: linear-gradient(110deg, transparent 35%, rgba(78, 205, 196, .025) 44%, rgba(255, 255, 255, .07) 50%, rgba(240, 96, 96, .025) 56%, transparent 65%);
  animation: hero-intro-sweep 1.35s cubic-bezier(.4, 0, .2, 1) .55s both;
}

.hero-intro__brand {
  grid-area: 1 / 1;
  z-index: 1;
  display: block;
  width: min(432px, calc(100% - 64px));
  height: auto;
  max-height: 65svh;
  font-family: Arial, Helvetica, sans-serif;
  transform-origin: center;
  animation: hero-intro-brand-exit .65s var(--hero-ease) var(--hero-intro-end) forwards;
}

.hero-intro__frame-line {
  fill: none;
  stroke-width: 12;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.hero-intro__frame-line--cyan {
  stroke: var(--hero-cyan);
  animation: hero-intro-frame .95s cubic-bezier(.65, 0, .25, 1) .08s both;
}

.hero-intro__frame-line--coral {
  stroke: var(--hero-coral);
  animation: hero-intro-frame .95s cubic-bezier(.65, 0, .25, 1) .3s both;
}

.hero-intro__frame-dot,
.hero-intro__wordmark-dot {
  fill: var(--hero-coral);
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-intro-dot .6s var(--hero-ease) 1s both;
}

.hero-intro__dot-ring {
  fill: none;
  stroke: var(--hero-coral);
  stroke-width: 1.25;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-intro-ripple .9s ease-out 1.12s both;
}

.hero-intro__monogram {
  fill: #fff;
  font-size: 104px;
  font-weight: 700;
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-intro-monogram .85s var(--hero-ease) .3s both;
}

.hero-intro__letter {
  fill: #fff;
  font-size: 96px;
  font-weight: 400;
  animation: hero-intro-letter .7s var(--hero-ease) var(--letter-delay) both;
}

.hero-intro__letter--at {
  font-weight: 700;
}

.hero-intro__wordmark-dot {
  animation-delay: 1.2s;
}


/* Agency statement */
.hero-copy-home {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  margin-top: -8px;
}

.eyebrow-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0 0 24px;
  padding: 5px 14px 5px 10px;
  border: 1px solid rgba(142, 186, 192, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--hero-cyan);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow-dot {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--hero-coral);
  box-shadow: 0 0 8px rgba(240, 96, 96, .5);
}

.hero-h1 {
  margin: 0 0 15px;
  color: var(--hero-ink);
  font-size: clamp(48px, 5.4vw, 70px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.045em;
}

.hero-h1 .coral-txt {
  position: relative;
  display: inline-block;
  color: var(--hero-coral);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero-desc-home {
  max-width: 680px;
  margin: 0 auto 30px;
  color: var(--hero-muted);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-ctas-home {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
}

.hero .btn-hero-coral,
.hero .btn-hero-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
  backdrop-filter: none;
  transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.hero .btn-hero-coral {
  color: #fff;
  background: var(--hero-coral);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 8px 24px rgba(240, 96, 96, .24);
}

.hero .btn-hero-coral:hover {
  color: #fff;
  background: #E84C4C;
  box-shadow: 0 12px 28px rgba(240, 96, 96, .32);
  transform: translateY(-2px);
}

.hero .btn-hero-glass {
  color: var(--hero-ink);
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .18);
}

.hero .btn-hero-glass:hover {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .3);
  transform: translateY(-2px);
}

.hero .btn-hero-arrow {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  transition: transform .22s ease;
}

.hero .btn-hero-coral:hover .btn-hero-arrow,
.hero .btn-hero-glass:hover .btn-hero-arrow {
  transform: translate(3px, -3px);
}

/* Six direct routes into the agency's expertise. */
.hero-expertise-panel {
  position: relative;
  min-width: 0;
  width: 100%;
}

.hero-expertise-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 16px;
  color: var(--hero-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-expertise-divider::before,
.hero-expertise-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hero-rule);
}

.hero-expertise-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--hero-rule);
  background: var(--hero-rule);
  background-clip: padding-box;
}

.hero-expertise-cell {
  --expertise-accent: var(--hero-coral);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 146px;
  padding: 20px;
  background: #0B1821;
  box-shadow: inset 0 -2px transparent;
  color: var(--hero-ink);
  text-decoration: none;
  transition: background-color .25s ease, box-shadow .25s ease;
}

.hero-expertise-cell:nth-child(3),
.hero-expertise-cell:nth-child(4) {
  --expertise-accent: var(--hero-cyan);
}

.hero-expertise-kicker {
  margin-bottom: 8px;
  color: var(--expertise-accent);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-expertise-title {
  min-width: 0;
  color: var(--hero-ink);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.025em;
  transition: color .25s ease;
}

.hero-expertise-sub {
  margin-top: auto;
  padding-top: 24px;
  color: var(--hero-muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
  .hero-expertise-cell:hover {
    background: #18212C;
    box-shadow: inset 0 -2px var(--expertise-accent);
  }
  .hero-expertise-cell:hover .hero-expertise-title {
    color: var(--expertise-accent);
  }
}

.hero a:focus-visible {
  outline: 2px solid var(--hero-cyan);
  outline-offset: 3px;
}

.hero-expertise-cell:focus-visible {
  z-index: 1;
  background: #18212C;
  box-shadow: inset 0 -2px var(--expertise-accent);
}

.hero-expertise-cell:focus-visible .hero-expertise-title {
  color: var(--expertise-accent);
}

/* A quiet signature separates the opening statement from the results below. */
.hero-footer-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--hero-rule);
}

.hero-footer-tags,
.hero-footer-loc {
  color: var(--hero-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.hero-footer-tags i {
  padding-inline: 3px;
  color: var(--hero-coral);
  font-style: normal;
}

.hero-footer-quote {
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid rgba(240, 96, 96, .55);
  color: var(--hero-muted);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

.hero-footer-loc {
  white-space: nowrap;
}

#expertises {
  scroll-margin-top: calc(var(--shell-nav-h, 80px) + 24px);
}

/* The logo dissolves as the hero content rises gently into place. */
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-intro-halo {
  0% { opacity: 0; transform: scale(.85); }
  45%, 65% { opacity: 1; }
  100% { opacity: .35; transform: scale(1.08); }
}

@keyframes hero-intro-sweep {
  0% { opacity: 0; transform: translateX(-75%); }
  25%, 65% { opacity: 1; }
  100% { opacity: 0; transform: translateX(75%); }
}

@keyframes hero-intro-frame {
  from { opacity: .25; stroke-dashoffset: 1; }
  to { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes hero-intro-monogram {
  from { opacity: 0; transform: translateY(9px) scale(.96); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes hero-intro-letter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-intro-dot {
  0% { opacity: 0; transform: scale(.4); }
  65% { opacity: 1; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes hero-intro-ripple {
  0% { opacity: 0; transform: scale(.6); }
  20% { opacity: .45; }
  100% { opacity: 0; transform: scale(1.9); }
}

@keyframes hero-intro-brand-exit {
  to {
    opacity: 0;
    transform: translateY(-12px) scale(1.035);
    filter: blur(3px);
  }
}

@keyframes hero-intro-exit {
  to {
    opacity: 0;
    visibility: hidden;
  }
}


.hero-copy-home .eyebrow-home,
.hero-copy-home .hero-h1,
.hero-copy-home .hero-desc-home,
.hero-copy-home .hero-ctas-home,
.hero-expertise-panel,
.hero-footer-strip {
  animation: hero-enter .85s var(--hero-ease) var(--hero-reveal-start) both;
}
.hero-copy-home .hero-h1 { animation-delay: calc(var(--hero-reveal-start) + .09s); }
.hero-copy-home .hero-desc-home { animation-delay: calc(var(--hero-reveal-start) + .18s); }
.hero-copy-home .hero-ctas-home { animation-delay: calc(var(--hero-reveal-start) + .26s); }
.hero-expertise-panel { animation-delay: calc(var(--hero-reveal-start) + .34s); }
.hero-footer-strip { animation-delay: calc(var(--hero-reveal-start) + .42s); }

@media (max-width: 1200px) {
  .hero .container { width: calc(100% - 64px); }
  .hero-expertise-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-expertise-cell { min-height: 132px; }
  .hero-footer-strip { gap: 20px; }
  .hero-footer-quote { max-width: 340px; justify-self: center; }
}

@media (max-width: 820px) {
  .hero { padding-top: 36px; }
  .hero-main { gap: 32px; }
  .hero-h1 { font-size: clamp(43px, 7.8vw, 62px); }
  .eyebrow-home { margin-bottom: 22px; }
  .hero-desc-home { max-width: 570px; margin-bottom: 24px; font-size: 16px; }
  .hero-expertise-title { font-size: 15px; }
  .hero-expertise-sub { font-size: 12px; }
  .hero-footer-strip { grid-template-columns: 1fr auto; margin-top: 30px; row-gap: 12px; }
  .hero-footer-quote { grid-row: 2; grid-column: 1 / -1; max-width: none; justify-self: center; padding: 0; border: 0; }
}

@media (max-width: 768px) {
  .hero-intro {
    grid-template-rows: min(100%, calc(100svh - var(--shell-nav-h-mob, 66px)));
  }
}

@media (max-width: 520px) {
  .hero .container { width: calc(100% - 40px); }
  .hero { padding-top: 30px; padding-bottom: 22px; }
  .eyebrow-home { font-size: 8px; letter-spacing: .06em; gap: 8px; padding-inline: 10px; }
  .eyebrow-dot { flex-basis: 7px; width: 7px; height: 7px; }
  .hero-h1 { font-size: clamp(32px, 9.3vw, 48px); margin-bottom: 22px; }
  .hero-desc-home { font-size: 14px; line-height: 1.75; }
  .hero-ctas-home { flex-direction: column; gap: 12px; }
  .hero .btn-hero-coral, .hero .btn-hero-glass { width: 100%; max-width: 340px; font-size: 14px; }
  .hero-expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-expertise-cell { min-height: 134px; padding: 16px 14px; }
  .hero-expertise-title { font-size: 14px; line-height: 1.35; }
  .hero-expertise-sub { font-size: 11px; line-height: 1.6; padding-top: 18px; }
  .hero-expertise-kicker { font-size: 9px; }
  .hero-footer-strip { gap: 10px; }
  .hero-footer-tags, .hero-footer-loc { font-size: 8px; letter-spacing: 0; }
  .hero-footer-quote { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-intro { display: none; }
  .hero *, .hero *::before, .hero *::after {
    animation: none !important;
    transition: none !important;
  }
}
