/* =============================================================
   رغد | RAGHAD — Blueprint of Growth
   Direction: engineered "atlas/blueprint" aesthetic on indigo ink,
   prosperity brass as the hero accent, living jade for growth signals.
   ============================================================= */

/* ---------- Tokens ---------- */
/* الوضع النهاري هو الافتراضي — LIGHT MODE IS THE DEFAULT */
:root, :root[data-theme="light"] {
  --ink:      #F5F7FB;   /* page ground — cool paper */
  --ink-2:    #FFFFFF;   /* raised surface */
  --ink-3:    #FFFFFF;   /* cards */
  --line:     #E2E7F1;   /* blueprint lines / borders */
  --line-2:   #CFD7E7;   /* stronger border */
  --brass:    #A8741C;   /* prosperity — accent (contrast-safe on light) */
  --brass-2:  #7E5512;   /* deeper brass for emphasis/hover text */
  --jade:     #0C8F72;   /* growth / live signal */
  --jade-2:   #0A7358;
  --sand:     #101A33;   /* primary text — brand navy */
  --slate:    #5A6688;   /* muted text */
  --slate-2:  #7A85A5;

  /* surfaces & effects (theme-specific) */
  --nav-bg:      rgba(255,255,255,.86);
  --band-bg:     rgba(255,255,255,.75);
  --menu-bg:     rgba(255,255,255,.97);
  --img-scrim:   rgba(255,255,255,.92);
  --ico-bg:      radial-gradient(120% 120% at 30% 20%, rgba(217,162,74,.16), rgba(238,242,249,.95));
  --shadow-lg:   0 26px 50px -34px rgba(16,26,51,.42);
  --shadow-md:   0 18px 34px -26px rgba(16,26,51,.38);
  --grid-alpha:  .75;
  --plate-bg:    transparent;
  --plate-border: transparent;
  --plate-shadow: none;
  --flow-1: #0C8F72;     /* hero growth line — start */
  --flow-2: #B07C22;     /* hero growth line — end */
  --danger: #B23B3B;

  /* brand gold — identical in both themes (gradients, plates, marks) */
  --gold-1: #F0C87E;
  --gold-2: #D9A24A;

  --maxw: 1200px;
  --radius: 14px;
  --radius-lg: 22px;

  --f-display: "El Messiri", "Segoe UI", sans-serif;   /* headings */
  --f-script:  "Aref Ruqaa", "El Messiri", serif;       /* calligraphic accents */
  --f-body:    "Readex Pro", "Segoe UI", sans-serif;    /* body */
  --f-mono:    "IBM Plex Mono", ui-monospace, monospace;/* technical labels */

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* الوضع الليلي — DARK MODE */
:root[data-theme="dark"] {
  --ink:      #0C1226;
  --ink-2:    #111A34;
  --ink-3:    #17223f;
  --line:     #223056;
  --line-2:   #2c3d6b;
  --brass:    #D9A24A;
  --brass-2:  #F0C87E;
  --jade:     #37C9A3;
  --jade-2:   #6fe0c2;
  --sand:     #F3EFE6;
  --slate:    #93A0C0;
  --slate-2:  #64719a;

  --nav-bg:      rgba(12,18,38,.82);
  --band-bg:     rgba(17,26,52,.55);
  --menu-bg:     rgba(12,18,38,.97);
  --img-scrim:   rgba(12,18,38,.85);
  --ico-bg:      radial-gradient(120% 120% at 30% 20%, rgba(217,162,74,.18), rgba(23,34,63,.6));
  --shadow-lg:   0 30px 60px -40px rgba(0,0,0,.9);
  --shadow-md:   0 20px 40px -30px rgba(0,0,0,.85);
  --grid-alpha:  .16;
  --plate-bg:    radial-gradient(120% 120% at 50% 20%, #FFFFFF, #EFE9DC);
  --plate-border: rgba(255,255,255,.6);
  --plate-shadow: 0 8px 22px -10px rgba(0,0,0,.6), inset 0 0 0 1px rgba(217,162,74,.16);
  --flow-1: #37C9A3;
  --flow-2: #F0C87E;
  --danger: #f0a3a3;
}

/* smooth theme switch */
body, .nav, .strip, .marquee, .footer, .svc-c, .dcard, .why-item,
form.request, .field input, .field select, .field textarea, .contact-list .ci {
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--sand);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* faint blueprint grid across the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: var(--grid-alpha);
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 30%, transparent 85%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(var(--maxw), 92%); margin-inline: auto; position: relative; z-index: 1; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: .74rem;
  letter-spacing: .18em;
  color: var(--brass);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--brass);
  display: inline-block;
}

