/* ==========================================================================
   Sections. One block per landing-page section, in page order.
   ========================================================================== */

/* ---- Gradient wash (hero, mobile menu, proof, CTA) -------------------- */
.wash {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.wash__blob {
  position: absolute;
  width: clamp(320px, 46vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(clamp(48px, 7vw, 96px));
  opacity: 0.5;
  will-change: transform;
}
.wash__blob--coral    { background: var(--wash-coral);    top: -12%; left: -8%;  animation: drift-a 22s var(--ease-in-out) infinite alternate; }
.wash__blob--pink     { background: var(--wash-pink);     top: 4%;   left: 34%;  opacity: 0.32; animation: drift-b 26s var(--ease-in-out) infinite alternate; }
.wash__blob--orange   { background: var(--wash-orange);   top: 30%;  left: -14%; opacity: 0.42; animation: drift-c 30s var(--ease-in-out) infinite alternate; }
.wash__blob--lavender { background: var(--wash-lavender); top: -16%; right: -10%; animation: drift-b 24s var(--ease-in-out) infinite alternate-reverse; }
.wash__blob--sky      { background: var(--wash-sky);      top: 32%;  right: -12%; opacity: 0.44; animation: drift-a 28s var(--ease-in-out) infinite alternate-reverse; }

@keyframes drift-a { to { transform: translate3d(12%, 10%, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-10%, 14%, 0) scale(0.9); } }
@keyframes drift-c { to { transform: translate3d(16%, -8%, 0) scale(1.08); } }

/* Fine film grain so the wash reads as pigment, not a flat gradient */
.wash::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  mix-blend-mode: multiply;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.11 0 0 0 0 0.11 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wash--soft { opacity: 0.55; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent); }
.wash--soft .wash__blob--lavender { top: 10%; }
.wash--soft .wash__blob--sky { top: 40%; }
.wash--dark { -webkit-mask-image: none; mask-image: none; }
.wash--dark .wash__blob { opacity: 0.22; }
.wash--dark .wash__blob--coral { top: auto; bottom: -30%; left: -10%; }
.wash--dark .wash__blob--pink { top: -30%; left: auto; right: 10%; opacity: 0.2; }
.wash--dark .wash__blob--lavender { top: 30%; right: -20%; }
.wash--dark::after { mix-blend-mode: screen; opacity: 0.08; }

@media (max-width: 767px) {
  .wash__blob--pink, .wash__blob--orange { display: none; }
  .wash--dark .wash__blob--pink { display: block; }
  .wash__blob { width: 110vw; }
}

/* Focus rings stay visible on charcoal */
[data-dark] :focus-visible { outline-color: var(--on-ink); }

/* ==========================================================================
   02 · HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(env(safe-area-inset-top, 0px) + clamp(136px, 16vw, 210px));
  padding-bottom: clamp(72px, 8vw, 120px);
  text-align: center;
}
.hero .wash { z-index: -1; }
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero__title { max-width: 15ch; }
.hero__title em { position: relative; display: inline-block; white-space: nowrap; }
.hero__title .squiggle {
  position: absolute;
  left: -2%;
  bottom: -0.1em;
  width: 96%;
  height: 0.26em;
  color: var(--accent);
  overflow: visible;
}

/* Three round image chips that sit inside the headline */
.hero__chips {
  display: inline-flex;
  vertical-align: middle;
  margin: -0.12em 0.06em 0;
  padding-right: 0.22em;
}
.hero__chips img {
  width: 0.78em;
  height: 0.78em;
  border-radius: 50%;
  object-fit: cover;
  border: 0.05em solid var(--bg);
  margin-right: -0.22em;
  box-shadow: var(--glow);
}
.hero__chips img:nth-child(2) { transform: translateY(-0.06em); }

.hero__sub { margin-top: -4px; max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 8px;
  font-size: var(--fs-small);
  color: var(--muted);
}
.hero__trust-stats { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; font-weight: 500; color: var(--ink); }
.hero__trust-stats .sep { color: var(--accent); }
.hero__countries { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hero__countries li {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding-inline: 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink-40);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-80);
}
.hero__countries abbr { text-decoration: none; }

/* Floating tech stack */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.tech { --rot: 0deg; }
.tech__pop { will-change: transform; }
.tech__float {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bob 6s var(--ease-in-out) infinite alternate;
}
.tech:nth-child(2) .tech__float { animation-delay: -1.5s; animation-duration: 7s; }
.tech:nth-child(3) .tech__float { animation-delay: -3s; }
.tech:nth-child(4) .tech__float { animation-delay: -4.5s; animation-duration: 8s; }
.tech:nth-child(5) .tech__float { animation-delay: -2s; animation-duration: 6.5s; }
@keyframes bob { to { transform: translate3d(0, -10px, 0); } }

