/* Hallmark · genre: editorial-luxury · macrostructure: Marquee Hero · theme: custom (brand copper #a86030 on warm ivory) · enrichment: Tier-B hand-built SVG skyline · nav: N5 floating pill · footer: Ft5 statement
 * pre-emit critique: P5 H5 E5 S5 R4 V5
 * الإنجازات الحديثة — luxury real-estate & contracting · light identity matched to logo
 */

/* ============ Tokens (derived from logo: copper #a86030, espresso #302418) ============ */
:root {
  /* paper — warm ivory, layered for depth (NOT flat white) */
  --color-paper:    oklch(96.5% 0.011 79);
  --color-paper-2:  oklch(94% 0.014 77);
  --color-paper-3:  oklch(90.5% 0.018 74);
  --color-paper-4:  oklch(87% 0.022 72);

  /* dark anchor for dramatic bands */
  --color-dark:     oklch(22% 0.022 56);
  --color-dark-2:   oklch(27% 0.026 54);

  /* ink — espresso brown family */
  --color-ink:      oklch(26% 0.028 60);   /* #302418 */
  --color-ink-soft: oklch(42% 0.030 58);
  --color-ink-dim:  oklch(55% 0.028 56);
  --color-on-dark:      oklch(95% 0.012 80);
  --color-on-dark-soft: oklch(80% 0.018 70);
  --color-on-dark-dim:  oklch(66% 0.022 62);

  /* accent — brand copper */
  --color-accent:       oklch(54% 0.128 50);  /* deep copper, AA on ivory */
  --color-accent-bright:oklch(62% 0.118 53);  /* lighter copper */
  --color-accent-deep:  oklch(40% 0.090 48);  /* bronze */
  --color-focus:        oklch(54% 0.128 50);

  /* lines */
  --line:      oklch(26% 0.028 60 / 0.12);
  --line-warm: oklch(54% 0.128 50 / 0.30);

  /* type */
  --font-display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body:    "IBM Plex Sans Arabic", system-ui, sans-serif;

  --text-hero:    clamp(3rem, 8vw, 6.8rem);
  --text-display: clamp(2.6rem, 6.6vw, 5.4rem);
  --text-h1:      clamp(2.3rem, 5.2vw, 4.2rem);
  --text-h2:      clamp(1.85rem, 4vw, 3rem);
  --text-h3:      1.28rem;
  --text-lead:    clamp(1.04rem, 1.5vw, 1.22rem);

  /* spacing 4pt */
  --space-xs: 8px; --space-sm: 16px; --space-md: 24px; --space-lg: 40px;
  --space-xl: 72px; --space-2xl: 112px;

  --radius: 20px; --radius-sm: 14px; --radius-pill: 100px;
  --container: 1240px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:  cubic-bezier(0.55, 0, 0.45, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.6s;

  --shadow-sm:   0 6px 20px oklch(40% 0.05 50 / 0.10);
  --shadow-soft: 0 26px 60px oklch(35% 0.05 50 / 0.16);
  --glow: 0 12px 34px oklch(54% 0.128 50 / 0.34);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }

/* Lenis smooth-scroll base */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  background: var(--color-paper);
  color: var(--color-ink);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  cursor: auto;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--color-accent); color: var(--color-paper); }

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 5000; background: var(--color-accent); color: #fff; padding: 12px 22px; border-radius: var(--radius-pill); font-weight: 700; transform: translateY(-160%); transition: transform .3s var(--ease-out); }
.skip-link:focus { transform: translateY(0); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.section { padding: var(--space-2xl) 0; position: relative; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.42; letter-spacing: 0; color: var(--color-ink); font-style: normal; overflow-wrap: anywhere; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.84rem; font-weight: 600;
  color: var(--color-accent); margin-bottom: var(--space-md);
}
.kicker::before { content: ""; width: 30px; height: 1px; background: var(--color-accent); display: inline-block; }

.head { max-width: 760px; margin-bottom: var(--space-xl); text-align: start; }
.head h2 { font-size: var(--text-h2); margin-bottom: var(--space-sm); }
.head--center { margin-inline: auto; text-align: center; max-width: 640px; }
.head--center .kicker { justify-content: center; }
.head--xl h2 { font-size: var(--text-h1); }
.head-lead { color: var(--color-ink-soft); font-size: var(--text-lead); }

/* ============ Cursor / progress / grain ============ */
.scroll-progress {
  position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--color-accent-deep), var(--color-accent));
  z-index: 3000; transition: width 0.1s linear;
}
.grain {
  position: fixed; inset: 0; z-index: 2500; pointer-events: none; opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px; border-radius: var(--radius-pill); font-family: var(--font-body);
  font-weight: 700; font-size: 1rem; cursor: pointer; border: none; position: relative;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background .4s, color .4s;
  will-change: transform;
}
.btn-primary { background: var(--color-accent); color: var(--color-paper); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-accent-deep); box-shadow: var(--glow); }
.btn-line { background: transparent; color: var(--color-ink); border: 1.5px solid var(--line-warm); }
.btn-line:hover { border-color: var(--color-accent); color: var(--color-accent); background: oklch(54% 0.128 50 / 0.06); }
.btn-block { width: 100%; }
.btn-arrow { font-style: normal; transition: transform .4s var(--ease-out); }
.btn:hover .btn-arrow { transform: translate(-3px, -3px); }

