/* ===========================
   Tawr — demo site
   =========================== */

:root {
  --lilac: #d8befd;
  --ink: #030b0d;
  --bg: var(--lilac);
  --fg: var(--ink);
  --fg-dim: #3f3650;
  --accent: var(--ink);
  --on-accent: var(--lilac);
  --line: #a78fcb;
  --radius: 18px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --space: clamp(4.5rem, 10vw, 8.5rem);
  --ff-display: "Unbounded", "Alexandria", sans-serif;
  --ff-body: "Alexandria", sans-serif;
  /* Unbounded runs far wider than Alexandria, so English display type is smaller. */
  --h1: clamp(1.9rem, 4vw, 4.2rem);
  --h2: clamp(1.5rem, 2.8vw, 2.8rem);
  --lh-display: 1.18;
  --weight-display: 800;
  --track-display: -0.02em;
}

html[lang="ar"] {
  --ff-display: "Alexandria", sans-serif;
  --h1: clamp(2.3rem, 5vw, 5.2rem);
  --h2: clamp(1.8rem, 3.4vw, 3.4rem);
  --lh-display: 1.35;
  --weight-display: 900;
  --track-display: normal;
}

.footer {
  --bg: var(--ink);
  --fg: var(--lilac);
  --fg-dim: #b6a3d4;
  --accent: var(--lilac);
  --on-accent: var(--ink);
  --line: #2f2a3d;
  background: var(--bg);
  color: var(--fg);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-body);
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }

h1, h2 {
  font-family: var(--ff-display);
  font-weight: var(--weight-display);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }

.label { display: block; color: var(--fg-dim); font-size: 0.95rem; margin-bottom: 0.8rem; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--fg); }
.btn--outline:hover { background: var(--accent); color: var(--on-accent); }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  background: var(--bg);
}
.nav__brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.nav__brand img { height: 26px; width: auto; }
.nav__ar { font-family: "Alexandria", var(--ff-body); font-weight: 900; font-size: 1.35rem; line-height: 1; padding-inline-start: 0.6rem; border-inline-start: 1.5px solid currentColor; }
.nav__links { display: flex; align-items: center; gap: 2rem; font-size: 0.95rem; }
.nav__links a.is-active { text-decoration: underline; text-underline-offset: 0.4em; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 0.4em; }
.nav__links .nav__lang {
  padding: 0.25rem 0.9rem;
  border: 1px solid var(--fg);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__links .nav__lang:hover { background: var(--accent); color: var(--on-accent); }
.nav__menu-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav__menu-btn span { width: 22px; height: 2px; background: var(--fg); transition: transform 0.3s ease; }

/* ---------- Hero: headline + a moving strip of sites we built ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(1.25rem, 3.5vh, 2.5rem);
  overflow: hidden;
  text-align: center;
}
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 58rem;
  padding: 0 var(--gutter);
}
.hero__tag {
  margin-bottom: 1.1rem;
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  color: var(--fg-dim);
  font-size: 0.85rem;
  font-weight: 500;
  animation: hero-up 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero h1 { font-size: clamp(2.1rem, 5.6vw, 5.2rem); }
/* Taller lines in Arabic: at 1.35 the dots under «ي» in «نبني» sat on the
   dots of «ت» in «وتطبيقك» and read as one letter with four dots. */
html[lang="ar"] .hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.7; }
.hero__word {
  display: inline-block;
  animation: hero-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(0.12s + var(--i) * 0.09s);
}
.hero__text p {
  max-width: 32rem;
  margin-top: 1rem;
  color: var(--fg-dim);
  font-size: 1.15rem;
  line-height: 1.7;
  animation: hero-up 0.8s 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero__text .btn {
  margin-top: 1.6rem;
  padding: 0.95rem 2.2rem;
  font-size: 1rem;
  animation: hero-up 0.8s 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero__marquee {
  width: 100%;
  direction: ltr; /* keeps the strip anchored on the left on Arabic pages too */
  padding: clamp(1.75rem, 4vh, 2.5rem) 0 clamp(1.75rem, 4vh, 2.75rem);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
/* Two identical sets side by side (script.js adds the copy); sliding by one
   set's width and starting over makes an endless loop. */
.hero__track { display: flex; width: max-content; }
.hero__track.is-looping { animation: hero-marquee 55s linear infinite; }
.hero__set { display: flex; }
.hero__card {
  flex: 0 0 auto;
  height: clamp(15rem, 40vh, 24rem);
  aspect-ratio: 3 / 4;
  margin-right: clamp(0.9rem, 1.6vw, 1.4rem);
  transform: rotate(-2deg);
}
.hero__card:nth-child(even) { transform: rotate(4deg); }
.hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  background: #efe4fe;
  box-shadow: 0 22px 40px -20px rgba(3, 11, 13, 0.55), 0 0 0 1px rgba(3, 11, 13, 0.06);
}

@keyframes hero-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-marquee {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__tag, .hero__word, .hero__text p, .hero__text .btn, .hero__track.is-looping { animation: none; }
}

/* ---------- Rafiq feature (browser + phone mockup, from 21st.dev "hero-with-product-mockup") ---------- */
.feature {
  --bg: #ffffff;
  --fg-dim: #4a4458;
  --line: #e7e3ee;
  --tilt: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  padding: var(--space) var(--gutter);
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
}
.feature__text > p { margin: 1rem 0 1.8rem; color: var(--fg-dim); font-size: 1.1rem; line-height: 1.7; max-width: 32rem; }
.btn__arrow { display: inline-block; margin-inline-start: 0.5rem; }
[dir="rtl"] .btn__arrow { transform: scaleX(-1); }

.mockup {
  position: relative;
  width: 100%;
  max-width: 40rem;
  margin: 2rem auto 3rem;
  isolation: isolate;
}
/* the two coloured windows stacked behind */
.mockup::before, .mockup::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  box-shadow: 0 18px 40px -12px rgba(3, 11, 13, 0.25);
  z-index: -1;
}
.mockup::before {
  background: linear-gradient(135deg, #e6d4fe, var(--lilac));
  transform: translate(calc(var(--tilt) * -1rem), -1rem) rotate(calc(var(--tilt) * 6deg));
}
.mockup::after {
  background: linear-gradient(135deg, #b99af0, #9a78db);
  transform: translate(calc(var(--tilt) * -2rem), -2rem) rotate(calc(var(--tilt) * 12deg));
  z-index: -2;
}

.browser {
  direction: ltr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(3, 11, 13, 0.35);
  transform: rotate(calc(var(--tilt) * 2deg));
  transition: transform 0.3s ease;
}
.browser:hover { transform: rotate(calc(var(--tilt) * 1deg)); }
.browser__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.1rem;
  background: #f6f4f9;
  border-bottom: 1px solid var(--line);
}
.browser__dots { display: flex; gap: 0.4rem; }
.browser__dots i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #ef4444; }
.browser__dots i:nth-child(2) { background: #eab308; }
.browser__dots i:nth-child(3) { background: #22c55e; }
.browser__nav { display: flex; gap: 0.6rem; color: #8a8496; }
.browser__nav svg { width: 1rem; height: 1rem; }
.browser__url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 22rem;
  margin: 0 auto;
  padding: 0.4rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #6b6578;
  font-size: 0.85rem;
}
.browser__url svg { width: 0.85rem; height: 0.85rem; flex: none; }
.browser__star {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.5rem;
  background: #ece8f2;
  font-size: 0.75rem;
}
.browser__shot { display: block; width: 100%; height: auto; }

.phone {
  direction: ltr;
  position: absolute;
  bottom: -3rem;
  right: -1.5rem;
  width: 30%;
  aspect-ratio: 9 / 19.5;
  padding: 0.45rem;
  background: #0f1419;
  border-radius: 2.2rem;
  box-shadow: 0 30px 50px -12px rgba(3, 11, 13, 0.5);
  transform: rotate(-12deg);
  transition: transform 0.3s ease;
}
.phone:hover { transform: rotate(-6deg); }
.phone__screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 1.8rem;
  background: #fff;
}
.phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 1rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink);
}
.phone__battery { display: flex; align-items: center; gap: 0.25rem; color: #6b6578; font-weight: 500; }
.phone__battery i { width: 0.9rem; height: 0.45rem; border-radius: 2px; background: #22c55e; }
.phone__shot { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top center; }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-bottom: 2rem; color: var(--fg-dim); }
.facts strong { color: var(--fg); font-weight: 700; }

/* ---------- What we build ---------- */
.build { padding: var(--space) var(--gutter); }
.build h2 { margin-bottom: 2.5rem; }
.build__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.build__grid img { width: 100%; border-radius: var(--radius); margin-bottom: 1.2rem; }
.build__grid h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.4rem; }
.build__grid p { color: var(--fg-dim); line-height: 1.7; }

/* ---------- Inner pages ---------- */
.page-header { max-width: 52rem; padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(2.5rem, 5vw, 4rem); }
.page-header p { max-width: 36rem; margin-top: 1.4rem; color: var(--fg-dim); font-size: 1.15rem; line-height: 1.7; }
.page-header--solo { min-height: 62vh; }
.page-header .actions { margin-top: 2.2rem; }

.case { padding: 0 var(--gutter) var(--space); }
.case__shot { width: 100%; border-radius: var(--radius); }
.case__summary {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto auto;
  gap: 1.5rem 3rem;
  align-items: center;
  padding: 2.5rem 0 var(--space);
}
.case__summary p { font-size: 1.15rem; line-height: 1.7; }
.case__summary .facts { margin-bottom: 0; }
.case__phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.case__phones img { width: 100%; border-radius: var(--radius); margin-bottom: 1rem; }
.case__phones figcaption { color: var(--fg-dim); line-height: 1.6; }

.steps { padding: 0 var(--gutter) var(--space); }
.steps h2 { margin-bottom: 2rem; }
.steps li {
  display: flex;
  gap: 2rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li span { color: var(--fg-dim); font-weight: 400; }

/* ---------- Footer ---------- */
.footer { padding: 0 var(--gutter) 2rem; }
.footer__cta { padding: var(--space) 0; }
.footer__cta h2 { margin-bottom: 1.8rem; }

/* Shimmer button (after 21st.dev "Shimmer Button" by dillionverma): a light runs
   around the edge of the button. script.js adds .btn--shimmer and the spark span
   to the footer button; without JS it stays a plain .btn. The spark slides from
   one end to the other while it turns, so it moves at an even speed on a wide pill. */
.btn--shimmer {
  --speed: 3s;
  --spread: 90deg;
  --cut: 0.14em;
  --ring: #8f6ad9; /* a deeper lilac edge, so the white light shows on the lilac button */
  --shimmer-color: #ffffff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ring);
  border-color: var(--ring);
}
.btn--shimmer:active { transform: translateY(1px); }
.btn__spark { position: absolute; inset: 0; z-index: -2; container-type: size; filter: blur(2px); pointer-events: none; }
.btn__spark i {
  position: absolute;
  top: -100cqh;
  left: -100cqh;
  width: 300cqh;
  height: 300cqh;
  background: conic-gradient(from calc(270deg - (var(--spread) * 0.5)), transparent 0, var(--shimmer-color) var(--spread), transparent var(--spread));
  animation: shimmer-slide var(--speed) ease-in-out infinite alternate, shimmer-spin calc(var(--speed) * 2) linear infinite;
}
/* Covers the middle, so the light shows only in a thin ring at the edge. */
.btn--shimmer::after { content: ""; position: absolute; inset: var(--cut); z-index: -1; border-radius: inherit; background: var(--accent); }
@keyframes shimmer-slide { to { translate: calc(100cqw - 100cqh) 0; } }
@keyframes shimmer-spin {
  0% { rotate: 0deg; }
  15%, 35% { rotate: 90deg; }
  65%, 85% { rotate: 270deg; }
  100% { rotate: 360deg; }
}
@media (prefers-reduced-motion: reduce) { .btn__spark { display: none; } }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--line);
}
.footer__brand img { height: 26px; width: auto; margin-bottom: 0.7rem; }
.footer__brand p { color: var(--fg-dim); font-size: 0.95rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; font-size: 0.95rem; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 0.4em; }
.footer__legal { color: var(--fg-dim); font-size: 0.8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature .mockup { order: -1; }
  .phone { right: 0; bottom: -2rem; width: 34%; padding: 0.3rem; border-radius: 1.5rem; }
  .phone__screen { border-radius: 1.25rem; }
  .phone__status { padding: 0.3rem 0.7rem; font-size: 0.5rem; }
  .phone__battery i { width: 0.6rem; height: 0.3rem; }
  .case__summary { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}

@media (max-width: 760px) {
  /* Mobile menu: the link list becomes a full-screen overlay. */
  .nav__menu-btn { display: flex; position: relative; z-index: 2; padding: 0.6rem; margin: -0.6rem; }
  .nav__brand { position: relative; z-index: 2; }
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.2rem;
    padding: var(--gutter);
    background: var(--bg);
    font-family: var(--ff-display);
    font-size: 1.8rem;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links .nav__lang { margin-top: 1rem; font-size: 1.1rem; font-weight: 500; padding: 0.4rem 1.2rem; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav__menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
  body.menu-open .nav__menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .build__grid { grid-template-columns: minmax(0, 1fr); }
  .case__phones { grid-template-columns: minmax(0, 1fr); max-width: 22rem; }
}

/* ===========================
   v22: full site — shared sections
   =========================== */

/* Scroll reveal. Only hidden when JS is running (html.js is set in <head>),
   so the page still reads fine without scripts. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

.section { padding: var(--space) var(--gutter); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head h2 { max-width: 40rem; }
.section__head p { max-width: 30rem; color: var(--fg-dim); line-height: 1.7; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1px; }
.link-arrow:hover { text-decoration-thickness: 2px; }
.link-arrow span { display: inline-block; }
[dir="rtl"] .link-arrow span { transform: scaleX(-1); }

/* Dark band: same colour swap as the footer (lilac on ink, never white on lilac). */
.band-dark {
  --bg: var(--ink);
  --fg: var(--lilac);
  --fg-dim: #b6a3d4;
  --accent: var(--lilac);
  --on-accent: var(--ink);
  --line: #2f2a3d;
  background: var(--bg);
  color: var(--fg);
}
.band-white { --bg: #ffffff; --fg-dim: #4a4458; --line: #e7e3ee; background: var(--bg); color: var(--fg); }

/* ---------- Clients strip (names of the businesses we built for) ---------- */
.clients { padding: clamp(1.5rem, 3vw, 2.2rem) var(--gutter); border-top: 1px solid var(--line); text-align: center; }
.clients p { color: var(--fg-dim); font-size: 0.9rem; margin-bottom: 1rem; }
.clients ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2.2rem; }
.clients li { font-family: "Unbounded", var(--ff-body); font-weight: 700; font-size: clamp(0.85rem, 1.3vw, 1.05rem); letter-spacing: -0.01em; }
.clients a { opacity: 0.8; transition: opacity 0.2s ease; }
.clients a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 0.3em; }

/* ---------- Services bento (layout after 21st.dev "bento-grid") ---------- */
.services__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(0.9rem, 1.6vw, 1.25rem); }
.svc {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.svc:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.7); box-shadow: 0 22px 40px -26px rgba(3, 11, 13, 0.5); }
.svc--wide { grid-column: span 3; }
.svc--ink { background: var(--ink); color: var(--lilac); border-color: var(--ink); }
.svc--ink:hover { background: #10181b; }
.svc--ink p { color: #b6a3d4; }
.svc__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 0.9rem; background: var(--ink); color: var(--lilac); }
.svc--ink .svc__icon { background: var(--lilac); color: var(--ink); }
.svc__icon svg { width: 1.5rem; height: 1.5rem; }
.svc h3 { font-size: 1.25rem; font-weight: 700; margin-top: 0.4rem; }
.svc p { color: var(--fg-dim); line-height: 1.7; }
.svc .link-arrow { margin-top: auto; padding-top: 0.6rem; font-size: 0.92rem; }

/* ---------- Project cards (real work, two shots that swap on hover) ---------- */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.6vw, 2.2rem); }
.project { display: flex; flex-direction: column; }
.project__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: #efe4fe;
  box-shadow: 0 0 0 1px rgba(3, 11, 13, 0.06);
}
.project__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity 0.5s ease, transform 0.6s ease; }
.project__media img + img { opacity: 0; }
.project:hover .project__media img { transform: scale(1.03); }
.project:hover .project__media img + img { opacity: 1; }
.project__kind { display: inline-block; margin-top: 1.1rem; color: var(--fg-dim); font-size: 0.85rem; }
.project h3 { font-size: 1.25rem; font-weight: 700; margin: 0.15rem 0 0.4rem; }
.project p { color: var(--fg-dim); line-height: 1.7; }
.project .link-arrow { margin-top: 0.8rem; font-size: 0.92rem; align-self: flex-start; }