.tech__tile {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 15px;
  background: var(--tile);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: rotate(var(--rot));
}
.tech__tile svg { width: 24px; height: 24px; }
.tech__name {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: var(--hairline);
  background: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-80);
  white-space: nowrap;
}
@media (min-width: 1200px) {
  .tech-stack { position: absolute; inset: 0; z-index: -1; margin: 0; pointer-events: none; display: block; }
  .tech { position: absolute; }
  .tech__tile { width: 76px; height: 76px; border-radius: 22px; }
  .tech__tile svg { width: 34px; height: 34px; }
  .tech__name { font-size: 12px; }
  .tech--php       { left: 6%;  top: 2%;  --rot: 10deg; }
  .tech--wordpress { left: 0%;  top: 36%; --rot: -8deg; }
  .tech--figma     { left: 8%;  top: 70%; --rot: 6deg; }
  .tech--elementor { right: 2%; top: 14%; --rot: 9deg; }
  .tech--woo       { right: 8%; top: 62%; --rot: -7deg; }
}

.hero__cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(24px, 4vw, 56px);
  font-size: var(--fs-caption);
  color: var(--muted);
}
.hero__cue-arrow {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink-40);
  animation: cue 2.4s var(--ease-in-out) infinite;
}
.hero__cue-arrow svg { width: 14px; height: 14px; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ==========================================================================
   03 · TRUST MARQUEE
   ========================================================================== */
.trust { padding-block: clamp(24px, 4vw, 56px) clamp(72px, 9vw, 128px); }
.trust__title {
  margin-bottom: 32px;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
}
.marquee { display: grid; gap: 14px; }
.marquee__row {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  flex: none;
  gap: 12px;
  margin: 0;
  padding: 0 6px;
  list-style: none;
  animation: marquee var(--marquee-dur, 46s) linear infinite;
}
.marquee__row--reverse .marquee__track { animation-direction: reverse; --marquee-dur: 54s; }
.marquee__row:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  height: 60px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: var(--hairline);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--ink-40);
  transition: color 0.35s, border-color 0.35s, background-color 0.35s;
}
.logo svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: color 0.35s; }
.logo:hover { color: var(--ink); border-color: var(--ink-40); background: var(--bg-alt); }
.logo:hover svg { color: var(--c); }
.logo--client .ph { font-size: 10px; }

@media (prefers-reduced-motion: reduce) {
  .marquee__row { -webkit-mask-image: none; mask-image: none; justify-content: center; }
  .marquee__track { flex-wrap: wrap; justify-content: center; animation: none; }
}

/* ==========================================================================
   04 · WHY CLIENTS COME TO US (tabs + image swap)
   ========================================================================== */
.why__layout { display: grid; gap: 32px; }
.why__tabs {
  position: relative;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-bottom: 4px;
}
.why__tabs::-webkit-scrollbar { display: none; }
/* Without JS the selected tab paints its own fill; with JS a sliding indicator takes over */
[role="tab"][aria-selected="true"] { background: var(--ink); }
.has-indicator [role="tab"][aria-selected="true"] { background: transparent; }
.tabs__indicator {
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  border-radius: var(--radius-pill);
  background: var(--ink);
  pointer-events: none;
  transition: opacity 0.3s;
}
.why__tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: var(--hairline);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.35s;
}
.why__tab:hover { color: var(--ink); }
.why__tab[aria-selected="true"] { color: var(--on-ink); border-color: transparent; }
.why__tab-num { font-size: 11px; font-variant-numeric: tabular-nums; }

.why__media {
  position: relative;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  border-radius: var(--radius-feature);
  border: var(--hairline);
  overflow: hidden;
  background: var(--tone-cream);
}
.why__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.why__media img.is-active { opacity: 1; }
.why__panel { display: grid; gap: 20px; margin-top: 28px; }
.why__problem { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.02em; max-width: 30ch; }
.why__cols { display: grid; gap: 20px; }
.why__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
}
.why__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-40); }
.why__label--help::before { background: var(--accent); }
.why__cols ul { display: grid; gap: 8px; margin: 0; padding-left: 18px; color: var(--ink-80); }
.why__cols li::marker { color: var(--ink-40); }