/* ============ Nav N5 floating pill ============ */
.nav-shell { position: fixed; inset-inline: 0; top: 0; z-index: 1500; display: flex; justify-content: center; padding: 18px clamp(16px, 4vw, 40px); transition: padding .4s var(--ease-out); }
.nav-pill {
  width: 100%; max-width: var(--container); display: flex; align-items: center; gap: var(--space-md);
  padding: 12px 14px 12px 22px; border-radius: var(--radius-pill);
  background: oklch(96.5% 0.011 79 / 0.72); border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out), transform .5s var(--ease-out);
}
.nav-shell.scrolled .nav-pill { background: oklch(96.5% 0.011 79 / 0.92); box-shadow: var(--shadow-soft); }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; transition: transform .5s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--font-display); font-size: 1.06rem; font-weight: 700; color: var(--color-ink); }
.brand-text em { font-size: 0.68rem; font-style: normal; color: var(--color-accent); }

.nav-links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-links a { padding: 9px 16px; font-weight: 600; font-size: 0.96rem; color: var(--color-ink-soft); border-radius: var(--radius-pill); position: relative; transition: color .3s; }
.nav-links a span { position: relative; }
.nav-links a span::after { content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 1.5px; background: var(--color-accent); transform: scaleX(0); transform-origin: inline-end; transition: transform .4s var(--ease-out); }
.nav-links a:hover { color: var(--color-ink); }
.nav-links a:hover span::after { transform: scaleX(1); transform-origin: inline-start; }
.nav-cta { padding: 12px 26px; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-paper); font-weight: 700; font-size: 0.96rem; transition: background .35s, box-shadow .35s, transform .35s var(--ease-out); }
.nav-cta:hover { background: var(--color-accent-deep); box-shadow: var(--glow); }
.nav-burger { display: none; flex-direction: column; gap: 6px; width: 44px; height: 44px; border: none; background: none; cursor: pointer; align-items: center; justify-content: center; }
.nav-burger span { width: 24px; height: 2px; background: var(--color-ink); border-radius: 2px; transition: transform .4s var(--ease-out), opacity .3s; }

/* ============ Hero — cinematic full-bleed ============ */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-top: 150px; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 118%; object-fit: cover; object-position: center; will-change: transform; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, var(--color-paper) 1%, oklch(18% 0.03 50 / 0.86) 20%, oklch(18% 0.03 50 / 0.42) 60%, oklch(18% 0.03 50 / 0.50) 100%),
    linear-gradient(to left, oklch(14% 0.025 48 / 0.92) 0%, oklch(14% 0.025 48 / 0.55) 40%, transparent 72%);
}

