@font-face {
  font-family: "Riyad Bank";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("riyad-bank-bold.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url("ibm-plex-sans-arabic-arabic-300-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2");
}

:root {
  --night: #07000f;
  --night-soft: #10071a;
  --night-raised: #190d28;
  --paper: #f5f3ff;
  --paper-soft: #ece8f7;
  --surface: #ffffff;
  --ink: #160d21;
  --copy: #625a6b;
  --muted: #8b8393;
  --line: #ded8e7;
  --violet: #7c3aed;
  --violet-dark: #6326cc;
  --violet-soft: #eee7ff;
  --magenta: #d946ef;
  --cyan: #d946ef;
  --white: #ffffff;
  --font-display: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --max: 1200px;
  --pad: clamp(22px, 4.4vw, 64px);
  --section: clamp(96px, 10vw, 144px);
  --radius: 16px;
  --shadow: 0 26px 72px rgba(25, 12, 42, 0.1);
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --hero-title-size: clamp(3.25rem, 5.25vw, 4.65rem);
  --display-size: var(--hero-title-size);
  --page-title-size: clamp(3rem, 4.6vw, 4.15rem);
  --section-title-size: clamp(2.2rem, 3.5vw, 3.15rem);
  --card-title-size: clamp(1.35rem, 1.7vw, 1.7rem);
  --body-size: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a,
input,
textarea,
select,
option {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand,
.button,
.header-cta,
.section-index {
  font-family: var(--font-display);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  line-height: 1.35;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}

p {
  text-wrap: pretty;
}

::selection {
  color: var(--white);
  background: var(--violet);
}

[data-reveal],
[data-reveal].is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.site-frame {
  min-height: 100vh;
  overflow: clip;
  background: var(--paper);
}

.section-shell {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 34px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.7;
}

.eyebrow.dark {
  color: var(--violet);
}

.section-index {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--violet);
}

.section-index span {
  font-size: 1.04rem;
}

.section-index small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
}

.button,
.header-cta {
  min-height: 50px;
  padding-inline: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.22s var(--ease),
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  box-shadow: 0 14px 34px rgba(116, 69, 232, 0.22);
}

.button-primary:hover {
  transform: translateY(-2px);
  filter: saturate(1.08) brightness(1.04);
}

.header-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.13);
}

.button-secondary {
  color: var(--violet-dark);
  border: 1px solid rgba(116, 69, 232, 0.22);
  background: var(--violet-soft);
}

.button-secondary:hover {
  border-color: var(--violet);
  background: #e5dafb;
}

.button-text {
  min-height: 46px;
  padding-inline: 0;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.button-text:hover {
  color: var(--white);
  border-color: var(--cyan);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 16px 0 auto;
  padding-inline: var(--pad);
}

.header-inner {
  width: min(1260px, 100%);
  min-height: 68px;
  margin-inline: auto;
  padding: 0 12px 0 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--white);
  border: 1px solid transparent;
  border-radius: 12px;
  transition:
    transform 0.25s var(--ease),
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.is-scrolled .header-inner {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(7, 0, 15, 0.9);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-size: 1.04rem;
}

.brand .brand-mark {
  width: 34px;
  height: 28px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 30px);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding-block: 9px;
  transition: color 0.2s ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  width: 0;
  height: 1px;
  content: "";
  background: var(--magenta);
  transition: width 0.25s var(--ease);
}

.site-nav a:hover {
  color: var(--white);
}

.site-nav a:hover::after {
  width: 100%;
}

.header-cta {
  justify-self: end;
  min-height: 44px;
  padding-inline: 18px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
}

.menu-button {
  display: none;
}

/* Shared dark texture */
.hero,
.page-hero,
.why-section,
.principles-section,
.page-cta,
.article-page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 77% 24%, rgba(124, 58, 237, 0.2), transparent 27%),
    radial-gradient(circle at 18% 76%, rgba(217, 70, 239, 0.07), transparent 25%),
    linear-gradient(145deg, var(--night), var(--night-soft) 58%, var(--night));
}

.hero::after,
.page-hero::after,
.why-section::after,
.principles-section::after,
.page-cta::after,
.article-page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.hero-grid,
.hero-glow {
  display: none;
}

/* Home hero */
.hero {
  min-height: 720px;
  display: grid;
  align-items: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 126px auto 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(48px, 6.5vw, 88px);
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(88, 201, 223, 0.1);
}

