/* ============================================================
   LIWA Companies Management Group - website styles
   Palette: navy #0E2A47 · gold #C6A15B · paper #F7F5F0
   Type:    Didot (display) · Avenir Next (UI) · Geeza Pro (Arabic)
   ============================================================ */

:root {
  --navy: #0E2A47;
  --navy-2: #14344F;
  --ink: #22303c;
  --muted: #67737e;
  --gold: #C6A15B;
  --gold-soft: #e8d9b8;
  --paper: #F7F5F0;
  --paper-2: #EFEBE3;
  --white: #fff;
  --line: rgba(14, 42, 71, .14);
  --serif: Didot, "Bodoni 72", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --ar: "Geeza Pro", "Al Nile", "Segoe UI", Tahoma, sans-serif;
  --ease: cubic-bezier(.22, .61, .24, 1);
  --header-h: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: #fff; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - clamp(36px, 8vw, 96px)); margin-inline: auto; }
.ar { font-family: var(--ar); direction: rtl; }

/* focus */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ------------------------------------------------------------
   Scroll progress
   ------------------------------------------------------------ */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 90;
  background: transparent; pointer-events: none;
}
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .1s linear; }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(247, 245, 240, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: height .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.site-header.scrolled { height: 68px; background: rgba(247, 245, 240, .94); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand-logo { height: 34px; width: auto; transition: height .35s var(--ease); }
.site-header.scrolled .brand-logo { height: 28px; }
.brand-mark { display: none; height: 34px; }
.main-nav { display: flex; gap: 30px; margin-left: auto; }
.nav-link {
  position: relative; text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy); padding: 6px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta {
  margin-left: 8px; text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--paper); background: var(--navy);
  padding: 12px 22px; border-radius: 999px;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.nav-cta:hover { background: var(--gold); transform: translateY(-1px); }
.nav-toggle {
  display: none; flex-direction: column; gap: 6px; justify-content: center;
  width: 44px; height: 44px; margin-left: auto;
  background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--navy); transition: transform .35s var(--ease), opacity .3s; }
.nav-toggle.open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--navy); color: var(--paper);
  padding: calc(var(--header-h) + 24px) clamp(24px, 8vw, 56px) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s var(--ease);
  visibility: hidden;
}
.mobile-menu.open { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  text-decoration: none; font-family: var(--serif); font-size: clamp(30px, 7vw, 44px);
  padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-foot { color: rgba(255, 255, 255, .6); font-size: 12px; line-height: 2; }
.mobile-menu-foot .ar { font-size: 16px; color: rgba(255, 255, 255, .8); }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(40px, 8vh, 90px)) 0 clamp(50px, 8vh, 90px);
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(198, 161, 91, .13), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(14, 42, 71, .08), transparent 55%),
    var(--paper);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--serif); font-size: clamp(46px, 6.4vw, 92px);
  line-height: .98; letter-spacing: -.01em; color: var(--navy);
  margin-top: 22px;
}
.hero-sub { margin-top: 26px; max-width: 34em; font-size: clamp(15px, 1.4vw, 17px); color: var(--muted); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-ar { margin-top: 30px; font-size: 18px; color: rgba(14, 42, 71, .55); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid var(--navy);
  background: var(--navy); color: var(--paper);
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(14, 42, 71, .55); }
.btn .icon { width: 15px; height: 15px; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--paper); border-color: var(--paper); color: var(--navy); }

.hero-art { position: relative; aspect-ratio: 5 / 4; min-height: 280px; }
.hero-art-svg { width: 100%; height: 100%; overflow: visible; }
.hero-art .art-rot { transform-origin: 50% 50%; transition: transform .4s var(--ease); }
.hero-art:hover .art-rot { transform: rotate(1.2deg); }
.art-dot { animation: pulse 3.2s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(1.35); } }