.hero-inner { position: relative; z-index: 2; max-width: 820px; padding-bottom: var(--space-lg); }
.hero-eyebrow { font-size: 0.95rem; color: var(--color-accent-bright); font-weight: 600; margin-bottom: var(--space-sm); }
.hero-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4.7vw, 4.1rem); line-height: 1.24; letter-spacing: 0; margin-bottom: var(--space-md); color: #fff; text-shadow: 0 2px 26px oklch(0% 0 0 / 0.55); }
.hero-title .line + .line { margin-top: 0.08em; }
.hero-title .line { display: block; }
.hero-title .line > span { display: block; }
.hero-title i { font-style: normal; color: var(--color-accent-bright); }
.hero-lead { font-size: var(--text-lead); color: oklch(94% 0.01 75 / 0.9); max-width: 580px; margin-bottom: var(--space-lg); line-height: 1.85; }
.hero-cta { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.btn-glass { background: oklch(100% 0 0 / 0.10); color: #fff; border: 1.5px solid oklch(100% 0 0 / 0.35); backdrop-filter: blur(8px); }
.btn-glass:hover { background: oklch(100% 0 0 / 0.20); border-color: #fff; }

.hero-foot { position: relative; z-index: 2; border-top: 1px solid oklch(100% 0 0 / 0.16); padding: var(--space-md) 0 var(--space-lg); }
.hero-foot-row { display: flex; align-items: center; gap: clamp(20px, 5vw, 70px); }
.hero-mini { display: flex; flex-direction: column; }
.hero-mini-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.1rem); color: #fff; line-height: 1.1; }
.hero-mini-label { font-size: 0.86rem; color: oklch(92% 0.01 75 / 0.7); }
.hero-scroll { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: oklch(92% 0.01 75 / 0.7); }
.hero-scroll span { width: 1px; height: 40px; background: linear-gradient(var(--color-accent-bright), transparent); position: relative; overflow: hidden; }
.hero-scroll span::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 40%; background: #fff; animation: scrollDrop 1.8s var(--ease-in-out) infinite; }
@keyframes scrollDrop { 0% { transform: translateY(-100%);} 100% { transform: translateY(250%);} }

/* ============ Marquee ============ */
.marquee { background: var(--color-accent); color: var(--color-paper); padding: 18px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.marquee-track i { font-style: normal; padding: 0 28px; opacity: 0.5; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(50%);} }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ============ About ============ */
.about { background: var(--color-paper); }
.about-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-media { position: relative; padding-bottom: 30px; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/5; }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.about-media:hover .about-img img { transform: scale(1.05); }
.about-detail { position: absolute; bottom: 0; inset-inline-start: -28px; width: 46%; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; border: 5px solid var(--color-paper); box-shadow: var(--shadow-soft); }
.about-detail img { width: 100%; height: 100%; object-fit: cover; }
.about-chip { position: absolute; top: -22px; inset-inline-end: -18px; background: var(--color-paper); border: 1px solid var(--line-warm); border-radius: 14px; padding: 14px 20px; text-align: center; box-shadow: var(--shadow-soft); z-index: 2; }
.about-chip strong { display: block; font-family: var(--font-display); color: var(--color-accent); font-size: 1.2rem; }
.about-chip span { font-size: 0.74rem; color: var(--color-ink-dim); }

.about-body h2 { font-size: var(--text-h2); margin-bottom: var(--space-md); }
.about-body .lead { font-size: var(--text-lead); color: var(--color-ink); margin-bottom: var(--space-sm); }
.about-body p { color: var(--color-ink-soft); margin-bottom: var(--space-sm); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); margin-top: var(--space-lg); }
.vm-card { background: var(--color-paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-md); transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s; }
.vm-card:hover { transform: translateY(-5px); border-color: var(--line-warm); box-shadow: var(--shadow-sm); }
.vm-ic { color: var(--color-accent); font-size: 1.4rem; display: block; margin-bottom: 8px; }
.vm-card h3 { font-size: var(--text-h3); color: var(--color-accent-deep); margin-bottom: 6px; }
.vm-card p { color: var(--color-ink-soft); font-size: 0.95rem; }

/* ============ Stats — DARK dramatic band with image ============ */
.stats { background: var(--color-dark); position: relative; overflow: hidden; }
.stats-bg { position: absolute; inset: 0; z-index: 0; }
.stats-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: saturate(0.9); }
.stats::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--color-dark) 0%, oklch(22% 0.022 56 / 0.78) 50%, var(--color-dark) 100%); }
.stats::before { content: ""; position: absolute; width: 50vw; height: 50vw; top: -25vw; inset-inline-start: 50%; transform: translateX(50%); background: radial-gradient(circle, oklch(54% 0.128 50 / 0.22), transparent 65%); z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); padding: var(--space-xl) 0; position: relative; z-index: 2; }
.stat { text-align: center; position: relative; }
.stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 15%; height: 70%; width: 1px; background: oklch(54% 0.128 50 / 0.3); }
.stat:first-child::before { display: none; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; color: var(--color-on-dark); }
.stat i { font-style: normal; font-family: var(--font-display); font-size: 1.4rem; color: var(--color-accent-bright); }
.stat p { color: var(--color-on-dark-dim); font-size: 0.94rem; margin-top: 4px; }

