/* ====================================================
   AL NOOR AL NAHDA POLYCLINIC — Sandstone-Teal Heritage
   Al Qadisiya, Sharjah · Bilingual EN/AR
   Brand: Teal #1E3A3A → Sky #38B6D0 · Sand #B5894F
   ==================================================== */

:root {
  /* Map legacy token names → clinic palette so all existing CSS "just works" */
  --keemz-green: #38B6D0;        /* sky-blue clinical accent */
  --keemz-green-dark: #1F8BA6;
  --keemz-teal: #B5894F;         /* warm sand accent */
  --keemz-teal-dark: #8A6535;
  --keemz-charcoal: #5A4F42;

  /* Sandstone-Teal Heritage palette */
  --paper: #F2EBDC;
  --paper-2: #E8DDC9;
  --paper-3: #DDCFB8;
  --ink: #1E3A3A;
  --ink-2: #142929;
  --ink-3: #4A5F5F;
  --ink-soft: #5E7070;
  --line: #D0C4AC;
  --line-dark: rgba(30,58,58,.12);

  --brand-gradient: linear-gradient(135deg, #1E3A3A 0%, #38B6D0 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(30,58,58,.12) 0%, rgba(56,182,208,.12) 100%);

  /* Sky blue spot */
  --sky: #38B6D0;
  --sky-dark: #1F8BA6;
  --sand: #B5894F;
  --sand-soft: #E2C99A;

  --serif: 'Fraunces', 'Times New Roman', serif;
  --arabic: 'Noto Naskh Arabic', 'Arabic Typesetting', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1320px;
  --gutter: 32px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Arabic / RTL mode */
body.ar-mode {
  font-family: var(--arabic), serif;
  direction: rtl;
}
body.ar-mode .hd-nav { direction: rtl; }
body.ar-mode .eyebrow { letter-spacing: .05em; }
body.ar-mode .hero-eyebrow span { letter-spacing: .04em; }
body.ar-mode .marq-label { letter-spacing: .04em; }
body.ar-mode .ft-col { text-align: right; }
body.ar-mode .ft-social { justify-content: flex-end; }
body.ar-mode .hd-inner { direction: rtl; }
body.ar-mode .hero-actions { direction: ltr; }
body.ar-mode .split-ed-list { padding-right: 20px; padding-left: 0; }
body.ar-mode .split-ed-list li { text-align: right; }

/* Language toggle button */
.lang-toggle {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  white-space: nowrap;
}
.lang-toggle:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--keemz-green); color: white; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-weight: 400;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
em { font-style: italic; }

.brand-grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ============== ANNOUNCEMENT ============== */
.ann {
  background: var(--ink);
  color: white;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 10px 0;
  text-align: center;
  position: relative;
  z-index: 60;
  overflow: hidden;
}
.ann::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 200%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--keemz-green), var(--keemz-teal), transparent);
  animation: annLine 4s linear infinite;
}
@keyframes annLine { to { transform: translateX(50%); } }
.ann-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.ann-dot {
  width: 7px; height: 7px;
  background: var(--keemz-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(79,184,72,.35);
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(79,184,72,.35); }
  50% { box-shadow: 0 0 0 8px rgba(43,181,199,0); }
}
.ann a {
  color: var(--keemz-teal);
  margin-left: 8px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.ann a:hover { border-bottom-color: var(--keemz-teal); color: var(--keemz-green); }

/* ============== HEADER ============== */
.hd {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: all .35s var(--ease);
}
.hd.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,.95);
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 8px 32px rgba(0,0,0,.04);
}
.hd-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 14px; color: var(--keemz-charcoal); transition: transform .25s var(--ease); }
.brand:hover { transform: scale(1.03); }
.brand-logo { height: 46px; width: auto; display: block; }

.hd-nav { display: flex; gap: 36px; }
.hd-nav a {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-3);
  position: relative;
  padding: 4px 0;
}
.hd-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--brand-gradient);
  transition: width .35s var(--ease-out-expo);
}
.hd-nav a:hover { color: var(--ink); }
.hd-nav a:hover::after { width: 100%; }

.hd-cta { display: flex; align-items: center; gap: 16px; }
.hd-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--brand-gradient);
  color: white;
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: .04em;
  font-weight: 600;
  transition: all .3s var(--ease);
  box-shadow: 0 6px 20px rgba(43,181,199,.3);
  position: relative;
  overflow: hidden;
}
.hd-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2BB5C7, #4FB848);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.hd-btn > * { position: relative; z-index: 1; }
.hd-btn:hover { color: white; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(79,184,72,.45); }
.hd-btn:hover::before { opacity: 1; }
.hd-btn svg { transition: transform .3s var(--ease); }
.hd-btn:hover svg { transform: translateX(3px); }

