/* =================================================================
   Ahmed Ebrahim — Personal Brand
   Palette: White · Black · Green (Saduq identity)
   ================================================================= */

:root {
  --bg:        #ffffff;
  --bg-soft:   #f6f7f5;
  --ink:       #0c0f0e;
  --ink-2:     #333b38;
  --muted:     #6a726e;
  --line:      rgba(12, 15, 14, 0.12);
  --line-soft: rgba(12, 15, 14, 0.07);

  --green:        #16b364;
  --green-strong: #0e8f4e;
  --green-tint:   rgba(22, 179, 100, 0.10);

  --dark:      #0b0e0d;
  --dark-2:    #101514;
  --dark-soft: #151a18;
  --on-dark:   #f2f5f2;
  --on-dark-muted: #9aa4a0;
  --dark-line: rgba(255, 255, 255, 0.12);

  --font-ar:   "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-en:   "Space Grotesk", var(--font-ar);

  --wrap: 1180px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --bg:        #0b0e0d;
  --bg-soft:   #121614;
  --ink:       #f2f5f2;
  --ink-2:     #d3d9d6;
  --muted:     #98a29d;
  --line:      rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.07);
  --green:        #22c977;
  --green-strong: #16b364;
  --green-tint:   rgba(34, 201, 119, 0.12);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 28px;
}

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
}
.hl { color: var(--green); }
.muted { color: var(--muted); font-weight: 400; }

.btn {
  --pad-y: 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-y) 22px;
  border-radius: 999px;
  font-family: var(--font-ar);
  font-weight: 600;
  font-size: 15.5px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(-4px); }
.btn--primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn--primary:hover { background: var(--green-strong); border-color: var(--green-strong); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { --pad-y: 9px; padding: 9px 16px; font-size: 14px; }
.btn--lg { --pad-y: 16px; padding: 16px 30px; font-size: 17px; }

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; }
.brand__name {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--ink);
}
.brand__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; align-self: center; }

.nav { display: flex; gap: 26px; }
.nav a {
  font-size: 15px;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--green); transition: width .28s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .2s, transform .2s;
}
.theme-toggle:hover { border-color: var(--ink); transform: rotate(15deg); }
.theme-toggle__icon {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink);
  box-shadow: inset -5px -4px 0 0 var(--bg);
  transition: all .3s var(--ease);
}
html[data-theme="dark"] .theme-toggle__icon {
  background: var(--green);
  box-shadow: none;
  transform: scale(0.62);
}

.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  border-radius: 10px; background: transparent; cursor: pointer; flex-direction: column;
  gap: 4px; align-items: center; justify-content: center; }
