/* =========================================================================
   Noloweb — 도너 리빌드 (clean, original)
   측정 팔레트/폰트 verbatim · 브랜드/주제만 스왑 (광고 제작 → 웹 디자인/개발)
   ========================================================================= */

/* ---- 1 · 토큰 (build-prompt [2] 실측값 verbatim) --------------------------- */
:root {
  --text-primary: #000000;
  --text-2: #170400;          /* espresso */
  --text-3: #fafafa;          /* on-dark */
  --text-4: #180703;
  --bg-primary: #ffffff;
  --bg-2: #f3f3f3;            /* light grey */
  --bg-3: #180703;            /* dark espresso-brown */
  --bg-4: rgba(58, 43, 40, .74);  /* raised card on dark */
  --bg-6: #8cc9fa;           /* light-blue badge */

  /* 도너가 스크린샷에서 강하게 쓰는 두 액센트 */
  --yellow: #FBEC3F;
  --blue: #8cc9fa;
  --purple: #a78bfa;

  --ink-soft: #3a2b28;
  --muted: rgba(23, 4, 0, .58);
  --muted-dark: rgba(250, 250, 250, .68);
  --line: rgba(0, 0, 0, .1);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 64px);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;

  /* 엘리베이션 사다리 (3 tier, 단일 광원) */
  --e1: 0 1px 2px rgba(24, 7, 3, .06), 0 4px 12px rgba(24, 7, 3, .05);
  --e2: 0 8px 24px rgba(24, 7, 3, .1), 0 2px 6px rgba(24, 7, 3, .06);
  --e3: 0 24px 60px rgba(24, 7, 3, .18), 0 6px 16px rgba(24, 7, 3, .1);

  --ease: cubic-bezier(.16, 1, .3, 1);   /* 감쇠 세틀 (모션 시그니처 이징) */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
}

/* ---- 2 · 리셋/베이스 ------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.motion { scroll-behavior: auto; }   /* Lenis 사용 시 네이티브 스무스 끔 */

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, ol { margin: 0; }
ol { list-style: none; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--text-2); color: var(--text-3);
  padding: 10px 16px; border-radius: var(--r-pill); font-weight: 700;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* 포커스 링 (anti-slop: 기본 outline 제거 후 커스텀 필수) */
:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- 3 · 버튼 ------------------------------------------------------------- */
.btn {
  --bh: 0px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .96rem; letter-spacing: -.01em;
  padding: 13px 22px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  font-family: inherit; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
  transform: translateY(var(--bh));
}
.btn__ico { font-size: 1.05em; line-height: 0; transform: translateY(1px); }
.btn--primary { background: var(--yellow); color: var(--text-2); box-shadow: var(--e1); }
.btn--primary:hover { --bh: -3px; box-shadow: var(--e2); }
.btn--primary:active { --bh: -1px; }
.btn--ghost { background: #fff; color: var(--text-2); box-shadow: var(--e1); }
.btn--ghost:hover { --bh: -3px; box-shadow: var(--e2); }
.btn--dark { background: var(--text-2); color: var(--text-3); }
.btn--dark:hover { --bh: -3px; box-shadow: var(--e3); }
.btn--dark:active { --bh: -1px; }

/* ---- 4 · NAV ------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: 18px; padding-bottom: 18px;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.is-stuck {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__row { display: flex; align-items: center; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__badge {
  width: 44px; height: 44px; border-radius: 13px; background: var(--yellow);
  display: grid; place-items: center; box-shadow: var(--e1);
  transition: transform .3s var(--ease);
}
.brand:hover .brand__badge { transform: rotate(-6deg) scale(1.05); }
.brand__badge svg { width: 30px; height: 30px; }
.brand__badge--light { background: #fff; }
.brand__word { font-weight: 800; font-size: 1.42rem; letter-spacing: -.03em; color: var(--text-2); }
.brand__dot { color: var(--yellow); -webkit-text-stroke: 1px var(--text-2); }

.nav__links { display: flex; align-items: center; gap: 6px; margin-inline: auto; }
.nav__link {
  font-weight: 700; font-size: .98rem; padding: 9px 16px; border-radius: var(--r-pill);
  color: var(--text-2); transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover { background: rgba(0, 0, 0, .06); }
.nav__link.is-active { background: var(--bg-2); }

.nav__cta { padding: 12px 22px; }
.nav__menu {
  display: none; font-family: inherit; font-weight: 800; letter-spacing: -.01em;
  background: var(--bg-2); color: var(--text-2); border: 0; cursor: pointer;
  padding: 12px 20px; border-radius: 14px; font-size: 1rem;
}

/* ---- 5 · HERO ------------------------------------------------------------ */
.hero { padding-top: 152px; overflow: hidden; background: var(--bg-primary); }
.hero__title {
  font-weight: 800; letter-spacing: -.045em; line-height: .98;
  font-size: clamp(2.6rem, 8.3vw, 6.4rem);
  max-width: 15ch; color: var(--text-primary);
}
.heart {
  display: inline-grid; place-items: center; vertical-align: -.14em;
  width: .92em; height: .92em; margin: 0 .04em;
}
.heart svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 14px rgba(11, 47, 82, .28)); }
.hero__sub {
  margin-top: 26px; font-size: clamp(1rem, 1.6vw, 1.28rem);
  font-weight: 500; color: var(--muted); max-width: 40ch;
}