.hd-burger {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.hd-burger span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .25s var(--ease);
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--gutter) 100px;
  overflow: hidden;
  color: white;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: slowZoom 24s ease-out forwards;
}
@keyframes slowZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,13,16,.85) 0%, rgba(10,13,16,.55) 45%, rgba(10,13,16,.2) 75%, transparent 100%),
    linear-gradient(to bottom, rgba(10,13,16,.4) 0%, rgba(10,13,16,.15) 50%, rgba(10,13,16,.75) 100%),
    radial-gradient(ellipse at 80% 50%, rgba(43,181,199,.12), transparent 60%);
  z-index: 1;
}
/* Decorative ambient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  pointer-events: none;
  z-index: 1;
}
.hero-orb-1 { width: 500px; height: 500px; background: var(--keemz-green); top: -150px; right: -100px; animation: orbFloat 18s ease-in-out infinite; }
.hero-orb-2 { width: 400px; height: 400px; background: var(--keemz-teal); bottom: -120px; left: 10%; animation: orbFloat 22s ease-in-out infinite reverse; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding-top: 60px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--keemz-green);
  margin-bottom: 32px;
  font-weight: 600;
  animation: fadeUp 1s .15s var(--ease-out-expo) both;
}
.hero-eyebrow .line {
  width: 48px;
  height: 2px;
  background: var(--brand-gradient);
}
.hero-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 7.5vw, 110px);
  line-height: .98;
  letter-spacing: -.025em;
  margin-bottom: 36px;
  max-width: 14ch;
  color: white;
}
.hero-h1 span {
  display: block;
  overflow: hidden;
}
.hero-h1 span > b {
  display: block;
  font-weight: 400;
  animation: heroLineUp 1.1s var(--ease-out-expo) both;
}
.hero-h1 span:nth-child(1) > b { animation-delay: .15s; }
.hero-h1 span:nth-child(2) > b { animation-delay: .28s; }
.hero-h1 span:nth-child(3) > b { animation-delay: .42s; }
.hero-h1 em {
  font-style: italic;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}
@keyframes heroLineUp {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 560px;
  color: rgba(255,255,255,.88);
  line-height: 1.65;
  margin-bottom: 48px;
  font-weight: 400;
  animation: fadeUp 1s .55s var(--ease-out-expo) both;
}
.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp 1s .7s var(--ease-out-expo) both;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--brand-gradient);
  color: white;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: all .35s var(--ease);
  border: 0;
  box-shadow: 0 10px 32px rgba(43,181,199,.4);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2BB5C7, #4FB848);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { color: white; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(79,184,72,.5); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary svg { transition: transform .3s var(--ease); }
.btn-primary:hover svg { transform: translateX(5px); }
.btn-primary.btn-light {
  background: white;
  color: var(--ink);
  box-shadow: 0 10px 32px rgba(0,0,0,.18);
}
.btn-primary.btn-light::before { background: var(--brand-gradient); }
.btn-primary.btn-light:hover { color: white; }

.btn-link {
  font-size: 14px;
  letter-spacing: .06em;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 4px;
  transition: all .25s var(--ease);
}
.btn-link:hover {
  color: var(--keemz-green);
  border-bottom-color: var(--keemz-green);
}
.btn-link-light { color: rgba(10,13,16,.7); border-bottom-color: rgba(10,13,16,.3); }
.btn-link-light:hover { color: var(--keemz-green); border-bottom-color: var(--keemz-green); }

/* Hero meta with counters */
.hero-meta {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  width: 100%;
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.18);
  animation: fadeUp 1s .9s var(--ease-out-expo) both;
}
.hero-meta-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.hero-meta-block::before {
  content: '';
  position: absolute;
  top: -33px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: width .8s var(--ease-out-expo) .3s;
}
.hero-meta.in-view .hero-meta-block::before { width: 40px; }
.hm-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 42px;
  font-weight: 400;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.hm-label {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--keemz-green);
  font-weight: 700;
}
.hm-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -.005em;
  color: white;
  line-height: 1.3;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,.7);
  animation: bobble 2.4s ease-in-out infinite;
}
@keyframes bobble {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============== MARQUEE — premium logo strip ============== */
.marquee {
  background: var(--ink);
  color: white;
  padding: 36px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--ink) 20%, transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--ink) 20%, transparent); }