.menu-btn span { width: 18px; height: 2px; background: var(--ink); transition: .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =================================================================
   HERO
   ================================================================= */
.hero { position: relative; padding: clamp(40px, 7vw, 92px) 0 clamp(30px, 5vw, 60px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 100%);
  opacity: .5;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-name {
  font-size: clamp(3.2rem, 8.5vw, 6.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 18px 0 20px;
}
.hero-name .dot { color: var(--green); }
.hero-headline {
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 20px;
}
.hero-sub {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.85;
  max-width: 540px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }

.hero-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-tags li {
  font-family: var(--font-en);
  font-size: 13px; font-weight: 500;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
}
.hero-social { display: flex; gap: 10px; margin-top: 22px; }
.hero-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--muted);
  transition: .25s var(--ease);
}
.hero-social a:hover { color: #fff; background: var(--green); border-color: var(--green); transform: translateY(-3px); }

.hero-values {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px;
  margin-top: clamp(30px, 5vw, 54px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .01em;
  color: var(--muted); text-align: center;
  opacity: 0; animation: riseIn .9s var(--ease) .95s forwards;
}
.hero-values i { color: var(--green); font-style: normal; }
.hero-values span { white-space: nowrap; }

/* Portrait */
.hero-visual { position: relative; }
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: 0 34px 70px -44px rgba(0, 0, 0, 0.55);
}
.portrait__img { width: 100%; height: 100%; object-fit: cover; object-position: top center; position: relative; z-index: 2; }
.portrait__placeholder {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center;
  background:
    radial-gradient(var(--line) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(180deg, var(--bg-soft), color-mix(in srgb, var(--green-tint) 60%, var(--bg-soft)));
}
.portrait__silhouette { width: 92px; height: auto; fill: var(--line); opacity: .9; margin-bottom: 6px; }
.portrait__hint { font-family: var(--font-ar); font-weight: 600; color: var(--ink-2); font-size: 16px; }
.portrait__note { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.portrait__note code { background: var(--green-tint); color: var(--green-strong); padding: 1px 6px; border-radius: 5px; }

.funnel-pill {
  position: absolute;
  inset-inline-start: 50%;
  bottom: -18px;
  transform: translateX(50%);
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--dark);
  color: var(--on-dark);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-en); font-weight: 600; font-size: 12.5px; letter-spacing: .05em;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.5);
  z-index: 3;
  white-space: nowrap;
}
html[data-theme="dark"] .funnel-pill { background: var(--dark-soft); border: 1px solid var(--dark-line); }
.funnel-pill i { color: var(--on-dark-muted); font-style: normal; }
.funnel-pill__end { color: var(--green); }

/* =================================================================
   TRUST STRIP
   ================================================================= */
.strip { border-block: 1px solid var(--line); background: var(--bg-soft); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item {
  padding: 30px 24px;
  text-align: center;
  border-inline-start: 1px solid var(--line);
}
.strip-item:first-child { border-inline-start: none; }
.strip-num {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--green);
}
.strip-num em { font-family: var(--font-ar); font-style: normal; font-size: .42em; color: var(--muted); font-weight: 500; margin-inline-start: 4px; }
.strip-label { display: block; margin-top: 9px; font-size: 13.5px; color: var(--muted); }

/* =================================================================
   SECTIONS (general)
   ================================================================= */
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section--tint { background: var(--bg-soft); }
.section-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 40px;
}
.section-no {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  color: var(--green);
  border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 8px;
}
.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.section-title--center { text-align: center; margin-bottom: 46px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 66px); align-items: start; }
.about-body p { color: var(--ink-2); margin-bottom: 18px; }
.about-body strong { color: var(--ink); font-weight: 600; }
.checklist { margin-top: 24px; display: grid; gap: 13px; }
.checklist li {
  position: relative;
  padding-inline-start: 30px;
  color: var(--ink-2);
  font-size: 16px;
}
.checklist li::before {
  content: "";
  position: absolute; inset-inline-start: 0; top: 9px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green-tint);
  box-shadow: inset 0 0 0 1.5px var(--green);
}
.checklist li::after {
  content: "";
  position: absolute; inset-inline-start: 5px; top: 13px;
  width: 4px; height: 7px;
  border-inline-end: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
}

/* =================================================================
   DARK SECTION (Approach + Agency)
   ================================================================= */
.section--dark {
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.section--dark .section-kicker { color: var(--on-dark-muted); }
.section--dark .section-no { color: var(--green); border-color: var(--dark-line); }
.section--dark * { position: relative; }

.pullquote {
  font-size: clamp(1.7rem, 4.6vw, 3.3rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 15ch;
  margin-bottom: 54px;
}

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--dark-line);
  border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden; }
.principle { background: var(--dark); padding: 28px 24px; }
.principle__no {
  font-family: var(--font-mono); font-weight: 600;
  color: var(--green); font-size: 15px;
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--green-tint);
  margin-bottom: 16px;
}
.principle h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.principle p { color: var(--on-dark-muted); font-size: 14.5px; line-height: 1.75; }
.principle strong { color: var(--on-dark); font-weight: 600; }

/* =================================================================
   SERVICES
   ================================================================= */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--bg);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover {
  border-color: color-mix(in srgb, var(--green) 55%, var(--line));
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -32px rgba(22,179,100,.5);
}
.service-card__tag { font-family: var(--font-mono); font-size: 12px; color: var(--green); font-weight: 600; }
.service-card h3 { font-family: var(--font-en); font-size: 21px; font-weight: 600; margin: 12px 0 12px; }
.service-card p { color: var(--muted); font-size: 15.5px; line-height: 1.8; }