/* ============ Services ============ */
.services { background: var(--color-paper-2); }
.svc-split { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.head--sticky { position: sticky; top: 120px; margin-bottom: 0; }
.svc-cta { margin-top: var(--space-lg); }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.svc { background: var(--color-paper); padding: clamp(28px, 3vw, 44px); position: relative; transition: background .5s var(--ease-out); overflow: hidden; isolation: isolate; }
.svc-bg { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s var(--ease-out); }
.svc-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease-out); }
.svc-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, oklch(20% 0.03 50 / 0.86), oklch(16% 0.03 48 / 0.94)); }
.svc:hover { background: var(--color-dark); }
.svc:hover .svc-bg { opacity: 1; }
.svc:hover .svc-bg img { transform: scale(1); }
.svc:hover h3 { color: var(--color-on-dark); }
.svc:hover p { color: var(--color-on-dark-soft); }
.svc:hover .svc-no { color: var(--color-accent-bright); opacity: 0.5; }
.svc-no { position: absolute; top: clamp(20px,2.4vw,32px); inset-inline-start: clamp(24px,3vw,40px); font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--color-accent); opacity: 0.10; line-height: 1; }
.svc-ic { position: relative; display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; margin-bottom: var(--space-md); color: var(--color-accent); background: linear-gradient(150deg, oklch(54% 0.128 50 / 0.12), oklch(54% 0.128 50 / 0.04)); transition: background .5s var(--ease-out), color .5s, transform .5s var(--ease-out); }
.svc-ic svg { width: 30px; height: 30px; }
.svc:hover .svc-ic { background: var(--color-accent); color: var(--color-paper); transform: translateY(-3px); }
.svc h3 { font-size: var(--text-h3); margin-bottom: 10px; position: relative; }
.svc p { color: var(--color-ink-soft); font-size: 0.98rem; position: relative; }
.svc-go { position: absolute; top: clamp(28px, 3vw, 44px); inset-inline-start: clamp(28px, 3vw, 44px); color: var(--color-accent); font-size: 1.3rem; opacity: 0; transform: translateX(8px); transition: all .4s var(--ease-out); }
.svc:hover .svc-go { opacity: 1; transform: translateX(0); }
.svc-link { position: absolute; inset: 0; z-index: 3; }

/* ============ Projects ============ */
.projects { background: var(--color-paper); }
.filter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: var(--space-xl); }
.f-btn { padding: 10px 24px; border-radius: var(--radius-pill); border: 1px solid var(--line-warm); background: transparent; color: var(--color-ink-soft); font-family: var(--font-body); font-weight: 600; font-size: 0.94rem; cursor: pointer; transition: all .35s var(--ease-out); }
.f-btn:hover { color: var(--color-accent); border-color: var(--color-accent); }
.f-btn.active { background: var(--color-accent); border-color: transparent; color: var(--color-paper); }

.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.proj { border-radius: var(--radius); overflow: hidden; background: var(--color-paper-2); border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s; transform-style: preserve-3d; box-shadow: var(--shadow-sm); }
.proj.hide { display: none; }
.proj:hover { box-shadow: var(--shadow-soft); border-color: var(--line-warm); }
.proj-img { height: 240px; position: relative; overflow: hidden; background: var(--color-paper-4); }
.proj-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease-out); }
.proj:hover .proj-img img { transform: scale(1.07); }
.proj-img::after { content: "↖"; position: absolute; top: 16px; inset-inline-start: 16px; width: 42px; height: 42px; border-radius: 50%; background: oklch(26% 0.028 60 / 0.5); display: grid; place-items: center; color: var(--color-paper); font-size: 1.2rem; opacity: 0; transform: scale(.7) rotate(-30deg); transition: all .45s var(--ease-out); backdrop-filter: blur(4px); z-index: 2; }
.proj:hover .proj-img::after { opacity: 1; transform: scale(1) rotate(0); }
.proj-veil { position: absolute; inset: 0; background: linear-gradient(to top, oklch(26% 0.028 60 / 0.45), transparent 55%); z-index: 1; }
.proj-body { padding: var(--space-md); }
.proj-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; color: var(--color-accent); background: oklch(54% 0.128 50 / 0.12); padding: 4px 13px; border-radius: var(--radius-pill); margin-bottom: 12px; }
.proj-body h3 { font-size: 1.22rem; margin-bottom: 5px; }
.proj-body p { color: var(--color-ink-dim); font-size: 0.92rem; }