@media (min-width: 1024px) {
  .why__layout { grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
  .why__tabs {
    flex-direction: column;
    overflow: visible;
    margin: 0;
    padding: 0;
    position: sticky;
    top: 120px;
  }
  .why__tab { justify-content: flex-start; padding: 16px 20px; font-size: 1.0625rem; border-radius: var(--radius-card); }
  .why__tabs .tabs__indicator { border-radius: var(--radius-card); }
  .why__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ==========================================================================
   05 · WHAT YOU'RE FINDING (flip cards)
   ========================================================================== */
.flips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 1100px;
}
.flip {
  position: relative;
  width: min(100%, 340px);
  margin-top: var(--o, 0px);
  perspective: 1200px;
}
.flip__inner {
  display: grid;
  transform: rotate(var(--r, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.85s var(--ease-out);
}
.flip.is-flipped .flip__inner { transform: rotate(var(--r, 0deg)) rotateY(180deg); }
@media (hover: hover) and (pointer: fine) {
  .flip:hover .flip__inner { transform: rotate(0deg) rotateY(180deg); }
}
.flip__face {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 300px;
  padding: 28px;
  border-radius: var(--radius-feature);
  border: var(--hairline);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.flip__front { background: var(--tone); }
.flip__back {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
  transform: rotateY(180deg);
  justify-content: center;
}
.flip__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(43, 43, 43, 0.06);
}
.flip__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flip__pain {
  margin-top: auto;
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.flip__hint { font-size: var(--fs-caption); font-weight: 500; color: var(--muted); }
.flip__k { font-size: 11px; font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--accent); }
.flip__fix { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.015em; }
.flip__result { color: var(--cream-60); }
.flip__fix + .flip__k { margin-top: 10px; }
.flip__btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius-feature);
}
@media (max-width: 767px) {
  .flip { margin-top: 0; width: 100%; max-width: 420px; }
  .flip__face { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .flip__face { -webkit-backface-visibility: visible; backface-visibility: visible; }
  .flip__back { transform: none; opacity: 0; }
  .flip.is-flipped .flip__inner, .flip:hover .flip__inner { transform: rotate(var(--r, 0deg)); }
  .flip.is-flipped .flip__back { opacity: 1; }
  .flip.is-flipped .flip__front { opacity: 0; }
}

/* ==========================================================================
   06 · SERVICES (stacking sticky cards)
   ========================================================================== */
.stack { margin: 0; padding: 0; list-style: none; }
.stack__item {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 92px + var(--i) * 14px);
  margin-bottom: 28px;
}
.stack__item:last-child { margin-bottom: 0; }
.svc {
  position: relative;
  display: grid;
  gap: 24px;
  padding: clamp(20px, 3.2vw, 44px);
  border-radius: var(--radius-feature);
  border: 1px solid rgba(43, 43, 43, 0.08);
  background: var(--tone);
  transform-origin: 50% 0;
  will-change: transform;
}
.svc__shade {
  position: absolute;
  inset: -1px;
  z-index: 3;
  border-radius: inherit;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
}
.svc__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.svc__num {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 28px;
  padding-inline: 10px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--on-ink);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.svc__title { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); font-weight: 500; letter-spacing: var(--track-display); }
.svc__desc { font-size: var(--fs-lead); color: var(--ink-80); max-width: 46ch; }
.svc__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink-40);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.svc__link:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.svc__arrow { display: inline-block; transition: transform 0.45s var(--ease-out), opacity 0.3s; }
@media (hover: hover) and (pointer: fine) {
  .svc__arrow { opacity: 0; transform: translateX(-10px); }
  .svc:hover .svc__arrow, .svc__link:focus-visible .svc__arrow { opacity: 1; transform: translateX(0); }
}
.svc__media {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(43, 43, 43, 0.08);
  aspect-ratio: 16 / 10;
  max-width: 100%;
  background: #fff;
}
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .svc { grid-template-columns: 1fr 1.2fr; gap: 48px; min-height: min(560px, 74vh); align-items: stretch; }
  .svc__media { align-self: center; }
}
@media (max-width: 899px) {
  .stack__item { top: calc(env(safe-area-inset-top, 0px) + 80px + var(--i) * 8px); }
  .svc__desc { font-size: 1rem; }
}

/* ==========================================================================
   07 · SELECTED WORK (pinned horizontal image stack)
   ========================================================================== */
