/* ==========================================================================
   NMA Marketing — site.css
   Shared by the Arabic (/) and English (/en/) pages.
   Written with CSS logical properties so one sheet serves RTL and LTR.
   ========================================================================== */

/* --- Font ---------------------------------------------------------------
   Cairo, self-hosted as one variable WOFF2 (all weights, ~114 KB).
   Licensed under the SIL Open Font License — see assets/fonts/OFL.txt.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Cairo";
  src: url("../fonts/cairo-var.woff2") format("woff2-variations"),
       url("../fonts/cairo-var.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* Brand */
  --green:      #056046;
  --green-2:    #44906e;
  --mint:       #b1d9c5;
  --teal:       #237e7f;
  --sky:        #7fbac8;
  --sand:       #c2946f;

  /* Surface & ink */
  --paper:      #f2f7f4;   /* page — a soft green tint, not white */
  --surface:    #ffffff;   /* cards and rows lift off the page */
  --wash:       #e4efe8;   /* banded sections */
  --deep:       #06412f;   /* darkest green, for the team band */
  --ink:        #12261f;
  --ink-2:      #46594f;
  --ink-3:      #7d8d86;
  --line:       rgba(5, 96, 70, .16);
  --line-soft:  rgba(5, 96, 70, .09);

  /* Type */
  --font: "Cairo", ui-sans-serif, system-ui, "Segoe UI", sans-serif;

  /* Rhythm */
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --maxw: 1240px;
  --section-y: clamp(5rem, 11vw, 10.5rem);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  /* Never let the browser fake a slant or a weight the font already has. */
  font-synthesis: none;
  -webkit-font-synthesis: none;
  font-variation-settings: normal;
  font-optical-sizing: auto;
  font-size: clamp(.98rem, .35vw + .9rem, 1.06rem);
  line-height: 1.95;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

::selection { background: var(--mint); color: var(--green); }

.contact-band ::selection { background: var(--mint); color: var(--green); }

/* Arabic never takes letter-spacing, it breaks the joins between letters. */
:where([lang="ar"]) { letter-spacing: normal; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; inset-block-start: -100px; inset-inline-start: 1rem;
  z-index: 200; background: var(--green); color: #fff;
  padding: .7rem 1.2rem; border-radius: 0 0 6px 6px;
  transition: inset-block-start .2s;
}
.skip:focus { inset-block-start: 0; }

/* --- Layout primitives -------------------------------------------------- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section + .section { padding-block-start: calc(var(--section-y) * .72); }
.anchor { scroll-margin-block-start: 78px; }

.rule { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* --- Typography --------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--green-2);
  margin: 0 0 1.6rem;
}
/* Arabic must never be letter-spaced — it breaks the joins. */
:root[lang="ar"] .eyebrow { letter-spacing: normal; font-size: .8rem; }
.eyebrow::before {
  content: ""; inline-size: 1.9rem; block-size: 1px;
  background: currentColor; opacity: .55; flex: none;
}

.display {
  font-size: clamp(2.1rem, 5.6vw, 4.7rem);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
:root[lang="ar"] .display { line-height: 1.42; letter-spacing: normal; }
.display strong { font-weight: 700; color: var(--green); }
/* Each hero line stays intact; the clamp above keeps it inside the column. */
.display .ln { display: block; }
:root[lang="ar"] .display .ln { white-space: nowrap; }
/* Latin sets wider than Arabic, so the English display runs a little smaller. */
:root[lang="en"] .display { font-size: clamp(2.1rem, 5.1vw, 4.3rem); }

.h2 {
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -.005em;
  margin: 0;
  text-wrap: balance;
}
:root[lang="ar"] .h2 { line-height: 1.5; letter-spacing: normal; }
.h2 strong { font-weight: 700; color: var(--green); }
/* The emphasised phrase is the point of the sentence — never split it. */
.h2 strong, .display strong { white-space: nowrap; }

.lead {
  font-size: clamp(1.02rem, .5vw + .92rem, 1.2rem);
  text-wrap: pretty;
  color: var(--ink-2);
  font-weight: 400;
  max-width: 46ch;
  margin: 1.6rem 0 0;
}

.muted { color: var(--ink-2); }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .95rem 1.9rem;
  border-radius: 100px;
  border: 1px solid transparent;
  font-size: .95rem; font-weight: 600;
  line-height: 1;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { inline-size: .85rem; block-size: .85rem; flex: none; transition: transform .35s var(--ease); }
:root[dir="rtl"] .btn svg { transform: scaleX(-1); }

.btn-solid {
  background: var(--green); color: #fff;
  box-shadow: 0 12px 26px -14px rgba(5, 96, 70, .8);
}
.btn-solid:hover {
  background: #044c37; transform: translateY(-2px);
  box-shadow: 0 18px 32px -14px rgba(5, 96, 70, .75);
}
.btn-solid:hover svg { transform: translateX(4px); }
:root[dir="rtl"] .btn-solid:hover svg { transform: scaleX(-1) translateX(4px); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.7); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); background: var(--wash); }