/* ============ Featured project ============ */
.featured { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--color-paper-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: var(--space-xl); box-shadow: var(--shadow-sm); transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out); }
.featured:hover { box-shadow: var(--shadow-soft); }
.featured-img { position: relative; min-height: 380px; overflow: hidden; }
.featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.featured:hover .featured-img img { transform: scale(1.05); }
.featured-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.featured-tag { align-self: flex-start; font-size: 0.74rem; font-weight: 700; color: var(--color-paper); background: var(--color-accent); padding: 5px 16px; border-radius: var(--radius-pill); margin-bottom: var(--space-md); }
.featured-body h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: var(--space-sm); }
.featured-body > p { color: var(--color-ink-soft); margin-bottom: var(--space-md); }
.featured-meta { display: flex; gap: clamp(20px, 4vw, 44px); margin-bottom: var(--space-lg); flex-wrap: wrap; }
.featured-meta span { font-size: 0.9rem; color: var(--color-ink-dim); }
.featured-meta b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-ink); font-weight: 700; }
.featured-link { font-weight: 700; color: var(--color-accent); display: inline-flex; align-items: center; gap: 8px; }
.featured-link i { font-style: normal; transition: transform .4s var(--ease-out); }
.featured:hover .featured-link i { transform: translate(-4px, -4px); }

/* ============ Process — dark with image ============ */
.process { background: var(--color-paper); position: relative; overflow: hidden; }
.process-dark { background: var(--color-dark); }
.process-bg { position: absolute; inset: 0; z-index: 0; }
.process-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.16; filter: saturate(0.85); }
.process-dark::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--color-dark) 0%, oklch(22% 0.022 56 / 0.82) 45%, var(--color-dark) 100%); }
.process-dark .container { position: relative; z-index: 1; }
.process-dark .head h2 { color: var(--color-on-dark); }
.process-dark .head-lead { color: var(--color-on-dark-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; inset-inline: 8%; height: 1px; background: linear-gradient(90deg, transparent, oklch(54% 0.128 50 / 0.4) 20%, oklch(54% 0.128 50 / 0.4) 80%, transparent); }
.step { position: relative; text-align: center; padding: 0 var(--space-sm); }
.step-no { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--color-dark-2); border: 1px solid oklch(54% 0.128 50 / 0.4); color: var(--color-accent-bright); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: var(--space-md); position: relative; z-index: 1; transition: background .4s var(--ease-out), color .4s, transform .4s var(--ease-out); }
.step:hover .step-no { background: var(--color-accent); color: var(--color-paper); transform: translateY(-4px); }
.step h3 { font-size: var(--text-h3); margin-bottom: 8px; color: var(--color-on-dark); }
.step p { color: var(--color-on-dark-soft); font-size: 0.95rem; }

/* ============ Reviews ============ */
.reviews { background: var(--color-paper); }
.reviews-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-auto-rows: 1fr; gap: var(--space-md); }
.review { background: var(--color-paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; gap: var(--space-md); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.review:first-child { grid-row: span 2; background: var(--color-dark); border-color: transparent; }
.review:first-child blockquote { font-size: clamp(1.3rem, 2vw, 1.75rem); color: var(--color-on-dark); font-family: var(--font-display); line-height: 1.6; }
.review:first-child figcaption b { color: var(--color-on-dark); }
.review:first-child figcaption span { color: var(--color-on-dark-soft); }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.review-stars { color: var(--color-accent); letter-spacing: 3px; font-size: 1.05rem; }
.review blockquote { font-size: 1.08rem; line-height: 1.9; color: var(--color-ink); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-warm); }
.review figcaption span { display: flex; flex-direction: column; font-size: 0.85rem; color: var(--color-ink-dim); }
.review figcaption b { font-size: 1rem; color: var(--color-ink); font-weight: 700; }

/* ============ Team ============ */
.team { background: var(--color-paper); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); align-items: start; }
.team-grid .member:nth-child(even) { margin-top: var(--space-xl); }
.member { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.member-img { aspect-ratio: 3/4; overflow: hidden; }
.member-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.55) saturate(0.9); transition: transform 1s var(--ease-out), filter .6s var(--ease-out); }
.member:hover .member-img img { transform: scale(1.06); filter: grayscale(0) saturate(1); }
.member figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: var(--space-lg) var(--space-md) var(--space-md); display: flex; flex-direction: column; gap: 2px; color: #fff;
  background: linear-gradient(to top, oklch(18% 0.03 48 / 0.92), transparent); }
