/* =====================================================================
   FABRICA LAYER — everything below the tunnel hero on the homepage.
   Light #F5F5F5 canvas, white 18px cards, ink-black #0A0A0A blocks,
   Geist display type with tight tracking. Scoped under .fab (light body)
   and .fab-hero (dark inner-page header) so the ether nav, loader and
   tunnel stay untouched.
   ===================================================================== */

.fab,
.fab-hero {
  --fab-bg: #F5F5F5;
  --fab-card: #FFFFFF;
  --fab-ink: #0A0A0A;
  --fab-muted: rgba(10, 10, 10, 0.6);
  --fab-faint: rgba(10, 10, 10, 0.38);
  --fab-line: rgba(10, 10, 10, 0.08);
  --fab-dark: #0A0A0A;
  --fab-dark-card: rgba(255, 255, 255, 0.06);
  --fab-dark-line: rgba(255, 255, 255, 0.12);
  --fab-dark-muted: rgba(255, 255, 255, 0.6);
  --fab-radius: 18px;
  --fab-radius-lg: 28px;
  --fab-font: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --fab-gutter: clamp(20px, 2.5vw, 36px);
}

.fab {
  position: relative;
  z-index: 1;
  background: var(--fab-bg);
  color: var(--fab-ink);
  font-family: var(--font);
  color-scheme: light;
}

.fab ::selection {
  background: var(--fab-ink);
  color: #fff;
}

.fab p {
  color: var(--fab-muted);
}

.fab h2,
.fab h3,
.fab h4 {
  color: var(--fab-ink);
  -webkit-text-fill-color: currentColor;
  background: none;
}

.fab-wrap {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 var(--fab-gutter);
}

.fab-section {
  padding: clamp(72px, 9vw, 140px) 0;
}

.fab-section--tight {
  padding-top: clamp(40px, 5vw, 72px);
}

footer.fab {
  padding-bottom: 0;
}

.fab-muted {
  color: var(--fab-muted);
}

.fab-sm {
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- Type ---------- */
.fab-display {
  font-family: var(--fab-font);
  font-size: clamp(60px, 9vw, 130px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.92;
  color: var(--fab-ink);
}

.fab-display sup {
  font-size: 0.28em;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fab-faint);
  vertical-align: top;
  margin-left: 0.12em;
  line-height: 1;
  top: 0.35em;
  position: relative;
}

.fab-display-sub {
  font-family: var(--fab-font);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fab-ink);
  margin-top: 10px;
}

.fab-h2 {
  font-family: var(--fab-font);
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.08;
  color: var(--fab-ink);
  max-width: 18ch;
}

.fab-h2 .fab-muted,
.fab-h3 .fab-muted {
  color: var(--fab-faint);
}

.fab-h3 {
  font-family: var(--fab-font);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.fab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fab-ink);
  white-space: nowrap;
}

.fab-eyebrow svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.fab-eyebrow svg .x {
  stroke: var(--fab-bg);
}

.fab-dark-block .fab-eyebrow svg .x {
  stroke: var(--fab-dark);
}

.fab-tag {
  font-size: 14px;
  color: var(--fab-muted);
  white-space: nowrap;
}

/* ---------- Section header: eyebrow | display | description ---------- */
.fab-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 3fr) 1fr;
  gap: 24px;
  align-items: start;
}

.fab-dark-block .fab-display sup {
  color: rgba(255, 255, 255, 0.42);
}

.fab-head > :first-child {
  padding-top: 0.5em;
}

.fab-head-desc {
  justify-self: end;
  align-self: center;
  max-width: 300px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fab-muted);
}

.fab-head-desc.left {
  justify-self: start;
  text-align: left;
}

.fab-head-desc .fab-btn {
  margin-top: 18px;
}

/* ---------- Buttons ---------- */
.fab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 28px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: var(--fab-ink);
  color: #fff;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.fab-btn:hover {
  background: #242424;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5);
}

.fab-btn--light {
  background: #fff;
  color: var(--fab-ink);
}

.fab-btn--light:hover {
  background: #ededed;
}

.fab-btn--sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

.fab-btn--block {
  width: 100%;
}

.fab-btn .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.fab-btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.fab-btn:hover .arrow {
  transform: translate(2px, -2px);
}

.fab-plus {
  width: 44px;
  height: 44px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(10, 10, 10, 0.16);
  color: var(--fab-ink);
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s var(--ease);
}

.fab-plus svg {
  width: 14px;
  height: 14px;
}

.fab-plus:hover {
  background: var(--fab-ink);
  color: #fff;
  transform: rotate(90deg);
}