/* ---------- Process (after 21st.dev "feature-steps") ---------- */
.process__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); counter-reset: step; }
.process__list li { position: relative; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.process__list li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 1.1rem;
  font-family: "Unbounded", var(--ff-body);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  color: var(--accent);
}
.process__list h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.45rem; }
.process__list p { color: var(--fg-dim); line-height: 1.7; }

/* ---------- FAQ (after 21st.dev "FAQ Accordion Section") ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__intro p { margin-top: 1rem; color: var(--fg-dim); line-height: 1.7; max-width: 24rem; }
.faq__intro .btn { margin-top: 1.6rem; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 0;
  cursor: pointer;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 600;
  list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--fg);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform 0.3s ease, background 0.2s ease;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--lilac); border-color: var(--ink); }
.faq__list details p { padding: 0 0 1.4rem; max-width: 38rem; color: var(--fg-dim); line-height: 1.8; }

/* ---------- Services page: one row per service ---------- */
.svc-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.2rem clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5rem;
}
.svc-rows .svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row .svc__icon { width: 3.4rem; height: 3.4rem; }
.svc-row h2 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
.svc-row__lead { margin-top: 0.8rem; color: var(--fg-dim); font-size: 1.08rem; line-height: 1.75; max-width: 30rem; }
.svc-row h3 { font-size: 0.85rem; font-weight: 600; color: var(--fg-dim); margin-bottom: 0.8rem; }
.ticks li { position: relative; padding-inline-start: 1.7rem; margin-bottom: 0.65rem; line-height: 1.6; }
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.3em;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23d8befd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.3rem; }
.chips li { padding: 0.35rem 0.95rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.88rem; background: rgba(255, 255, 255, 0.35); }