.work { position: relative; padding-top: var(--section-space); }
.work__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.work__head .label { margin-bottom: 18px; }
.work__meta { display: grid; justify-items: end; gap: 4px; font-size: var(--fs-small); color: var(--muted); }
.work__count { font-family: var(--font-display); font-size: 1.5rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.work__count b { font-weight: 500; color: var(--ink); }

/* Default (mobile, tablet, reduced motion): a native swipe row */
.work__stage {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px var(--gutter) 40px;
  scrollbar-width: none;
}
.work__stage::-webkit-scrollbar { display: none; }
.work-card {
  flex: none;
  width: min(86vw, 520px);
  scroll-snap-align: center;
  border-radius: var(--radius-feature);
  border: var(--hairline);
  background: var(--tone-cream);
  padding: 12px;
}
.work-card figure { margin: 0; display: grid; gap: 16px; height: 100%; }
.work-card__img { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; border: var(--hairline); }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; user-select: none; }
.work-card__info { display: flex; flex-direction: column; gap: 14px; padding: 4px 8px 8px; }
.work-card__name { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.02em; }
.work-card__facts { display: grid; gap: 8px; margin: 0; font-size: var(--fs-small); }
.work-card__facts div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; padding-bottom: 8px; border-bottom: var(--hairline); }
.work-card__facts dt { color: var(--muted); }
.work-card__facts dd { margin: 0; color: var(--ink); }
.work-card__result { margin-top: auto; font-size: var(--fs-small); color: var(--ink-80); }
.work-card--more { background: var(--ink); border-color: var(--ink); padding: 0; }
.work-card__more {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 280px;
  padding: clamp(28px, 4vw, 56px);
  color: var(--on-ink);
}
.work-card__more-label { font-size: var(--fs-small); color: var(--cream-60); }
.work-card__more-title { font-family: var(--font-display); font-size: clamp(2.25rem, 1.5rem + 3vw, 4.5rem); font-weight: 500; letter-spacing: var(--track-display); line-height: 1; }
.work-card__more:hover .work-card__more-title span { color: var(--accent); }

/* Desktop with motion: pinned stage, cards stacked in the centre (positions set by js/modules/work.js) */
html.work-pinned .work { padding-top: 0; }
html.work-pinned .work__pin {
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(env(safe-area-inset-top, 0px) + 120px);
}
html.work-pinned .work__pin { overflow: hidden; }
html.work-pinned .work__head { margin-bottom: 24px; }
html.work-pinned .work__stage {
  position: relative;
  flex: 1;
  display: block;
  overflow: visible;
  padding: 0;
  touch-action: pan-y;
  user-select: none;
}
html.work-pinned .work-card {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(1040px, 82vw);
  will-change: transform;
  box-shadow: var(--glow);
}
html.work-pinned .work-card figure { grid-template-columns: 1.55fr 1fr; align-items: stretch; }
html.work-pinned .work-card__info { padding: 12px 16px 12px 8px; }
html.work-pinned .work-card--more { width: min(640px, 60vw); }

/* ==========================================================================
   08 · BEFORE AND AFTER (draggable slider)
   ========================================================================== */
.ba {
  --pos: 50%;
  position: relative;
  margin: 0 auto;
  max-width: 1100px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-feature);
  border: var(--hairline);
  overflow: hidden;
  background: var(--tone-cream);
  user-select: none;
}
.ba:has(.ba__range:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--bg);
  pointer-events: none;
  z-index: 2;
}
.ba__handle span {
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: var(--glow);
}
.ba__handle svg { width: 22px; height: 22px; }
.ba__range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
html.has-cursor .ba__range { cursor: none; }
.ba__tag {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-caption);
  font-weight: 600;
  pointer-events: none;
}
.ba__tag--before { left: 16px; background: var(--ink); color: var(--on-ink); }
.ba__tag--after { right: 16px; background: var(--bg); color: var(--ink); border: var(--hairline); }

.ba__chips {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -26px auto 0;
  padding: 0 16px;
  list-style: none;
}
.ba__chips li {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: var(--hairline);
  background: var(--bg);
  box-shadow: var(--glow);
  font-size: var(--fs-small);
  animation: bob 5s var(--ease-in-out) infinite alternate;
}
.ba__chips li:nth-child(2) { animation-delay: -1.6s; }
.ba__chips li:nth-child(3) { animation-delay: -3.2s; }
.ba__chip-k { font-weight: 600; }
.ba__chip-k::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--accent); }

/* ==========================================================================
   09 · PROCESS (animated vertical timeline)
   ========================================================================== */
.timeline { position: relative; max-width: 1040px; margin: 0 auto; }
.timeline__line {
  position: absolute;
  top: 0; bottom: 0;
  left: 19px;
  width: 2px;
  background: var(--border);
  border-radius: 2px;
}
.timeline__line span { display: block; height: 100%; background: var(--accent); transform-origin: 50% 0; transform: scaleY(1); border-radius: 2px; }
.timeline__list { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: start; }
.step__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ink-40);
  background: var(--bg);
  font-size: var(--fs-small);
  font-weight: 600;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease-out);
}
.step.is-active .step__dot { background: var(--ink); color: var(--on-ink); border-color: var(--ink); transform: scale(1.12); }
.step__card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-card);
  border: var(--hairline);
  background: var(--tone-cream);
  transition: border-color 0.4s;
}
.step.is-active .step__card { border-color: var(--ink-40); }
.step__title { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 6px; }
.step__text p { color: var(--ink-80); }
.step__time { margin-top: 10px; font-size: var(--fs-small); color: var(--muted) !important; }