.member figcaption b { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; }
.member figcaption span { font-size: 0.85rem; color: var(--color-accent-bright); }

/* ============ Partners — logo marquee ============ */
.partners { background: var(--color-paper); padding: var(--space-xl) 0; border-block: 1px solid var(--line); overflow: hidden; }
.partners-label { text-align: center; font-size: 0.86rem; color: var(--color-ink-dim); margin-bottom: var(--space-lg); }
.partners-label span { font-size: 0.78rem; opacity: 0.55; }
.logo-marquee {
  position: relative; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-track { display: inline-flex; align-items: center; gap: clamp(48px, 7vw, 100px); padding-inline-start: clamp(48px, 7vw, 100px); animation: logoScroll 34s linear infinite; will-change: transform; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(50%); } }
.partner-logo { height: clamp(26px, 2.6vw, 34px); width: auto; flex-shrink: 0; filter: grayscale(1) brightness(0) opacity(0.42); transition: filter .4s var(--ease-out), transform .4s var(--ease-out); }
.partner-logo:hover { filter: grayscale(0) opacity(1); transform: scale(1.05); }

/* ============ Why ============ */
.why { background: var(--color-paper-2); }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.why-head { position: sticky; top: 130px; }
.why-head h2 { font-size: var(--text-h2); margin-bottom: var(--space-sm); }
.why-head > p { color: var(--color-ink-soft); font-size: var(--text-lead); margin-bottom: var(--space-lg); }
.why-img { margin-top: var(--space-lg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 16/11; }
.why-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.why-img:hover img { transform: scale(1.05); }
.why-list { display: grid; gap: var(--space-sm); }
.why-item { display: flex; gap: var(--space-md); align-items: flex-start; background: var(--color-paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-md) var(--space-lg); transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s; box-shadow: var(--shadow-sm); }
.why-item:hover { transform: translateX(-6px); border-color: var(--line-warm); box-shadow: var(--shadow-soft); }
.why-no { font-family: var(--font-display); font-size: 1.7rem; color: var(--color-accent); min-width: 46px; }
.why-item h3 { font-size: var(--text-h3); margin-bottom: 4px; }
.why-item p { color: var(--color-ink-soft); font-size: 0.96rem; }

/* ============ FAQ ============ */
.faq { background: var(--color-paper-2); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head h2 { font-size: var(--text-h2); margin-bottom: var(--space-sm); }
.faq-head > p { color: var(--color-ink-soft); font-size: var(--text-lead); }
.faq-list { display: grid; gap: var(--space-sm); }
.faq-item { background: var(--color-paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-md) var(--space-lg); transition: border-color .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.faq-item[open] { border-color: var(--line-warm); box-shadow: var(--shadow-sm); }
.faq-item summary { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--color-ink); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-accent); transition: transform .35s var(--ease-out); line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--color-ink-soft); font-size: 0.98rem; margin-top: var(--space-sm); line-height: 1.9; }

/* ============ Contact ============ */
.contact { background: var(--color-paper); overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 5vw, 70px); align-items: start; position: relative; z-index: 1; }
.contact-info h2 { font-size: var(--text-h2); margin-bottom: var(--space-md); }
.contact-info .lead { color: var(--color-ink-soft); font-size: var(--text-lead); margin-bottom: var(--space-lg); }
.ci-list { display: grid; gap: var(--space-md); margin-bottom: var(--space-lg); }
.ci-list li { display: flex; gap: var(--space-sm); align-items: center; }
.ci-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--color-paper-2); border: 1px solid var(--line-warm); display: grid; place-items: center; font-size: 1.3rem; color: var(--color-accent); flex-shrink: 0; box-shadow: var(--shadow-sm); }
.ci-list strong { display: block; color: var(--color-ink); font-size: 0.98rem; }
.ci-list p { color: var(--color-ink-dim); font-size: 0.94rem; }
.socials { display: flex; gap: 12px; }
.socials a { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--color-paper-2); border: 1px solid var(--line); color: var(--color-accent); font-weight: 700; transition: all .35s var(--ease-out); }
.socials a:hover { background: var(--color-accent); color: var(--color-paper); transform: translateY(-4px); box-shadow: var(--glow); }