.fab-plus--inv {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.fab-plus--inv:hover {
  background: #fff;
  color: var(--fab-ink);
}

.fab-plus--solid {
  width: 28px;
  height: 28px;
  background: #fff;
  border: 0;
  color: var(--fab-ink);
}

.fab-plus--solid svg {
  width: 10px;
  height: 10px;
}

/* ---------- Cards ---------- */
.fab-card {
  background: var(--fab-card);
  border-radius: var(--fab-radius);
}

.fab-card--dark {
  background: var(--fab-dark);
  color: #fff;
}

.fab-card--dark p {
  color: var(--fab-dark-muted);
}

.fab-card--dark h2,
.fab-card--dark h3,
.fab-card--dark h4 {
  color: #fff;
}

/* ---------- Reveal on scroll (fade + lift + unblur) ----------
   Scoped one level deeper so the reveal transition beats a card's own
   hover transition; fab.js drops .fab-reveal once the reveal finishes,
   which hands hover effects back to the card. */
.fab-reveal,
.fab .fab-reveal,
.fab-hero .fab-reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(10px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform, filter;
}

.fab-reveal.in,
.fab .fab-reveal.in,
.fab-hero .fab-reveal.in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* =====================================================================
   1. CLIENTS
   ===================================================================== */
.fab-clients-head {
  display: flex;
  gap: clamp(24px, 10vw, 180px);
  align-items: center;
}

.fab-clients {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 44px;
}

.fab-client {
  background: var(--fab-card);
  border-radius: var(--fab-radius);
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-family: var(--fab-font);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--fab-ink);
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.fab-client:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.3);
}

.fab-client--wide {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 700;
}

.fab-client--serif {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.fab-client--mono {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.fab-client--thin {
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.06em;
}

.fab-client--outline {
  font-weight: 800;
  font-size: 24px;
  -webkit-text-stroke: 1.2px var(--fab-ink);
  -webkit-text-fill-color: transparent;
}

/* =====================================================================
   2. PROJECTS
   ===================================================================== */
.fab-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 14px;
  margin-top: clamp(40px, 5vw, 72px);
}

.fab-project {
  display: block;
  color: var(--fab-ink);
}

.fab-project-media {
  position: relative;
  border-radius: var(--fab-radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #e6e6e6;
  isolation: isolate;
}

.fab-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 1s var(--ease);
}

.fab-project-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  transition: background 0.5s ease;
}

.fab-project:hover .fab-project-media img {
  transform: scale(1.04);
}

.fab-project:hover .fab-project-media::after {
  background: rgba(0, 0, 0, 0.18);
}

.fab-project-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--fab-font);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.fab-project-badge i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--fab-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}

.fab-project-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.fab-project-meta .sep {
  color: var(--fab-faint);
  margin: 0 8px;
}

.fab-project-meta .cat {
  color: var(--fab-muted);
  font-weight: 400;
}

.fab-projects-more {
  margin-top: 56px;
  text-align: center;
}

/* =====================================================================
   3. WHY
   ===================================================================== */
.fab-why-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 3fr) 1fr;
  gap: 24px;
  align-items: start;
}

.fab-why-head .fab-eyebrow {
  padding-top: 0.6em;
}

.fab-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: clamp(40px, 5vw, 72px);
}

.fab-why-media {
  position: relative;
  border-radius: var(--fab-radius);
  overflow: hidden;
  background: #111;
  min-height: 560px;
  color: #fff;
}

.fab-why-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.05);
}

.fab-why-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.75) 100%);
}

.fab-why-media .fab-plus {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.fab-why-cta {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

.fab-why-cta h3 {
  color: #fff;
  font-family: var(--fab-font);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 16ch;
}

.fab-why-cta .fab-btn {
  margin-top: 20px;
}

.fab-why-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fab-why-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--fab-muted) !important;
  max-width: 520px;
  margin-left: auto;
  text-align: right;
  padding: 10px 0 28px;
}

.fab-why-lead strong {
  color: var(--fab-ink);
  font-weight: 500;
}

.fab-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  flex: 1;
}

.fab-stat {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fab-stat-num {
  position: relative;
  padding: 26px 28px 22px;
  font-family: var(--fab-font);
  font-size: clamp(40px, 3.6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.fab-stat-num small {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fab-faint);
}

.fab-stat-label {
  flex: 1;
  min-height: 220px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
}

.fab-stat-label h4 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.fab-stat-label p {
  font-size: 13px;
  line-height: 1.5;
  max-width: 24ch;
  margin-left: auto;
}

/* =====================================================================
   4. SERVICES (dark block)
   ===================================================================== */
.fab-bleed {
  padding: 0 8px;
}

.fab-dark-block {
  background: var(--fab-dark);
  color: #fff;
  border-radius: var(--fab-radius-lg);
  padding: clamp(56px, 7vw, 110px) clamp(16px, 2.2vw, 40px);
  position: relative;
  overflow: hidden;
}

.fab-dark-block::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 50% at 70% 0%, rgba(255, 255, 255, 0.07), transparent 70%);
}

