:root {
  --ink: #171916;
  --muted: #676b65;
  --line: #dedfd9;
  --paper: #ffffff;
  --canvas: #f2f3f0;
  --soft: #f6f7f4;
  --accent: #ffb43c;
  --coral: #ef6f61;
  --mint: #e9eee8;
  --radius: 28px;
  --shadow: 0 26px 70px rgba(18, 22, 17, .09);
  --text-scale: 1;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: calc(16px * var(--text-scale)); }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body.readable-font { font-family: Arial, Helvetica, sans-serif; }
body.grayscale { filter: grayscale(1); }
body.underline-links a:not(.btn):not(.brand) { text-decoration: underline !important; text-underline-offset: 3px; }
body.high-contrast {
  --ink: #000;
  --muted: #202020;
  --line: #000;
  --paper: #fff;
  --canvas: #fff;
  --soft: #fff;
  --accent: #ffd000;
  --mint: #fff;
}
body.high-contrast .btn { border: 2px solid currentColor; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, .btn { cursor: pointer; }
:focus-visible { outline: 3px solid #316bff; outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-shell {
  width: 100%;
  margin: 0;
  background: var(--paper);
  overflow: clip;
}
.container { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-sm { padding: 78px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.05em; line-height: .98; font-weight: 500; }
h1 { font-size: clamp(3.15rem, 6.5vw, 6.25rem); }
h2 { font-size: clamp(2.35rem, 4vw, 4.35rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
p { color: var(--muted); }
.lede { font-size: clamp(1rem, 1.5vw, 1.22rem); max-width: 650px; }
.kicker { color: var(--coral); }
.fine-print { font-size: .78rem; color: #858982; }

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 50;
}
.brand img { width: 210px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; font-size: .85rem; }
.nav a { position: relative; color: #4f534d; }
.nav a::after { content: ""; position: absolute; inset: auto 0 -7px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .2s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.avatar-dot { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 74% 27%; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 50%; }

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17, 20, 16, .13); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-size: .86rem; font-weight: 750; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; position: relative; }
.hero-copy { position: relative; z-index: 2; padding: 72px 0 96px; }
.hero h1 { max-width: 780px; margin: 18px 0 24px; }
.hero h1 { font-size: clamp(3.1rem, 5vw, 5rem); }
.hero h1 .line { display: block; }
.accent-badge { display: inline-grid; place-items: center; width: .58em; aspect-ratio: 1; margin-left: .1em; border-radius: 30%; background: var(--accent); font-size: .32em; vertical-align: .22em; }
.hero-media {
  height: 100%;
  min-height: 620px;
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, #fbf7f0, #eef0e9);
  border-radius: 34px 34px 0 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.proof-chip {
  position: absolute;
  right: 4%;
  bottom: 70px;
  z-index: 4;
  width: 260px;
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: rgba(255,255,255,.94);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.proof-chip img { width: 68px; height: 52px; object-fit: cover; border-radius: 9px; }
.proof-chip strong { display: block; font-size: 1.55rem; line-height: 1; letter-spacing: -.04em; }
.proof-chip small { color: var(--muted); font-size: .67rem; }
.social-proof { margin-top: 58px; }
.stars { color: #f5a800; letter-spacing: 2px; font-size: .75rem; }
.social-proof small { color: var(--muted); margin-left: 8px; font-size: .72rem; }

.split-heading { display: grid; grid-template-columns: 1fr .65fr; gap: 80px; align-items: end; margin-bottom: 55px; }
.split-heading h2 { margin-bottom: 0; }
.bridge { background: var(--canvas); }
.bridge-card { position: relative; height: 520px; overflow: hidden; border-radius: 24px; }
.bridge-card > img { width: 100%; height: 100%; object-fit: cover; }
.bridge-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.62)); }
.bridge-labels { position: absolute; z-index: 2; inset: auto 34px 30px; display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; color: #fff; }
.bridge-labels strong { display: block; margin-bottom: 8px; font-size: .95rem; }
.bridge-labels span { display: block; color: rgba(255,255,255,.74); font-size: .72rem; }
.floating-card {
  position: absolute;
  z-index: 3;
  top: -28px;
  right: 8%;
  width: 360px;
  padding: 26px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.floating-card h3 { margin: 0 0 50px; font-size: 1.72rem; }
.floating-card .mini-row { display: flex; align-items: end; justify-content: space-between; }
.floating-card .thumb { width: 88px; height: 86px; object-fit: cover; border-radius: 14px; }
.circle-arrow { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }

.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 46px; padding: 64px 0 42px; }
.metric { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.metric strong { font-size: clamp(2.8rem,5vw,5rem); font-weight: 400; line-height: 1; letter-spacing: -.07em; }
.metric p { margin: 0; font-size: .75rem; max-width: 150px; }
.people-strip { display: grid; grid-template-columns: repeat(14, 1fr); gap: 15px; align-items: end; padding: 12px 0 0; }
.people-strip img { width: 100%; aspect-ratio: .75; border-radius: 999px 999px 14px 14px; object-fit: cover; filter: saturate(.86); }
.people-strip img:nth-child(3n+1) { height: 70px; }
.people-strip img:nth-child(3n+2) { height: 95px; }
.people-strip img:nth-child(3n) { height: 80px; }

.team-section { background: var(--canvas); }
.team-heading { display: grid; grid-template-columns: 1fr .7fr; gap: 80px; align-items: end; margin-bottom: 54px; }
.team-heading h2 { margin-bottom: 0; }
.team-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 24px 16px; align-items: start; }
.team-card {
  min-width: 0;
  position: relative;
  padding: 14px 12px 18px;
  overflow: hidden;
  border: 1px solid rgba(23,25,22,.06);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(20,23,19,.055);
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card::before {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  top: -32px;
  right: -24px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .24;
}
.team-card:nth-child(4n+2) { background: #edf2ec; }
.team-card:nth-child(4n+3) { background: #fff5eb; }
.team-card:nth-child(4n) { background: #f6eeec; }
.team-card:nth-child(3n+2) { transform: translateY(13px); }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(20,23,19,.1); }
.team-card img {
  width: 86%;
  margin: 5px auto 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px 18px 64px 18px;
  background: #e7e9e2;
  filter: saturate(.92);
}
.team-card h3 { margin: 16px 4px 5px; font-size: 1rem; letter-spacing: -.025em; line-height: 1.15; font-weight: 700; }
.team-card p { margin: 0 4px; font-size: .68rem; line-height: 1.4; }
.team-card.lead { grid-row: 1; }
.team-card.lead.awais { grid-column: 3; }
.team-card.lead.gulfam { grid-column: 4; }
.team-card.lead img { width: 86%; }
.team-card.lead h3 { font-size: 1rem; }
.team-card:nth-child(n+3) { margin-top: 10px; }
.team-grid-nine { grid-template-columns: repeat(4, minmax(0,1fr)); max-width: 1040px; margin-inline: auto; }
.team-grid-nine .team-card.lead.awais { grid-column: 2; }
.team-grid-nine .team-card.lead.gulfam { grid-column: 3; }

.services { background: #fff; }
.services-intro { max-width: 650px; }
.service-list { margin-top: 80px; border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 140px 1fr 48px; gap: 38px; align-items: start; padding: 52px 0; border-bottom: 1px solid var(--line); }
.service-row > span { font-size: .72rem; color: var(--muted); }
.service-main { display: grid; grid-template-columns: .65fr 1fr; gap: 50px; }
.service-main h3 { margin-bottom: 16px; }
.service-main p { max-width: 430px; }
.service-images { display: grid; grid-template-columns: 1.65fr .8fr; gap: 15px; margin-top: 26px; }
.service-images.single { grid-template-columns: 1fr; }
.service-images img { width: 100%; height: 245px; object-fit: cover; border-radius: 17px; }
.service-images img:last-child { object-position: 72% center; }

.case-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 55px; }
.case-card { min-height: 560px; position: relative; padding: 42px; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: var(--soft); }
.case-card.coral { background: #f27567; color: #171916; }
.case-card.dark { background: #191b19; color: #fff; }
.case-card p { color: inherit; opacity: .72; }
.case-logo { height: 42px; width: auto; max-width: 180px; object-fit: contain; object-position: left; }
.case-logo-icon { width: 54px; height: 54px; border-radius: 12px; }
.case-outcome { margin-top: 60px; }
.case-overview { background: var(--canvas); }
.case-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.case-summary-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: var(--shadow); transition: transform .25s ease; }
.case-summary-card:hover { transform: translateY(-5px); }
.case-summary-screen { height: 310px; overflow: hidden; background: #e8eae6; }
.case-summary-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-summary-copy { display: flex; flex: 1; flex-direction: column; padding: 34px; }
.case-summary-copy h2 { margin: 16px 0; font-size: clamp(2rem,3vw,3.15rem); }
.case-summary-copy .text-link { width: max-content; margin-top: auto; }
.case-outcome strong { display: block; font-size: clamp(3.5rem,7vw,6rem); letter-spacing: -.08em; line-height: .9; font-weight: 450; }
.case-outcome span { display: block; margin-top: 12px; font-size: .82rem; }
.case-shot { margin-top: 35px; background: rgba(255,255,255,.75); padding: 10px; border-radius: 16px; transform: rotate(-2deg) translateY(18px); box-shadow: 0 18px 50px rgba(0,0,0,.12); }
.case-shot img { width: 100%; height: 210px; object-fit: cover; object-position: top; border-radius: 10px; }
.case-card.dark .case-shot { background: #303430; transform: rotate(2deg) translateY(18px); }

.center-cta { background: var(--canvas); }
.cta-panel { min-height: 520px; position: relative; display: grid; place-items: center; text-align: center; background: var(--soft); border-radius: 34px; overflow: hidden; }
.cta-panel .inner-copy { max-width: 720px; position: relative; z-index: 2; }
.cta-panel h2 { margin: 12px 0 22px; }
.float-photo { display: none; position: absolute; width: 145px; height: 165px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.float-photo.left { left: 5%; bottom: 62px; transform: rotate(-10deg); }
.float-photo.right { right: 6%; top: 58px; transform: rotate(9deg); }

.footer-hero { position: relative; min-height: 540px; padding: 70px 0 36px; color: #fff; background: #111; }
.footer-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 20%, rgba(239,111,97,.22), transparent 26%), radial-gradient(circle at 65% 70%, rgba(255,180,60,.14), transparent 32%), linear-gradient(125deg,#10120f,#1b1d19 64%,#0d0f0c); }
.footer-content { position: relative; z-index: 2; display: grid; grid-template-columns: 410px 1fr; gap: 80px; }
.lead-form { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; }
.lead-form h3 { margin-bottom: 10px; }
.lead-form p { font-size: .82rem; }
.field { margin: 10px 0; }
.field label { display: block; font-size: .72rem; margin-bottom: 5px; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid #d5d6d1;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
}
.lead-form .btn { width: 100%; margin-top: 7px; }
.form-message { min-height: 20px; margin: 8px 0 0; font-size: .75rem; color: #246d37; }
.footer-copy { display: flex; flex-direction: column; justify-content: center; max-width: 520px; }
.footer-copy h2 { font-size: clamp(2.4rem,4vw,4.2rem); }
.footer-copy p { color: rgba(255,255,255,.68); }
.footer-email { font-size: 1.05rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); width: max-content; }
.footer-nav { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr repeat(3,1fr); gap: 50px; padding-top: 62px; margin-top: 60px; border-top: 1px solid rgba(255,255,255,.18); }
.footer-nav h4 { font-size: .72rem; font-weight: 600; margin-bottom: 16px; color: rgba(255,255,255,.6); }
.footer-nav a { display: block; font-size: .78rem; margin: 8px 0; color: rgba(255,255,255,.82); }
.footer-nav .brand-light { font-size: 1.1rem; font-weight: 750; }
.footer-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 30px; padding-top: 34px; margin-top: 32px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: .7rem; }

/* Internal pages */
.page-hero { padding: 95px 0 90px; background: var(--paper); }
.page-hero h1 { max-width: 1040px; margin: 20px 0 28px; }
.page-hero .lede { max-width: 740px; }
.page-hero.centered { text-align: center; }
.page-hero.centered .lede { margin-inline: auto; }
.feature-band { background: var(--canvas); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 52px; }
.process-card { min-height: 320px; padding: 26px; background: #fff; border-radius: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.process-card .number { font-size: 4rem; color: #dedfd9; line-height: 1; letter-spacing: -.08em; }
.process-card p { font-size: .86rem; }
.deliverables { display: grid; grid-template-columns: .7fr 1fr; gap: 90px; }
.check-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.check-item { padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.check-item::before { content: "✓"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); margin-bottom: 30px; }
.check-item strong { display: block; margin-bottom: 7px; }
.check-item p { margin: 0; font-size: .8rem; }
.faq { max-width: 900px; margin-inline: auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; justify-content: space-between; gap: 30px; text-align: left; padding: 24px 0; border: 0; background: transparent; color: var(--ink); font-weight: 700; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 55px 22px 0; margin: 0; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.case-intro-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; align-items: end; }
.case-jump { display: grid; gap: 14px; }
.case-jump a { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 650; }
.case-study { padding: 110px 0; }
.case-study:nth-child(even) { background: var(--canvas); }
.case-head { display: grid; grid-template-columns: .8fr 1fr; gap: 90px; align-items: start; margin-bottom: 60px; }
.case-head .product-lockup { position: sticky; top: 30px; }
.case-head .product-lockup img { max-height: 55px; width: auto; max-width: 200px; }
.case-head h2 { margin: 24px 0; }
.result-box { padding: 28px; border-radius: 20px; background: var(--ink); color: #fff; margin-top: 32px; }
.result-box strong { display: block; font-size: 3.8rem; letter-spacing: -.07em; line-height: 1; }
.result-box p { margin: 10px 0 0; color: rgba(255,255,255,.7); }
.case-body { display: grid; grid-template-columns: .55fr 1fr; gap: 90px; }
.case-meta { font-size: .78rem; }
.case-meta div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.case-meta span { display: block; color: var(--muted); margin-bottom: 3px; }
.narrative h3 { margin: 54px 0 18px; }
.narrative h3:first-child { margin-top: 0; }
.narrative p, .narrative li { color: var(--muted); font-size: 1.03rem; }
.narrative ul, .narrative ol { padding-left: 22px; }
.narrative li { margin: 10px 0; }
.product-shot-wide { margin: 45px 0; padding: 18px; background: #e8eae6; border-radius: 22px; }
.product-shot-wide img { width: 100%; max-height: 500px; object-fit: cover; object-position: top; border-radius: 13px; }
.quote-block { margin: 45px 0; padding: 30px 34px; border-left: 4px solid var(--accent); background: var(--soft); font-size: 1.35rem; letter-spacing: -.025em; }

.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; min-height: 520px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; }
.post-image { height: 245px; position: relative; overflow: hidden; background: var(--soft); }
.post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-image img { transform: scale(1.035); }
.post-image.graphic { display: grid; place-items: center; padding: 30px; background: #f27567; }
.post-image.graphic.dark { background: #1b1d1a; color: #fff; }
.post-image.graphic.mint { background: #dfe8df; }
.post-image.graphic.gold { background: #ffbf4f; }
.post-image.graphic.soft { background: #eeeae2; }
.post-image.graphic.coral-soft { background: #f3a49b; }
.post-image.graphic .big-number { font-size: 6.5rem; letter-spacing: -.1em; line-height: 1; }
.post-image.graphic .graphic-word { max-width: 90%; text-align: center; font-size: clamp(2rem,4vw,3.5rem); font-weight: 750; letter-spacing: -.075em; line-height: .9; }
.post-content { flex: 1; display: flex; flex-direction: column; padding: 26px; }
.post-content .post-meta { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.post-content h2 { font-size: 2rem; margin: 16px 0; }
.post-content p { font-size: .86rem; }
.post-content .text-link { margin-top: auto; width: max-content; }
.featured-post { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 500px; margin-bottom: 28px; border-radius: 26px; overflow: hidden; background: var(--canvas); }
.featured-post img { width: 100%; height: 100%; object-fit: cover; }
.featured-copy { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.featured-copy h2 { font-size: clamp(2.4rem,4vw,4rem); }

.article-header { padding: 92px 0 70px; text-align: center; }
.article-header h1 { max-width: 1100px; margin: 20px auto 28px; }
.article-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .78rem; }
.article-cover { width: min(1240px,calc(100% - 80px)); height: 600px; margin: 0 auto; border-radius: 26px; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { width: min(790px, calc(100% - 40px)); margin: 0 auto; padding: 90px 0 120px; }
.article-body .intro { font-size: 1.35rem; color: var(--ink); }
.article-body h2 { font-size: clamp(2.2rem,4vw,3.3rem); margin: 70px 0 20px; }
.article-body h3 { font-size: 1.65rem; margin: 40px 0 14px; }
.article-body p, .article-body li { font-size: 1.05rem; color: #555a53; line-height: 1.8; }
.article-body li { margin: 11px 0; }
.article-callout { margin: 42px 0; padding: 30px; border-radius: 18px; background: var(--canvas); }
.article-callout strong { display: block; font-size: 1.25rem; margin-bottom: 8px; }
.article-table { width: 100%; border-collapse: collapse; margin: 38px 0; font-size: .87rem; }
.article-table th, .article-table td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

.legal { width: min(860px,calc(100% - 40px)); margin: 0 auto; padding: 90px 0 120px; }
.legal h1 { font-size: clamp(3.2rem,6vw,5.6rem); }
.legal h2 { font-size: 2rem; margin: 52px 0 16px; }
.legal h3 { font-size: 1.25rem; margin: 28px 0 10px; letter-spacing: -.025em; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { padding-bottom: 30px; border-bottom: 1px solid var(--line); }

/* Accessibility panel */
.a11y-trigger { position: fixed; z-index: 100; left: 18px; bottom: 18px; width: 50px; height: 50px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.a11y-trigger svg { width: 24px; }
.a11y-panel { position: fixed; z-index: 120; left: 18px; bottom: 78px; width: min(330px,calc(100% - 36px)); padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: #171916; box-shadow: var(--shadow); transform: translateY(12px); opacity: 0; pointer-events: none; transition: .2s ease; }
.a11y-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.a11y-head strong { font-size: 1rem; }
.a11y-close { border: 0; background: transparent; font-size: 1.4rem; }
.a11y-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.a11y-option { min-height: 64px; padding: 8px; border: 1px solid #d9dad5; border-radius: 10px; background: #fff; color: #171916; font-size: .72rem; }
.a11y-option[aria-pressed="true"] { background: #171916; color: #fff; }
.a11y-reset { width: 100%; margin-top: 9px; min-height: 40px; border: 0; border-radius: 8px; background: #f0f1ee; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }

@media (max-width: 1040px) {
  .container { width: min(100% - 48px, 900px); }
  .nav { display: none; position: absolute; top: 80px; left: 0; right: 0; padding: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: flex-start; }
  .nav.open { display: flex; }
  .menu-toggle { display: grid; place-items: center; }
  .header-actions > .btn, .avatar-dot { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 20px; }
  .hero-media { min-height: 560px; margin: 0; border-radius: 28px 28px 0 0; }
  .proof-chip { bottom: 35px; }
  .split-heading, .deliverables, .case-intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .metrics { gap: 24px; }
  .metric { grid-template-columns: 1fr; gap: 8px; }
  .service-main { grid-template-columns: 1fr; gap: 12px; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .footer-content { grid-template-columns: 360px 1fr; gap: 50px; }
  .case-head, .case-body { grid-template-columns: 1fr; gap: 40px; }
  .case-head .product-lockup { position: static; }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .team-card.lead.awais { grid-column: 2; }
  .team-card.lead.gulfam { grid-column: 3; }
}

@media (max-width: 720px) {
  .site-shell { width: 100%; margin: 0; }
  .container { width: calc(100% - 36px); }
  .site-header { min-height: 76px; }
  .brand img { width: 168px; }
  .section { padding: 78px 0; }
  .section-sm { padding: 58px 0; }
  h1 { font-size: clamp(3rem,14vw,4.5rem); }
  h2 { font-size: clamp(2.3rem,11vw,3.5rem); }
  .hero { min-height: auto; }
  .hero-copy { padding: 58px 0 25px; }
  .hero-media { min-height: 430px; }
  .hero-media img { object-position: center bottom; }
  .proof-chip {
    position: relative;
    width: 230px;
    right: auto;
    bottom: auto;
    margin: 16px 0 24px auto;
  }
  .social-proof { margin-top: 38px; }
  .bridge-card { height: 580px; }
  .bridge-labels { grid-template-columns: 1fr; gap: 15px; }
  .bridge-labels div:nth-child(n+3) { display: none; }
  .floating-card { top: 18px; left: 18px; right: 18px; width: auto; }
  .metrics { grid-template-columns: 1fr; }
  .metric { grid-template-columns: 150px 1fr; }
  .people-strip { grid-template-columns: repeat(7,1fr); }
  .people-strip img:nth-child(n+8) { display: none; }
  .team-heading { grid-template-columns: 1fr; gap: 22px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 12px; }
  .team-grid-nine { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .team-card.lead, .team-card.lead.awais, .team-card.lead.gulfam { grid-column: auto; grid-row: auto; }
  .team-grid-nine .team-card.lead.awais, .team-grid-nine .team-card.lead.gulfam { grid-column: auto; }
  .team-card:nth-child(n+3) { margin-top: 0; }
  .team-card:nth-child(3n+2) { transform: none; }
  .team-card { padding: 10px 8px 14px; border-radius: 19px; }
  .team-card img { width: 90%; border-radius: 14px 14px 42px 14px; }
  .service-row { grid-template-columns: 1fr 42px; gap: 20px; }
  .service-row > span { grid-column: 1 / -1; }
  .service-images { grid-template-columns: 1fr .8fr; }
  .service-images img { height: 190px; }
  .case-grid, .blog-grid { grid-template-columns: 1fr; }
  .case-summary-grid { grid-template-columns: 1fr; }
  .case-summary-screen { height: 230px; }
  .case-card { min-height: 520px; padding: 28px; }
  .cta-panel { min-height: 560px; padding: 80px 24px; }
  .float-photo { width: 90px; height: 105px; opacity: .72; }
  .float-photo.left { left: -10px; bottom: 18px; }
  .float-photo.right { right: -6px; top: 20px; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-copy { grid-row: 1; }
  .footer-nav { grid-template-columns: repeat(2,1fr); }
  .footer-bottom { flex-direction: column; }
  .process-grid, .check-list { grid-template-columns: 1fr; }
  .case-jump { margin-top: 12px; }
  .result-box strong { font-size: 3.1rem; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post > a { min-height: 280px; }
  .featured-copy { padding: 32px; }
  .article-cover { width: calc(100% - 36px); height: 380px; }
  .article-body { padding-top: 65px; }
  .article-table { display: block; overflow-x: auto; }
}