.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { transform: translateY(-2px); background: var(--mint); }

/* --- Header ------------------------------------------------------------- */
.site-head {
  position: sticky; inset-block-start: 0; z-index: 100;
  background: transparent;
  transition: background .4s var(--ease), box-shadow .4s var(--ease),
              backdrop-filter .4s var(--ease);
}
.site-head.is-stuck {
  background: rgba(238, 246, 241, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.head-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  block-size: 78px;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--green); }
.brand svg { inline-size: 30px; block-size: 30px; flex: none; }
.brand span {
  font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em;
  color: var(--ink); white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a {
  font-size: .93rem; font-weight: 500; color: var(--ink-2);
  position: relative; padding-block: .35rem;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0;
  inline-size: 100%; block-size: 1px; background: var(--green);
  transform: scaleX(0); transform-origin: inline-start;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--green); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--green); }

.head-side { display: flex; align-items: center; gap: 1rem; }

.lang {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: .5rem 1rem; border-radius: 100px;
  transition: all .3s var(--ease);
}
.lang:hover { border-color: var(--green); color: var(--green); background: var(--wash); }

.burger {
  display: none;
  inline-size: 44px; block-size: 44px;
  background: none; border: 1px solid var(--line); border-radius: 100px;
  place-items: center; padding: 0;
}
.burger span {
  display: block; inline-size: 17px; block-size: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span + span { margin-block-start: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  padding-block: clamp(3rem, 7vw, 6.5rem) clamp(4rem, 9vw, 8rem);
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset-inline: 0;
  inset-block-start: -100px; block-size: calc(100% + 100px);
  z-index: -1;
  background:
    radial-gradient(78% 88% at 24% 26%, rgba(127, 186, 200, .26), transparent 62%),
    radial-gradient(66% 78% at 86% 4%,  rgba(177, 217, 197, .42), transparent 60%),
    linear-gradient(180deg, #e3efe8 0%, var(--paper) 82%);
}
:root[dir="ltr"] .hero::before {
  background:
    radial-gradient(78% 88% at 76% 26%, rgba(127, 186, 200, .26), transparent 62%),
    radial-gradient(66% 78% at 14% 4%,  rgba(177, 217, 197, .42), transparent 60%),
    linear-gradient(180deg, #e3efe8 0%, var(--paper) 82%);
}
.hero-grid {
  display: grid;
  overflow-wrap: anywhere;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: .8rem;
  margin-block-start: clamp(2rem, 3.5vw, 2.9rem);
}

/* The aperture: the palm mark is the only place colour lives on this page. */
.aperture { position: relative; }
.aperture svg { inline-size: 100%; block-size: auto; }
/* The mark settles in on load rather than sliding like the rest of the page. */
.js .aperture.reveal { transform: scale(.94); }
.js .aperture.reveal.is-in { transform: none; }

.aperture-disc {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 12%;
  max-inline-size: 420px;
  margin-inline: auto;
  background:
    radial-gradient(120% 120% at 28% 18%, #0d7355 0%, #06553d 45%, #03412f 100%);
  box-shadow:
    0 42px 90px -40px rgba(3, 58, 42, .55),
    inset 0 0 0 1px rgba(255, 255, 255, .08);
}
/* Brand pattern, barely there — texture rather than decoration. */
.aperture-disc::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: url("../img/pattern.png") center / 34% repeat;
  opacity: .3;
  mix-blend-mode: soft-light;
}
/* A hairline ring, offset, so the disc reads as an object and not a blob. */
.aperture-disc::after {
  content: "";
  position: absolute; inset: -5.5%;
  border-radius: 50%;
  border: 1px solid rgba(5, 96, 70, .2);
}
.aperture-disc svg { position: relative; z-index: 1; }

.aperture-cap {
  margin-block-start: 2rem;
  text-align: center;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-3);
}
:root[lang="ar"] .aperture-cap { letter-spacing: normal; font-size: .85rem; }

/* --- Capability strip --------------------------------------------------- */
.strip {
  background: var(--surface);
  border-block: 1px solid var(--line-soft);
  padding-block: 1.4rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.strip-track {
  display: flex; align-items: center; gap: 3.2rem;
  inline-size: max-content;
  animation: marquee 42s linear infinite;
}
:root[dir="rtl"] .strip-track { animation-direction: reverse; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track li {
  display: inline-flex; align-items: center; gap: 3.2rem;
  font-size: .95rem; font-weight: 500; color: var(--ink-2);
  white-space: nowrap;
}
.strip-track li::after {
  content: ""; inline-size: 1px; block-size: 14px;
  background: var(--line); flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }
:root[dir="rtl"] .strip-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* --- Section header ----------------------------------------------------- */
.sec-head { max-width: 62ch; margin-block-end: clamp(2.8rem, 5vw, 4.5rem); }

/* --- Values ------------------------------------------------------------- */
.values {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.value {
  padding: clamp(2rem, 3.2vw, 2.9rem) clamp(1.3rem, 2.4vw, 2.4rem);
  background: var(--surface);
  transition: background .4s var(--ease);
}
.value { position: relative; }
.value:hover { background: #f8fcfa; }
.value h3 {
  font-size: 1.14rem; font-weight: 700; margin: 0 0 .7rem;
  color: var(--ink);
}
.value p { margin: 0; color: var(--ink-2); font-size: .96rem; text-wrap: pretty; }
.value .vmark {
  inline-size: 22px; block-size: 22px; color: var(--green-2);
  margin-block-end: 1.5rem;
  transition: transform .5s var(--ease), color .4s var(--ease);
}
.value:hover .vmark { transform: scale(1.14) rotate(-8deg); color: var(--green); }

/* --- Process ------------------------------------------------------------ */
.process-band {
  background:
    linear-gradient(180deg, var(--wash), #edf5f0);
  border-block: 1px solid var(--line-soft);
}
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding-block: clamp(1.8rem, 3vw, 2.6rem);
  border-block-start: 1px solid var(--line);
}
.step:last-child { border-block-end: 1px solid var(--line); }
.step-n {
  font-size: 1.05rem; font-weight: 700; color: var(--green-2);
  font-feature-settings: "tnum";
}
.step h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); font-weight: 600; margin: 0; }
.step p { margin: 0; color: var(--ink-2); text-wrap: pretty; }

/* --- Services ----------------------------------------------------------- */
.phase + .phase { margin-block-start: clamp(3.5rem, 6vw, 5.5rem); }
.phase-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.2rem;
  padding: clamp(1.4rem, 2.4vw, 1.9rem) clamp(1.1rem, 2vw, 1.8rem);
  background: linear-gradient(180deg, #dfeee6, #e9f4ee);
  border: 1px solid var(--line);
  border-start-start-radius: 14px; border-start-end-radius: 14px;
  border-block-end: 2px solid var(--green);
}
.phase-n {
  font-size: .8rem; font-weight: 700; color: #fff;
  background: var(--green);
  padding: .3rem .85rem; border-radius: 100px;
  font-feature-settings: "tnum";
}
.phase-head h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 600; margin: 0; }
.phase-head p { margin: 0; color: var(--ink-2); font-size: .95rem; flex-basis: 100%; }

.svc-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-block-start: 0;
  border-end-start-radius: 14px; border-end-end-radius: 14px;
  overflow: hidden;
}
.svc {
  display: block;
  padding: clamp(1.5rem, 2.4vw, 2.1rem) clamp(1rem, 2vw, 1.8rem);
  background: var(--surface);
  transition: background .4s var(--ease);
  position: relative;
}
.svc:last-child:nth-child(odd) { grid-column: 1 / -1; }
.svc::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0;
  inline-size: 2px; background: var(--green);
  transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease);
}
.svc:hover { background: #f5fbf7; }
.svc:hover::before { transform: scaleY(1); }
.svc-top { display: flex; align-items: center; gap: .8rem; margin-block-end: .55rem; }
.svc-top svg {
  inline-size: 17px; block-size: 17px; flex: none;
  color: var(--mint); transition: color .4s var(--ease), transform .5s var(--ease);
}
.svc:hover .svc-top svg { color: var(--green); transform: rotate(-10deg) scale(1.1); }
.svc h4 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.svc p { margin: 0; color: var(--ink-2); font-size: .95rem; text-wrap: pretty; }

/* --- Team quote --------------------------------------------------------- */
.team-band {
  background:
    radial-gradient(70% 130% at 50% 0%, #dcece3, #e8f3ec 68%);
  border-block: 1px solid var(--line-soft);
  position: relative; overflow: hidden;
}
.team-band::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/pattern.png") center / 260px repeat;
  opacity: .1;
}
.team-band > * { position: relative; z-index: 1; }
.team-band .team-mark { color: var(--green-2); opacity: .8; }
.team { text-align: center; }
.team .h2 { max-width: 30ch; margin-inline: auto; }
.team .lead { max-width: 62ch; margin-inline: auto; }
.team-mark {
  inline-size: 46px; block-size: 46px; color: var(--green-2);
  margin: 0 auto clamp(1.8rem, 3vw, 2.6rem);
}

/* --- Contact ------------------------------------------------------------ */
.contact-band {
  background: var(--green);
  background-image: url("../img/pattern.png");
  background-size: 300px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(8,110,80,.5), rgba(3,52,38,.93));
}
.contact-band > * { position: relative; z-index: 1; }
.contact-band .eyebrow { color: var(--mint); }
.contact-band .h2 { color: #fff; }
.contact-band .h2 strong { color: var(--mint); }
.contact-band .lead { color: rgba(255,255,255,.82); }

.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.channels { display: grid; gap: 1px; margin-block-start: clamp(2rem, 3.5vw, 3rem); }
.channel {
  display: flex; align-items: center; gap: 1rem;
  padding-block: 1.05rem;
  border-block-start: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.9);
  transition: padding-inline-start .35s var(--ease), color .3s var(--ease);
}
.channel:last-child { border-block-end: 1px solid rgba(255,255,255,.16); }
.channel:hover { padding-inline-start: .6rem; color: #fff; }
.channel svg { transition: transform .35s var(--ease); }
.channel:hover svg { transform: scale(1.12); }
.channel svg { inline-size: 18px; block-size: 18px; flex: none; color: var(--mint); }
.channel span { font-size: .96rem; font-weight: 500; }
.num { direction: ltr; unicode-bidi: isolate; font-feature-settings: "tnum"; }
.channel small {
  margin-inline-start: auto; font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}
:root[lang="ar"] .channel small { letter-spacing: normal; font-size: .82rem; }

/* Form */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .5rem; }
.field label {
  font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.72);
}
.field input, .field textarea, .field select {
  font-family: inherit;
  caret-color: var(--mint); font-size: .98rem; color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: .85rem 1.05rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  inline-size: 100%;
}
.field textarea { resize: vertical; min-block-size: 110px; line-height: 1.8; }
.field select { appearance: none; }
.field select option { color: var(--ink); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.42); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--mint); background: rgba(255,255,255,.14);
}
.form-note { font-size: .82rem; color: rgba(255,255,255,.55); margin: 0; }