.marq-row {
  display: flex;
  align-items: center;
  gap: var(--gutter);
}
.marq-label {
  flex-shrink: 0;
  padding-left: var(--gutter);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--keemz-green);
  font-weight: 700;
  border-right: 1px solid rgba(255,255,255,.14);
  padding-right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 10px;
}
.marq-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--keemz-green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--keemz-green);
  animation: dotPulse 2s infinite;
}
.marq-track-wrap {
  flex: 1;
  overflow: hidden;
}
.marq-track {
  display: flex;
  gap: 56px;
  align-items: center;
  animation: marq 50s linear infinite;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
}
.marq-track:hover { animation-play-state: paused; }

.marq-track .m-logo {
  height: 44px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  /* Soft white tint that keeps logos VISIBLE on dark bg */
  filter: brightness(0) invert(1);
  opacity: .8;
  transition: all .35s var(--ease);
  flex-shrink: 0;
}
.marq-track .m-logo:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.12);
}

.marq-track .m-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  font-weight: 400;
  color: rgba(255,255,255,.7);
  letter-spacing: -.01em;
  flex-shrink: 0;
  transition: all .35s var(--ease);
  position: relative;
}
.marq-track .m-text:hover {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transform: translateY(-2px);
}
.marq-track .m-bullet {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--keemz-green);
  opacity: .55;
  flex-shrink: 0;
  line-height: 1;
}

@keyframes marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== SECTION HELPERS ============== */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 24px;
}
.eyebrow-light { color: var(--keemz-green); }
.eyebrow::before { content: '— '; color: var(--keemz-green); margin-right: 4px; }

.sec-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px var(--gutter) 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
}
.sec-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -.025em;
  max-width: 14ch;
}
.sec-h em {
  font-style: italic;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}
.sec-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 6px;
  flex-shrink: 0;
  white-space: nowrap;
  transition: all .3s var(--ease);
}
.sec-link:hover { color: var(--keemz-green); border-bottom-color: var(--keemz-green); transform: translateX(4px); }
.sec-link svg { transition: transform .3s var(--ease); }
.sec-link:hover svg { transform: translateX(4px); }

/* ============== MANIFESTO ============== */
.manifesto {
  background: var(--paper);
  padding: 140px var(--gutter);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '"';
  position: absolute;
  top: -100px; right: 5%;
  font-family: var(--serif);
  font-size: 600px;
  font-style: italic;
  color: var(--paper-3);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.m-inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 1; }
.m-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--keemz-teal-dark);
  margin-bottom: 40px;
  font-weight: 600;
}
.m-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-bottom: 80px;
  max-width: 22ch;
}
.m-h em {
  font-style: italic;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}
.m-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-left: auto;
  max-width: 940px;
}
.m-col p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-3);
}
.m-col p em { color: var(--ink); font-weight: 500; font-style: italic; }

/* ============== CATEGORIES ============== */
.cats {
  background: var(--paper-2);
  padding: 0 0 120px;
}
.cat-mag {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
}
.cat-tile {
  position: relative;
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transition: all .5s var(--ease-out-expo);
  aspect-ratio: 4/5;
}
.cat-tile-lg {
  grid-column: span 2;
  aspect-ratio: 8/5;
}
.cat-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(0,0,0,.18);
}
.cat-img { position: absolute; inset: 0; overflow: hidden; }
.cat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out-expo);
}
.cat-tile:hover .cat-img img { transform: scale(1.08); }
.cat-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,13,16,.92) 0%, rgba(10,13,16,.4) 50%, transparent 100%);
  transition: background .4s var(--ease);
}
.cat-tile:hover .cat-img::after {
  background: linear-gradient(to top, rgba(10,13,16,.92) 0%, rgba(10,13,16,.5) 60%, rgba(43,181,199,.2) 100%);
}
.cat-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 32px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cat-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  letter-spacing: .08em;
  font-weight: 400;
  margin-bottom: 8px;
  display: block;
}
.cat-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.01em;
  line-height: 1.15;
  color: white;
}
.cat-body p {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  max-width: 36ch;
  line-height: 1.5;
}
.cat-arrow {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  font-size: 24px;
  color: var(--keemz-green);
  transition: all .35s var(--ease);
  width: 40px; height: 40px;
  border: 1px solid rgba(79,184,72,.4);
  border-radius: 50%;
  justify-content: center;
}
.cat-tile:hover .cat-arrow {
  background: var(--brand-gradient);
  color: white;
  border-color: transparent;
  transform: rotate(-45deg);
}