/* =================================================================
   WORK / CASES
   ================================================================= */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.case {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px;
  background: var(--bg);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.section--tint .case { background: var(--bg); }
.case:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--green) 45%, var(--line)); }
.case__num {
  font-family: var(--font-en);
  font-size: 2.55rem;
  font-weight: 700;
  line-height: 1;
  color: var(--green);
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.case__num span { font-family: var(--font-ar); font-size: .92rem; font-weight: 500; color: var(--muted); }
.case__num i { font-style: normal; color: var(--ink-2); font-size: 1.6rem; }
.case__meta { margin-top: 14px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.case__note { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.work-more { text-align: center; margin-top: 36px; }
.work-disclaimer { margin-top: 20px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-align: center; }

/* =================================================================
   FIT
   ================================================================= */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.fit-col--yes { background: var(--green-tint); border-color: color-mix(in srgb, var(--green) 30%, transparent); }
.fit-col h3 { font-size: 20px; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.fit-badge { font-family: var(--font-mono); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 7px; letter-spacing: .04em; }
.fit-badge--yes { background: var(--green); color: #fff; }
.fit-badge--no { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-2); }
.fit-col ul { display: grid; gap: 14px; }
.fit-col li { position: relative; padding-inline-start: 26px; color: var(--ink-2); }
.fit-col--yes li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--green-strong); font-weight: 700; }
.fit-col--no li::before { content: "×"; position: absolute; inset-inline-start: 0; color: var(--muted); font-weight: 700; font-size: 19px; line-height: 1.2; }

/* =================================================================
   AGENCY
   ================================================================= */
.section--agency { text-align: center; }
.agency-inner { max-width: 640px; margin-inline: auto; }
.agency-title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; margin: 16px 0 18px; }
.agency-body { color: var(--on-dark-muted); font-size: 17px; line-height: 1.85; }

/* =================================================================
   CONTACT
   ================================================================= */
.section--contact { text-align: center; }
.contact-inner { max-width: 680px; margin-inline: auto; }
.contact-title { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700; margin: 14px 0 18px; line-height: 1.2; }
.contact-body { color: var(--muted); font-size: 17.5px; line-height: 1.85; max-width: 560px; margin-inline: auto; }
.contact-body strong { color: var(--ink); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 34px 0 40px; }
.contact-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  padding-top: 30px; border-top: 1px solid var(--line);
}
.contact-links li {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
}
.contact-links__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-links a { font-size: 14.5px; font-weight: 500; }
.contact-links a:hover { color: var(--green); }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; }
.footer-name { font-weight: 700; font-size: 18px; }
.footer-role { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: 14.5px; color: var(--muted); }
.footer-nav a:hover { color: var(--green); }
.footer-copy { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); }

/* =================================================================
   FEATURED CASE
   ================================================================= */
.case-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.case-feature__body { padding: clamp(28px, 4vw, 50px); }
.case-feature__hook {
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.28;
  margin: 14px 0 8px;
  text-wrap: balance;
}
.case-feature__block { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line-soft); }
.case-feature__block h4 {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 9px;
}
.case-feature__block p { color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }

.case-feature__result {
  background: var(--dark);
  color: var(--on-dark);
  padding: clamp(28px, 4vw, 46px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.case-feature__result::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.case-feature__result > * { position: relative; }
.result__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--on-dark-muted); }
.result__big {
  font-family: var(--font-en);
  font-size: clamp(4rem, 9vw, 6.2rem); font-weight: 700; line-height: 1;
  color: var(--green); margin-top: 6px;
}
.result__big em { font-style: normal; font-size: .4em; }
.result__cap { color: var(--on-dark-muted); margin: 2px 0 26px; }
.result__stats { display: grid; gap: 0; }
.result__stats li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 13px 0; border-top: 1px solid var(--dark-line); font-size: 14px;
}
.result__stats li:last-child { border-bottom: 1px solid var(--dark-line); }
.result__stats span { color: var(--on-dark-muted); }
.result__stats b { font-weight: 600; }

/* =================================================================
   SOCIAL PROOF
   ================================================================= */