/* --- Footer ------------------------------------------------------------- */
.site-foot { padding-block: 3rem; }
.foot-in {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.2rem;
  font-size: .87rem; color: var(--ink-3);
}
.foot-links { display: flex; gap: 1.6rem; }
.foot-links a:hover { color: var(--green); }

/* --- Scroll reveal ------------------------------------------------------ */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }

/* Page-load sequence for the hero */
.hero .reveal { transform: translateY(28px); }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* On a narrow screen the headline should land first; the mark follows it. */
  .aperture { max-width: 320px; margin-inline: auto; margin-block-start: 1rem; }
  .hero { padding-block-start: clamp(1.5rem, 5vw, 3rem); }
  .values { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 3.2rem 1fr; }
  .step p { grid-column: 2; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; inset-block-start: 78px; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #eef6f1;
    border-block-start: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.6rem;
    box-shadow: 0 24px 48px -26px rgba(5,96,70,.32);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .45s var(--ease);
  }
  .nav.is-open { clip-path: inset(0 0 0 0); }
  .nav a { padding-block: .95rem; border-block-end: 1px solid var(--line-soft); font-size: 1rem; }
  .nav a::after { display: none; }
  .burger { display: grid; }
  .svc-list { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .foot-in { flex-direction: column; text-align: center; }
}

/* --- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --- Scrollbar (desktop only; mobile keeps the native overlay bar) -------- */
@media (min-width: 721px) and (pointer: fine) {
  * { scrollbar-width: thin; scrollbar-color: rgba(5, 96, 70, .3) transparent; }
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-track { background: var(--wash); }
  ::-webkit-scrollbar-thumb {
    background: rgba(5, 96, 70, .28);
    border: 3px solid var(--wash);
    border-radius: 100px;
  }
  ::-webkit-scrollbar-thumb:hover { background: rgba(5, 96, 70, .45); }
}

/* --- Print -------------------------------------------------------------- */
@media print {
  .site-head, .strip, .form, .burger { display: none; }
  body { background: #fff; }
  .contact-band { background: #fff; color: var(--ink); }
  .contact-band::after { display: none; }
}