/* Step visuals: small UI illustrations */
.step__vis {
  position: relative;
  height: 128px;
  border-radius: 10px;
  background: var(--bg);
  border: var(--hairline);
  overflow: hidden;
}
.step__vis--chat { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 16px; }
.step__vis--chat span:nth-child(1) { width: 62%; height: 26px; border-radius: 13px 13px 13px 4px; background: #fff; border: var(--hairline); }
.step__vis--chat span:nth-child(2) { align-self: flex-end; width: 48%; height: 26px; border-radius: 13px 13px 4px 13px; background: var(--ink); }
.typing { display: inline-flex; gap: 4px; align-self: flex-start; padding: 9px 12px; border-radius: 13px; background: var(--bg-alt); }
.typing i, .qa__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-40); animation: typing 1.2s infinite; }
.typing i:nth-child(2), .qa__typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3), .qa__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.step__vis--map .n { position: absolute; height: 22px; border-radius: 6px; background: #fff; border: 1px solid var(--ink-40); }
.step__vis--map .n1 { left: 50%; top: 18px; width: 90px; margin-left: -45px; background: var(--ink); border-color: var(--ink); }
.step__vis--map .n2, .step__vis--map .n3, .step__vis--map .n4 { top: 84px; width: 26%; }
.step__vis--map .n2 { left: 6%; }
.step__vis--map .n3 { left: 37%; background: var(--bg-alt); border-color: var(--accent); }
.step__vis--map .n4 { left: 68%; }
.step__vis--map::before {
  content: "";
  position: absolute;
  left: 19%; right: 19%;
  top: 40px;
  height: 44px;
  border: 1px solid var(--ink-40);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}
.step__vis--map::after { content: ""; position: absolute; left: 50%; top: 40px; width: 1px; height: 44px; background: var(--ink-40); }

.step__vis--design .f { position: absolute; border-radius: 6px; background: #fff; border: 1px solid var(--ink-40); }
.step__vis--design .f1 { left: 14px; top: 14px; width: 48%; height: 98px; outline: 2px solid var(--ink); outline-offset: 2px; }
.step__vis--design .f1::after { content: ""; position: absolute; inset: 16px 14px auto; height: 30px; border-radius: 4px; background: var(--bg-alt); }
.step__vis--design .f2 { left: 58%; top: 14px; width: 22%; height: 98px; }
.step__vis--design .f3 { left: 83%; top: 34px; width: 12%; height: 66px; }
.step__vis--design .sw { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 4px; }
.step__vis--design .sw i { width: 14px; height: 14px; border-radius: 4px; background: var(--ink); }
.step__vis--design .sw i:nth-child(2) { background: var(--accent); }
.step__vis--design .sw i:nth-child(3) { background: var(--wash-lavender); }
.step__vis--design .sw i:nth-child(4) { background: var(--bg); border: 1px solid var(--ink-40); }

.step__vis--code { display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 0 18px; background: var(--ink); border-color: var(--ink); }
.step__vis--code i { display: block; width: var(--w); height: 8px; margin-left: var(--x, 0); border-radius: 4px; background: var(--c); opacity: 0.9; }

.step__vis--check { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 16px; align-content: center; }
.step__vis--check span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: var(--hairline);
  font-size: var(--fs-caption);
  font-weight: 500;
}
.step__vis--check span::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
}