.sec-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.6vw, 3.15rem);
  line-height: 1.28;
  letter-spacing: 0;               /* never track Arabic — it breaks letter joins */
}
.sec-title em { color: var(--brass); font-style: normal; font-family: var(--f-script); font-weight: 700; }
.sec-sub { color: var(--slate); font-size: 1.05rem; margin-top: 1rem; }

.index-tag {
  font-family: var(--f-mono);
  font-size: .72rem;
  color: var(--jade);
  letter-spacing: .1em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-body); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background .3s, box-shadow .3s, border-color .3s, color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--jade); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  color: #241a06;
  box-shadow: 0 10px 30px -12px rgba(217,162,74,.6);
}
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(217,162,74,.75); }
.btn-ghost { background: transparent; color: var(--sand); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-2); }
.btn .ar { font-family: var(--f-mono); font-size: .8rem; opacity: .7; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(150deg, var(--gold-1), var(--gold-2));
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; color: #241a06; font-size: 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.brand-mark-img { width: 34px; height: auto; flex: none; display: block; filter: drop-shadow(0 3px 8px rgba(217,162,74,.28)); }
.brand-name { font-family: var(--f-script); font-weight: 700; font-size: 1.7rem; line-height: .9; }

/* transparent emblem on a coordinated light plate (dark artwork reads on the dark UI) */
.brand-logo-plate {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  background: var(--plate-bg);
  border: 1px solid var(--plate-border);
  border-radius: 14px; padding: 3px;
  box-shadow: var(--plate-shadow);
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.brand-logo { height: 50px; width: 50px; object-fit: contain; display: block; }
.brand-fallback { display: none; align-items: center; gap: .6rem; }
/* if the logo file is missing, fall back to the mark + wordmark */
.brand.logo-missing .brand-logo-plate { display: none; }
.brand.logo-missing .brand-fallback { display: flex; }
.footer .brand-logo-plate { border-radius: 18px; padding: 5px; }
.footer .brand-logo { height: 74px; width: 74px; }
.brand-name small { display: block; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .32em; color: var(--slate); font-weight: 400; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--slate); font-size: .96rem; font-weight: 500; transition: color .25s; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--brass); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--sand); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: .75rem; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  width: 44px; height: 44px; flex: none; cursor: pointer;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: transparent; color: var(--sand);
  transition: border-color .3s, color .3s, background .3s, transform .35s var(--ease);
}
.theme-toggle:hover { border-color: var(--brass); color: var(--brass); transform: translateY(-2px); }
.theme-toggle:focus-visible { outline: 2px solid var(--jade); outline-offset: 3px; }
.theme-toggle svg { width: 20px; height: 20px; display: block; }
/* light mode → offer the moon; dark mode → offer the sun */
.theme-toggle .tt-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .tt-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .tt-sun { display: block; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--sand); width: 42px; height: 42px; border-radius: 10px; cursor: pointer; font-size: 1.2rem; }

/* ---------- Hero (centered editorial) ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  padding: 145px 0 90px; text-align: center;
}
.hero-inner { max-width: 900px; margin-inline: auto; position: relative; z-index: 2; }
.hero-eyebrow { color: var(--jade); }
.hero-eyebrow::before { background: var(--jade); }
.hero-eyebrow::after { content: ""; width: 30px; height: 1px; background: var(--jade); display: inline-block; }

/* soft glow behind the headline */
.hero-aura {
  position: absolute; z-index: 0; top: 34%; left: 50%; transform: translate(-50%, -50%);
  width: min(760px, 92vw); height: 520px; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(217,162,74,.18), rgba(55,201,163,.10) 40%, transparent 68%);
  filter: blur(10px);
}

.hero-title { margin: .2rem 0 1.4rem; }
.hero-title .ht-1 {
  display: block; font-family: var(--f-display); font-weight: 600; color: var(--sand);
  font-size: clamp(2rem, 6.2vw, 3.9rem); line-height: 1.18;
}
.hero-title .ht-2 {
  display: inline-block; position: relative; margin-top: .12em;
  font-family: var(--f-script); font-weight: 700; color: var(--brass);
  font-size: clamp(2.7rem, 8.6vw, 5.4rem); line-height: 1.1;
  padding: 0 .12em .14em;
  text-shadow: 0 8px 40px rgba(217,162,74,.35);
}
.ht-underline {
  position: absolute; inset-inline: 0; bottom: -.02em; width: 100%; height: .34em; overflow: visible;
}
.ht-underline path { stroke-dasharray: 420; stroke-dashoffset: 420; }
.animate .ht-underline path { animation: drawLine 1s var(--ease) 1s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.hero-lead {
  font-family: var(--f-body); font-weight: 300;
  font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--slate);
  max-width: 46ch; margin: 0 auto 2.3rem; line-height: 1.85;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scan {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: 3.2rem;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; color: var(--slate);
  transition: color .3s;
}
.hero-scan:hover { color: var(--brass-2); }
.scan-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 0 rgba(55,201,163,.6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(55,201,163,.5);} 70% { box-shadow: 0 0 0 10px rgba(55,201,163,0);} 100% { box-shadow: 0 0 0 0 rgba(55,201,163,0);} }