.form { background: var(--color-paper-2); border: 1px solid var(--line-warm); border-radius: var(--radius); padding: clamp(26px, 3vw, 44px); box-shadow: var(--shadow-soft); }
.field { margin-bottom: var(--space-md); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--color-ink); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line-warm); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.98rem; background: var(--color-paper); color: var(--color-ink); transition: border-color .3s, box-shadow .3s; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--color-ink-dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px oklch(54% 0.128 50 / 0.16); }
.form-note { text-align: center; color: var(--color-accent-deep); font-weight: 700; margin-top: var(--space-sm); }
.form-note.is-error { color: oklch(52% 0.17 25); }
.contact-map { margin-top: var(--space-xl); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-warm); box-shadow: var(--shadow-soft); height: 340px; position: relative; }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) sepia(0.12); }

/* ============ Footer — DARK statement ============ */
.footer { background: var(--color-dark); color: var(--color-on-dark-soft); padding: var(--space-2xl) 0 var(--space-lg); position: relative; overflow: hidden; }
.footer-bg { position: absolute; inset: 0; z-index: 0; }
.footer-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.12; object-position: center 30%; }
.footer::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--color-dark) 0%, oklch(22% 0.022 56 / 0.7) 50%, var(--color-dark) 100%); }
.footer::before { content: ""; position: absolute; width: 60vw; height: 40vw; bottom: -20vw; inset-inline-end: -10vw; background: radial-gradient(circle, oklch(54% 0.128 50 / 0.16), transparent 65%); z-index: 0; }
.footer .container { position: relative; z-index: 1; }
.foot-statement { font-family: var(--font-display); font-size: clamp(1.8rem, 4.4vw, 3.4rem); font-weight: 600; line-height: 1.25; color: var(--color-on-dark-soft); margin-bottom: var(--space-2xl); position: relative; }
.foot-statement b { color: var(--color-on-dark); font-weight: 700; }
.foot-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; padding-top: var(--space-lg); border-top: 1px solid oklch(95% 0.012 80 / 0.12); position: relative; }
.footer .brand-text strong { color: var(--color-on-dark); }
.footer .brand-text em { color: var(--color-accent-bright); }
.foot-links { display: flex; gap: var(--space-md); }
.foot-links a { color: var(--color-on-dark-soft); font-size: 0.95rem; transition: color .3s; }
.foot-links a:hover { color: var(--color-accent-bright); }
.foot-copy { color: var(--color-on-dark-dim); font-size: 0.86rem; }

/* ============ Reveal motion ============ */
[data-rise] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-rise].in { opacity: 1; transform: none; }
.hero-title .line > span { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.hero-title .line.in > span { opacity: 1; transform: none; }

/* ============ Mobile ============ */
@media (max-width: 1000px) {
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .svc-grid, .proj-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners-row { grid-template-columns: repeat(3, 1fr); }
  .svc-split, .faq-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .head--sticky, .faq-head { position: static; }
  .reviews-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .review:first-child { grid-row: auto; }
  .team-grid .member:nth-child(even) { margin-top: 0; }
  .about-media { max-width: 440px; margin-inline: auto; }
  .featured { grid-template-columns: 1fr; }
  .featured-img { min-height: 260px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-lg); }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; margin-inline-start: auto; }
  .brand { order: 1; }
  .nav-burger { order: 2; }
  .nav-links { order: 3; }
  .nav-cta { order: 4; }
  .nav-pill.open { flex-wrap: wrap; row-gap: var(--space-xs); }
  .nav-links.open { display: flex; flex-direction: column; width: 100%; gap: 2px; margin-top: var(--space-sm); }
  .nav-links.open a { font-size: 1.05rem; padding: 12px; text-align: center; }
  .nav-links.open a span::after { display: none; }
  .nav-cta.open { display: inline-flex; width: 100%; }
  .nav-burger.open span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-burger.open span:last-child { transform: translateY(-4px) rotate(-45deg); }
}
@media (max-width: 680px) {
  .section { padding: var(--space-xl) 0; }
  .svc-grid, .proj-grid, .vm, .field-row, .ci-list, .reviews-grid, .steps { grid-template-columns: 1fr; }
  .partners-row { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg) var(--space-md); }
  .stat:nth-child(odd)::before { display: none; }
  .hero { padding-top: 130px; min-height: auto; }
  .brand-text em { display: none; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
}