.social-inner { max-width: 840px; }
.social-title { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 700; line-height: 1.2; }
.social-sub { color: var(--on-dark-muted); font-size: 17px; line-height: 1.85; margin: 16px 0 32px; max-width: 62ch; }
.social-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--dark-line); border: 1px solid var(--dark-line);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 26px;
}
.social-stats li { background: var(--dark); padding: 26px 18px; text-align: center; }
.social-stats b {
  font-family: var(--font-en); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700;
  color: var(--green); display: block; line-height: 1;
}
.social-stats span { color: var(--on-dark-muted); font-size: 13px; margin-top: 9px; display: block; }
.social-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.social-card {
  display: flex; flex-direction: column; gap: 5px;
  padding: 22px 24px; border: 1px solid var(--dark-line); border-radius: 14px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.social-card:hover { border-color: var(--green); transform: translateY(-3px); background: rgba(255,255,255,.02); }
.social-card__plat { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.social-card__count { font-family: var(--font-en); font-size: 22px; font-weight: 700; color: var(--on-dark); }
.social-card__handle { font-size: 15px; color: var(--on-dark-muted); }
.social-card__cta { color: var(--green); font-size: 14px; font-weight: 600; margin-top: 6px; }

/* =================================================================
   BRAND WALL
   ================================================================= */
.brands-intro { margin-bottom: 36px; }
.brand-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.brand {
  position: relative;
  background: var(--bg);
  min-height: 88px;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  transition: background .25s var(--ease);
}
.section--tint .brand { background: var(--bg-soft); }
.brand span {
  font-family: var(--font-en);
  font-weight: 600; font-size: 16px; letter-spacing: .005em;
  color: var(--ink-2);
  text-align: center; line-height: 1.3;
  transition: color .25s var(--ease);
}
.brand:hover { background: var(--green-tint); }
.brand:hover span { color: var(--green-strong); }
html[data-theme="dark"] .brand:hover span { color: var(--green); }
.brand--active::before {
  content: "";
  position: absolute; top: 12px; inset-inline-end: 12px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
}
.brand-note {
  margin-top: 16px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.brand-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }

/* =================================================================
   PROCESS
   ================================================================= */
.process-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 900px;
  margin-inline: auto;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.step:first-child { border-top: none; }
.step:hover { background: var(--green-tint); }
.step__no { font-family: var(--font-en); font-size: 1.7rem; font-weight: 700; color: var(--green); line-height: 1; }
.step__body h3 { font-size: 19px; font-weight: 600; margin-bottom: 7px; }
.step__body p { color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 56ch; }
.step__when {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em;
  color: var(--muted); white-space: nowrap; padding-top: 6px;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
}

/* =================================================================
   FAQ
   ================================================================= */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 0 24px; background: var(--bg);
  transition: border-color .25s var(--ease);
}
.faq[open] { border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 20px 0; font-weight: 600; font-size: 17px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--green); font-size: 24px; font-weight: 400;
  line-height: 1; transition: transform .25s var(--ease); flex-shrink: 0;
}
.faq[open] summary::after { content: "−"; }
.faq p { color: var(--muted); font-size: 15.5px; line-height: 1.85; padding: 0 0 22px; margin: 0; }

/* =================================================================
   A11Y — skip link, focus, active nav
   ================================================================= */
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px;
  z-index: 200;
  background: var(--green); color: #fff;
  padding: 10px 18px; border-radius: 10px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.nav a.active { color: var(--ink); }
.nav a.active::after { width: 100%; }

/* =================================================================
   REVEAL ANIMATION
   ================================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Premium load sequence (hero) ---- */
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-copy > .eyebrow,
.hero-name, .hero-headline, .hero-sub,
.hero-cta, .hero-tags, .hero-social {
  opacity: 0; animation: riseIn .85s var(--ease) forwards;
}
.hero-copy > .eyebrow { animation-delay: .05s; }
.hero-name       { animation-delay: .15s; }
.hero-headline   { animation-delay: .28s; }
.hero-sub        { animation-delay: .40s; }
.hero-cta        { animation-delay: .52s; }
.hero-tags       { animation-delay: .62s; }
.hero-social     { animation-delay: .70s; }
.hero-visual     { opacity: 0; animation: riseIn 1s var(--ease) .32s forwards; }

/* ---- Ambient float on the funnel pill ---- */
@keyframes floatPill {
  0%, 100% { transform: translateX(50%) translateY(0); }
  50%      { transform: translateX(50%) translateY(-6px); }
}
.funnel-pill { animation: floatPill 4.5s ease-in-out 1.4s infinite; }

/* ---- Header shrink on scroll ---- */
.site-header { transition: background .4s var(--ease), box-shadow .3s var(--ease); }
.header-inner { transition: height .3s var(--ease); }
.site-header.scrolled { box-shadow: 0 8px 26px -18px rgba(0,0,0,.4); }
.site-header.scrolled .header-inner { height: 58px; }

/* ---- Count-up numbers ---- */
.count { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-copy > .eyebrow, .hero-name, .hero-headline, .hero-sub,
  .hero-cta, .hero-tags, .hero-social, .hero-visual, .hero-values { opacity: 1 !important; animation: none !important; }
  .funnel-pill { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; margin-inline: auto; order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0;
    padding: 8px 0;
    transform: translateY(-140%);
    transition: transform .35s var(--ease);
    z-index: 90;
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 28px; }
  .nav a::after { display: none; }
  .menu-btn { display: flex; }
  .header-cta { display: none; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(1), .strip-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .strip-item:nth-child(odd) { border-inline-start: none; }
  .services-grid, .fit-grid { grid-template-columns: 1fr; }
  .case-feature { grid-template-columns: 1fr; }
  .social-cards { grid-template-columns: 1fr; }
  .social-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .principles, .work-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .contact-actions .btn { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