/* Hero entrance */
.hero-copy > * { animation: floatUp .9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero-art { animation: floatUp 1.1s .2s var(--ease) both; }
@keyframes floatUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
.section { padding: clamp(56px, 9vw, 116px) 0; }
.section.tight { padding: clamp(36px, 6vw, 72px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 54px); line-height: 1.05; color: var(--navy); margin-top: 18px; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.ornament { width: 64px; height: 12px; margin-top: 18px; }
.section.on-white { background: var(--white); }
.section.on-tint { background: var(--paper-2); }
.section.on-navy { background: var(--navy); color: var(--paper); }
.section.on-navy .section-head h2 { color: var(--paper); }
.section.on-navy .section-head p { color: rgba(255, 255, 255, .68); }

/* Prose */
.prose { max-width: 760px; }
.prose p { font-size: 16.5px; line-height: 1.85; color: var(--ink); margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: clamp(24px, 4vw, 44px) clamp(12px, 2vw, 28px); text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-value { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 48px); color: var(--navy); line-height: 1; }
.stat-label { margin-top: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(234px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  padding: clamp(22px, 3vw, 34px); overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
  will-change: transform;
}
.card::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(198, 161, 91, .6); box-shadow: 0 24px 44px -30px rgba(14, 42, 71, .35); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: var(--navy);
  border: 1px solid var(--line); margin-bottom: 22px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.card:hover .card-icon { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.card-icon .icon { width: 22px; height: 22px; }
.card h3 { font-family: var(--serif); font-size: 22px; color: var(--navy); }
.card p { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.split.reverse .split-text { order: 2; }
.split-text h2 { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 46px); color: var(--navy); line-height: 1.08; }
.split-text .body { margin-top: 20px; }
.split-text .body p { font-size: 16px; line-height: 1.85; color: var(--muted); margin-bottom: 14px; }
.split-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; text-decoration: none;
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.split-link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.split-link:hover .icon { transform: translateX(5px); }
.split-art {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(198, 161, 91, .18), transparent 55%),
    radial-gradient(120% 100% at 0% 100%, rgba(14, 42, 71, .12), transparent 55%),
    var(--paper-2);
  border: 1px solid var(--line);
}
.split-art img { width: 100%; height: 100%; object-fit: cover; }
.split-art .art-lam { position: absolute; inset: 0; display: grid; place-items: center; }
.split-art .art-lam img { width: 42%; height: auto; object-fit: contain; opacity: .92; }
.split-art .art-ring { position: absolute; border: 1px solid rgba(14, 42, 71, .22); border-radius: 50%; }
.split-art .art-ring.r1 { width: 130%; aspect-ratio: 1; left: 35%; top: 55%; }
.split-art .art-ring.r2 { width: 95%; aspect-ratio: 1; left: 50%; top: 60%; border-color: rgba(198, 161, 91, .5); }
.split-art .art-corner { position: absolute; right: 18px; bottom: 18px; width: 8px; height: 8px; background: var(--gold); }

/* Services */
.services { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: clamp(16px, 3vw, 44px);
  padding: clamp(26px, 4vw, 44px) 0; border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), padding-left .35s var(--ease);
}
.service:hover { background: var(--white); padding-left: 18px; }
.service-num { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); color: var(--gold); line-height: 1; }
.service h3 { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); color: var(--navy); }
.service-tag { margin-top: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.service p { margin-top: 14px; max-width: 62em; font-size: 15.5px; line-height: 1.85; color: var(--muted); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(18px, 3vw, 32px); counter-reset: step; }
.timeline li { position: relative; padding-top: 34px; border-top: 1px solid var(--line); counter-increment: step; }
.timeline li::before {
  content: "0" counter(step); position: absolute; top: 14px; left: 0;
  font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: .1em;
}
.timeline li::after { content: ""; position: absolute; top: -3.5px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.timeline h3 { font-family: var(--serif); font-size: 22px; color: var(--navy); margin-top: 8px; }
.timeline p { margin-top: 8px; font-size: 14.5px; line-height: 1.75; color: var(--muted); }

/* Quote */
.quote { max-width: 880px; margin-inline: auto; text-align: center; position: relative; padding-top: 34px; }
.quote::before { content: "\\201C"; position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: 120px; color: var(--gold); line-height: 1; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.8vw, 34px); line-height: 1.5; color: var(--navy); }
.quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--paper); padding: clamp(56px, 8vw, 100px) 0; }
.cta-band::before {
  content: "ﻝ"; position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  font-family: var(--ar); font-size: clamp(220px, 34vw, 420px); color: rgba(255, 255, 255, .05); pointer-events: none;
}
.cta-band::after {
  content: ""; position: absolute; left: -8%; bottom: -60%; width: 46vw; aspect-ratio: 1;
  border: 1px solid rgba(198, 161, 91, .35); border-radius: 50%; pointer-events: none;
}
.cta-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 54px); line-height: 1.05; max-width: 16em; }
.cta-band p { margin-top: 14px; max-width: 38em; color: rgba(255, 255, 255, .68); font-size: 15.5px; line-height: 1.8; }
.cta-band .btn-gold { flex: 0 0 auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); }
.contact-item .card-icon { margin: 0; flex: 0 0 auto; width: 40px; height: 40px; }
.contact-item .card-icon .icon { width: 18px; height: 18px; }
.contact-item h3 { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); font-weight: 600; }
.contact-item p, .contact-item a { display: block; margin-top: 4px; font-size: 15px; color: var(--navy); text-decoration: none; line-height: 1.6; }
.contact-item a:hover { color: var(--gold); }
.social-row { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.social-link {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; color: var(--navy); text-decoration: none;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.social-link .icon { width: 17px; height: 17px; }
.social-link:hover { background: var(--navy); border-color: var(--navy); color: var(--gold); transform: translateY(-2px); }

.form-card { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); }
.form-card h3 { font-family: var(--serif); font-size: 26px; color: var(--navy); margin-bottom: 6px; }
.form-card .hint { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.field { position: relative; margin-top: 18px; }
.field label { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  font: 15px/1.6 var(--sans); color: var(--ink); padding: 9px 2px; border-radius: 0;
  transition: border-color .3s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-status { margin-top: 18px; font-size: 13.5px; min-height: 20px; }
.form-status.ok { color: #2e7d5b; }
.form-status.err { color: #b3402f; }
.form-card .btn { margin-top: 22px; }
.form-card.sent .form-fields { display: none; }
.form-thanks { display: none; padding: 30px 6px; text-align: center; }
.form-card.sent .form-thanks { display: block; }
.form-thanks .big { font-family: var(--serif); font-size: 30px; color: var(--navy); }
.form-thanks p { margin-top: 10px; color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; border: 1px solid var(--line); background: var(--white); padding: 10px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding-top: 10px; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: clamp(44px, 6vw, 80px) 0 26px; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; right: -10%; top: -40%; width: 46vw; aspect-ratio: 1;
  border: 1px solid rgba(198, 161, 91, .22); border-radius: 50%;
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: clamp(28px, 5vw, 64px); }
.footer-brand .wordmark { font-family: var(--serif); font-size: 34px; letter-spacing: .16em; color: #fff; }
.footer-brand .sub { margin-top: 6px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.footer-brand .ar { margin-top: 16px; font-size: 17px; color: rgba(255, 255, 255, .8); }
.footer-brand p.tagline { margin-top: 16px; max-width: 26em; font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, .55); }
.footer-col h4 { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; line-height: 2; color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-col .social-row { margin-top: 14px; }
.footer-col .social-link { border-color: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .8); }
.footer-col .social-link:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-bottom {
  position: relative; margin-top: clamp(30px, 5vw, 56px); padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 11.5px; letter-spacing: .06em; color: rgba(255, 255, 255, .45);
}
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ------------------------------------------------------------
   404 / empty
   ------------------------------------------------------------ */
.notfound { padding: calc(var(--header-h) + 80px) 0 100px; text-align: center; }
.notfound .code { font-family: var(--serif); font-size: clamp(80px, 16vw, 180px); color: var(--navy); line-height: 1; }
.notfound p { margin: 18px auto 30px; max-width: 30em; color: var(--muted); }

/* ------------------------------------------------------------
   Reveal animations
   ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* View transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 960px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .brand-logo { display: none; }
  .brand-mark { display: block; }
  .site-header.scrolled .brand-mark { height: 28px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin-inline: auto; aspect-ratio: 4/3; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-text { order: 0; }
  .split-art { max-width: 480px; aspect-ratio: 4/3; order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  :root { --header-h: 72px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 48px minmax(0, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

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