/* ============== SPLIT EDITORIAL ============== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.split-media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out-expo);
}
.split:hover .split-media img { transform: scale(1.04); }
.split-text {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 32px;
}
.split-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-3);
  margin-bottom: 18px;
  max-width: 50ch;
}
.split-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 480px;
}
.split-stats > div { display: flex; flex-direction: column; gap: 4px; }
.split-stats strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 38px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.split-stats span {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: .04em;
}

/* ============== FLAGSHIP ============== */
.flagship { background: var(--paper-2); padding-bottom: 120px; }
.flag-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.flag-card {
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  transition: all .5s var(--ease-out-expo);
  border: 1px solid var(--line);
  position: relative;
}
.flag-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out-expo);
}
.flag-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0,0,0,.12);
  border-color: transparent;
}
.flag-card:hover::before { transform: scaleX(1); }
.flag-img {
  aspect-ratio: 5/4;
  overflow: hidden;
  background: var(--paper-3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.flag-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-expo);
}
.flag-img.contain img { object-fit: contain; padding: 24px; }
.flag-card:hover .flag-img img { transform: scale(1.06); }
.flag-body { padding: 32px; }
.flag-meta {
  display: block;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--keemz-teal-dark);
  margin-bottom: 16px;
  font-weight: 700;
}
.flag-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.flag-body p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}
.flag-cta {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
  display: inline-block;
  transition: all .3s var(--ease);
}
.flag-cta:hover { color: var(--keemz-green); border-bottom-color: var(--keemz-green); transform: translateX(4px); }

/* ============== THE WAY ============== */
.way {
  background: var(--ink);
  color: white;
  padding: 140px var(--gutter);
  position: relative;
  overflow: hidden;
}
.way::before {
  content: '';
  position: absolute;
  top: 30%; left: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(79,184,72,.08), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.way::after {
  content: '';
  position: absolute;
  bottom: 0%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(43,181,199,.08), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.way-inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 2; }
.way-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-bottom: 80px;
  margin-top: 14px;
  color: white;
}
.way-h em {
  font-style: italic;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}
.way-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 48px;
}
.way-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .35s var(--ease);
}
.way-step:hover { transform: translateY(-6px); }
.way-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 64px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.way-step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -.01em;
  color: white;
}
.way-step p {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}

/* ============== TESTIMONIAL ============== */
.testimonial {
  background: var(--paper);
  padding: 140px var(--gutter);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.t-inner {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.t-mark {
  margin: 0 auto 32px;
  display: block;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-family: var(--serif);
  font-size: 120px;
  font-style: italic;
  line-height: .5;
  height: 70px;
}
.t-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 56px;
}
.t-author {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.t-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--sans);
}
.t-author strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.t-author small {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ============== SHOWROOM ============== */
.showroom { background: var(--paper-2); padding: 140px var(--gutter); }
.show-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.show-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 28px;
  margin-top: 14px;
}
.show-h em {
  font-style: italic;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}
.show-text > p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-3);
  margin-bottom: 40px;
  max-width: 52ch;
}
.show-addr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 480px;
}
.show-addr small {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--keemz-teal-dark);
  margin-bottom: 8px;
  font-weight: 700;
}
.show-addr strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}
.show-actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.show-media {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}
.show-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out-expo);
}
.show-media:hover img { transform: scale(1.04); }

/* ============== BIG CTA ============== */
.big-cta {
  background: var(--ink);
  color: white;
  padding: 140px var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.big-cta::before {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(circle at 20% 50%, rgba(79,184,72,.18), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(43,181,199,.18), transparent 50%);
  pointer-events: none;
  animation: gradPulse 8s ease-in-out infinite;
}
@keyframes gradPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .7; }
}
.big-cta > * { position: relative; z-index: 2; }
.bc-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 28px;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  color: white;
}
.bc-h em {
  font-style: italic;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}