.fab-dark-block > * {
  position: relative;
}

.fab-dark-block .fab-eyebrow,
.fab-dark-block .fab-display,
.fab-dark-block .fab-display-sub,
.fab-dark-block h2,
.fab-dark-block h3,
.fab-dark-block h4 {
  color: #fff;
}

.fab-dark-block .fab-head-desc,
.fab-dark-block p,
.fab-dark-block .fab-tag {
  color: var(--fab-dark-muted);
}

.fab-service-list {
  margin-top: clamp(48px, 6vw, 96px);
  border-top: 1px solid var(--fab-dark-line);
}

.fab-service {
  display: grid;
  grid-template-columns: 120px 120px minmax(0, 1.4fr) minmax(0, 1fr) 56px;
  gap: 28px;
  align-items: start;
  padding: clamp(28px, 3.5vw, 48px) 0;
  border-bottom: 1px solid var(--fab-dark-line);
}

.fab-service-idx {
  font-size: 14px;
  color: var(--fab-dark-muted);
  padding-top: 4px;
}

.fab-service-thumb {
  width: 120px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
}

.fab-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.fab-service-body h3 {
  font-family: var(--fab-font);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  max-width: 14ch;
}

.fab-service-body p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.5;
  max-width: 36ch;
}

.fab-service-cats .label {
  display: block;
  font-size: 12px;
  color: var(--fab-dark-muted);
  margin-bottom: 12px;
}

.fab-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fab-chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 13px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}

.fab-chip:hover {
  background: #fff;
  color: var(--fab-ink);
}

.fab-chip--count {
  background: rgba(255, 255, 255, 0.1);
  border-color: transparent;
}

.fab-service .fab-plus {
  justify-self: end;
}

.fab-services-cta {
  text-align: center;
  margin-top: clamp(48px, 6vw, 88px);
}

/* =====================================================================
   5. HOW (steps + showreel)
   ===================================================================== */
.fab-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: clamp(40px, 5vw, 72px);
}

.fab-step {
  padding: 20px 22px 24px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.fab-step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fab-dots {
  display: flex;
  gap: 4px;
}

.fab-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.14);
}

.fab-dots i.on {
  background: var(--fab-ink);
}

.fab-step-idx {
  font-size: 11px;
  color: var(--fab-faint);
}

.fab-step-main {
  display: flex;
  gap: 14px;
  align-items: center;
}

.fab-step-thumb {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 10px;
  overflow: hidden;
  background: #ddd;
}

.fab-step-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.fab-step h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.fab-showreel {
  position: relative;
  margin-top: 14px;
  border-radius: var(--fab-radius);
  overflow: hidden;
  aspect-ratio: 16 / 7.5;
  background: #111;
  display: block;
  color: #fff;
  isolation: isolate;
}

.fab-showreel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(1) contrast(1.1) brightness(0.9);
  transition: transform 1.2s var(--ease), filter 0.8s ease;
}

.fab-showreel:hover img {
  transform: scale(1.03);
  filter: grayscale(0.6) contrast(1.05) brightness(0.85);
}

.fab-showreel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.55));
}

.fab-showreel-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.fab-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--fab-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.4s var(--ease);
}

.fab-showreel:hover .fab-play {
  transform: scale(1.08);
}

.fab-play svg {
  width: 18px;
  height: 18px;
  margin-left: 3px;
}

.fab-showreel-label strong {
  display: block;
  font-family: var(--fab-font);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.fab-showreel-label span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* =====================================================================
   6. TESTIMONIALS
   ===================================================================== */
.fab-testi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: clamp(40px, 5vw, 72px);
  align-items: stretch;
}

.fab-testi-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fab-testi-summary {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: 380px;
}

.fab-logo {
  font-family: var(--fab-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fab-ink);
}

.fab-logo .dot {
  color: var(--accent);
}

.fab-avatars {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.fab-avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  background: #222;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fab-avatars span:first-child {
  margin-left: 0;
}

.fab-avatars span.more {
  width: auto;
  height: 26px;
  padding: 0 8px;
  border-radius: 100px;
  margin-left: 6px;
  background: var(--fab-ink);
  font-size: 10px;
}