.step__vis--support { display: grid; place-items: center; }
.step__vis--support .cal { display: grid; grid-template-columns: repeat(7, 18px); gap: 6px; }
.step__vis--support .cal i { height: 18px; border-radius: 5px; background: #fff; border: var(--hairline); }
.step__vis--support .cal i.on { background: var(--accent); border-color: var(--accent); }

@media (min-width: 900px) {
  .timeline__line { left: 50%; margin-left: -1px; }
  .timeline__list { gap: 12px; }
  .step { grid-template-columns: 1fr 56px 1fr; gap: 28px; align-items: center; }
  .step__dot { grid-column: 2; grid-row: 1; justify-self: center; width: 48px; height: 48px; }
  .step:nth-child(odd) .step__card { grid-column: 1; grid-row: 1; }
  .step:nth-child(even) .step__card { grid-column: 3; grid-row: 1; }
  .step__card { grid-template-columns: 170px 1fr; align-items: center; padding: 16px 20px 16px 16px; }
}

/* ==========================================================================
   10 · WHY CHOOSE US (toggle comparison)
   ========================================================================== */
.cmp {
  padding: clamp(18px, 3vw, 40px);
  border-radius: var(--radius-feature);
  border: var(--hairline);
  background: var(--tone-cream);
}
.cmp__switch {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  padding: 5px;
  margin-bottom: 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink-40);
  background: var(--bg);
}
.cmp__knob {
  position: absolute;
  top: 5px; bottom: 5px; left: 0;
  border-radius: var(--radius-pill);
  background: var(--ink);
  transition: transform 0.55s var(--ease-out), width 0.55s var(--ease-out), background-color 0.4s;
}
.cmp[data-side="ht"] .cmp__knob { background: var(--accent); }
.cmp__opt {
  position: relative;
  z-index: 1;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.35s;
}
.cmp__opt[aria-pressed="true"] { color: #fff; background: var(--accent); }
.cmp.is-ready .cmp__opt { background: transparent; }

.cmp__rows { margin: 0; padding: 0; list-style: none; }
.cmp__row {
  --d: 0ms;
  display: grid;
  grid-template-columns: 40px 1fr 32px;
  gap: 6px 14px;
  align-items: center;
  padding: 20px 0;
  border-top: var(--hairline);
}
.cmp__row:nth-child(2) { --d: 60ms; }
.cmp__row:nth-child(3) { --d: 120ms; }
.cmp__row:nth-child(4) { --d: 180ms; }
.cmp__row:nth-child(5) { --d: 240ms; }
.cmp__row:nth-child(6) { --d: 300ms; }
.cmp__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--bg);
  border: var(--hairline);
}
.cmp__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cmp__k { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.cmp__v { grid-column: 1 / -1; display: grid; min-width: 0; }
.cmp__a {
  grid-area: 1 / 1;
  font-size: var(--fs-lead);
  line-height: 1.45;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease-out) var(--d), transform 0.6s var(--ease-out) var(--d);
}
.cmp[data-side="freelancer"] .cmp__a[data-for="freelancer"] { opacity: 1; transform: none; color: var(--muted); }
.cmp[data-side="ht"] .cmp__a[data-for="ht"] { opacity: 1; transform: none; color: var(--ink); }
.cmp__mark { grid-column: 3; grid-row: 1; position: relative; width: 32px; height: 32px; }
.cmp__mark svg {
  position: absolute;
  inset: 0;
  width: 32px; height: 32px;
  padding: 7px;
  border-radius: 50%;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.35s var(--d), transform 0.5s var(--ease-out) var(--d);
}
.cmp__mark .x { stroke: var(--ink-40); background: var(--ink-4); }
.cmp__mark .tick { stroke: #fff; background: var(--accent); opacity: 0; transform: scale(0.4); }
.cmp__mark .tick path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.5s var(--ease-out) calc(var(--d) + 150ms); }
.cmp[data-side="ht"] .cmp__mark .x { opacity: 0; transform: scale(0.4); }
.cmp[data-side="ht"] .cmp__mark .tick { opacity: 1; transform: scale(1); }
.cmp[data-side="ht"] .cmp__mark .tick path { stroke-dashoffset: 0; }

@media (min-width: 900px) {
  .cmp__row { grid-template-columns: 40px 220px 1fr 32px; gap: 24px; }
  .cmp__v { grid-column: 3; grid-row: 1; }
  .cmp__mark { grid-column: 4; }
}

/* ==========================================================================
   11 · PROOF AND TRUST
   ========================================================================== */
.proof { position: relative; isolation: isolate; overflow: hidden; }
.proof .wash { z-index: -1; }
.counters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 clamp(64px, 8vw, 112px);
}
.counter {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 4px;
  padding: 8px clamp(24px, 5vw, 72px);
  text-align: center;
}
.counter + .counter { border-left: 1px solid var(--ink-40); }
.counter dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 2rem + 7vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.counter__suf { color: var(--accent); }
.counter dt { font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 599px) {
  .counter { width: 100%; padding-block: 18px; }
  .counter + .counter { border-left: 0; border-top: 1px solid var(--ink-40); }
}