/* ambient growth line sweeping the hero */
.hero-flow { position: absolute; z-index: 1; inset-inline: 0; bottom: 0; width: 100%; height: 62%; opacity: .9; pointer-events: none; }
.hero-flow-path { fill: none; stroke: url(#flowGrad); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 10px rgba(55,201,163,.35)); }
/* theme-aware gradient stops for the growth line */
.fg-a { stop-color: var(--flow-1); }
.fg-b { stop-color: var(--flow-1); }
.fg-c { stop-color: var(--flow-2); }
.flow-node { fill: var(--ink); stroke: var(--jade); stroke-width: 2.5; }
.flow-node.n-end { stroke: var(--brass); fill: var(--brass); filter: drop-shadow(0 0 8px rgba(217,162,74,.7)); }
.animate .hero-flow-path { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: drawLine 2.6s var(--ease) .2s forwards; }
.animate .flow-node { opacity: 0; animation: popDot .5s var(--ease) forwards; }
.animate .flow-node:nth-of-type(1) { animation-delay: 1.4s; }
.animate .flow-node:nth-of-type(2) { animation-delay: 2s; }
.animate .flow-node.n-end { animation-delay: 2.5s; }
@keyframes popDot { from { opacity: 0; transform: scale(.4);} to { opacity: 1; transform: scale(1);} }

/* ---------- Disciplines marquee ---------- */
.marquee {
  position: relative; z-index: 2; overflow: hidden; padding: 18px 0;
  border-block: 1px solid var(--line); background: var(--band-bg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: inline-flex; align-items: center; gap: 1.5rem; white-space: nowrap; direction: ltr; will-change: transform; animation: marq 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--f-display); font-weight: 500; font-size: 1.06rem; color: var(--sand); opacity: .9; }
.marquee i { color: var(--gold-2); font-style: normal; font-size: .7rem; opacity: .85; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--band-bg); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 26px 22px; border-inline-start: 1px solid var(--line); }
.strip-item:first-child { border-inline-start: none; }
.strip-item b { font-family: var(--f-mono); font-size: 1.5rem; color: var(--brass); display: block; }
.strip-item span { font-size: .86rem; color: var(--slate); }

/* ---------- Services cards ---------- */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-c {
  position: relative; overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px 26px;
  transition: transform .4s var(--ease), border-color .35s, background .35s, box-shadow .4s;
}
.svc-c:hover { transform: translateY(-6px); background: var(--ink-3); border-color: var(--brass); box-shadow: var(--shadow-lg); }
.svc-c .sc-idx {
  position: absolute; top: 22px; inset-inline-end: 24px;
  font-family: var(--f-mono); font-size: .74rem; color: var(--slate); transition: color .3s;
}
.svc-c:hover .sc-idx { color: var(--jade); }
.svc-c .sc-ico {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px;
  font-size: 1.7rem; border-radius: 16px; border: 1px solid var(--line-2);
  background: var(--ico-bg);
  transition: border-color .35s, transform .4s var(--ease);
}
.svc-c:hover .sc-ico { border-color: var(--brass); transform: translateY(-3px) scale(1.05); }
.svc-c h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.16rem; margin-bottom: .5rem; }
.svc-c p { font-size: .92rem; color: var(--slate); line-height: 1.6; }
.svc-c::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--brass), var(--jade));
  transform: scaleX(0); transform-origin: inline-start; transition: transform .45s var(--ease);
}
.svc-c:hover::after { transform: scaleX(1); }

/* design-card extras */
.dcard-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.dcard-tags li {
  font-family: var(--f-mono); font-size: .72rem; color: var(--brass-2);
  padding: 4px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(217,162,74,.06);
}
.dcard-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-display); font-weight: 600; font-size: .95rem; color: var(--brass-2);
  transition: gap .3s var(--ease), color .3s;
}
.dcard-cta span { font-family: var(--f-mono); transition: transform .3s var(--ease); }
.dcard:hover .dcard-cta { color: var(--brass); }
.dcard:hover .dcard-cta span { transform: translate(-3px, -3px); }