.fab-stars {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.fab-testi-summary .fab-sm {
  color: var(--fab-faint);
  font-size: 11px;
}

.fab-testi-summary .fab-btn {
  margin-top: 14px;
}

.fab-testi-card {
  flex: 1;
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 300px;
}

.fab-testi-card.flip {
  flex-direction: column-reverse;
}

.fab-testi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fab-faint);
}

.fab-testi-top svg {
  width: 14px;
  height: 14px;
}

.fab-testi-quote {
  font-family: var(--fab-font);
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--fab-ink) !important;
  text-align: right;
}

.fab-testi-author {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fab-testi-author i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fab-ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  flex: none;
}

.fab-testi-author strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}

.fab-testi-author span {
  display: block;
  font-size: 11px;
  color: var(--fab-faint);
}

.fab-testi-cta {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 300px;
}

.fab-testi-cta h3 {
  font-family: var(--fab-font);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

/* =====================================================================
   7. METRICS
   ===================================================================== */
.fab-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: clamp(56px, 7vw, 100px) 0;
  border-bottom: 1px solid var(--fab-line);
}

.fab-metric-num {
  font-family: var(--fab-font);
  font-size: clamp(48px, 6.4vw, 96px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--fab-ink);
  font-variant-numeric: tabular-nums;
}

.fab-metric-label {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fab-muted);
  max-width: 22ch;
}

/* =====================================================================
   8. APPROACH + CASE STUDY
   ===================================================================== */
.fab-approach {
  display: grid;
  grid-template-columns: 1fr minmax(0, 2.4fr) 1fr;
  gap: 24px;
  padding-top: clamp(56px, 7vw, 100px);
}

.fab-approach-side p {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 22ch;
}

.fab-approach-big {
  font-family: var(--fab-font);
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--fab-ink);
  max-width: 24ch;
}

.fab-approach-big .fab-muted {
  color: var(--fab-faint);
}

.fab-approach-body {
  margin-top: 32px;
  font-size: 15px;
  line-height: 1.55;
  max-width: 56ch;
}

.fab-case {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
  margin-top: clamp(48px, 6vw, 96px);
}

.fab-case-hero {
  position: relative;
  min-height: 460px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}

.fab-case-hero img {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  z-index: -1;
  filter: grayscale(1) contrast(1.05) brightness(0.55);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  opacity: 0.7;
}

.fab-case-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.1) 0%, rgba(10, 10, 10, 0.55) 55%, rgba(10, 10, 10, 0.92) 100%);
}

.fab-case-hero::after {
  content: 'SWERA\00AE';
  position: absolute;
  left: 22px;
  bottom: -0.28em;
  z-index: -1;
  font-family: var(--fab-font);
  font-size: clamp(80px, 9vw, 140px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.fab-case-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.fab-case-top strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
}

.fab-case-top span {
  display: block;
  font-size: 11px;
  color: var(--fab-dark-muted);
  margin-top: 2px;
}

.fab-case-mid {
  text-align: right;
  margin: 40px 0 24px auto;
  max-width: 24ch;
}

.fab-case-mid h3 {
  font-family: var(--fab-font);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.fab-case-mid p {
  margin-top: 10px;
  font-size: 14px;
}

.fab-case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.fab-case-link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s var(--ease);
}

.fab-case-link:hover svg {
  transform: translate(2px, -2px);
}

.fab-case-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.fab-case-card .label {
  display: block;
  font-size: 12px;
  color: var(--fab-faint);
  margin-bottom: 8px;
}

.fab-case-card h3 {
  font-family: var(--fab-font);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.fab-case-card .fab-sm {
  margin-top: 8px;
}

.fab-case-quote {
  font-family: var(--fab-font);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--fab-ink) !important;
}

.fab-case-quote + span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--fab-faint);
}

.fab-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.fab-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.fab-ring circle {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
}

.fab-ring .track {
  stroke: rgba(10, 10, 10, 0.08);
}

.fab-ring .bar {
  stroke: var(--fab-ink);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.6s var(--ease) 0.2s;
}

.in .fab-ring .bar,
.fab-ring.in .bar {
  stroke-dashoffset: var(--off, 0);
}

.fab-ring b {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fab-font);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.fab-ring-label {
  text-align: center;
  margin-top: 18px;
}

.fab-ring-label strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
}

.fab-ring-label p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
}

/* =====================================================================
   9. TOGGLE (pill tabs; used by the work filter)
   ===================================================================== */
.fab-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 36px;
}

.fab-toggle button {
  height: 36px;
  padding: 0 18px;
  border-radius: 100px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
}

.fab-toggle button.on {
  background: #fff;
  color: var(--fab-ink);
}


/* =====================================================================
   10. TEAM / FACE BEHIND
   ===================================================================== */