.carousel { position: relative; }
.carousel__viewport {
  overflow: hidden;
  margin-inline: calc(var(--gutter) * -1);
  padding-block: 12px;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.carousel__track { position: relative; display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; will-change: transform; user-select: none; }
.tcard {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: min(80vw, 600px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-feature);
  border: var(--hairline);
  background: var(--bg);
  opacity: 0.4;
  transform: scale(0.88);
  transition: opacity 0.5s, transform 0.6s var(--ease-out);
}
.tcard.is-active { opacity: 1; transform: scale(1); }
.tcard__stars { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--accent); letter-spacing: 2px; }
.tcard__quote { margin: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); line-height: 1.35; letter-spacing: -0.015em; }
.tcard__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tcard__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wash-coral), var(--wash-lavender));
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-small);
}
.tcard__name { font-weight: 600; }
.tcard__role { font-size: var(--fs-small); color: var(--muted); }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.carousel__arrow {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--ink-40);
  transition: background-color var(--dur-fast), color var(--dur-fast), opacity var(--dur-fast);
}
.carousel__arrow:hover:not(:disabled) { background: var(--ink); color: var(--on-ink); }
.carousel__arrow:disabled { opacity: 0.35; }
.carousel__arrow svg { width: 16px; height: 16px; }
.carousel__dots { display: flex; gap: 2px; }
.carousel__dots button { width: 24px; height: 24px; display: grid; place-items: center; }
.carousel__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-40); transition: transform 0.35s var(--ease-out), background-color 0.3s; }
.carousel__dots button[aria-current="true"]::before { background: var(--accent); transform: scale(1.4); }

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding: 0;
  list-style: none;
}
.badges li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  border-radius: var(--radius-pill);
  border: var(--hairline);
  background: var(--bg);
  font-size: var(--fs-small);
  font-weight: 500;
}
.badges li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c); }
.badges svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   12 · Q&A (chat-style accordion)
   ========================================================================== */
.faq__layout { display: grid; gap: 40px; }
.faq__agent {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  justify-self: start;
  border-radius: var(--radius-pill);
  border: var(--hairline);
  background: var(--tone-cream);
}
.faq__avatar, .qa__a::before {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 13px;
  font-weight: 600;
}
.faq__agent-name { font-weight: 600; font-size: var(--fs-small); }
.faq__agent-status { display: flex; align-items: center; gap: 6px; font-size: var(--fs-caption); color: var(--muted); }
.faq__agent-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.faq__chat {
  padding: clamp(14px, 2.4vw, 28px);
  border-radius: var(--radius-feature);
  border: var(--hairline);
  background: var(--tone-cream);
  min-width: 0;
}
.faq__tabs {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 24px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: var(--hairline);
  overflow-x: auto;
  scrollbar-width: none;
}
.faq__tabs::-webkit-scrollbar { display: none; }
.faq__tabs [role="tab"] {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.35s;
}
.faq__tabs [role="tab"][aria-selected="true"] { color: var(--on-ink); }
.faq__panel { display: grid; gap: 18px; }

.qa__q {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  cursor: pointer;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q span {
  position: relative;
  max-width: 86%;
  padding: 14px 46px 14px 18px;
  border-radius: 20px 20px 4px 20px;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 500;
  line-height: 1.4;
  transition: background-color var(--dur-fast);
}
.qa__q span::after {
  content: "+";
  position: absolute;
  right: 16px; top: 50%;
  width: 20px; height: 20px;
  margin-top: -10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-12);
  font-size: 15px;
  line-height: 1;
  transition: transform 0.4s var(--ease-out);
}
.qa[open] .qa__q span::after { transform: rotate(45deg); }
.qa__q:hover span { background: var(--ink-80); }
.qa__q:focus-visible { outline: none; }
.qa__q:focus-visible span { outline: 2px solid var(--accent); outline-offset: 3px; }

.qa__a { display: flex; align-items: flex-end; gap: 10px; margin-top: 12px; }
.qa__a::before { content: "HS"; width: 32px; height: 32px; font-size: 11px; }
.qa__a p {
  max-width: 86%;
  padding: 14px 18px;
  border-radius: 20px 20px 20px 4px;
  border: var(--hairline);
  background: #fff;
  color: var(--ink-80);
}
.qa__typing {
  display: none;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 20px 20px 20px 4px;
  border: var(--hairline);
  background: #fff;
}
.qa.is-typing .qa__typing { display: inline-flex; }
.qa.is-typing .qa__a p { display: none; }