.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.perks li { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
.perks h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.45rem; }
.perks p { color: var(--fg-dim); line-height: 1.7; font-size: 0.95rem; }

/* ---------- About ---------- */
.statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.statement__big { font-family: var(--ff-display); font-weight: var(--weight-display); font-size: clamp(1.4rem, 2.6vw, 2.4rem); line-height: var(--lh-display); letter-spacing: var(--track-display); }
.statement__body p { color: var(--fg-dim); font-size: 1.08rem; line-height: 1.85; }
.statement__body p + p { margin-top: 1.1rem; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.values li { padding: clamp(1.5rem, 2.6vw, 2.2rem); border-radius: var(--radius); background: rgba(255, 255, 255, 0.42); border: 1px solid var(--line); }
.values .svc__icon { margin-bottom: 1.2rem; }
.values h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.values p { color: var(--fg-dim); line-height: 1.7; }

.sectors { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.sectors li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.8rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 600;
}
.sectors small { color: var(--fg-dim); font-weight: 400; font-size: 0.82em; }

/* ---------- Contact: message builder ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding: clamp(3rem, 7vw, 6rem) var(--gutter) var(--space); }
.contact__intro p { margin-top: 1.4rem; max-width: 30rem; color: var(--fg-dim); font-size: 1.15rem; line-height: 1.7; }
.contact__direct { display: grid; gap: 0.8rem; margin-top: 2.2rem; max-width: 26rem; }
.contact__direct a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.2s ease;
}
.contact__direct a:hover { background: rgba(255, 255, 255, 0.7); }
.contact__direct .svc__icon { width: 2.6rem; height: 2.6rem; flex: none; }
.contact__direct strong { display: block; font-weight: 700; }
.contact__direct small { color: var(--fg-dim); font-size: 0.9rem; }

.builder { padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: calc(var(--radius) + 6px); background: #ffffff; box-shadow: 0 30px 60px -30px rgba(3, 11, 13, 0.45); }
.builder h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.builder > p { margin-top: 0.5rem; color: #4a4458; line-height: 1.6; }
.field { display: grid; gap: 0.5rem; margin-top: 1.3rem; }
.field > span, .field legend { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; }
.field > span { margin-bottom: 0; }
.field input, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #ddd3ec;
  border-radius: 0.8rem;
  background: #faf7ff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: transparent; }
fieldset.field { border: 0; display: block; }
.picks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.picks label { position: relative; cursor: pointer; }
.picks input { position: absolute; opacity: 0; pointer-events: none; }
.picks span { display: inline-block; padding: 0.5rem 1rem; border: 1px solid #ddd3ec; border-radius: 999px; font-size: 0.92rem; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.picks input:checked + span { background: var(--ink); color: var(--lilac); border-color: var(--ink); }
.picks input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.builder .btn { margin-top: 1.6rem; width: 100%; text-align: center; padding: 1rem; font-size: 1rem; cursor: pointer; font-family: inherit; }
.builder__note { margin-top: 0.8rem; color: #4a4458; font-size: 0.88rem; line-height: 1.6; text-align: center; }
.builder__status { margin-top: 0.8rem; padding: 0.8rem 1rem; border-radius: 0.8rem; background: #efe4fe; font-size: 0.92rem; line-height: 1.6; }
.builder__status[hidden] { display: none; }
.builder__status pre { margin-top: 0.6rem; white-space: pre-wrap; font: inherit; font-size: 0.88rem; color: #4a4458; user-select: all; }

/* ---------- Responsive for the new sections ---------- */
@media (max-width: 960px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc, .svc--wide { grid-column: span 1; }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; }
  .faq, .statement, .contact { grid-template-columns: minmax(0, 1fr); }
  .svc-row { grid-template-columns: 3.6rem minmax(0, 1fr); }
  .svc-row > :last-child { grid-column: 2; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .services__grid, .projects, .process__list, .perks { grid-template-columns: minmax(0, 1fr); }
  .svc-row { grid-template-columns: minmax(0, 1fr); }
  .svc-row > :last-child { grid-column: auto; }
  .clients ul { gap: 0.5rem 1.4rem; }
}

.hero__text .actions { justify-content: center; }
.section--flush { padding-top: 0; }

/* ===========================
   v23: home page — numbers, why us, trust & privacy, reach us; privacy page
   =========================== */

/* Three short trust facts under the hero buttons */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 1.4rem;
  color: var(--fg-dim);
  font-size: 0.92rem;
  animation: hero-up 0.8s 0.78s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero__trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__trust li::before { content: ""; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--ink); }