.fab-team {
  background: var(--fab-card);
  border-radius: var(--fab-radius-lg);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}

.fab-team-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}

.fab-team-copy .fab-h2 {
  margin-top: 32px;
  max-width: 11ch;
}

.fab-team-marks {
  display: flex;
  gap: clamp(60px, 14vw, 200px);
  color: var(--fab-faint);
  font-size: 20px;
  font-weight: 300;
}

.fab-team-foot {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: end;
}

.fab-team-foot h4 {
  font-size: 15px;
  font-weight: 500;
}

.fab-team-foot p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 26ch;
}

.fab-team-foot .fab-btn {
  margin-top: 18px;
}

.fab-team-foot .big {
  font-family: var(--fab-font);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--fab-ink) !important;
  text-align: right;
  max-width: 30ch;
  margin-left: auto;
}

.fab-team-foot .big .fab-muted {
  color: var(--fab-faint);
}

.fab-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fab-member {
  position: relative;
  aspect-ratio: 1 / 1.3;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  color: #fff;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}

.fab-member img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: -2;
  transition: transform 1s var(--ease);
}

.fab-member:hover img {
  transform: scale(1.04);
}

.fab-member::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.8) 100%);
}

.fab-member--exp {
  background:
    radial-gradient(80% 60% at 100% 100%, rgba(255, 255, 255, 0.08), transparent 70%),
    linear-gradient(160deg, #1c1c1c 0%, #0a0a0a 100%);
}

.fab-member--exp::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 100%);
}

.fab-member-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.fab-member-role {
  text-align: right;
}

.fab-member-role strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}

.fab-member-role span {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.fab-member-name {
  font-family: var(--fab-font);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 12ch;
}

.fab-member-name small {
  display: block;
  margin-top: 8px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.6);
}

/* =====================================================================
   11. FAQ
   ===================================================================== */
.fab-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.fab-faq-intro p {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 30ch;
}

.fab-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fab-faq-item {
  background: var(--fab-card);
  border-radius: 14px;
  overflow: hidden;
}

.fab-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fab-ink);
}

.fab-faq-item summary::-webkit-details-marker {
  display: none;
}

.fab-faq-item summary i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fab-ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.4s var(--ease);
}

.fab-faq-item summary i svg {
  width: 9px;
  height: 9px;
}

.fab-faq-item[open] summary i {
  transform: rotate(45deg);
}

.fab-faq-body {
  padding: 0 22px 22px;
  font-size: 14px;
  line-height: 1.55;
  max-width: 60ch;
}

/* =====================================================================
   12. CONTACT + FOOTER
   ===================================================================== */
.fab-contact {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 14px;
  align-items: stretch;
}

.fab-form-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fab-form-card {
  padding: 28px 30px 26px;
  flex: 1;
}

.fab-form-card .fab-h3 {
  margin-top: 20px;
  margin-bottom: 22px;
}

.fab-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.fab-field label {
  font-size: 11px;
  font-weight: 500;
  color: var(--fab-ink);
}

.fab .fab-field input,
.fab .fab-field textarea {
  width: 100%;
  background: #F3F3F3;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--fab-ink);
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.fab .fab-field textarea {
  min-height: 96px;
  resize: vertical;
}

.fab .fab-field input::placeholder,
.fab .fab-field textarea::placeholder {
  color: rgba(10, 10, 10, 0.4);
}

.fab .fab-field input:focus,
.fab .fab-field textarea:focus {
  background: #fff;
  border-color: var(--fab-ink);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}

.fab-form-card .fab-btn {
  margin-top: 6px;
}

.fab-form-note {
  margin-top: 14px;
  font-size: 11px;
  color: var(--fab-faint);
}

.fab-copy {
  font-size: 12px;
  color: var(--fab-muted);
  padding-left: 4px;
}

.fab-talk {
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.fab-talk::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 85% 20%, rgba(255, 255, 255, 0.1), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, #000 20%, transparent 100%);
}

.fab-talk .fab-display {
  color: #fff;
  font-size: clamp(56px, 8vw, 120px);
}

.fab-talk-lead {
  margin-top: 28px;
  font-family: var(--fab-font);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #fff !important;
  max-width: 24ch;
}

.fab-talk-lead .fab-muted {
  color: rgba(255, 255, 255, 0.55);
}

.fab-talk-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--fab-dark-line);
}

.fab-talk-points h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.fab-talk-points h4 svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.fab-talk-points p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 30ch;
}

.fab-person {
  display: flex;
  gap: 16px;
  align-items: stretch;
  padding: 8px;
  max-width: 420px;
  color: var(--fab-ink);
}

