/* ==========================================================================
   HMA Group — Design System
   Blue  = brand / corporate   (#2D4BA5)
   Red   = HMA Houseware       (#A41B23)
   Green = HMA Foodstuffs      (#2C7B39)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root{
  /* brand */
  --blue:        #2D4BA5;
  --blue-dark:   #1F3579;
  --blue-tint:   #EAEEF9;

  --red:         #A41B23;
  --red-dark:    #7E141B;
  --red-tint:    #FBEAEA;

  --green:       #2C7B39;
  --green-dark:  #1F5C2A;
  --green-tint:  #E9F3EA;

  /* neutrals */
  --ink:         #1B1D22;
  --ink-soft:    #4A4E58;
  --muted:       #757A85;
  --line:        #E4E1D8;
  --paper:       #F7F5F0;
  --paper-raise: #FFFFFF;
  --navy-deep:   #12141C;

  /* page accent — overridden per page via body[data-accent] */
  --accent:       var(--blue);
  --accent-dark:  var(--blue-dark);
  --accent-tint:  var(--blue-tint);

  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-card: 0 1px 2px rgba(27,29,34,.04), 0 10px 24px -14px rgba(27,29,34,.18);

  --container: 1180px;
}

body[data-accent="red"]{
  --accent: var(--red);
  --accent-dark: var(--red-dark);
  --accent-tint: var(--red-tint);
}
body[data-accent="green"]{
  --accent: var(--green);
  --accent-dark: var(--green-dark);
  --accent-tint: var(--green-tint);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Cairo',sans-serif;
  font-size:16px;
  line-height:1.8;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:'Cairo',sans-serif;
  font-weight:800;
  line-height:1.25;
  margin:0;
  color:var(--ink);
}
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

.container{
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:24px;
}

@media (prefers-reduced-motion:no-preference){
  .reveal{
    opacity:0; transform:translateY(16px);
    transition:opacity .6s ease, transform .6s ease;
  }
  .reveal.in-view{ opacity:1; transform:none; }
}
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
}

/* crate-grid texture — signature background motif echoing warehouse pallets */
.crate-grid{
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 46px 46px;
}
.crate-grid-dark{
  background-image:
    linear-gradient(rgba(27,29,34,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,29,34,.06) 1px, transparent 1px);
  background-size: 46px 46px;
}

/* ---------------------------------------------------------------- eyebrow */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:700; letter-spacing:.03em;
  color:var(--accent);
  background:var(--accent-tint);
  border:1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  padding:6px 14px; border-radius:999px;
}
.eyebrow::before{
  content:""; width:6px; height:6px; border-radius:50%;
  background:var(--accent); flex:none;
}

/* ------------------------------------------------------------- buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px; border-radius:var(--radius-sm);
  font-weight:700; font-size:15px;
  border:1.5px solid transparent;
  transition:transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--accent); color:#fff; }
.btn-primary:hover{ background:var(--accent-dark); }
.btn-outline{ background:transparent; border-color:currentColor; color:var(--ink); }
.btn-outline:hover{ background:var(--ink); color:#fff; border-color:var(--ink); }
.btn-ghost-light{ background:transparent; border-color:rgba(255,255,255,.55); color:#fff; }
.btn-ghost-light:hover{ background:#fff; color:var(--ink); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.55; cursor:not-allowed; transform:none; }

/* ------------------------------------------------------------- header */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(247,245,240,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height:82px; gap:20px;
}
.brand{ display:flex; align-items:center; gap:12px; flex:none; }
.brand img{ height:44px; width:auto; }
.brand-name{ font-family:'Cairo',sans-serif; font-weight:800; font-size:17px; }
.brand-name span{ display:block; font-family:'Cairo',sans-serif; font-weight:500; font-size:12px; color:var(--muted); }

.nav{ display:flex; align-items:center; gap:28px; }
.nav a{
  font-size:14.5px; font-weight:600; color:var(--ink-soft);
  padding:6px 2px; border-bottom:2px solid transparent;
  transition:color .2s ease, border-color .2s ease;
}
.nav a:hover, .nav a.active{ color:var(--ink); border-color:var(--accent); }

/* dropdown (e.g. "انضم إلينا") */
.nav-item{ position:relative; }
.nav-item > .nav-trigger{
  display:flex; align-items:center; gap:6px; background:none; border:none;
  font:inherit; font-size:14.5px; font-weight:600; color:var(--ink-soft);
  padding:6px 2px; border-bottom:2px solid transparent; cursor:pointer;
}
.nav-item > .nav-trigger:hover{ color:var(--ink); border-color:var(--accent); }
.nav-item > .nav-trigger .chev{ width:9px; height:9px; border-inline-end:1.6px solid currentColor; border-bottom:1.6px solid currentColor; transform:rotate(45deg) translateY(-2px); transition:transform .18s ease; }
.nav-item.open > .nav-trigger .chev{ transform:rotate(225deg) translateY(2px); }
.nav-dropdown{
  position:absolute; top:calc(100% + 10px); inset-inline-start:0; min-width:210px;
  background:var(--paper-raise); border:1px solid var(--line); border-radius:10px;
  box-shadow:var(--shadow-card); padding:8px; opacity:0; visibility:hidden; transform:translateY(6px);
  transition:.16s ease; z-index:60;
}
.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown{ opacity:1; visibility:visible; transform:none; }
.nav-dropdown a{ display:block; padding:11px 14px; border-radius:7px; font-size:14px; border-bottom:none; }
.nav-dropdown a:hover{ background:var(--accent-tint); color:var(--accent); }

@media (max-width:900px){
  .nav-item > .nav-trigger{ width:100%; justify-content:space-between; padding:16px 4px; border-bottom:1px solid var(--line); }
  .nav-dropdown{
    position:static; box-shadow:none; border:none; opacity:1; visibility:visible; transform:none;
    max-height:0; overflow:hidden; padding:0 0 0 16px; transition:max-height .2s ease;
  }
  .nav-item.open .nav-dropdown{ max-height:200px; padding:6px 0 6px 16px; }
  .nav-item:hover .nav-dropdown{ max-height:0; } /* disable hover behaviour on touch */
  .nav-item.open:hover .nav-dropdown{ max-height:200px; }
}