.hero__trust strong { color: var(--fg); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .hero__trust { animation: none; } }

/* ---------- Numbers (after 21st.dev "stats-info-and-numbers": headline + four value/label pairs) ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.stats__grid li { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.stats__num {
  display: block;
  font-family: "Unbounded", var(--ff-body);
  font-weight: 800;
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.stats__grid p { margin-top: 0.9rem; max-width: 15rem; color: var(--fg-dim); line-height: 1.6; }

/* ---------- Why Tawr (after 21st.dev "feature-section": icon grid + closing CTA card) ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.9rem, 1.6vw, 1.25rem); }
.why li {
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  transition: transform 0.25s ease, background 0.25s ease;
}
.why li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.7); }
.why h3 { font-size: 1.18rem; font-weight: 700; margin: 1.1rem 0 0.45rem; }
.why p { color: var(--fg-dim); line-height: 1.7; }
.why .why__cta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--lilac);
}
.why .why__cta:hover { transform: none; background: #10181b; }
.why__cta h3 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.why__cta p { margin-top: 0.35rem; color: #b6a3d4; }
.why__cta .btn { background: var(--lilac); color: var(--ink); border-color: var(--lilac); }

/* ---------- How we work: what you get at each step ---------- */
/* The «you get» lines sit level at the bottom of each step, however long the text above is. */
.process__list li:has(.process__get) { display: flex; flex-direction: column; }
.process__list li > p:has(+ .process__get) { margin-bottom: 0.9rem; }
.process__list .process__get { margin-top: auto; padding-top: 0.8rem; border-top: 1px dashed var(--line); color: var(--fg); font-size: 0.92rem; }
.process__get b { font-weight: 700; }
.process__note { display: flex; align-items: center; gap: 0.9rem; margin-top: clamp(2.2rem, 4vw, 3rem); color: var(--fg-dim); line-height: 1.6; }
.process__note .svc__icon { flex: none; width: 2.6rem; height: 2.6rem; background: var(--lilac); color: var(--ink); }
.process__note .svc__icon svg { width: 1.3rem; height: 1.3rem; }