.fab-person img {
  width: 96px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  flex: none;
}

.fab-person-body {
  padding: 10px 10px 8px 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.fab-person-body small {
  display: block;
  font-size: 12px;
  color: var(--fab-ink);
  font-weight: 500;
}

.fab-person-body small span {
  display: block;
  color: var(--fab-faint);
  font-size: 10px;
  font-weight: 400;
}

.fab-person-body strong {
  display: block;
  font-family: var(--fab-font);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.fab-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 36px 0 28px;
  font-size: 13px;
  color: var(--fab-muted);
}

.fab-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.fab-footer-links a {
  color: var(--fab-muted);
  transition: color 0.2s ease;
}

.fab-footer-links a:hover {
  color: var(--fab-ink);
}

.fab .back-to-top-btn {
  color: var(--fab-ink);
  font-size: 12px;
  letter-spacing: 0.12em;
  transform-origin: center;
}

.fab .back-to-top-btn:hover {
  color: var(--fab-ink);
}

.fab .back-to-top-btn:hover .top-arrow {
  color: var(--fab-ink);
  text-shadow: none;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .fab-clients {
    grid-template-columns: repeat(3, 1fr);
  }

  .fab-client {
    height: 120px;
  }

  .fab-service {
    grid-template-columns: 70px 100px minmax(0, 1fr) 44px;
    gap: 20px;
  }

  .fab-service-thumb {
    width: 100px;
  }

  .fab-service-cats {
    grid-column: 2 / span 2;
  }

  .fab-steps {
    grid-template-columns: 1fr 1fr;
  }

  .fab-testi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fab-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .fab-case {
    grid-template-columns: 1fr 1fr;
  }

  .fab-case-hero {
    grid-column: 1 / -1;
    min-height: 400px;
  }

  .fab-team {
    grid-template-columns: 1fr;
  }

  .fab-member {
    aspect-ratio: 1 / 1.15;
  }
}

@media (max-width: 860px) {
  .fab-head,
  .fab-why-head,
  .fab-approach {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .fab-head > :first-child,
  .fab-why-head .fab-eyebrow {
    padding-top: 0;
  }

  .fab-head-desc {
    justify-self: start;
  }

  .fab-display {
    font-size: clamp(56px, 15vw, 96px);
  }

  .fab-projects {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .fab-why-grid {
    grid-template-columns: 1fr;
  }

  .fab-why-media {
    min-height: 460px;
  }

  .fab-why-lead {
    text-align: left;
    margin-left: 0;
    padding-top: 0;
  }

  .fab-stat-label {
    min-height: 160px;
  }

  .fab-bleed {
    padding: 0;
  }

  .fab-dark-block {
    border-radius: 22px;
  }

  .fab-service {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fab-service-cats {
    grid-column: auto;
  }

  .fab-service .fab-plus {
    justify-self: start;
  }

  .fab-showreel {
    aspect-ratio: 4 / 3;
  }

  .fab-showreel-label strong {
    font-size: 20px;
  }

  .fab-testi-grid {
    grid-template-columns: 1fr;
  }

  .fab-testi-summary {
    min-height: 0;
  }

  .fab-testi-card {
    min-height: 220px;
  }

  .fab-team-foot {
    grid-template-columns: 1fr;
  }

  .fab-team-foot .big {
    text-align: left;
    margin-left: 0;
  }

  .fab-faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .fab-contact {
    grid-template-columns: 1fr;
  }

  .fab-talk-points {
    grid-template-columns: 1fr;
  }

  .fab-footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .fab-clients {
    grid-template-columns: 1fr 1fr;
  }

  .fab-steps,
  .fab-stats,
  .fab-metrics,
  .fab-case,
  .fab-team-grid {
    grid-template-columns: 1fr;
  }

  .fab-member {
    aspect-ratio: 4 / 3;
  }

  .fab-member--exp {
    aspect-ratio: auto;
    min-height: 180px;
  }

  .fab-case-hero img {
    width: 70%;
  }

  .fab-person {
    max-width: none;
  }
}

/* =====================================================================
   INNER PAGES — dark depth header, then the same light Fabrica body
   ===================================================================== */
.fab-hero {
  position: relative;
  background: var(--bg);
  color: #fff;
  min-height: min(86vh, 900px);
  display: flex;
  align-items: flex-end;
  padding: clamp(128px, 14vw, 200px) 0 clamp(48px, 6vw, 88px);
}

.fab-hero-inner {
  width: 100%;
}

.fab-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 56px);
}

.fab-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease, gap 0.35s var(--ease);
}

.fab-hero-back:hover {
  color: #fff;
  gap: 12px;
}

.fab-hero .fab-tag {
  color: rgba(255, 255, 255, 0.5);
}

.fab-hero .fab-eyebrow {
  color: #fff;
}

.fab-hero .fab-eyebrow svg .x {
  stroke: var(--bg);
}

.fab-hero-title {
  color: #fff;
  font-size: clamp(64px, 12.5vw, 200px);
  margin-top: 18px;
}

.fab-hero-title--md {
  font-size: clamp(44px, 7.4vw, 120px);
  line-height: 0.95;
  max-width: 13ch;
}

.fab-hero-title .fab-muted {
  color: rgba(255, 255, 255, 0.42);
}

.fab-hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: end;
  margin-top: clamp(28px, 4vw, 56px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fab-hero-foot p {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  max-width: 52ch;
}

.fab-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fab-hero .fab-toggle {
  margin-top: 0;
  flex-wrap: wrap;
}

.fab-toggle button sup {
  font-size: 10px;
  opacity: 0.55;
  margin-left: 4px;
}

.fab-btn--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.fab-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.fab [hidden] {
  display: none !important;
}

/* ---------- Generic card grids ---------- */
.fab-grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(40px, 5vw, 72px);
}

.fab-grid--2 {
  grid-template-columns: 1fr 1fr;
}

.fab-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.fab-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.fab-info {
  padding: 20px 22px 26px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.fab-info h3 {
  font-family: var(--fab-font);
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.fab-info p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.fab-chip--light {
  border-color: rgba(10, 10, 10, 0.14);
  color: var(--fab-ink);
}

.fab-chip--light:hover {
  background: var(--fab-ink);
  color: #fff;
}

.fab-prose p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 58ch;
}

.fab-prose p + p {
  margin-top: 14px;
}

.fab-prose strong {
  color: var(--fab-ink);
  font-weight: 500;
}

/* ---------- About: intro split ---------- */
.fab-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fab-split .fab-why-media {
  min-height: 640px;
}

.fab-intro-card {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.fab-intro-card .fab-h2 {
  margin-top: 28px;
  max-width: 14ch;
}

.fab-intro-card .fab-prose {
  margin-top: 28px;
}

.fab-intro-card .label {
  display: block;
  font-size: 12px;
  color: var(--fab-faint);
  margin-bottom: 12px;
}

/* ---------- About: experience rows ---------- */
.fab-rows {
  margin-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--fab-line);
}

.fab-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 28px;
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--fab-line);
  align-items: start;
}