.hero__carousel {
  margin-top: clamp(40px, 6vw, 72px);
  overflow-x: auto; overflow-y: hidden;           /* JS 없을 때 네이티브 가로 스크롤 */
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-inline: var(--pad); padding-bottom: 8px;
}
.hero__carousel::-webkit-scrollbar { display: none; }
html.motion .hero__carousel { overflow: hidden; }  /* JS 가 변환으로 인수 */
.hero__carousel.is-grab { cursor: grabbing; }
.hero__carousel.is-grab .frame__view img { transition: none; }

.hero__track {
  display: flex; gap: 20px; width: max-content;
  will-change: transform;
}
.hero__hint {
  margin: 14px auto 0; max-width: var(--wrap); padding-inline: var(--pad);
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
}

/* ---- 브라우저 목업 프레임 (히어로 세로 카드 + 포트폴리오 가로 카드 공용) ---- */
.frame {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background: #fff; box-shadow: var(--e2); border: 1px solid var(--line);
}
.frame__bar {
  display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  background: #f4f2ef; border-bottom: 1px solid var(--line);
}
.frame__bar i { width: 8px; height: 8px; border-radius: 50%; }
.frame__bar i:nth-child(1) { background: var(--text-2); }
.frame__bar i:nth-child(2) { background: var(--yellow); }
.frame__bar i:nth-child(3) { background: var(--blue); }
.frame__url {
  margin-left: 8px; flex: 1; height: 14px; border-radius: 7px; background: #fff;
  border: 1px solid var(--line); font-size: 9px; font-weight: 700; color: var(--muted);
  display: flex; align-items: center; padding: 0 8px; overflow: hidden; white-space: nowrap;
}
.frame__view {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--g1, #eee), var(--g2, #ccc));
}
.frame__view img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .6s var(--ease);
}

/* 히어로 세로 카드 */
.pcard { flex: 0 0 auto; width: clamp(220px, 24vw, 288px); }
.pcard .frame__view { aspect-ratio: 3 / 4.1; }
.pcard__cap {
  display: flex; align-items: baseline; gap: 8px; margin-top: 14px;
  font-weight: 800; letter-spacing: -.02em; font-size: 1.02rem; color: var(--text-2);
}
.pcard__cap span { font-weight: 600; font-size: .82rem; color: var(--muted); letter-spacing: 0; }
.pcard:hover .frame__view img { transform: scale(1.05); }