/* ---------- Trust & privacy ---------- */
.trust { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.trust__intro > p { margin-top: 1rem; max-width: 34rem; color: var(--fg-dim); font-size: 1.05rem; line-height: 1.75; }
.trust .ticks { margin-top: 1.8rem; }
.trust .ticks li { margin-bottom: 0.95rem; line-height: 1.7; }
.trust .ticks a, .faq__list details p a { text-decoration: underline; text-underline-offset: 0.3em; }
.privacy-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: calc(var(--radius) + 6px);
  background: var(--ink);
  color: var(--lilac);
  box-shadow: 0 30px 60px -30px rgba(3, 11, 13, 0.55);
}
.privacy-card .svc__icon { background: var(--lilac); color: var(--ink); }
.privacy-card h3 {
  margin: 1.2rem 0 1.3rem;
  font-family: var(--ff-display);
  font-weight: var(--weight-display);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: var(--lh-display);
}
.privacy-card .ticks li { color: #e6d8fb; }
.privacy-card .ticks li::before {
  background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23030b0d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.privacy-card .link-arrow { margin-top: 0.8rem; }

/* ---------- Reach us (after 21st.dev "contact-page": one card per way in, with copy) ---------- */
.reach { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.9rem, 1.6vw, 1.25rem); }
.reach__card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #faf7ff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.reach__card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(3, 11, 13, 0.5); }
.reach__card h3 { margin-top: 0.6rem; font-size: 1.12rem; font-weight: 700; }
.reach__card p { color: var(--fg-dim); line-height: 1.65; }
.reach__card .link-arrow { margin-top: auto; padding-top: 0.6rem; font-size: 0.92rem; }
.reach__card--main { background: var(--ink); border-color: var(--ink); color: var(--lilac); }
.reach__card--main p { color: #b6a3d4; }
.reach__card--main .svc__icon { background: var(--lilac); color: var(--ink); }
.reach__handle { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.7rem; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.copy-btn:hover { background: var(--ink); color: var(--lilac); }
.copy-btn svg { width: 0.9rem; height: 0.9rem; }

/* ---------- Privacy page ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 46rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding: 0 var(--gutter) var(--space); }
.legal__toc { position: sticky; top: 5.5rem; display: grid; gap: 0.6rem; font-size: 0.92rem; }
.legal__toc strong { margin-bottom: 0.3rem; font-weight: 700; }
.legal__toc a { color: var(--fg-dim); }
.legal__toc a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 0.3em; }
.legal__short { margin-bottom: 1rem; padding: clamp(1.4rem, 2.6vw, 2rem); border-radius: var(--radius); background: #fff; }
.legal__short h2 { margin-bottom: 1.1rem; font-family: var(--ff-body); font-size: 1.2rem; font-weight: 700; line-height: 1.4; }
.legal__short .ticks li { line-height: 1.7; }
.legal section { padding: 2rem 0; border-top: 1px solid var(--line); scroll-margin-top: 5rem; }
.legal section:first-of-type { border-top: 0; }
.legal section h2 { margin-bottom: 1rem; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.legal section p, .legal section li { color: var(--fg-dim); line-height: 1.85; }
.legal section p + p, .legal section p + ul, .legal section ul + p { margin-top: 0.8rem; }
.legal section ul { display: grid; gap: 0.5rem; }
.legal section ul li { position: relative; padding-inline-start: 1.2rem; }
.legal section ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.8em; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--ink); }
.legal section strong { color: var(--fg); }
.legal a { text-decoration: underline; text-underline-offset: 0.3em; }
.legal code { padding: 0.05rem 0.35rem; border-radius: 0.35rem; background: rgba(255, 255, 255, 0.55); font-family: ui-monospace, Consolas, monospace; font-size: 0.88em; direction: ltr; unicode-bidi: isolate; }

/* ---------- Responsive for v23 ---------- */
@media (max-width: 960px) {
  .stats__grid, .why, .reach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__grid { row-gap: 2rem; }
  .trust, .legal { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { position: static; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
  .legal__toc strong { width: 100%; }
}
@media (max-width: 600px) {
  .why, .reach { grid-template-columns: minmax(0, 1fr); }
  .why .why__cta .btn { width: 100%; text-align: center; white-space: normal; }
  .hero__trust { gap: 0.4rem 1.1rem; font-size: 0.85rem; }
}

/* ===========================
   v26: phone layout (owner, 2026-11-18: "the blocks are too big, they stack
   down the page; make them sideways or shorter, smaller text, smaller cards").
   Card lists become one row you swipe sideways, with the next card peeking in.
   =========================== */
@media (max-width: 600px) {
  :root { --space: 3.2rem; --radius: 14px; --h2: 1.3rem; }
  html[lang="ar"] { --h2: 1.6rem; }

  .btn { padding: 0.75rem 1.4rem; font-size: 0.9rem; }
  .label { font-size: 0.8rem; margin-bottom: 0.4rem; }
  .link-arrow { font-size: 0.88rem; }
  .section__head { gap: 0.6rem 1rem; margin-bottom: 1.4rem; }
  .section__head p { font-size: 0.92rem; line-height: 1.6; }
  .svc__icon { width: 2.4rem; height: 2.4rem; border-radius: 0.75rem; }
  .svc__icon svg { width: 1.2rem; height: 1.2rem; }

  /* Hero: shorter strip of sites */
  .hero__text p { font-size: 1rem; }
  .hero__text .btn { margin-top: 1.2rem; padding: 0.85rem 1.8rem; font-size: 0.95rem; }
  .hero__marquee { padding: 1.4rem 0 1.6rem; }
  .hero__card { height: 11.5rem; margin-right: 0.8rem; }
  .hero__card img { border-radius: 12px; }

  .clients { padding: 1.1rem var(--gutter); }
  .clients p { font-size: 0.8rem; margin-bottom: 0.6rem; }
  .clients ul { gap: 0.35rem 1.1rem; }
  .clients li { font-size: 0.78rem; }

  /* Numbers: 2 × 2, smaller digits */
  .stats__grid { gap: 1.2rem 1rem; }
  .stats__grid li { padding-top: 0.8rem; }
  .stats__num { font-size: 2.4rem; }
  .stats__grid p { margin-top: 0.5rem; font-size: 0.85rem; line-height: 1.5; }

  /* Rafiq feature */
  .feature { gap: 1.6rem; }
  .feature .mockup { margin: 1rem auto 2rem; }
  .feature__text > p { margin: 0.7rem 0 1.1rem; font-size: 0.95rem; }
  .facts { gap: 0.4rem 1.4rem; margin-bottom: 1.2rem; font-size: 0.9rem; }

  /* Services (cards on the services page) */
  .svc { gap: 0.45rem; padding: 1.1rem; }
  .svc h3 { font-size: 1.05rem; margin-top: 0.2rem; }
  .svc p { font-size: 0.88rem; line-height: 1.55; }
  .svc .link-arrow { padding-top: 0.3rem; font-size: 0.85rem; }

  /* Projects */
  .project__kind { margin-top: 0.7rem; font-size: 0.78rem; }
  .project h3 { font-size: 1.02rem; }
  .project p { font-size: 0.85rem; line-height: 1.5; }

  /* Why us */
  .why li { padding: 1.1rem; }
  .why h3 { font-size: 1.02rem; margin: 0.8rem 0 0.3rem; }
  .why p { font-size: 0.88rem; line-height: 1.55; }

  /* How we work */
  .process__list { row-gap: 1.4rem; }
  .process__list li { padding-top: 1rem; }
  .process__list li::before { margin-bottom: 0.6rem; font-size: 1.7rem; }
  .process__list h3 { font-size: 1rem; margin-bottom: 0.3rem; }
  .process__list p { font-size: 0.88rem; line-height: 1.55; }
  .process__list .process__get { font-size: 0.8rem; }
  .process__note { margin-top: 1.4rem; font-size: 0.88rem; gap: 0.7rem; }
  .process__note .svc__icon { width: 2.2rem; height: 2.2rem; }

  /* Trust & privacy */
  .trust { gap: 1.6rem; }
  .trust__intro > p { font-size: 0.92rem; line-height: 1.65; }
  .trust .ticks { margin-top: 1.1rem; }
  .trust .ticks li { margin-bottom: 0.55rem; font-size: 0.9rem; line-height: 1.6; }
  .privacy-card { padding: 1.3rem; }
  .privacy-card h3 { margin: 0.8rem 0 0.9rem; font-size: 1.2rem; }

  /* Reach us */
  .reach__card { gap: 0.4rem; padding: 1.1rem; }
  .reach__card h3 { margin-top: 0.3rem; font-size: 1.02rem; }
  .reach__card p { font-size: 0.88rem; line-height: 1.55; }

  /* FAQ */
  .faq { gap: 1.4rem; }
  .faq__intro p { margin-top: 0.6rem; font-size: 0.92rem; }
  .faq__intro .btn { margin-top: 1rem; }
  .faq__list summary { padding: 0.95rem 0; font-size: 0.95rem; }
  .faq__list summary::after { width: 1.7rem; height: 1.7rem; font-size: 1rem; }
  .faq__list details p { padding-bottom: 1rem; font-size: 0.9rem; line-height: 1.7; }

  .footer__cta h2 { margin-bottom: 1.2rem; }

  /* The work page lists every project: two small columns. */
  .projects:has(.link-arrow) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 0.8rem; }
  .projects:has(.link-arrow) .link-arrow { font-size: 0.72rem; overflow-wrap: anywhere; }
}

/* ===========================
   v27: the home page on a phone (owner, 2026-11-18, after comparing 22 studio
   sites: "too much text, too much swiping"). The good ones show a big title,
   big pictures of the work, services as a list of names, and almost no
   paragraphs. Nothing swipes sideways. Only the home page (body.home).
   =========================== */
@media (max-width: 600px) {
  .home { --space: 2.6rem; }
  .home .section__head p, .home .trust__intro > p, .home .faq__intro p { display: none; }
  .home .section__head { margin-bottom: 1.1rem; }

  /* The hero already says «5 years · 7 sites»: no numbers band. */
  .home .section:has(.stats__grid) { display: none; }

  /* What we build: one line per service, with an arrow */
  .home .services__grid { display: block; border-top: 1px solid var(--line); }
  .home .svc, .home .svc--ink { flex-direction: row; align-items: center; gap: 0.85rem; padding: 0.8rem 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; color: var(--fg); }
  .home .svc:hover { transform: none; box-shadow: none; background: none; }
  .home .svc p, .home .svc .link-arrow { display: none; }
  .home .svc h3 { flex: 1; margin: 0; font-size: 1rem; }
  .home .svc::after { content: "→"; font-weight: 700; }
  [dir="rtl"] .home .svc::after { content: "←"; }
  .home .svc--ink .svc__icon { background: var(--ink); color: var(--lilac); }

  /* Our work: big pictures, one under the other */
  .home .projects { gap: 1.6rem; }
  .home .project__media { aspect-ratio: 4 / 3; }
  .home .project__kind { margin-top: 0.6rem; }
  .home .project p { display: none; }

  /* Why us: small tiles, two per row, icon and name only */
  .home .why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .home .why li { display: flex; flex-direction: column; gap: 0.6rem; padding: 0.9rem; }
  .home .why li p { display: none; }
  .home .why h3 { margin: 0; font-size: 0.92rem; line-height: 1.45; }
  .home .why .why__cta { display: none; }

  /* How we work: four short numbered lines */
  .home .process__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home .process__list li { display: flex; flex-direction: row; align-items: center; gap: 0.9rem; padding: 0.85rem 0; }
  .home .process__list li:last-child { border-bottom: 1px solid var(--line); }
  .home .process__list li::before { flex: none; width: 2.6rem; margin: 0; font-size: 1.25rem; }
  .home .process__list h3 { margin: 0; font-size: 1rem; }
  .home .process__list p, .home .process__note { display: none; }

  /* Trust: three ticks, and two in the privacy card */
  .home .trust__intro .ticks li:nth-child(n+4), .home .privacy-card .ticks li:nth-child(n+3) { display: none; }

  /* Reach us: the Instagram card only */
  .home .reach { grid-template-columns: minmax(0, 1fr); }
  .home .reach__card:not(.reach__card--main) { display: none; }

  /* FAQ: the first five questions */
  .home .faq__list details:nth-child(n+6) { display: none; }
  .home .faq__list details:nth-child(5) { border-bottom: 1px solid var(--line); }
}