/* ---------- Design studio ---------- */
.studio { background: linear-gradient(180deg, var(--ink), var(--ink-2)); }
.studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dcard {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink-3); display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.dcard:hover { transform: translateY(-8px); border-color: var(--brass); box-shadow: var(--shadow-lg); }
.dcard-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.dcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: saturate(.9) contrast(1.02); }
.dcard:hover .dcard-img img { transform: scale(1.07); }
.dcard-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--img-scrim)); }
.dcard-img .dtag { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; color: var(--gold-1); background: rgba(12,18,38,.72); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); }
.dcard-body { padding: 24px 24px 28px; }
.dcard-body .ico { font-size: 1.6rem; margin-bottom: .5rem; display: block; }
.dcard-body h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.32rem; margin-bottom: .6rem; }
.dcard-body p { color: var(--slate); font-size: .95rem; }

/* ---------- Process ---------- */
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.proc-step { position: relative; padding-top: 30px; }
.proc-step::before {
  content: ""; position: absolute; top: 0; inset-inline-start: 0; right: 0; height: 1px;
  background: var(--line-2);
}
.proc-num { font-family: var(--f-mono); font-size: .8rem; color: var(--brass); letter-spacing: .1em; }
.proc-step h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; margin: .8rem 0 .5rem; }
.proc-step p { color: var(--slate); font-size: .93rem; }
.proc-step .node { position: absolute; top: -5px; inset-inline-start: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(217,162,74,.18); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.why-list { display: grid; gap: 18px; }
.why-item { display: flex; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); transition: border-color .3s, transform .3s; }
.why-item:hover { border-color: var(--jade); transform: translateX(-4px); }
.why-item .wnum { font-family: var(--f-mono); color: var(--jade); font-size: .82rem; flex: none; padding-top: 3px; }
.why-item h4 { font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; margin-bottom: .3rem; }
.why-item p { color: var(--slate); font-size: .9rem; }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.form-side .eyebrow { color: var(--jade); }
.form-side .eyebrow::before { background: var(--jade); }
.form-side h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; margin-bottom: 1.1rem; }
.form-side p { color: var(--slate); margin-bottom: 1.8rem; }
.contact-list { display: grid; gap: 14px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 12px; color: var(--sand); font-size: .96rem; }
.contact-list .ci { width: 40px; height: 40px; border-radius: 10px; background: var(--ink-3); border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.1rem; flex: none; transition: border-color .3s, color .3s; }
.contact-list a:hover .ci { border-color: var(--brass); color: var(--brass-2); }
.contact-list small { display: block; color: var(--slate); font-size: .76rem; }

form.request {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; margin-bottom: .5rem; color: var(--sand); font-weight: 500; }
.field label .req { color: var(--brass); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--f-body); font-size: .96rem; color: var(--sand);
  background: var(--ink); border: 1px solid var(--line-2); border-radius: 12px;
  padding: .8rem 1rem; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(217,162,74,.15);
}
.field select { appearance: none; cursor: pointer; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-msg { font-size: .9rem; padding: .9rem 1rem; border-radius: 12px; margin-bottom: 16px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(55,201,163,.12); border: 1px solid rgba(55,201,163,.4); color: var(--jade-2); }
.form-msg.err { background: rgba(226,90,90,.12); border: 1px solid rgba(226,90,90,.4); color: var(--danger); }
form.request .btn-primary { width: 100%; justify-content: center; padding-block: 1rem; font-size: 1.02rem; }
form.request .btn-primary[disabled] { opacity: .6; cursor: not-allowed; }
.form-note { font-size: .78rem; color: var(--slate); margin-top: 14px; text-align: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 64px) 0 40px; background: var(--ink-2); }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer .brand-name { font-size: 1.6rem; }
.footer p { color: var(--slate); max-width: 34ch; margin-top: 1rem; font-size: .94rem; }
.social { display: flex; gap: 12px; margin-top: 1.4rem; }
.social a { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--slate); transition: all .3s; font-family: var(--f-mono); font-size: .8rem; }
.social a:hover { border-color: var(--brass); color: var(--brass-2); transform: translateY(-3px); }
.foot-nav { display: grid; gap: 12px; }
.foot-nav h5 { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; color: var(--slate); text-transform: uppercase; margin-bottom: .4rem; }
.foot-nav a { color: var(--sand); font-size: .95rem; transition: color .25s; }
.foot-nav a:hover { color: var(--brass-2); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--slate); font-size: .82rem; font-family: var(--f-mono); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .studio-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .strip-item:nth-child(3) { border-inline-start: none; }
}
/* collapse the nav into the menu before the brand and links can collide */
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; inset: 86px 0 auto 0;
    background: var(--menu-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    padding: 24px 6%; gap: 1.2rem; border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: 1fr; }
  /* keep the theme toggle visible: slim the brand + CTA on small screens */
  .brand-name small { display: none; }
  .brand-name { font-size: 1.45rem; }
  .brand-logo { height: 38px; width: 38px; }
  .theme-toggle { width: 40px; height: 40px; }
  .nav-cta .btn-primary { padding: .7rem 1rem; font-size: .9rem; }
  .nav-cta { gap: .5rem; }
}