/* ---- 6 · SERVICES (dark, sticky pin-scrub 슬라이드쇼) --------------------- */
.services { background: var(--bg-3); color: var(--text-3); }
/* 기본(JS 없음/reduced): 카드 정상 흐름, 전부 보임 */
.services__track { }
.services__stage { padding: clamp(72px, 9vw, 120px) 0; }
.services__inner { }
.services__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px);
}
.services__title {
  font-weight: 800; letter-spacing: -.04em; line-height: 1.02;
  font-size: clamp(1.9rem, 4.6vw, 3.5rem); color: var(--text-3); max-width: 16ch;
}
.services__steps { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.services__steps li {
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .98rem;
  color: var(--muted-dark); transition: color .35s var(--ease), opacity .35s var(--ease); opacity: .55;
}
.services__steps li span {
  font-variant-numeric: tabular-nums; font-size: .78rem; color: rgba(250, 250, 250, .4);
  border: 1px solid rgba(250, 250, 250, .2); border-radius: 6px; padding: 2px 6px;
}
.services__steps li.is-on { color: var(--text-3); opacity: 1; }
.services__steps li.is-on span { color: var(--text-2); background: var(--yellow); border-color: var(--yellow); }

.deck { display: flex; flex-direction: column; gap: 28px; }

.svc {
  display: grid; grid-template-columns: 1fr 1.05fr; align-items: stretch; gap: clamp(20px, 3vw, 40px);
  background: var(--bg-4); border: 1px solid rgba(250, 250, 250, .08);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 44px);
  box-shadow: var(--e3);
}
.svc__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(6px, 1.5vw, 22px); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0, 0, 0, .28); color: var(--text-3);
  font-weight: 700; font-size: .84rem; padding: 8px 15px; border-radius: var(--r-pill);
  border: 1px solid rgba(250, 250, 250, .12);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--yellow)); }
.svc__h {
  margin-top: 20px; font-weight: 800; letter-spacing: -.035em; line-height: 1.04;
  font-size: clamp(1.6rem, 3.1vw, 2.5rem); color: var(--text-3);
}
.svc__p { margin-top: 16px; font-size: 1.04rem; color: var(--muted-dark); max-width: 34ch; }
.svc__body .btn { margin-top: 26px; }

.svc__art {
  border-radius: var(--r-md); background: var(--tile, var(--yellow));
  display: grid; place-items: center; padding: 24px; min-height: 300px; overflow: hidden;
}
.svc__art .art { width: 100%; max-width: 380px; height: auto; }
.svc__art .art { transition: transform .5s var(--ease); }  /* featured inner-media 스케일 타깃 */

/* 모션 ON: 스테이지 고정(sticky) + 카드 절대배치 슬라이드쇼 */
html.motion .services__track { height: 220vh; position: relative; }
html.motion .services__stage {
  position: sticky; top: 0; height: 100vh; display: flex; align-items: center;
  padding: 0; overflow: hidden;
}
html.motion .services__inner { width: 100%; }
html.motion .deck { position: relative; min-height: 62vh; display: block; }
html.motion .svc {
  position: absolute; inset: 0; margin: auto; height: max-content;
  opacity: 0; transform: translateY(64px) scale(.98); pointer-events: none;
  transition: none; will-change: transform, opacity;
}
html.motion .svc.is-active { opacity: 1; transform: none; pointer-events: auto; }

/* ---- 7 · PORTFOLIO GRID (Band 3 · HIGH-DENSITY) -------------------------- */
.work { background: var(--bg-2); padding: clamp(72px, 9vw, 108px) 0 clamp(60px, 8vw, 92px); }
.work__head { max-width: 40ch; margin-bottom: clamp(32px, 4vw, 52px); }
.work__title { font-weight: 800; letter-spacing: -.04em; line-height: 1.02; font-size: clamp(1.8rem, 4.4vw, 3.2rem); color: var(--text-2); }
.work__lead { margin-top: 14px; font-size: 1.08rem; color: var(--muted); }