/* ============ About credentials ============ */
.about-creds { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin: var(--space-md) 0; }
.about-creds span { display: flex; flex-direction: column; gap: 2px; background: var(--color-paper-2); border: 1px solid var(--line-warm); border-radius: var(--radius-sm); padding: 12px 18px; font-size: 0.84rem; color: var(--color-ink-dim); flex: 1 1 220px; }
.about-creds b { font-family: var(--font-display); font-size: 0.98rem; color: var(--color-accent); }

/* ============ Manager's word ============ */
.leader { background: var(--color-dark); position: relative; overflow: hidden; }
.leader-bg { position: absolute; inset: 0; z-index: 0; }
.leader-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.14; filter: saturate(0.85); }
.leader::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--color-dark) 0%, oklch(22% 0.022 56 / 0.8) 50%, var(--color-dark) 100%); }
.leader::before { content: ""; position: absolute; width: 46vw; height: 46vw; top: -24vw; inset-inline-start: -10vw; background: radial-gradient(circle, oklch(54% 0.128 50 / 0.20), transparent 65%); z-index: 1; }
.leader-inner { position: relative; z-index: 2; max-width: 920px; text-align: center; }
.leader-inner .kicker { color: var(--color-accent-bright); }
.leader-quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.5; color: var(--color-on-dark); margin: var(--space-sm) 0 var(--space-md); }
.leader-text { color: var(--color-on-dark-soft); font-size: var(--text-lead); line-height: 2; max-width: 760px; margin: 0 auto; }
.leader-by { color: var(--color-on-dark-dim); margin-top: var(--space-md); font-weight: 600; }

/* ============ Clients (decorative marquee) ============ */
.clients { background: var(--color-paper); overflow: hidden; }
.clients-marquee { overflow: hidden; margin-top: var(--space-sm);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.client-track { display: inline-flex; align-items: center; gap: clamp(16px, 2vw, 26px); padding-block: var(--space-sm); animation: clientScroll 42s linear infinite; will-change: transform; }
.clients-marquee:hover .client-track { animation-play-state: paused; }
.cl-chip { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; padding: 16px 32px; border: 1px solid var(--line-warm); border-radius: var(--radius-pill); background: linear-gradient(160deg, var(--color-paper-2), var(--color-paper)); box-shadow: var(--shadow-sm); }
.cl-chip i { font-style: normal; color: var(--color-accent); font-size: 1.15rem; line-height: 1; }
.cl-chip b { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.42rem); color: var(--color-ink); letter-spacing: 0.01em; }
@keyframes clientScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Certifications ============ */
.certs { background: var(--color-paper-2); }
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.cert { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; background: var(--color-paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-lg) var(--space-md); transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s; box-shadow: var(--shadow-sm); }
.cert:hover { transform: translateY(-6px); border-color: var(--line-warm); box-shadow: var(--shadow-soft); }
.cert-badge { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(150deg, var(--color-accent), var(--color-accent-deep)); color: var(--color-on-dark); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.05; box-shadow: 0 8px 22px oklch(54% 0.128 50 / 0.28); margin-bottom: 4px; }
.cert-badge--ic { font-size: 2rem; background: var(--color-paper-2); color: var(--color-accent); border: 1.5px solid var(--line-warm); box-shadow: var(--shadow-sm); }
.cert b { font-family: var(--font-display); font-size: 1.08rem; color: var(--color-ink); line-height: 1.4; }
.cert-sub { font-size: 0.84rem; color: var(--color-ink-dim); }
.cert img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line-warm); }
@media (max-width: 900px) { .certs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .certs-grid { grid-template-columns: 1fr; } }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-rise] { opacity: 1; transform: none; }
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  .marquee-track, .logo-track, .client-track { animation: none; }
}