@media (min-width: 1024px) {
  .faq__layout { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
  .faq__layout .section-head { position: sticky; top: 120px; margin-bottom: 0; }
}

/* ==========================================================================
   13 · FINAL CTA (charcoal)
   ========================================================================== */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--section-space);
  border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0;
  background: var(--ink);
  color: var(--on-ink);
}
.cta .wash { z-index: -1; }
.cta__layout { display: grid; gap: 48px; }
.cta__intro { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.cta__title {
  font-size: clamp(2.75rem, 1.5rem + 5.2vw, 5.75rem);
  font-weight: 500;
  letter-spacing: var(--track-display);
  line-height: 1.02;
  max-width: 12ch;
}
.cta__title em { font-weight: 400; color: var(--accent); }
.cta__sub { font-size: var(--fs-lead); color: var(--cream-60); max-width: 44ch; }
.cta__direct { display: flex; flex-wrap: wrap; gap: 10px; }
.cta__contact { font-size: var(--fs-small); color: var(--cream-60); }

.inquiry {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-feature);
  border: 1px solid var(--cream-12);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  min-width: 0;
}
.inquiry__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.inquiry__foot .btn { width: 100%; }
.inquiry__status { font-size: var(--fs-small); color: var(--cream-60); }
.inquiry__status.is-ok { color: var(--on-ink); }
.inquiry__status.is-warn { color: #FFD66B; }

@media (min-width: 600px) {
  .inquiry { grid-template-columns: 1fr 1fr; }
  .field--full, .inquiry__foot { grid-column: 1 / -1; }
  .inquiry__foot .btn { width: auto; }
}
@media (min-width: 1024px) {
  .cta__layout { grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
}

/* ==========================================================================
   14 · FOOTER (charcoal)
   ========================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px);
  background: var(--ink);
  color: var(--on-ink);
}
.footer::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter-r); height: 1px; background: var(--cream-12); }
.footer__grid { display: grid; gap: 40px; }
.footer__about { display: grid; gap: 18px; align-content: start; max-width: 36ch; }
.footer__about p { color: var(--cream-60); font-size: var(--fs-small); }
.footer__col h2 {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--cream-60);
}
.footer__col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__col a { color: rgba(255, 255, 255, 0.86); transition: color var(--dur-fast); }
.footer__col a:hover { color: var(--accent); }
.footer address { display: grid; gap: 8px; font-style: normal; font-size: var(--fs-small); color: rgba(255, 255, 255, 0.86); }
/* ---- Social links (footer, contact, About) ------------------------------ */
.socials { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer__col ul.socials { display: flex; gap: 8px; margin-top: 18px; } /* beats the column list grid */
/* Footer links are inline-flex for 44px touch targets (responsive.css); icon links must stay centred circles. */
.footer__col .socials a { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform 0.35s var(--ease-out);
}
.socials svg { display: block; width: 18px; height: 18px; flex: none; }
.socials a:hover { transform: translateY(-2px); }
.socials--dark a { color: rgba(255, 255, 255, 0.86); border: 1px solid var(--cream-12); }
.socials--dark a:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.socials--light a { color: var(--ink); background: var(--color-white); border: 1px solid var(--border); }
.socials--light a:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.socials .socials__email a { display: inline-flex; gap: 8px; width: auto; padding: 0 16px 0 13px; border-radius: var(--radius-pill); font-size: var(--fs-small); font-weight: 500; }
.socials .socials__email a:hover { transform: none; }

/* ---- Footer signature: oversized editorial wordmark --------------------
   Sized to the footer column with container units, so it always spans the
   full width; "Tech" is outlined in medium grey and fills white on hover. */
.footer__sign { margin: clamp(56px, 8vw, 112px) 0 clamp(18px, 3vw, 32px); container-type: inline-size; }
.footer__sign-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  margin: 0 0 clamp(10px, 1.6vw, 18px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cream-12);
  font-size: var(--fs-caption);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--cream-60);
}
.footer__word {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.16em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 14.5vw, 12rem); /* fallback */
  font-size: 17.4cqi;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.88;
  white-space: nowrap;
  user-select: none;
}
.fw-word { display: inline-flex; }
.fw { display: inline-block; overflow: hidden; padding: 0.03em 0.012em 0.09em; transition: transform 0.6s var(--ease-out); }
.fw-i { display: inline-block; }
.fw-word--solid .fw { color: var(--on-ink); }
/* Clean outline: the font draws letters from overlapping shapes, so a plain text-stroke
   also traces the joins inside each letter (e.g. through the "e"). Filling with the
   footer's own charcoal and painting the stroke underneath (paint-order) hides those
   inner joins; only the true outer edge shows. Stroke is doubled because half sits under the fill. */
.fw-word--outline .fw {
  color: var(--ink);
  -webkit-text-stroke: max(2px, 0.022em) var(--color-gray-medium);
  paint-order: stroke fill;
  transition: color 0.6s var(--ease-out), -webkit-text-stroke-color 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
/* On hover the letters fill white and the outline fades out, so "Tech" matches "Huzaifa" exactly. */
.footer__word:hover .fw-word--outline .fw { color: var(--on-ink); -webkit-text-stroke-color: transparent; }
@media (hover: hover) { .footer__word .fw:hover { transform: translateY(-0.07em); } }

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--cream-12);
  font-size: var(--fs-caption);
  color: var(--cream-60);
}
.totop { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--on-ink); }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__ring circle { fill: none; stroke-width: 2; }
.totop__track { stroke: var(--cream-12); }
.totop__progress { stroke: var(--accent); stroke-dasharray: 138.23; stroke-dashoffset: 138.23; stroke-linecap: round; }
.totop__arrow { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.totop:hover .totop__arrow { transform: translateY(-3px); }

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.3fr 1fr 0.8fr 1.1fr; gap: 32px; }
}