.grid {
  display: grid; gap: clamp(16px, 1.6vw, 22px);
  grid-template-columns: repeat(4, 1fr);
}
.gcard { grid-column: span 1; }
.gcard--wide { grid-column: span 2; }
.gcard .frame__view { aspect-ratio: 4 / 3; }
.gcard--wide .frame__view { aspect-ratio: 16 / 9; }
.gcard__cap {
  display: flex; align-items: baseline; gap: 8px; margin-top: 12px;
  font-weight: 800; letter-spacing: -.02em; font-size: .98rem; color: var(--text-2);
}
.gcard__cap span { font-weight: 600; font-size: .78rem; color: var(--muted); }
.gcard { transition: transform .35s var(--ease); }
.gcard:hover { transform: translateY(-4px); }
.gcard:hover .frame { box-shadow: var(--e3); }
.gcard:hover .frame__view img { transform: scale(1.05); }

/* ---- 8 · TESTIMONIALS ---------------------------------------------------- */
.quotes { background: var(--bg-2); padding: clamp(20px, 3vw, 40px) 0 clamp(72px, 9vw, 108px); }
.quotes__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px);
  align-items: start;
}
.quote {
  background: #fff; border-radius: var(--r-md); box-shadow: var(--e1);
  border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column;
}
.quote--lower { margin-top: clamp(24px, 4vw, 56px); }
.quote--mid { margin-top: clamp(10px, 2vw, 24px); }
.quote__top { padding: 16px 22px; border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: .98rem; color: var(--text-2); letter-spacing: -.01em; }
.logo__mark {
  width: 24px; height: 24px; border-radius: 7px; background: var(--m, #333); color: #fff;
  display: grid; place-items: center; font-size: .82rem; font-weight: 800;
}
.quote__text { padding: 22px 22px 8px; font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.34; color: var(--text-2); position: relative; }
.quote__mark { color: var(--text-2); font-weight: 800; font-size: 1.6em; line-height: 0; margin-right: 2px; }
.quote__by { display: flex; align-items: center; gap: 12px; padding: 20px 22px; margin-top: auto; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .84rem;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5);
}
.quote__id { display: flex; flex-direction: column; line-height: 1.2; }
.quote__id b { font-weight: 800; font-size: .98rem; color: var(--text-2); }
.quote__id em { font-style: normal; font-size: .84rem; color: var(--muted); }
.quote__foot { display: flex; gap: 16px; padding: 0 22px 18px; }
.quote__foot .ico { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; }