.hero h1 {
  margin: 0 0 28px;
  font-size: var(--display-size);
  line-height: 1.22;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(90deg, #a77cff, var(--magenta));
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
  margin-inline-start: 0.85em;
}

.hero-lead {
  max-width: 620px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-stage {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 0px;
  --my: 0px;
  position: relative;
  min-height: 390px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
    rgba(7, 0, 15, 0.72);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.26);
  transform:
    translate3d(var(--mx), var(--my), 0)
    rotateX(var(--rx))
    rotateY(var(--ry));
  transition: transform 0.18s ease-out;
}

.hero-stage::before {
  position: absolute;
  top: -130px;
  left: -100px;
  width: 340px;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(124, 58, 237, 0.24), transparent 68%);
}

.hero-stage-copy,
.hero-proof {
  position: relative;
  z-index: 2;
}

.hero-stage-copy > span {
  display: block;
  margin-bottom: 24px;
  color: #c8b2fb;
  font-size: 0.74rem;
  font-weight: 600;
}

.hero-stage-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw, 2.85rem);
  line-height: 1.3;
}

.hero-stage-copy p {
  max-width: 360px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.85;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-proof span {
  min-height: 50px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
}

.hero-foot {
  position: absolute;
  z-index: 3;
  right: max(var(--pad), calc((100vw - var(--max)) / 2));
  bottom: 22px;
  left: max(var(--pad), calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.62rem;
}

.hero-foot > div {
  width: 42px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-foot small {
  margin-right: auto;
}

/* Stable capability strip */
.discipline-strip {
  overflow: hidden;
  color: var(--ink);
  border-block: 1px solid var(--line);
  background: var(--paper-soft);
}

.strip-track {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  min-height: 68px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.strip-track > span {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #4b4350;
  border-inline-start: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
}

.strip-track > span:last-child {
  border-inline-end: 1px solid var(--line);
}

.strip-track i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--magenta);
}

/* Shared title rhythm */
.manifesto h2,
.services-head h2,
.why-head h2,
.comparison-head h2,
.contact-copy h2,
.principles-head h2,
.services-intro h2,
.process-copy h2,
.library-heading h2,
.contact-intro-new h2,
.page-cta h2,
.about-statement h2,
.tuwaiq-name h2 {
  margin: 0;
  font-size: var(--section-title-size);
  line-height: 1.25;
}

.manifesto h2 em,
.services-head h2 em,
.comparison-head h2 em,
.services-intro h2 em,
.process-copy h2 em,
.library-heading h2 em,
.contact-intro-new h2 em,
.about-statement h2 em,
.tuwaiq-name h2 em {
  color: var(--violet);
  font-style: normal;
}

.manifesto,
.services-head,
.why-head,
.comparison-head,
.library-heading,
.services-intro {
  display: grid;
  grid-template-columns: minmax(88px, 0.22fr) minmax(0, 1.78fr);
  gap: clamp(30px, 5.4vw, 72px);
}

/* Home sections */
.manifesto {
  padding-block: var(--section);
}

.manifesto-grid {
  max-width: 900px;
  margin-top: 32px;
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  border-top: 1px solid var(--line);
}

.manifesto-grid p {
  margin: 0;
  color: var(--copy);
  line-height: 1.95;
}

.services-section {
  padding-block: var(--section);
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.services-head,
.why-head,
.comparison-head {
  margin-bottom: 40px;
}

.services-section .eyebrow {
  color: var(--violet);
}

.service-list {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-row {
  position: relative;
  min-height: 248px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  gap: 18px 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition:
    transform 0.24s var(--ease),
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.service-row:hover {
  transform: translateY(-3px);
  border-color: rgba(116, 69, 232, 0.32);
  box-shadow: var(--shadow);
}

.service-row > span {
  color: var(--violet);
  font-size: 0.7rem;
  font-weight: 600;
}

.service-row h3 {
  grid-column: 1 / -1;
  margin: auto 0 0;
  font-size: var(--card-title-size);
  line-height: 1.3;
}

.service-row p {
  max-width: 430px;
  margin: 0;
  color: var(--copy);
  font-size: 0.92rem;
  line-height: 1.85;
}

.service-row > a {
  align-self: end;
  padding-bottom: 3px;
  color: var(--violet);
  border-bottom: 1px solid rgba(116, 69, 232, 0.3);
  font-size: 0.76rem;
  font-weight: 600;
}

.service-wireframe {
  justify-self: end;
  width: 54px;
  height: 36px;
  opacity: 0.26;
  background:
    linear-gradient(135deg, transparent 40%, var(--violet) 41% 47%, transparent 48%),
    linear-gradient(45deg, transparent 42%, var(--cyan) 43% 48%, transparent 49%);
}

.why-section,
.principles-section {
  padding-block: var(--section);
}

.why-section > *,
.principles-section > * {
  position: relative;
  z-index: 2;
}

.why-section .section-index,
.principles-section .section-index {
  color: var(--cyan);
}

.why-section .section-index small,
.why-section .eyebrow,
.principles-section .eyebrow {
  color: rgba(255, 255, 255, 0.56);
}

.why-head h2 em,
.principles-head h2 em {
  color: #ad91f0;
  font-style: normal;
}

.why-grid,
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.why-grid article,
.principles-grid article {
  min-height: 208px;
  padding: 26px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.why-grid article > span,
.principles-grid article > span {
  color: #d9adff;
  font-size: 0.68rem;
  font-weight: 600;
}

.why-grid h3,
.principles-grid h3 {
  margin: 0;
  font-size: clamp(1.4rem, 1.9vw, 1.85rem);
  line-height: 1.35;
}

.why-grid p,
.principles-grid p {
  grid-column: 2;
  margin: auto 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.85;
}

.comparison-section {
  padding-block: var(--section);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.comparison-card {
  padding: clamp(26px, 3.5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.comparison-card-before {
  background: var(--surface);
}

.comparison-card-after {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(145deg, rgba(124, 58, 237, 0.2), transparent 50%),
    var(--night-soft);
}

.comparison-card-title {
  margin-bottom: 22px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.comparison-card-after .comparison-card-title {
  border-color: rgba(255, 255, 255, 0.1);
}

.comparison-card-title > span,
.comparison-card-title .brand-mark {
  width: 38px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1.35rem;
}

.comparison-card-title small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.comparison-card-title h3 {
  font-size: 1.48rem;
}

.comparison-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-card li {
  min-height: 58px;
  padding-block: 12px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--copy);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.75;
}

.comparison-card li:last-child {
  border-bottom: 0;
}

.comparison-card li i {
  color: var(--muted);
  font-style: normal;
}

.comparison-card-after li {
  color: rgba(255, 255, 255, 0.68);
  border-color: rgba(255, 255, 255, 0.09);
}

.comparison-card-after li i {
  color: #d9adff;
}

.insight-section {
  padding-bottom: var(--section);
}

.insight-card {
  position: relative;
  min-height: 380px;
  padding: clamp(28px, 4.5vw, 50px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 18%, rgba(116, 69, 232, 0.11), transparent 34%),
    var(--surface);
}

.insight-meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.72rem;
}

.insight-card h2 {
  position: relative;
  z-index: 2;
  max-width: 830px;
  margin: 42px 0;
  font-size: var(--section-title-size);
  line-height: 1.25;
}

.insight-card h2 em {
  color: var(--violet);
  font-style: normal;
}

.insight-card > a {
  position: relative;
  z-index: 2;
  width: max-content;
  padding-bottom: 4px;
  color: var(--violet);
  border-bottom: 1px solid rgba(116, 69, 232, 0.3);
  font-size: 0.8rem;
  font-weight: 600;
}

.insight-card > .brand-mark {
  position: absolute;
  left: -20px;
  bottom: -56px;
  width: 260px;
  height: 210px;
  opacity: 0.05;
}

.contact-section {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

.contact-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 18% 50%, rgba(116, 69, 232, 0.2), transparent 30%);
}

.contact-copy {
  position: relative;
  z-index: 2;
  padding-block: var(--section);
}

.contact-copy h2 {
  max-width: 880px;
  margin-bottom: 34px;
}

.contact-copy h2 em {
  color: #ad91f0;
  font-style: normal;
}

.contact-orbit {
  position: absolute;
  left: -80px;
  width: 380px;
  aspect-ratio: 1;
  opacity: 0.15;
}

.contact-orbit > div {
  position: absolute;
  inset: 12%;
  border: 1px solid var(--violet);
  border-radius: 50%;
}

.contact-orbit > div:nth-child(2) {
  inset: 28%;
}

.contact-orbit .brand-mark {
  position: absolute;
  inset: 0;
  width: 100px;
  height: 82px;
  margin: auto;
  opacity: 0.45;
}

/* Footer */
.site-footer {
  padding: 58px max(var(--pad), calc((100vw - var(--max)) / 2)) 28px;
  display: grid;
  grid-template-columns: 0.8fr 1fr auto;
  gap: 28px 42px;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #07040b;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.footer-brand span {
  display: block;
  margin-top: 3px;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.site-footer > p {
  max-width: 340px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  line-height: 1.85;
}

.footer-license {
  min-height: 40px;
  padding-inline: 14px;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(173, 145, 240, 0.22);
  border-radius: 10px;
  background: rgba(116, 69, 232, 0.08);
  font-size: 0.72rem;
  white-space: nowrap;
}

.footer-license span {
  color: var(--cyan);
}

.footer-links {
  grid-column: 1 / -1;
  padding-top: 22px;
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
}

.footer-channels {
  grid-column: 1 / -1;
  padding-block: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-channel-title {
  display: block;
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.92rem;
}

.footer-channel-links {
  display: flex;
  align-items: center;
  gap: 12px 22px;
  flex-wrap: wrap;
}

.footer-channel-links a {
  padding-bottom: 4px;
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.8rem;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.footer-links a:hover,
.footer-legal-links a:hover,
.footer-channel-links a:hover {
  color: var(--white);
  border-color: var(--cyan);
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.66rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.65);
}

/* Inner-page hero */
.page-hero {
  min-height: 570px;
  padding: 120px 0 70px;
  display: grid;
  align-items: center;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(38px, 6vw, 76px);
  align-items: center;
}

.page-hero-copy {
  max-width: 760px;
}

.page-hero-copy h1 {
  margin: 0 0 24px;
  font-size: var(--page-title-size);
  line-height: 1.14;
}

.page-hero-copy h1 em {
  color: transparent;
  background: linear-gradient(90deg, #a77cff, var(--magenta));
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.page-hero-copy > p:last-child {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.95;
}

.page-hero-visual {
  position: relative;
  min-height: 276px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.visual-index {
  position: absolute;
  top: 24px;
  right: 26px;
  color: #ad91f0;
  font-family: var(--font-display);
  font-size: 3.7rem;
  line-height: 1;
}

.visual-note {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.page-hero-mark {
  position: absolute;
  inset: 0;
  width: 112px;
  height: 90px;
  margin: auto;
  opacity: 0.48;
}

.visual-orbit {
  position: absolute;
  inset: 17% 9%;
  border: 1px solid rgba(173, 145, 240, 0.18);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.visual-axis {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
}

.axis-one {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  transform: rotate(22deg);
}

.axis-two {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: rotate(22deg);
}

.visual-signal {
  position: absolute;
  top: 26%;
  left: 18%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(88, 201, 223, 0.1);
}

.page-hero-monolith .page-hero-mark {
  width: 150px;
  height: 120px;
}

.page-hero-contact .visual-orbit {
  inset: 12%;
  transform: none;
}

/* Shared page CTA */
.page-cta {
  min-height: 480px;
  display: grid;
  align-items: center;
}

.page-cta > .section-shell {
  position: relative;
  z-index: 2;
  padding-block: var(--section);
}

.page-cta h2 {
  max-width: 900px;
  margin-bottom: 38px;
}

.page-cta h2 em {
  color: #b68cff;
  font-style: normal;
}

.page-cta > .brand-mark {
  position: absolute;
  left: -35px;
  bottom: -90px;
  width: 340px;
  height: 280px;
  opacity: 0.06;
}

/* About */
.about-manifesto {
  padding-block: var(--section);
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(42px, 7vw, 84px);
  align-items: start;
}

.about-mark {
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--night-soft);
}

.about-mark .brand-mark {
  width: 150px;
  height: 122px;
}

.about-mark span {
  position: absolute;
  right: 24px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.66rem;
}

.about-statement > p:last-child,
.tuwaiq-name > div > p {
  max-width: 720px;
  margin: 32px 0 0;
  color: var(--copy);
  line-height: 1.95;
}

.principles-head {
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: minmax(88px, 0.22fr) minmax(0, 1.78fr);
  gap: clamp(30px, 5.4vw, 72px);
}

.principles-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tuwaiq-name {
  min-height: 520px;
  padding-block: var(--section);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(44px, 8vw, 92px);
  align-items: center;
}

.name-index {
  display: block;
  margin-bottom: 18px;
  color: var(--violet);
  font-size: 0.72rem;
}

.tuwaiq-name > .brand-mark {
  width: 260px;
  height: 210px;
  opacity: 0.12;
  filter: grayscale(1);
}

/* Services */
.services-intro {
  padding-block: var(--section);
}

.services-intro > div:last-child > p:last-child {
  max-width: 760px;
  margin: 32px 0 0;
  color: var(--copy);
  line-height: 1.95;
}

.service-detail-list {
  border-top: 1px solid var(--line);
}

.service-detail {
  padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  scroll-margin-top: 104px;
}

.service-detail-head {
  min-height: 122px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 90px;
  gap: 24px;
  align-items: center;
}

.service-detail-head > span {
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 600;
}

.service-detail-head h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.3;
}

.service-detail-line {
  width: 100%;
  height: 1px;
  display: block;
  background: var(--violet);
  opacity: 0.3;
}

.service-detail-body {
  padding: 0 94px 42px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
}

.service-detail-body h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.45;
}

.service-detail-body p {
  margin: 0;
  color: var(--copy);
  line-height: 1.9;
}

.service-detail-body ul {
  grid-column: 2;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  list-style: none;
}

.service-detail-body li {
  padding: 12px 0;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

.process-panel {
  margin-block: var(--section);
  padding: clamp(30px, 4.5vw, 52px);
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(42px, 7vw, 84px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.process-grid,
.expect-grid-new {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.process-grid article,
.expect-grid-new article {
  min-height: 178px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.process-grid span,
.expect-grid-new span {
  color: var(--violet);
  font-size: 0.7rem;
  font-weight: 600;
}

.process-grid h3,
.expect-grid-new h3 {
  margin: auto 0 10px;
  font-size: 1.45rem;
}

.process-grid p,
.expect-grid-new p {
  margin: 0;
  color: var(--copy);
  font-size: 0.88rem;
  line-height: 1.75;
}

/* Articles */
.articles-library {
  padding-block: var(--section);
}

.library-heading {
  margin-bottom: 44px;
}

.article-grid-new {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-card-new {
  position: relative;
  min-height: 370px;
  padding: clamp(26px, 3.6vw, 38px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.article-card-new:hover {
  transform: translateY(-4px);
  border-color: rgba(116, 69, 232, 0.3);
  box-shadow: var(--shadow);
}

.article-card-new.featured {
  grid-column: 1 / -1;
  min-height: 420px;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 84% 18%, rgba(116, 69, 232, 0.22), transparent 30%),
    var(--night-soft);
}

.article-card-meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: var(--violet);
  font-size: 0.72rem;
}

.article-card-new.featured .article-card-meta {
  color: #ad91f0;
}

.article-card-meta small {
  color: var(--muted);
}

.article-card-new h2 {
  position: relative;
  z-index: 2;
  max-width: 830px;
  margin: auto 0 18px;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.3;
}

.article-card-new p {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 0 26px;
  color: var(--copy);
  font-size: 0.92rem;
  line-height: 1.85;
}

.article-card-new.featured p {
  color: rgba(255, 255, 255, 0.58);
}

.article-card-new > a {
  position: relative;
  z-index: 2;
  width: max-content;
  padding-bottom: 4px;
  color: var(--violet);
  border-bottom: 1px solid rgba(116, 69, 232, 0.28);
  font-size: 0.78rem;
  font-weight: 600;
}

.article-card-new.featured > a {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.article-card-new > b {
  position: absolute;
  left: 20px;
  bottom: -34px;
  color: rgba(25, 19, 30, 0.035);
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 1;
}

.article-card-new.featured > b {
  color: rgba(255, 255, 255, 0.035);
  font-size: 13rem;
}

.article-page-hero {
  min-height: 570px;
  padding: 124px 0 74px;
  display: grid;
  align-items: center;
}

.article-page-head {
  position: relative;
  z-index: 2;
}

.article-label {
  display: flex;
  gap: 18px;
  color: #ad91f0;
  font-size: 0.74rem;
}

.article-label small {
  color: rgba(255, 255, 255, 0.42);
}

.article-page-head h1 {
  max-width: 1000px;
  margin: 30px 0 24px;
  font-size: var(--page-title-size);
  line-height: 1.16;
}

.article-page-head > p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.9;
}

.article-body {
  padding-block: var(--section);
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(40px, 7vw, 86px);
  align-items: start;
}

.article-body aside {
  position: sticky;
  top: 120px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.article-body aside span,
.article-body aside strong {
  display: block;
}

.article-body aside span {
  color: var(--violet);
  font-size: 0.74rem;
}

.article-body aside strong {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.article-content {
  max-width: 820px;
}

.article-intro {
  margin: 0 0 64px;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 500;
  line-height: 1.9;
}

.article-content section {
  position: relative;
  padding: 30px 70px 54px 0;
  border-top: 1px solid var(--line);
}

.article-content section > span {
  position: absolute;
  top: 38px;
  right: 0;
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 600;
}

.article-content section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 2.7vw, 2.7rem);
  line-height: 1.35;
}

.article-content section p {
  margin: 0 0 16px;
  color: var(--copy);
  line-height: 2;
}

/* Contact */
.contact-workspace-new {
  padding-block: var(--section);
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(44px, 7vw, 84px);
  align-items: start;
}

.contact-intro-new {
  position: sticky;
  top: 116px;
}

.contact-intro-new > p:last-of-type {
  max-width: 540px;
  margin: 30px 0 0;
  color: var(--copy);
  line-height: 1.95;
}

.contact-direct-new {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.contact-direct-new a {
  padding: 18px 0;
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}

.contact-direct-new span {
  color: var(--muted);
  font-size: 0.72rem;
}

.contact-direct-new strong {
  font-size: 0.88rem;
  font-weight: 500;
  text-align: right;
}

.contact-form-new {
  padding: clamp(28px, 4.5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form-new label {
  margin-bottom: 26px;
  display: grid;
  gap: 8px;
}

.contact-form-new label > span {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
}

.contact-form-new input,
.contact-form-new textarea {
  width: 100%;
  padding: 15px 0;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: 0;
  background: transparent;
  transition: border-color 0.2s ease;
}

.contact-form-new textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form-new input:focus,
.contact-form-new textarea:focus {
  border-color: var(--violet);
}

.contact-form-new input::placeholder,
.contact-form-new textarea::placeholder {
  color: #a49da9;
}

.form-actions {
  display: flex;
}

.form-actions .button {
  width: 100%;
  min-width: 0;
}

.contact-form-new .button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.form-status {
  margin-top: 18px;
  padding: 14px;
  color: var(--copy);
  border-radius: 12px;
  background: var(--violet-soft);
  font-size: 0.8rem;
}

.form-status:empty {
  display: none;
}

.form-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.expect-section {
  padding-bottom: var(--section);
}

.expect-section > .eyebrow {
  margin-bottom: 24px;
}

/* Case studies */
.case-feature {
  margin-block: var(--section);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  overflow: hidden;
  color: var(--white);
  border-radius: var(--radius);
  background: var(--night-soft);
}

.case-feature-copy {
  padding: clamp(34px, 6vw, 64px);
}

.case-feature-copy > span {
  color: #ad91f0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.case-feature-copy h2 {
  margin-top: 60px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1;
  direction: ltr;
  text-align: right;
}

.case-feature-copy h3 {
  margin: 20px 0 16px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.case-feature-copy p {
  max-width: 600px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.85;
}

.case-feature-visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(88, 201, 223, 0.14), transparent 28%),
    rgba(255, 255, 255, 0.025);
}

.case-planet {
  position: absolute;
  inset: 0;
  width: 250px;
  height: 250px;
  margin: auto;
  border: 1px solid rgba(173, 145, 240, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(116, 69, 232, 0.035),
    0 0 0 84px rgba(116, 69, 232, 0.02);
}

.case-feature-visual > span {
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.study-grid {
  padding-bottom: var(--section);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.study-card {
  min-height: 350px;
  padding: 32px;
  display: flex;
  overflow: hidden;
  color: var(--white);
  border-radius: var(--radius);
  background: var(--night-soft);
}

.study-card-copy {
  display: flex;
  flex-direction: column;
}

.study-card-copy > span {
  color: var(--cyan);
  font-size: 0.7rem;
}

.study-card small {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.study-card h2 {
  margin: 9px 0 12px;
  font-size: 2rem;
}

.study-card p {
  max-width: 500px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.8;
}

.study-card a {
  width: max-content;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.76rem;
}

.study-violet {
  background: linear-gradient(145deg, #22123f, #100a18);
}

.study-desert {
  background: linear-gradient(145deg, #3b2532, #140d15);
}

.study-indigo {
  background: linear-gradient(145deg, #161e43, #0d0c18);
}

.study-cyan {
  background: linear-gradient(145deg, #12343d, #091419);
}

/* Legal */
.legal-page {
  padding-block: var(--section);
}

.legal-page-intro {
  margin-bottom: 28px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.legal-page-intro span {
  color: var(--violet);
  font-size: 0.74rem;
  font-weight: 600;
}

.legal-page-intro p {
  max-width: 760px;
  margin: 0;
  color: var(--copy);
  line-height: 1.85;
}

.legal-sections {
  border-top: 1px solid var(--line);
}

.legal-sections article {
  padding-block: 30px;
  display: grid;
  grid-template-columns: 50px minmax(0, 800px);
  gap: clamp(18px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.legal-sections article > span {
  padding-top: 7px;
  color: var(--violet);
  font-size: 0.7rem;
  font-weight: 600;
}

.legal-sections h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.4;
}

.legal-sections p {
  margin: 0;
  color: var(--copy);
  line-height: 1.95;
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 16px;
    font-size: 0.76rem;
  }

  .hero-inner,
  .page-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    gap: 34px;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-license {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --hero-title-size: clamp(3rem, 8.2vw, 3.75rem);
    --display-size: var(--hero-title-size);
    --page-title-size: clamp(2.85rem, 7.4vw, 3.55rem);
    --section-title-size: clamp(2.15rem, 5.9vw, 2.85rem);
  }

  .site-header {
    inset: 10px 0 auto;
    padding-inline: 14px;
  }

  .header-inner {
    min-height: 60px;
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .menu-button {
    justify-self: end;
    width: 42px;
    height: 42px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 6px;
    color: var(--white);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
  }

  .menu-button i {
    width: 19px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 0.2s ease;
  }

  .menu-button.is-open i:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-button.is-open i:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 14px;
    left: 14px;
    padding: 17px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(7, 0, 15, 0.98);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    margin: 118px auto 72px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-stage {
    min-height: 340px;
  }

  .hero-foot {
    display: none;
  }

  .strip-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .strip-track > span {
    min-height: 52px;
    border-bottom: 1px solid var(--line);
  }

  .manifesto,
  .services-head,
  .why-head,
  .comparison-head,
  .principles-head,
  .library-heading,
  .services-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-list,
  .why-grid,
  .comparison-grid,
  .principles-grid,
  .article-grid-new,
  .study-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero {
    min-height: auto;
  }

  .page-hero-visual {
    min-height: 250px;
  }

  .about-manifesto,
  .contact-workspace-new,
  .article-body,
  .case-feature {
    grid-template-columns: 1fr;
  }

  .contact-intro-new,
  .article-body aside {
    position: static;
  }

  .about-mark {
    min-height: 190px;
  }

  .service-detail-body {
    padding-right: 0;
  }

  .process-panel {
    grid-template-columns: 1fr;
  }

  .article-card-new.featured {
    grid-column: auto;
  }

  .case-feature-visual {
    min-height: 300px;
  }
}

@media (max-width: 600px) {
  :root {
    --pad: 20px;
    --section: 72px;
    --radius: 14px;
    --hero-title-size: clamp(2.55rem, 10.3vw, 3.05rem);
    --display-size: var(--hero-title-size);
    --page-title-size: clamp(2.4rem, 9.6vw, 2.9rem);
    --section-title-size: clamp(1.95rem, 7.7vw, 2.4rem);
  }

  body {
    font-size: 0.96rem;
  }

  .header-inner {
    padding-inline: 12px;
    border-radius: 11px;
  }

  .hero-inner {
    margin-top: 104px;
    gap: 34px;
  }

  .hero h1,
  .page-hero-copy h1,
  .article-page-head h1 {
    line-height: 1.32;
  }

  .hero h1 em {
    margin-inline-start: 0;
  }

  .hero-lead,
  .page-hero-copy > p:last-child {
    font-size: 0.92rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .button-text {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 11px;
  }

  .hero-stage {
    min-height: 310px;
    padding: 24px 20px;
    border-radius: var(--radius);
  }

  .hero-stage-copy strong {
    font-size: 1.9rem;
  }

  .strip-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-row {
    min-height: 240px;
    padding: 22px 20px;
  }

  .why-grid article,
  .principles-grid article {
    min-height: 200px;
    padding: 22px 20px;
  }

  .comparison-card {
    padding: 22px 20px;
  }

  .insight-card {
    min-height: 350px;
    padding: 25px 21px;
  }

  .insight-card h2 {
    margin-block: 40px;
    font-size: var(--section-title-size);
  }

  .contact-section {
    min-height: 440px;
  }

  .contact-orbit,
  .page-hero-visual {
    display: none;
  }

  .site-footer {
    padding: 48px 20px 24px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-license,
  .footer-links,
  .footer-channels,
  .footer-meta {
    grid-column: 1;
  }

  .footer-channels {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-channel-links {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-legal-links {
    flex-wrap: wrap;
  }

  .page-hero {
    padding: 108px 0 66px;
  }

  .page-cta {
    min-height: 410px;
  }

  .about-manifesto,
  .tuwaiq-name {
    padding-block: var(--section);
  }

  .tuwaiq-name {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .tuwaiq-name > .brand-mark {
    width: 140px;
    height: 110px;
  }

  .service-detail {
    padding-inline: 20px;
  }

  .service-detail-head {
    min-height: 112px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .service-detail-head h2 {
    font-size: 1.58rem;
  }

  .service-detail-line {
    display: none;
  }

  .service-detail-body {
    padding: 0 0 34px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-detail-body ul {
    grid-column: 1;
  }

  .process-panel {
    width: calc(100% - 32px);
    padding: 24px 20px;
  }

  .process-grid,
  .expect-grid-new {
    grid-template-columns: 1fr;
  }

  .process-grid article,
  .expect-grid-new article {
    min-height: 170px;
  }

  .article-card-new,
  .article-card-new.featured {
    min-height: 330px;
    padding: 24px 20px;
  }

  .article-page-hero {
    min-height: auto;
    padding: 116px 0 68px;
  }

  .article-body {
    grid-template-columns: 1fr;
  }

  .article-intro {
    font-size: 1.05rem;
  }

  .article-content section {
    padding: 28px 0 40px;
  }

  .article-content section > span {
    position: static;
    display: block;
    margin-bottom: 8px;
  }

  .contact-workspace-new {
    padding-block: var(--section);
  }

  .contact-form-new {
    padding: 24px 20px;
  }

  .case-feature {
    margin-block: var(--section);
    border-radius: 17px;
  }

  .case-feature-copy {
    padding: 30px 21px;
  }

  .case-feature-copy h2 {
    margin-top: 42px;
    font-size: 2.7rem;
  }

  .case-feature-visual {
    min-height: 240px;
  }

  .study-card {
    min-height: 330px;
    padding: 24px 20px;
  }

  .legal-page-intro {
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .legal-sections article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }
}

/* Private lead inbox */
.leads-dashboard {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 72px 0 96px;
}

.leads-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.leads-header p {
  margin: 0 0 8px;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 700;
}

.leads-header h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.05;
}

.leads-count {
  display: grid;
  text-align: left;
}

.leads-count strong {
  color: var(--violet);
  font-size: 2rem;
}

.leads-count span {
  color: var(--muted);
  font-size: 0.74rem;
}

.leads-list {
  display: grid;
  gap: 16px;
}

.lead-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lead-card-head {
  margin-bottom: 26px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.lead-card-head h2 {
  margin: 9px 0 0;
  font-size: 1.45rem;
}

.lead-card-head time {
  color: var(--muted);
  font-size: 0.75rem;
  white-space: nowrap;
}

.lead-status {
  padding: 5px 9px;
  color: var(--violet-dark);
  border-radius: 999px;
  background: var(--violet-soft);
  font-size: 0.68rem;
  font-weight: 700;
}

.lead-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
}

.lead-card dl div {
  min-width: 0;
}

.lead-card dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.7rem;
}

.lead-card dd {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.lead-card dd a {
  color: var(--violet-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lead-card .lead-need {
  grid-column: 1 / -1;
}

.lead-card .lead-need dd {
  color: var(--copy);
  line-height: 1.9;
  white-space: pre-wrap;
}

.leads-empty {
  padding: 80px 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.leads-empty span {
  color: var(--violet);
  font-size: 3rem;
}

.leads-empty h2 {
  margin: 10px 0;
}

.leads-empty p {
  margin: 0;
  color: var(--muted);
}

.leads-login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--night);
}

.leads-login {
  width: min(440px, 100%);
  padding: 40px;
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.leads-login > img { width: 52px; }
.leads-login > p { margin: 20px 0 4px; color: var(--violet); font-weight: 700; }
.leads-login h1 { margin-bottom: 28px; font-size: 2rem; }
.leads-login form { display: grid; gap: 18px; }
.leads-login label { display: grid; gap: 8px; }
.leads-login input { width: 100%; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.leads-login > a { display: inline-block; margin-top: 22px; color: var(--copy); text-decoration: underline; }
.login-error { padding: 12px; color: #8b1e1e; background: #fff0f0; border-radius: 8px; }
.leads-logout { display: inline-block; margin-top: 12px; color: var(--copy); text-decoration: underline; }

@media (max-width: 640px) {
  .leads-dashboard {
    width: min(100% - 30px, 1120px);
    padding-top: 42px;
  }

  .leads-header,
  .lead-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .leads-count {
    text-align: right;
  }

  .lead-card-head time {
    white-space: normal;
  }

  .lead-card dl {
    grid-template-columns: 1fr;
  }

  .lead-card .lead-need {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
  }
}