.header-actions{ display:flex; align-items:center; gap:12px; flex:none; }
.nav-toggle{
  display:none; background:none; border:1.5px solid var(--line); border-radius:8px;
  width:44px; height:44px; align-items:center; justify-content:center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:20px; height:2px; background:var(--ink); position:relative;
  transition:.2s ease;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

@media (max-width: 900px){
  .nav{
    position:fixed; inset-inline:0; top:82px; height:calc(100vh - 82px);
    background:var(--paper-raise);
    flex-direction:column; align-items:stretch; gap:0;
    padding:12px 24px 32px;
    transform:translateY(-8px); opacity:0; pointer-events:none;
    transition:.2s ease;
    overflow-y:auto;
  }
  .nav.open{ transform:none; opacity:1; pointer-events:auto; }
  .nav a{ padding:16px 4px; border-bottom:1px solid var(--line); }
  .header-actions .btn-primary{ display:none; }
  .nav-toggle{ display:flex; }
}

/* -------------------------------------------------------------- footer */
.site-footer{ background:var(--navy-deep); color:#C9CBD4; }
.site-footer .container{
  padding-block:64px 32px;
  display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px;
}
.footer-brand img{ height:40px; margin-bottom:16px; }
.footer-brand p{ font-size:14.5px; line-height:1.9; color:#9EA2AD; max-width:38ch; }
.footer-col h4{ color:#fff; font-size:14px; margin-bottom:18px; }
.footer-col ul li{ margin-bottom:12px; }
.footer-col a{ font-size:14.5px; color:#9EA2AD; transition:color .2s ease; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  margin-top:8px;
}
.footer-bottom .container{
  display:flex; justify-content:space-between; align-items:center;
  padding-block:22px; grid-template-columns:none;
  font-size:13px; color:#7B7F8A;
}
@media (max-width:800px){
  .site-footer .container{ grid-template-columns:1fr; padding-block:48px 24px; }
  .footer-bottom .container{ flex-direction:column; gap:10px; text-align:center; }
}

/* ============================================================ split hero */
.split-hero{ display:grid; grid-template-columns:1fr 1fr; min-height:640px; }
.split-hero.full-viewport{ min-height:calc(100vh - 83px); }
.split-panel{
  position:relative; display:flex; align-items:flex-end; justify-content:flex-start;
  padding:32px; min-height:480px; overflow:hidden;
  color:#fff; isolation:isolate;
  background-size:cover; background-position:center;
}
.split-panel.pin-far{ justify-content:flex-end; }
.split-content{
  position:relative; z-index:1; max-width:300px;
  padding:20px 22px; border-radius:12px; overflow:hidden;
  isolation:isolate;
}
.split-content::before{ content:""; position:absolute; inset:0; z-index:-1; }
.split-content .crate-grid{ position:absolute; inset:0; z-index:-1; }
.panel-red .split-content::before{ background:var(--red); }
.panel-green .split-content::before{ background:var(--green); }
.split-content .eyebrow{ background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.32); color:#fff; font-size:11.5px; padding:4px 10px; }
.split-content .eyebrow::before{ background:#fff; }
.split-content h2{ color:#fff; font-size:clamp(19px,2vw,24px); margin-block:10px 8px; }
.split-content p{ color:rgba(255,255,255,.88); font-size:13px; line-height:1.7; margin-bottom:16px; }
.split-content .btn{ padding:10px 16px; font-size:13px; }

@media (max-width:820px){
  .split-hero{ grid-template-columns:1fr; }
  .split-panel{ min-height:420px; padding:24px; }
  .split-content{ max-width:none; }
}

/* ================================================================ hero */
.hero{
  padding-block:76px 64px;
  background:var(--paper);
  position:relative;
}
.hero .container{
  display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center;
}
.hero h1{ font-size:clamp(32px,4vw,52px); margin-block:18px 20px; }
.hero .lead{ font-size:17.5px; color:var(--ink-soft); margin-bottom:14px; max-width:56ch; }
.hero .fine{ font-size:14px; color:var(--muted); margin-block:18px 0; padding-inline-start:14px; border-inline-start:3px solid var(--line); }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-top:28px; }
.hero-figure{
  position:relative; aspect-ratio:1/1; border-radius:var(--radius-md);
  background:linear-gradient(155deg, var(--accent) 0%, var(--accent-dark) 100%);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.hero-figure .crate-grid{ position:absolute; inset:0; }
.hero-figure svg{ position:relative; width:56%; height:56%; opacity:.92; }
@media (max-width:900px){
  .hero .container{ grid-template-columns:1fr; }
  .hero-figure{ max-width:340px; margin-inline:auto; order:-1; }
}

/* page hero (non-split interior pages) — image background + dark overlay, white text */
.page-hero{
  position:relative;
  padding-block:96px 84px; text-align:center;
  background:var(--accent-tint) center/cover no-repeat;
  border-bottom:1px solid var(--line);
  isolation:isolate;
  overflow:hidden;
}
.page-hero::before{
  content:""; position:absolute; inset:0; z-index:0;
  background:rgba(10,12,18,.62);
}
.page-hero .container{ position:relative; z-index:1; }
.page-hero .breadcrumb{ color:rgba(255,255,255,.7); }
.page-hero .breadcrumb a:hover{ color:#fff; }
.page-hero .eyebrow{ background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.32); color:#fff; }
.page-hero .eyebrow::before{ background:#fff; }
.page-hero h1{ color:#fff; font-size:clamp(28px,3.6vw,44px); margin-block:16px 14px; }
.page-hero p{ max-width:60ch; margin-inline:auto; color:rgba(255,255,255,.86); font-size:16.5px; }
.page-hero .btn-outline{ border-color:rgba(255,255,255,.6); color:#fff; }
.page-hero .btn-outline:hover{ background:#fff; color:var(--ink); border-color:#fff; }

/* tall variant for the new unified inner-page banner (about/distribution/leadership) */
.page-hero.hero-tall{
  min-height:calc(100vh - 83px);
  display:flex; align-items:center; justify-content:center;
}
.page-hero.hero-tall .container{ text-align:center; }

/* =============================================================== cards */
.section{ padding-block:72px; }
.section-tight{ padding-block:48px; }
.section-title{ text-align:center; max-width:640px; margin-inline:auto 0; }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:40px; flex-wrap:wrap; }
.section-head h2{ font-size:clamp(24px,2.6vw,34px); margin-top:12px; }
.section-head p{ color:var(--ink-soft); max-width:52ch; }
.center{ text-align:center; }
.center .section-head, .section-head.center{ justify-content:center; text-align:center; flex-direction:column; align-items:center; }
.center .section-head p, .section-head.center p{ margin-inline:auto; }

.grid{ display:grid; gap:24px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

.card{
  background:var(--paper-raise); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:30px; box-shadow:var(--shadow-card);
}
.card h3{ font-size:19px; margin-block:16px 8px; }
.card p{ color:var(--ink-soft); font-size:14.5px; }
.icon-badge{
  width:52px; height:52px; border-radius:12px; background:var(--accent-tint);
  color:var(--accent); display:flex; align-items:center; justify-content:center;
}
.icon-badge svg{ width:26px; height:26px; }

/* trust / seal badges */
.seal{
  display:flex; align-items:center; gap:14px;
  padding:18px 20px; background:var(--paper-raise); border:1px solid var(--line);
  border-radius:var(--radius-md);
}
.seal .dot{
  flex:none; width:38px; height:38px; border-radius:50%;
  border:2px solid var(--accent); color:var(--accent);
  display:flex; align-items:center; justify-content:center;
}
.seal .dot svg{ width:18px; height:18px; }
.seal span{ font-size:14.5px; font-weight:600; color:var(--ink); }

/* stat / number badge (circular seal, echoes the logo marks) */
.stamp{
  width:118px; height:118px; border-radius:50%;
  border:2px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  color:var(--accent); flex:none;
}
.stamp b{ font-family:'Cairo',sans-serif; font-size:26px; line-height:1; }
.stamp small{ font-size:11px; font-weight:600; color:var(--ink-soft); margin-top:4px; }

/* audience cards (traders/distributors/institutions) */
.audience{
  display:flex; gap:16px; align-items:flex-start;
  padding:26px; border-radius:var(--radius-md);
  background:var(--paper-raise); border:1px solid var(--line);
}
.audience .icon-badge{ margin-top:2px; }
.audience h3{ font-size:17px; margin:0 0 6px; }
.audience p{ font-size:14px; color:var(--ink-soft); }

/* value cards */
.value{ text-align:center; padding:28px 20px; }
.value .icon-badge{ margin-inline:auto; margin-bottom:14px; }

/* ============================================================ CTA band */
.cta-band{
  background:var(--accent); color:#fff; border-radius:var(--radius-md);
  padding:52px 44px; position:relative; overflow:hidden; isolation:isolate;
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.cta-band .crate-grid{ position:absolute; inset:0; z-index:-1; }
.cta-band h2{ color:#fff; font-size:clamp(22px,2.6vw,32px); }
.cta-band p{ color:rgba(255,255,255,.85); margin-top:10px; max-width:48ch; }
.cta-band .btn-primary{ background:#fff; color:var(--accent); }
.cta-band .btn-primary:hover{ background:#fff; opacity:.92; }

.cta-final{
  background:var(--navy-deep); color:#fff; padding-block:72px;
}
.cta-final .container{ text-align:center; }
.cta-final h2{ color:#fff; font-size:clamp(26px,3.2vw,40px); }
.cta-final p{ color:#9EA2AD; max-width:52ch; margin:14px auto 30px; }

/* =========================================================== breadcrumb */
.breadcrumb{ font-size:13.5px; color:var(--muted); margin-bottom:14px; }
.breadcrumb a:hover{ color:var(--accent); }

/* ============================================================ category */
.category{
  border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden;
  background:var(--paper-raise);
}
.category-media{
  height:150px; background:var(--accent-tint); display:flex; align-items:center; justify-content:center;
  color:var(--accent); position:relative; overflow:hidden;
}
.category-media .crate-grid-dark{ position:absolute; inset:0; opacity:.5; }
.category-media svg{ width:52px; height:52px; position:relative; }
.category-body{ padding:22px 24px 26px; }
.category-body h3{ font-size:17.5px; margin-bottom:8px; }
.category-body p{ font-size:14px; color:var(--ink-soft); }

/* ============================================================ FAQ */
.faq-item{
  border-bottom:1px solid var(--line);
}
.faq-item summary{
  list-style:none; cursor:pointer; padding:22px 4px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  font-weight:700; font-size:16px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .plus{
  flex:none; width:28px; height:28px; border-radius:50%; border:1.5px solid var(--line);
  display:flex; align-items:center; justify-content:center; position:relative;
}
.faq-item summary .plus::before, .faq-item summary .plus::after{
  content:""; position:absolute; background:var(--ink);
}
.faq-item summary .plus::before{ width:11px; height:1.6px; }
.faq-item summary .plus::after{ width:1.6px; height:11px; transition:transform .2s ease; }
.faq-item[open] summary .plus::after{ transform:rotate(90deg); opacity:0; }
.faq-item .faq-a{ padding:0 4px 22px; color:var(--ink-soft); font-size:15px; max-width:70ch; }

/* ============================================================ form */
.form-wrap{
  background:var(--paper-raise); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:40px; box-shadow:var(--shadow-card);
}
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column:1/-1; }
.field label{ font-size:14px; font-weight:700; color:var(--ink); }
.field label .req{ color:var(--accent); }
.field input, .field select, .field textarea{
  font-family:inherit; font-size:15px; padding:13px 14px;
  border:1.5px solid var(--line); border-radius:8px; background:#fff; color:var(--ink);
  transition:border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--accent);
}
.field textarea{ resize:vertical; min-height:100px; }
.form-note{ font-size:13px; color:var(--muted); margin-top:18px; text-align:center; }
.form-success{
  display:none; text-align:center; padding:60px 20px;
}
.form-success.show{ display:block; }
.form-success .icon-badge{ margin-inline:auto; width:64px; height:64px; border-radius:50%; }
.form-success .icon-badge svg{ width:30px; height:30px; }
.form-success h3{ margin-top:18px; font-size:22px; }
.form-success p{ color:var(--ink-soft); margin-top:8px; }
@media (max-width:700px){
  .form-grid{ grid-template-columns:1fr; }
  .form-wrap{ padding:26px; }
}

/* ============================================================ contact */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:48px; }
.contact-list{ display:flex; flex-direction:column; gap:16px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

/* ======================================================= milestone timeline (تاريخنا) */
.timeline{ position:relative; max-width:820px; margin-inline:auto; }
.timeline::before{
  content:""; position:absolute; top:0; bottom:0; inset-inline-start:27px;
  width:2px; background:var(--line);
}
.milestone{ position:relative; display:flex; gap:24px; padding-bottom:44px; }
.milestone:last-child{ padding-bottom:0; }
.milestone-dot{
  flex:none; width:56px; height:56px; border-radius:50%;
  background:var(--paper-raise); border:2px solid var(--accent); color:var(--accent);
  display:flex; align-items:center; justify-content:center; z-index:1;
}
.milestone-dot svg{ width:24px; height:24px; }
.milestone-body{ padding-top:8px; }
.milestone-year{ font-family:'Cairo',sans-serif; font-weight:800; font-size:20px; color:var(--accent); margin-bottom:6px; }
.milestone-body h3{ font-size:18px; margin-bottom:8px; }
.milestone-body p{ color:var(--ink-soft); font-size:15px; max-width:56ch; }

/* ======================================================= mission/vision blocks (هدفنا) */
.purpose-block{ display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:56px; }
.purpose-block:nth-child(even){ direction:rtl; }
.purpose-visual{
  aspect-ratio:4/3; border-radius:var(--radius-md); position:relative; overflow:hidden;
  background:linear-gradient(155deg, var(--blue) 0%, var(--blue-dark) 100%);
  display:flex; align-items:center; justify-content:center;
}
.purpose-visual.tone-red{ background:linear-gradient(155deg, var(--red) 0%, var(--red-dark) 100%); }
.purpose-visual.tone-green{ background:linear-gradient(155deg, var(--green) 0%, var(--green-dark) 100%); }
.purpose-visual svg{ position:relative; width:38%; opacity:.9; }
.purpose-text .eyebrow{ margin-bottom:18px; }
.purpose-text h2{ font-size:clamp(24px,3vw,36px); margin-bottom:18px; line-height:1.3; }
.purpose-text p{ font-size:16.5px; color:var(--ink-soft); line-height:1.9; }
@media (max-width:820px){
  .purpose-block, .purpose-block:nth-child(even){ grid-template-columns:1fr; direction:rtl; }
}

/* ======================================================= numbered process steps */
.process-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; counter-reset:step; }
.process-step{ position:relative; padding:28px 24px; border-inline-end:1px dashed var(--line); }
.process-step:last-child{ border-inline-end:none; }
.process-num{
  font-family:'Cairo',sans-serif; font-weight:800; font-size:15px; color:var(--accent);
  background:var(--accent-tint); width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.process-step h3{ font-size:17px; margin-bottom:10px; }
.process-step p{ font-size:14px; color:var(--ink-soft); }
@media (max-width:900px){
  .process-grid{ grid-template-columns:1fr 1fr; }
  .process-step{ border-inline-end:none; border-bottom:1px dashed var(--line); }
}
@media (max-width:560px){ .process-grid{ grid-template-columns:1fr; } }

/* ======================================================= image slider */
.img-slider{ position:relative; width:100%; height:100%; overflow:hidden; background:#1b1d22; }
.img-slider img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition:opacity .7s ease; z-index:0;
}
.img-slider img.active{ opacity:1; z-index:1; }
.img-slider-dots{
  position:absolute; bottom:16px; inset-inline:0; z-index:2;
  display:flex; justify-content:center; gap:8px;
}
.img-slider-dots button{
  width:8px; height:8px; border-radius:50%; padding:0;
  background:rgba(255,255,255,.5); border:1.5px solid rgba(255,255,255,.7);
  cursor:pointer; transition:background .2s ease, transform .2s ease;
}
.img-slider-dots button.active{ background:#fff; transform:scale(1.15); }
.img-slider-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:2;
  width:36px; height:36px; border-radius:50%; border:1.5px solid rgba(255,255,255,.55);
  background:rgba(0,0,0,.25); color:#fff; display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:background .2s ease;
}
.img-slider-arrow:hover{ background:rgba(0,0,0,.45); }
.img-slider-arrow.prev{ inset-inline-start:14px; }
.img-slider-arrow.next{ inset-inline-end:14px; }
.img-slider-arrow svg{ width:16px; height:16px; }

/* ======================================================= numbered process timeline (Our Process style) */
.process-timeline{ position:relative; }
.process-timeline-step{ position:relative; display:flex; align-items:flex-start; gap:22px; padding-bottom:34px; }
.process-timeline-step:last-child{ padding-bottom:0; }
.process-timeline-step::after{
  content:""; position:absolute; top:38px; bottom:-2px; inset-inline-start:21px;
  width:2px; background:var(--line);
}
.process-timeline-step:last-child::after{ display:none; }
.process-timeline-step .num-box{
  flex:none; width:44px; height:34px; border:1.5px solid var(--line); border-radius:8px;
  display:flex; align-items:center; justify-content:center; position:relative; z-index:1;
  font-family:'Cairo',sans-serif; font-weight:800; font-size:15px; color:var(--accent);
  background:var(--paper-raise);
}
.process-timeline-step .dot{
  flex:none; width:9px; height:9px; border-radius:50%; background:var(--accent);
  margin-top:13px; position:relative; z-index:1;
}
.process-timeline-step .step-text{ padding-top:5px; }
.process-timeline-step h3{ font-size:16.5px; margin:0; }
.process-timeline-step p{ font-size:14px; color:var(--ink-soft); margin-top:6px; }

/* ======================================================= mini facts (hero stats) */
.mini-facts{ display:flex; gap:44px; margin-top:8px; flex-wrap:wrap; }
.mini-fact b{ display:block; direction:ltr; font-family:'Cairo',sans-serif; font-weight:900; font-size:36px; color:var(--accent); line-height:1; }
.mini-fact span{ display:block; font-size:13px; color:var(--ink-soft); margin-top:7px; }

/* ======================================================= horizontal timeline (desktop) -> vertical (mobile) */
.h-timeline{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; position:relative; margin-top:8px; }
.h-timeline::before{ content:""; position:absolute; top:32px; inset-inline:2%; height:2px; background:var(--line); z-index:0; }
.h-timeline-step{ position:relative; z-index:1; }
.h-timeline-step .badge{
  width:64px; height:64px; border-radius:50%; position:relative; z-index:1; margin-bottom:20px;
  display:flex; align-items:center; justify-content:center;
  background:var(--paper-raise); border:2.5px solid var(--accent); color:var(--accent);
  font-family:'Cairo',sans-serif; font-weight:800; font-size:15px; text-align:center; direction:ltr;
  transition:transform .25s ease, background .25s ease;
}
.h-timeline-step:hover .badge{ transform:scale(1.08); background:var(--accent); color:#fff; }
.h-timeline-step .badge svg{ width:26px; height:26px; }
.h-timeline-step h3{ font-size:17px; margin-bottom:8px; }
.h-timeline-step p{ font-size:14px; color:var(--ink-soft); line-height:1.75; }
@media (max-width:900px){
  .h-timeline{ grid-template-columns:1fr; gap:0; }
  .h-timeline::before{ top:0; bottom:0; inset-inline-start:31px; inset-inline-end:auto; width:2px; height:auto; }
  .h-timeline-step{ padding-inline-start:84px; padding-bottom:32px; min-height:64px; }
  .h-timeline-step:last-child{ padding-bottom:0; }
  .h-timeline-step .badge{ position:absolute; inset-inline-start:0; top:0; margin-bottom:0; }
}

/* ======================================================= vision/mission split (big numbered halves) */
.vm-split{ display:grid; grid-template-columns:1fr 1fr; }
.vm-half{ padding:64px 56px; }
.vm-half.tone-a{ background:var(--accent-tint); }
.vm-half.tone-b{ background:var(--paper-raise); border-inline-start:1px solid var(--line); }
.vm-half .big-num{ font-family:'Cairo',sans-serif; font-weight:900; font-size:60px; color:var(--accent); opacity:.32; line-height:1; margin-bottom:10px; }
.vm-half h3{ font-size:23px; margin-bottom:14px; line-height:1.35; }
.vm-half p{ color:var(--ink-soft); font-size:15.5px; line-height:1.9; max-width:44ch; }
@media (max-width:820px){
  .vm-split{ grid-template-columns:1fr; }
  .vm-half{ padding:44px 28px; }
  .vm-half.tone-b{ border-inline-start:none; border-top:1px solid var(--line); }
}

/* ======================================================= principles grid (minimal, numbered, no cards) */
.principles-grid{ display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--line); border-inline-start:1px solid var(--line); }
.principle-cell{
  padding:40px; border-bottom:1px solid var(--line); border-inline-end:1px solid var(--line);
  transition:background .25s ease;
}
.principle-cell:hover{ background:var(--paper-raise); }
.principle-cell .big-num{ font-family:'Cairo',sans-serif; font-weight:900; font-size:26px; color:var(--accent); margin-bottom:14px; }
.principle-cell h3{ font-size:19px; margin-bottom:10px; }
.principle-cell p{ color:var(--ink-soft); font-size:14.5px; }
@media (max-width:700px){ .principles-grid{ grid-template-columns:1fr; } }

/* ======================================================= editorial split (image + text, asymmetric) */
.editorial-split{ display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center; }
.editorial-split.img-first{ grid-template-columns:1.15fr .85fr; }
.editorial-visual{ position:relative; border-radius:var(--radius-md); overflow:hidden; aspect-ratio:4/5; background:#1b1d22; }
.editorial-visual img{ width:100%; height:100%; object-fit:cover; }
.editorial-visual .ph-tag{
  position:absolute; top:16px; inset-inline-start:16px; z-index:2;
  background:rgba(0,0,0,.55); color:#fff; font-size:11.5px; padding:5px 10px; border-radius:6px;
}
@media (max-width:900px){
  .editorial-split, .editorial-split.img-first{ grid-template-columns:1fr; }
  .editorial-visual{ aspect-ratio:16/10; }
}

/* ======================================================= leadership / team cards */
.leader-card{ text-align:center; }
.leader-photo{
  aspect-ratio:1/1; border-radius:var(--radius-md); background:#eef0f4; position:relative; overflow:hidden;
  margin-bottom:16px; border:1px dashed var(--line);
  display:flex; align-items:center; justify-content:center; color:var(--muted);
}
.leader-photo svg{ width:34%; opacity:.5; }
.leader-photo .ph-tag{ position:absolute; bottom:10px; inset-inline:10px; z-index:2; background:rgba(0,0,0,.55); color:#fff; font-size:10.5px; padding:4px 8px; border-radius:5px; text-align:center; }
.leader-card h3{ font-size:16.5px; margin-bottom:2px; }
.leader-card .role{ font-size:13px; color:var(--accent); font-weight:700; margin-bottom:10px; }
.leader-card p{ font-size:13.5px; color:var(--ink-soft); }

/* ======================================================= photo mosaic gallery */
.photo-mosaic{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:120px; gap:14px; }
.mosaic-item{
  position:relative; border-radius:10px; overflow:hidden; background:#eef0f4; border:1px dashed var(--line);
  display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:12px;
}
.mosaic-item.big{ grid-column:span 2; grid-row:span 2; }
.mosaic-item.tall{ grid-row:span 2; }
.mosaic-item.wide{ grid-column:span 2; }
@media (max-width:820px){
  .photo-mosaic{ grid-template-columns:repeat(2,1fr); grid-auto-rows:110px; }
  .mosaic-item.big{ grid-column:span 2; grid-row:span 2; }
}

/* ======================================================= big-number audience columns */
.big-audience{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; border-top:1px solid var(--line); }
.big-audience-col{ padding:36px 30px; border-inline-end:1px solid var(--line); }
.big-audience-col:last-child{ border-inline-end:none; }
.big-audience-col .big-num{ font-family:'Cairo',sans-serif; font-weight:900; font-size:30px; color:var(--accent); margin-bottom:14px; }
.big-audience-col h3{ font-size:19px; margin-bottom:10px; }
.big-audience-col p{ color:var(--ink-soft); font-size:14.5px; }
@media (max-width:820px){
  .big-audience{ grid-template-columns:1fr; }
  .big-audience-col{ border-inline-end:none; border-bottom:1px solid var(--line); }
}

/* ======================================================= checklist rows (institutional supply) */
.checklist-rows{ display:flex; flex-direction:column; gap:0; }
.checklist-row{ display:flex; align-items:flex-start; gap:16px; padding:20px 0; border-bottom:1px solid rgba(255,255,255,.14); }
.checklist-row:last-child{ border-bottom:none; }
.checklist-row .num-box{
  flex:none; width:38px; height:30px; border-radius:7px; border:1.5px solid rgba(255,255,255,.4);
  display:flex; align-items:center; justify-content:center; font-family:'Cairo',sans-serif; font-weight:800; font-size:13px; color:#fff;
}
.checklist-row h3{ font-size:15.5px; color:#fff; margin-bottom:4px; }
.checklist-row p{ font-size:13.5px; color:rgba(255,255,255,.75); }

/* ======================================================= simple request-list mockup (illustrative, not a real screenshot) */
.mockup-frame{
  border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--line); background:#fff;
  box-shadow:var(--shadow-card);
}
.mockup-topbar{ background:var(--paper); padding:10px 14px; display:flex; gap:6px; border-bottom:1px solid var(--line); }
.mockup-topbar span{ width:9px; height:9px; border-radius:50%; background:var(--line); }
.mockup-body{ padding:20px; }
.mockup-row{ display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.mockup-row:last-child{ border-bottom:none; }
.mockup-thumb{ width:44px; height:44px; border-radius:8px; background:var(--accent-tint); flex:none; }
.mockup-row .line{ height:9px; border-radius:4px; background:var(--line); }
.mockup-row .line.w60{ width:60%; }
.mockup-row .line.w35{ width:35%; margin-top:8px; }
.mockup-qty{ flex:none; width:56px; height:30px; border-radius:6px; border:1px solid var(--line); }

/* ======================================================= fixed (parallax) image background section */
.parallax-section{
  position:relative; isolation:isolate;
  background-color:#0f1626;
  background-size:cover; background-position:center; background-repeat:no-repeat;
  background-attachment:fixed;
}
.parallax-section::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(180deg, rgba(8,12,24,.78) 0%, rgba(8,12,24,.68) 50%, rgba(8,12,24,.8) 100%);
}
/* iOS / touch devices ignore background-attachment:fixed — fall back to a normal background */
@media (max-width:900px), (hover:none){
  .parallax-section{ background-attachment:scroll; }
}

/* helpers for content sitting on a dark image */
.eyebrow.on-dark{ background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.3); color:#fff; }
.eyebrow.on-dark::before{ background:#fff; }
.section-head.on-dark h2{ color:#fff; }
.section-head.on-dark p{ color:rgba(255,255,255,.82); }

.glass-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:1px;
  background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.18);
  border-radius:var(--radius-md); overflow:hidden;
}
.glass-cell{ background:rgba(12,18,34,.62); padding:28px; transition:background .25s ease; }
.glass-cell:hover{ background:rgba(12,18,34,.8); }
.glass-cell h3{ color:#fff; font-size:16.5px; margin-bottom:8px; }
.glass-cell p{ color:rgba(255,255,255,.78); font-size:14px; }
@media (max-width:560px){ .glass-grid{ grid-template-columns:1fr; } }

.process-grid.on-dark.card{ background:rgba(12,18,34,.62); border-color:rgba(255,255,255,.18); box-shadow:none; }
.process-grid.on-dark .process-step{ border-inline-end-color:rgba(255,255,255,.18); }
.process-grid.on-dark .process-num{ background:rgba(255,255,255,.14); color:#fff; }
.process-grid.on-dark h3{ color:#fff; }
.process-grid.on-dark p{ color:rgba(255,255,255,.78); }
@media (max-width:900px){ .process-grid.on-dark .process-step{ border-bottom-color:rgba(255,255,255,.18); } }

/* ======================================================= vision / mission — stacked statement rows on brand blue */
.vm-stack{
  position:relative; isolation:isolate; overflow:hidden;
  background:linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color:#fff;
}
.vm-stack .crate-grid{ position:absolute; inset:0; z-index:-1; opacity:.7; }
.vm-rows{ border-top:1px solid rgba(255,255,255,.22); }
.vm-row{
  display:grid; grid-template-columns:200px 1.15fr 1fr; gap:40px; align-items:start;
  padding:48px 0; border-bottom:1px solid rgba(255,255,255,.22);
}
.vm-label{ display:flex; flex-direction:column; gap:6px; }
.vm-num{
  font-family:'Cairo',sans-serif; font-weight:900; font-size:72px; line-height:1;
  color:transparent; -webkit-text-stroke:1.5px rgba(255,255,255,.65);
}
.vm-tag{ font-size:14px; font-weight:700; letter-spacing:.02em; color:rgba(255,255,255,.85); }
.vm-statement h3{ color:#fff; font-size:clamp(24px,2.6vw,34px); line-height:1.4; }
.vm-desc{ color:rgba(255,255,255,.82); font-size:15.5px; line-height:1.9; }
@media (max-width:900px){
  .vm-row{ grid-template-columns:1fr; gap:14px; padding:36px 0; }
  .vm-num{ font-size:52px; }
}

/* ======================================================= principles grid — icon variant */
.principle-icon{
  width:50px; height:50px; border-radius:12px; margin-bottom:16px;
  background:var(--accent-tint); color:var(--accent);
  display:flex; align-items:center; justify-content:center;
  transition:background .25s ease, color .25s ease;
}
.principle-icon svg{ width:25px; height:25px; }
.principle-cell:hover .principle-icon{ background:var(--accent); color:#fff; }

/* utility */
.mt-8{ margin-top:8px;} .mt-16{margin-top:16px;} .mt-24{margin-top:24px;} .mt-40{margin-top:40px;}
.text-muted{ color:var(--muted); }
.divider{ height:1px; background:var(--line); margin-block:64px; border:0; }

/* =========================================================================
   MOTION & INTERACTION LAYER
   Everything animated is wrapped in prefers-reduced-motion:no-preference
   ========================================================================= */

@keyframes riseIn{ from{ opacity:0; transform:translateY(28px); } to{ opacity:1; transform:none; } }
@keyframes pageIn{ from{ opacity:0; } to{ opacity:1; } }
@keyframes floatY{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }
@keyframes kenBurns{ from{ transform:scale(1); } to{ transform:scale(1.12); } }
@keyframes settle{ from{ transform:scale(1.12); } to{ transform:scale(1); } }
@keyframes glowDrift{ from{ transform:translate3d(-3%,-2%,0) scale(1); } to{ transform:translate3d(3%,2%,0) scale(1.1); } }
@keyframes popIn{ 0%{ transform:scale(.4); opacity:0; } 60%{ transform:scale(1.14); opacity:1; } 100%{ transform:scale(1); opacity:1; } }

@media (prefers-reduced-motion:no-preference){
  /* page fade-in / fade-out between pages */
  body{ animation:pageIn .6s ease backwards; }
  html.is-leaving body{ opacity:0; transition:opacity .22s ease; }

  /* staggered cascade for the children of a revealed container */
  .reveal.stagger.in-view > *{
    animation:riseIn .8s cubic-bezier(.2,.7,.2,1) backwards;
    animation-delay:calc(var(--i,0) * 110ms + 100ms);
  }

  /* inner-page banner: staggered entrance + slow zoom of the photo */
  .page-hero .container > *{ animation:riseIn .85s cubic-bezier(.2,.7,.2,1) backwards; }
  .page-hero .container > :nth-child(1){ animation-delay:.05s; }
  .page-hero .container > :nth-child(2){ animation-delay:.15s; }
  .page-hero .container > :nth-child(3){ animation-delay:.25s; }
  .page-hero .container > :nth-child(4){ animation-delay:.45s; }
  .page-hero .container > :nth-child(5){ animation-delay:.55s; }
  .page-hero h1.split-title{ animation:none; }
  .page-hero h1 .w{
    display:inline-block;
    animation:riseIn .9s cubic-bezier(.2,.7,.2,1) backwards;
    animation-delay:calc(.28s + var(--w,0) * 85ms);
  }
  .page-hero::after{
    content:""; position:absolute; inset:0; z-index:-1; background:inherit;
    animation:kenBurns 22s ease-in-out infinite alternate; will-change:transform;
  }

  /* home split: photo settles in, zooms on hover, the other side dims */
  .split-panel::before{
    content:""; position:absolute; inset:0; z-index:-1; background:inherit;
    transition:transform 1.4s cubic-bezier(.2,.7,.2,1), filter .6s ease;
    animation:settle 1.8s cubic-bezier(.2,.7,.2,1) backwards;
  }
  .split-panel:hover::before{ transform:scale(1.07); }
  .split-hero:hover .split-panel:not(:hover)::before{ filter:brightness(.62) saturate(.85); }
  .split-content{ animation:riseIn 1s cubic-bezier(.2,.7,.2,1) .5s backwards; }

  /* gentle floating on the decorative icons */
  .hero-figure svg, .purpose-visual svg{ animation:floatY 6s ease-in-out infinite; }

  /* timeline line draws itself */
  .h-timeline.reveal::before{ transform:scaleX(0); transform-origin:right; transition:transform 1.5s cubic-bezier(.2,.7,.2,1) .25s; }
  .h-timeline.reveal.in-view::before{ transform:scaleX(1); }

  /* final CTA: slow drifting glow */
  .cta-final{ position:relative; overflow:hidden; isolation:isolate; }
  .cta-final::before{
    content:""; position:absolute; inset:-20%; z-index:-1; pointer-events:none;
    background:
      radial-gradient(40% 50% at 20% 30%, rgba(45,75,165,.5), transparent 70%),
      radial-gradient(35% 45% at 80% 70%, rgba(45,75,165,.32), transparent 70%);
    animation:glowDrift 14s ease-in-out infinite alternate;
  }

  /* form success pop */
  .form-success.show .icon-badge{ animation:popIn .6s cubic-bezier(.2,.9,.3,1.3) both; }
  .form-success.show h3, .form-success.show p, .form-success.show .btn{ animation:riseIn .6s cubic-bezier(.2,.7,.2,1) .25s backwards; }
}
@media (prefers-reduced-motion:no-preference) and (max-width:900px){
  .h-timeline.reveal::before{ transform:scaleY(0); transform-origin:top; }
  .h-timeline.reveal.in-view::before{ transform:scaleY(1); }
  .nav.open > *{ animation:riseIn .45s cubic-bezier(.2,.7,.2,1) backwards; }
  .nav.open > :nth-child(1){ animation-delay:.04s; }
  .nav.open > :nth-child(2){ animation-delay:.09s; }
  .nav.open > :nth-child(3){ animation-delay:.14s; }
  .nav.open > :nth-child(4){ animation-delay:.19s; }
  .nav.open > :nth-child(5){ animation-delay:.24s; }
}

/* ---------- header: shrinks + gains a shadow after scrolling ---------- */
.site-header{ transition:box-shadow .3s ease, background .3s ease; }
.site-header.scrolled{ box-shadow:0 10px 30px -20px rgba(27,29,34,.45); background:rgba(247,245,240,.97); }
.brand img{ transition:height .3s ease; }
@media (min-width:901px){
  .site-header .container{ transition:height .3s ease; }
  .site-header.scrolled .container{ height:66px; }
  .site-header.scrolled .brand img{ height:36px; }
}

/* ---------- nav: underline grows from the reading edge ---------- */
@media (min-width:901px){
  .nav > a, .nav-item > .nav-trigger{ position:relative; border-bottom-color:transparent !important; }
  .nav > a::after, .nav-item > .nav-trigger::after{
    content:""; position:absolute; inset-inline:0; bottom:-2px; height:2px; background:var(--accent);
    transform:scaleX(0); transform-origin:right; transition:transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .nav > a:hover::after, .nav > a.active::after,
  .nav-item:hover > .nav-trigger::after, .nav-item.open > .nav-trigger::after{ transform:scaleX(1); }
}
.nav-dropdown a{ transition:background .2s ease, color .2s ease, padding-inline-start .25s ease; }
.nav-dropdown a:hover{ padding-inline-start:20px; }

/* mobile menu button morphs into an X */
.nav-toggle[aria-expanded="true"] span{ background:transparent; }
.nav-toggle[aria-expanded="true"] span::before{ top:0; transform:rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after{ top:0; transform:rotate(-45deg); }

/* ---------- buttons: light sweep + soft glow + press ---------- */
.btn{
  position:relative; overflow:hidden; isolation:isolate;
  transition:transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.btn::after{
  content:""; position:absolute; top:0; bottom:0; width:55%; inset-inline-start:-80%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform:skewX(-20deg); transition:inset-inline-start .75s ease; pointer-events:none;
}
.btn:hover::after{ inset-inline-start:130%; }
.btn-primary:hover{ box-shadow:0 14px 26px -14px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn:active{ transform:translateY(0) scale(.97); }

/* ---------- cards: lift, icon reaction, cursor spotlight ---------- */
.grid > .card, .category, .audience, .seal, .value{
  transition:translate .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .25s ease, opacity .6s ease, transform .6s ease;
}
.grid > .card:hover, .category:hover, .audience:hover, .seal:hover{
  translate:0 -6px;
  box-shadow:0 24px 44px -24px rgba(27,29,34,.32);
  border-color:color-mix(in srgb, var(--accent) 35%, var(--line));
}
.value:hover{ translate:0 -4px; }
.icon-badge{ transition:background .3s ease, color .3s ease, transform .3s ease; }
.card:hover .icon-badge, .audience:hover .icon-badge, .value:hover .icon-badge{ background:var(--accent); color:#fff; transform:rotate(-6deg) scale(1.07); }
.category-media svg{ transition:transform .5s cubic-bezier(.2,.7,.2,1); }
.category:hover .category-media svg{ transform:scale(1.18) rotate(-5deg); }
.process-num{ transition:background .3s ease, color .3s ease, transform .3s ease; }
.process-step:hover .process-num{ background:var(--accent); color:#fff; transform:scale(1.12); }
.process-grid.on-dark .process-step:hover .process-num{ background:#fff; color:var(--ink); }
.big-audience-col .big-num, .principle-cell .big-num{ transition:translate .35s ease; }
.big-audience-col:hover .big-num, .principle-cell:hover .big-num{ translate:0 -4px; }
.mosaic-item{ transition:translate .35s ease, border-color .25s ease; }
.mosaic-item:hover{ translate:0 -4px; border-color:var(--accent); }
.faq-item summary{ transition:color .2s ease; }
.faq-item summary:hover{ color:var(--accent); }

.spot{ position:relative; isolation:isolate; }
.spot::before{
  content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit; pointer-events:none;
  opacity:0; transition:opacity .35s ease;
  background:radial-gradient(380px circle at var(--mx,50%) var(--my,50%), color-mix(in srgb, var(--accent) 13%, transparent), transparent 62%);
}
.spot:hover::before{ opacity:1; }
.process-grid.on-dark .spot::before, .glass-cell.spot::before{
  background:radial-gradient(380px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.13), transparent 62%);
}

/* ---------- footer ---------- */
.footer-col a{ display:inline-block; transition:color .2s ease, translate .25s ease; }
.footer-col a:hover{ translate:-5px 0; }
.footer-bottom .credit a{ position:relative; color:#C9CBD4; font-weight:700; transition:color .2s ease; }
.footer-bottom .credit a::after{
  content:""; position:absolute; inset-inline:0; bottom:-3px; height:1px; background:currentColor;
  transform:scaleX(0); transform-origin:right; transition:transform .3s ease;
}
.footer-bottom .credit a:hover{ color:#fff; }
.footer-bottom .credit a:hover::after{ transform:scaleX(1); }

/* ---------- forms ---------- */
.field input, .field select, .field textarea{ transition:border-color .2s ease, box-shadow .25s ease; }
.field input:focus, .field select:focus, .field textarea:focus{
  box-shadow:0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

/* ---------- scroll progress bar + back-to-top ---------- */
.scroll-progress{ position:fixed; top:0; inset-inline:0; height:3px; z-index:120; pointer-events:none; }
.scroll-progress span{
  display:block; height:100%; transform:scaleX(0); transform-origin:right; will-change:transform;
  background:linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #fff));
}
.to-top{
  position:fixed; left:22px; bottom:22px; z-index:90; width:46px; height:46px; border-radius:50%; border:none;
  background:var(--accent); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 26px -12px rgba(27,29,34,.55);
  opacity:0; visibility:hidden; transform:translateY(14px);
  transition:opacity .3s ease, transform .3s ease, visibility .3s ease, background .2s ease;
}
.to-top.show{ opacity:1; visibility:visible; transform:none; }
.to-top:hover{ background:var(--accent-dark); transform:translateY(-3px); }
.to-top svg{ width:20px; height:20px; }

/* ---------- accessibility ---------- */
:focus-visible{ outline:3px solid color-mix(in srgb, var(--accent) 55%, #fff); outline-offset:3px; }
@media (prefers-reduced-motion:reduce){
  .to-top, .scroll-progress span{ transition:none; }
}