/* ---- 9 · CLIENT NETWORK BANNER ------------------------------------------- */
.banner { padding: clamp(56px, 8vw, 96px) 0; background: linear-gradient(180deg, var(--bg-2), #fff); }
.banner__row { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(18px, 2.4vw, 30px); align-items: stretch; }
.banner__stat {
  position: relative; background: var(--bg-6); border-radius: var(--r-lg);
  min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px, 3vw, 40px); overflow: hidden; box-shadow: var(--e1);
}
.banner__num { font-weight: 800; letter-spacing: -.05em; line-height: .82; font-size: clamp(4.4rem, 12vw, 8.6rem); color: #0b2f52; font-variant-numeric: tabular-nums; }
.banner__plus { font-weight: 800; font-size: clamp(3rem, 8vw, 5.4rem); color: #0b2f52; line-height: .82; margin-top: -.2em; }
.banner__label { margin-top: 14px; font-weight: 700; font-size: 1.02rem; color: #0b2f52; }
.banner__card {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--e2); border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
}
.banner__title { font-weight: 800; letter-spacing: -.04em; line-height: 1; font-size: clamp(2rem, 5vw, 3.4rem); color: var(--text-2); }
.banner__body { margin-top: 18px; font-size: 1.1rem; color: var(--muted); max-width: 40ch; }
.banner__card .btn { margin-top: 28px; }

/* ---- 10 · FOOTER --------------------------------------------------------- */
.foot { position: relative; background: var(--bg-3); color: var(--text-3); padding: clamp(64px, 8vw, 100px) 0 40px; overflow: hidden; }
.foot__ghost {
  position: absolute; left: 50%; bottom: -.18em; transform: translateX(-50%);
  font-weight: 800; letter-spacing: -.05em; line-height: .8; white-space: nowrap;
  font-size: clamp(6rem, 26vw, 22rem); color: rgba(250, 250, 250, .045);
  pointer-events: none; user-select: none;
}
.foot__ghost span { color: rgba(251, 236, 63, .16); }
.foot__inner { position: relative; display: grid; grid-template-columns: 1.1fr 2.4fr; gap: clamp(30px, 5vw, 64px); }
.foot__brand { display: flex; flex-direction: column; gap: 18px; }
.foot__tag { font-weight: 700; font-size: 1.16rem; letter-spacing: -.02em; max-width: 18ch; color: var(--text-3); }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot__col { display: flex; flex-direction: column; gap: 12px; }
.foot__col h3 { font-weight: 500; font-size: .82rem; letter-spacing: .04em; text-transform: lowercase; color: var(--muted-dark); margin-bottom: 4px; }
.foot__col a { font-weight: 700; font-size: 1rem; color: var(--text-3); width: max-content; transition: color .2s var(--ease); }
.foot__col a:hover { color: var(--yellow); }
.foot__base {
  position: relative; margin-top: clamp(48px, 7vw, 88px);
  display: flex; align-items: center; gap: 12px;
  padding-top: 22px; border-top: 1px solid rgba(250, 250, 250, .1);
}
.foot__spark { width: 12px; height: 12px; border-radius: 4px; background: var(--yellow); box-shadow: 0 0 20px rgba(251, 236, 63, .6); flex: 0 0 auto; }
.foot__base p { font-weight: 600; font-size: .92rem; color: var(--muted-dark); }

/* ---- 11 · 리빌 모션 (content-first 게이트) -------------------------------- */
html.motion .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: transform, opacity; }
html.motion .reveal.is-in { opacity: 1; transform: none; }
html.motion .reveal.d1 { transition-delay: .08s; }
html.motion .reveal.d2 { transition-delay: .16s; }
html.motion .reveal.d3 { transition-delay: .24s; }

/* 워치독/강제 노출 (환경의존 미스 커버) */
.reveal-forced,
html.motion .reveal.reveal-forced { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---- 12 · REDUCED MOTION (build-prompt [10]: 도너에 없던 폴백 추가) ------- */
@media (prefers-reduced-motion: reduce) {
  html, html.motion { scroll-behavior: auto; }
  .reveal, html.motion .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.motion .services__track { height: auto !important; }
  html.motion .services__stage { position: static !important; height: auto !important; padding: clamp(72px, 9vw, 120px) 0 !important; display: block !important; }
  html.motion .deck { position: static !important; display: flex !important; flex-direction: column; gap: 28px; min-height: 0 !important; }
  html.motion .svc { position: static !important; inset: auto !important; opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
  .hero__track, .frame__view img, .btn, .gcard, .brand__badge { transition: none !important; }
}

/* ---- 13 · 반응형 --------------------------------------------------------- */
@media (max-width: 1040px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .gcard--wide { grid-column: span 2; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: inline-flex; margin-left: auto; }
  .svc { grid-template-columns: 1fr; }
  .svc__art { min-height: 220px; order: -1; }
  html.motion .deck { min-height: 78vh; }
  .banner__row { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .quotes__grid { grid-template-columns: 1fr; gap: 18px; }
  .quote--lower, .quote--mid { margin-top: 0; }

  /* 모바일 메뉴 열림 상태 (Menu 버튼이 실제로 링크 패널을 토글) */
  .nav.is-open { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(14px); box-shadow: var(--e2); }
  .nav.is-open .nav__row { flex-wrap: wrap; row-gap: 6px; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: stretch; width: 100%;
    order: 3; gap: 4px; margin: 10px 0 4px;
  }
  .nav.is-open .nav__link { width: 100%; padding: 12px 16px; }
  .nav.is-open .nav__cta { display: inline-flex; order: 4; width: 100%; justify-content: center; }
}

@media (max-width: 620px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .gcard--wide { grid-column: span 2; }
  .hero__title { font-size: clamp(2.3rem, 12vw, 3.4rem); }
  .services__head { flex-direction: column; }
  .services__steps { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 420px) {
  :root { --pad: 18px; }
  .grid { grid-template-columns: 1fr; }
  .gcard--wide { grid-column: span 1; }
}