.fab-row-idx {
  font-size: 14px;
  color: var(--fab-faint);
  padding-top: 4px;
}

.fab-row h3 {
  font-family: var(--fab-font);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.fab-row-meta {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--fab-muted);
}

.fab-row-meta strong {
  color: var(--fab-ink);
  font-weight: 500;
}

.fab-row p {
  font-size: 15px;
  line-height: 1.55;
  max-width: 52ch;
}

/* ---------- About: certification / education lists ---------- */
.fab-list-card {
  padding: clamp(24px, 3vw, 36px);
}

.fab-list-card h3 {
  font-family: var(--fab-font);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.fab-list {
  margin-top: 24px;
}

.fab-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--fab-line);
}

.fab-list li i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fab-ink);
  color: #fff;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.fab-list strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--fab-ink);
}

.fab-list span {
  display: block;
  font-size: 12px;
  color: var(--fab-faint);
  margin-top: 2px;
}

/* ---------- Marquee ---------- */
.fab-marquee {
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--fab-line);
  border-bottom: 1px solid var(--fab-line);
}

.fab-marquee-track {
  display: flex;
  width: max-content;
  animation: fabMarquee 42s linear infinite;
}

.fab-marquee:hover .fab-marquee-track {
  animation-play-state: paused;
}

.fab-marquee-group {
  display: flex;
  flex: none;
}

.fab-marquee-group span {
  font-family: var(--fab-font);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--fab-ink);
  padding-right: 0.45em;
  white-space: nowrap;
}

.fab-marquee-group span.sep {
  color: var(--fab-faint);
  font-weight: 400;
}

@keyframes fabMarquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Work: 3-up grid + filter pop ---------- */
.fab-projects--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 14px;
}

.fab-project-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 52ch;
}

.fab-hero-title--case {
  font-size: clamp(52px, 10vw, 168px);
  max-width: 12ch;
}

.fab-pop {
  animation: fabPop 0.6s var(--ease) backwards;
  animation-delay: var(--d, 0ms);
}

@keyframes fabPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
}

/* ---------- Case study ---------- */
.fab-case-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

.fab-case-intro .fab-approach-big {
  max-width: 28ch;
}