.big-cta > p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
  max-width: 56ch;
  margin: 0 auto 48px;
}
.bc-actions {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ============== FOOTER ============== */
.ft {
  background: #06080a;
  color: rgba(255,255,255,.7);
  padding: 80px var(--gutter) 32px;
  position: relative;
  overflow: hidden;
}
.ft::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,184,72,.5), rgba(43,181,199,.5), transparent);
}
.ft-inner { max-width: var(--container); margin: 0 auto; position: relative; }
.ft-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand-light .brand-logo { filter: brightness(0) invert(1); }
.ft-tag {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.45;
  color: rgba(255,255,255,.75);
  max-width: 30ch;
}
.ft-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1.2fr;
  gap: 56px;
  padding: 64px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ft-col h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  color: white;
  margin-bottom: 22px;
  letter-spacing: -.005em;
}
.ft-col a, .ft-col p {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.9;
  transition: color .25s var(--ease);
}
.ft-col a:hover { color: var(--keemz-green); }
.ft-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.ft-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: .04em;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  transition: all .3s var(--ease);
}
.ft-social a:hover {
  background: var(--brand-gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
}
.ft-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  letter-spacing: .04em;
}

/* ============== FAB WhatsApp ============== */
.fab-wa {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all .3s var(--ease);
  box-shadow: 0 12px 32px rgba(37,211,102,.45);
  animation: waPulse 2.4s infinite;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 12px 32px rgba(37,211,102,.45), 0 0 0 18px rgba(37,211,102,0); }
}
.fab-wa:hover {
  background: #1da851;
  color: white;
  transform: scale(1.1);
}

/* ============== REVEAL — bulletproof, only when JS adds .reveal class ============== */
.reveal-init { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo); }
.reveal-init.in { opacity: 1; transform: none; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .hd-nav { display: none; }
  .hd-burger { display: flex; }
  .hero-h1 { font-size: clamp(40px, 9vw, 72px); }
  .cat-mag { grid-template-columns: 1fr 1fr; }
  .cat-tile-lg { grid-column: span 2; aspect-ratio: 16/9; }
  .split { grid-template-columns: 1fr; }
  .split-media { aspect-ratio: 16/10; }
  .split-text { padding: 80px 32px; }
  .flag-grid { grid-template-columns: 1fr; }
  .way-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .show-grid { grid-template-columns: 1fr; gap: 48px; }
  .ft-cols { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ft-top { flex-direction: column; }
  .m-grid { grid-template-columns: 1fr; gap: 32px; margin-left: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; padding: 100px var(--gutter) 48px; }
}
/* Footer credit — subtle, premium */
.ft-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: .04em;
}
.ft-credit a {
  color: rgba(255,255,255,.7);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.18);
  padding-bottom: 1px;
  transition: all .25s var(--ease);
}
.ft-credit a:hover {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  border-bottom-color: var(--keemz-green);
}

/* Mobile-friendly header button — compact, then icon-only on small screens */
@media (max-width: 1100px) {
  .hd-inner { padding: 14px var(--gutter); gap: 14px; }
  .hd-btn { padding: 10px 18px; font-size: 12px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .ann-inner { font-size: 11px; gap: 8px; flex-wrap: wrap; }
  .ann-inner a { display: none; }
  .hd-inner { padding: 12px var(--gutter); gap: 10px; }
  .brand-logo { height: 32px; }
  /* Compact CTA — icon-only with mini "Quote" label */
  .hd-btn {
    padding: 9px 14px;
    font-size: 11px;
    letter-spacing: .06em;
    gap: 6px;
  }
  .hd-btn span { display: inline; }
  .hd-burger { width: 36px; height: 36px; }
  .hd-cta { gap: 8px; }
  .hero { min-height: 92vh; padding: 60px var(--gutter) 80px; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hm-num { font-size: 32px; }
  .marq-label { font-size: 10px; padding-left: var(--gutter); padding-right: 16px; }
  .marq-track { gap: 36px; }
  .marq-track .m-logo { height: 36px; }
  .marq-track .m-text { font-size: 22px; }
  .cat-mag { grid-template-columns: 1fr; }
  .cat-tile, .cat-tile-lg { grid-column: span 1; aspect-ratio: 4/5; }
  .way-grid { grid-template-columns: 1fr; gap: 36px; }
  .ft-cols { grid-template-columns: 1fr; gap: 32px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .show-addr { grid-template-columns: 1fr; gap: 20px; }
  .bc-actions, .hero-actions, .show-actions { flex-direction: column; align-items: stretch; }
  .btn-primary { justify-content: center; }
  .split-stats { grid-template-columns: 1fr; gap: 20px; }
  .manifesto::before { font-size: 360px; right: -10%; }
}

/* Tightest screens — drop the "Request quote" text, keep only arrow icon */
@media (max-width: 420px) {
  .hd-btn span { display: none; }
  .hd-btn {
    padding: 10px 12px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    justify-content: center;
  }
  .hd-btn svg { width: 16px; height: 16px; }
}