.fab-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fab-meta div {
  background: var(--fab-card);
  border-radius: 14px;
  padding: 16px 18px;
}

.fab-meta span {
  display: block;
  font-size: 11px;
  color: var(--fab-faint);
}

.fab-meta strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fab-ink);
}

.fab-shot {
  margin-top: clamp(40px, 5vw, 72px);
  background: var(--fab-card);
  border-radius: var(--fab-radius-lg);
  padding: 10px;
}

.fab-shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 14px;
}

.fab-shot-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.12);
}

.fab-shot-bar span {
  margin-left: 10px;
  font-size: 12px;
  color: var(--fab-faint);
}

.fab-shot img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #eaeaea;
}

.fab-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  min-height: 380px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--fab-radius-lg);
  background: var(--fab-dark);
  color: #fff;
  overflow: hidden;
}

.fab-next-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.fab-next-copy .label {
  display: block;
  font-size: 13px;
  color: var(--fab-dark-muted);
}

.fab-next-name {
  display: block;
  margin-top: 14px;
  font-family: var(--fab-font);
  font-size: clamp(44px, 6vw, 96px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.95;
  color: #fff;
}

.fab-next-media {
  border-radius: var(--fab-radius);
  overflow: hidden;
  background: #1a1a1a;
}

.fab-next-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 1s var(--ease);
}

.fab-next:hover .fab-next-media img {
  transform: scale(1.04);
}

.fab-next:hover .fab-plus--inv {
  background: #fff;
  color: var(--fab-ink);
  transform: rotate(90deg);
}

.fab-next-more {
  margin-top: 40px;
  text-align: center;
}

/* ---------- Contact ---------- */
.fab-include {
  padding: 18px 20px 22px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.fab-include:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.3);
}

.fab-include span {
  font-size: 11px;
  color: var(--fab-faint);
}

.fab-include h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.fab-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

.fab-form-card > p {
  margin: -8px 0 22px;
  font-size: 14px;
  line-height: 1.5;
}

.fab-talk-points a {
  color: #fff;
}

.fab-talk-points a:hover {
  color: var(--accent);
}

.fab-avail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 10px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #fff;
}

.fab-avail .dot-loop,
.fab-eyebrow .dot-loop {
  position: relative;
  inset: auto;
  flex: none;
}

.fab-offer {
  padding: 24px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fab-offer .label {
  font-size: 12px;
  color: var(--fab-faint);
}

.fab-card--dark.fab-offer .label {
  color: var(--fab-dark-muted);
}

.fab-offer h3 {
  font-family: var(--fab-font);
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.fab-offer p {
  font-size: 14px;
  line-height: 1.5;
}

.fab-ticks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.fab-ticks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fab-ink);
}

.fab-ticks li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: none;
  background: var(--fab-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 8px no-repeat;
}

.fab-card--dark .fab-ticks li {
  color: #fff;
}

.fab-card--dark .fab-ticks li::before {
  background-color: rgba(255, 255, 255, 0.14);
}

.fab-card--dark .fab-offer-cta {
  margin-top: auto;
}

/* ---------- Inner page responsive ---------- */
@media (max-width: 1100px) {
  .fab-projects--3,
  .fab-grid--4 {
    grid-template-columns: 1fr 1fr;
  }

  .fab-grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .fab-row {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .fab-row p {
    grid-column: 2;
  }

  .fab-next {
    grid-template-columns: 1fr;
  }

  .fab-next-media {
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 860px) {
  .fab-hero {
    min-height: 0;
  }

  .fab-hero-foot,
  .fab-split,
  .fab-case-intro,
  .fab-grid--2,
  .fab-projects--3 {
    grid-template-columns: 1fr;
  }

  .fab-hero-title {
    font-size: clamp(56px, 17vw, 120px);
  }

  .fab-hero-title--md {
    font-size: clamp(40px, 11vw, 72px);
  }

  .fab-hero-title--case {
    font-size: clamp(44px, 12.5vw, 96px);
  }

  .fab-split .fab-why-media {
    min-height: 480px;
  }

  .fab-grid--5 {
    grid-template-columns: 1fr 1fr;
  }

  .fab-field-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .fab-grid--4,
  .fab-meta {
    grid-template-columns: 1fr;
  }

  .fab-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fab-row p {
    grid-column: auto;
  }

  .fab-hero .fab-toggle {
    border-radius: 22px;
  }

  .fab-hero-top .fab-tag {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fab-reveal,
  .fab .fab-reveal,
  .fab-hero .fab-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .fab-ring .bar {
    transition: none;
  }

  .fab-marquee-track,
  .fab-pop {
    animation: none;
  }
}
