/* Cairo, self-hosted. Two variable files cover 200-1000 across both scripts.
   Downloaded from Google Fonts (SIL Open Font License 1.1). */

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../fonts/cairo-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../fonts/cairo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Khademni core: tokens, base, shared parts. Sections add their own css in src/sections/NN-name/. */

:root {
  --teal: #3c9096;
  --teal-ink: #2a6b70;
  --teal-deep: #1f4f53;
  --teal-night: #163b3e;
  --gold: #f2b723;
  --gold-soft: #f8d675;
  --ink: #14292b;
  --ink-2: #3d5557;
  --paper: #ffffff;
  --mist: #eef6f6;
  --line: #d5e6e7;

  --font: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --fs-hero: clamp(2.6rem, 6vw, 5.2rem);
  --fs-h2: clamp(2rem, 4vw, 3.4rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.7rem);
  --fs-body: 1.125rem;
  --fs-small: 0.95rem;

  --gap: clamp(1rem, 2.5vw, 2rem);
  --sec-pad: clamp(4.5rem, 10vw, 9rem);
  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-sm: 10px;
  --bar-h: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 50px -24px rgba(20, 41, 43, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
html.reduced { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }

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

/* Layout */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { position: relative; padding-block: var(--sec-pad); }
.ground-paper { --ground: var(--paper); background: var(--paper); color: var(--ink); }
.ground-mist { --ground: var(--mist); background: var(--mist); color: var(--ink); }
.ground-teal { --ground: var(--teal); background: var(--teal); color: #fff; }
.ground-deep { --ground: var(--teal-deep); background: var(--teal-deep); color: #fff; }
.ground-night { --ground: var(--teal-night); background: var(--teal-night); color: #fff; }

/* Slanted edges: the logo's letter tops rise from left to right. A cut section overlaps the one before it.
   The ground is painted on a clipped layer behind the content; the section itself is not clipped. Clipping the
   section made Edge paint a stale flat edge once a pinned scene inside it changed the section's height. */
.cut-top { --cut: clamp(36px, 5vw, 80px); --cut-poly: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--cut) * -1); padding-top: calc(var(--sec-pad) + var(--cut)); }
.cut-bottom { --cut-b: clamp(36px, 5vw, 80px); --cut-poly: polygon(0 0, 100% 0, 100% calc(100% - var(--cut-b)), 0 100%); padding-bottom: calc(var(--sec-pad) + var(--cut-b)); margin-bottom: calc(var(--cut-b) * -1); }
.cut-top.cut-bottom { --cut-poly: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut-b)), 0 100%); }
.cut-top, .cut-bottom { position: relative; z-index: 1; isolation: isolate; background: none; }
.cut-top::before, .cut-bottom::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--ground); clip-path: var(--cut-poly);
}

/* Section heading: the brand book's diamond marker + underline */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: var(--fs-small); font-weight: 700; letter-spacing: 0; color: var(--teal-ink);
}
.eyebrow::before {
  content: ""; width: 0.75em; height: 0.75em; background: var(--gold);
  transform: rotate(45deg); flex: none; border-radius: 2px;
}
.ground-teal .eyebrow, .ground-deep .eyebrow, .ground-night .eyebrow { color: var(--gold-soft); }
.h2 { font-size: var(--fs-h2); font-weight: 900; }
.h3 { font-size: var(--fs-h3); font-weight: 800; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--ink-2); max-width: 46ch; }
.ground-teal .lead, .ground-deep .lead, .ground-night .lead { color: rgba(255, 255, 255, 0.86); }
.u-line { position: relative; display: inline-block; }
.u-line::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -0.42em; height: 0.12em; min-height: 3px;
  background: var(--gold); border-radius: 2px; transform-origin: right center;
}

/* Buttons */
.btn {
  --bg: var(--gold); --fg: var(--ink); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0.55em 1.5em; border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 800; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.35s var(--ease-out), background-color 0.25s, color 0.25s, box-shadow 0.35s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(20, 41, 43, 0.55); }
.btn:active { transform: translateY(0); }
.btn--teal { --bg: var(--teal-ink); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: currentColor; --bd: currentColor; }
.btn--light { --bg: #fff; --fg: var(--teal-ink); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

/* Focus */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { border-radius: 999px; }
.ground-paper :focus-visible, .ground-mist :focus-visible { outline-color: var(--teal-ink); }

/* A section that receives focus from an in-page link (K's anchor handler) shows no ring around itself. */
[tabindex="-1"]:focus { outline: none; }

.skip {
  position: fixed; inset-inline-start: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-sm); text-decoration: none;
}
.skip:focus { top: 1rem; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Brand shapes from the logo's marks */
.dia {
  --s: 22px; --c: var(--gold);
  display: inline-block; width: var(--s); height: var(--s); background: var(--c);
  transform: rotate(45deg); position: relative; border-radius: 2px;
}
.dia::after {
  content: ""; position: absolute; inset: 22%; border-top: 2px solid rgba(255, 255, 255, 0.85);
  border-inline-end: 2px solid rgba(255, 255, 255, 0.85); border-radius: 1px;
}
.bar {
  --w: 70px; --c: var(--gold);
  display: inline-block; width: var(--w); height: calc(var(--w) * 0.16); background: var(--c);
  transform: skewY(-8deg) rotate(-6deg); border-radius: 2px;
}

/* Logo: the designer's vector paths, one SVG per layer (tools/vector_logo.py; same canvas and mark numbers as v1).
   Full colour paints each layer as an image, so the designer's three teal tones stay; the one-colour versions
   paint var(--logo-body) / var(--logo-mark) through the -mono files, where the bevel tones are alpha. */
.kh-logo {
  --logo-body: var(--teal); --logo-mark: var(--gold);
  position: relative; display: block; width: 100%; aspect-ratio: 2.0504;
}
.kh-logo > i { position: absolute; inset: 0; background: var(--img) center / 100% 100% no-repeat; }
.kh-logo > .kh-logo__body { --img: url(../img/brand/logo/body.svg); --m: url(../img/brand/logo/body-mono.svg); }
.kh-logo__mark--1 { --img: url(../img/brand/logo/mark-1.svg); --m: url(../img/brand/logo/mark-1-mono.svg); }
.kh-logo__mark--2 { --img: url(../img/brand/logo/mark-2.svg); --m: url(../img/brand/logo/mark-2-mono.svg); }
.kh-logo__mark--3 { --img: url(../img/brand/logo/mark-3.svg); --m: url(../img/brand/logo/mark-3-mono.svg); }
.kh-logo__mark--4 { --img: url(../img/brand/logo/mark-4.svg); --m: url(../img/brand/logo/mark-4-mono.svg); }
.kh-logo__mark--5 { --img: url(../img/brand/logo/mark-5.svg); --m: url(../img/brand/logo/mark-5-mono.svg); }
.kh-logo__mark--6 { --img: url(../img/brand/logo/mark-6.svg); --m: url(../img/brand/logo/mark-6-mono.svg); }
.kh-logo__mark--7 { --img: url(../img/brand/logo/mark-7.svg); --m: url(../img/brand/logo/mark-7-mono.svg); }
:is(.kh-logo--light, .kh-logo--white, .kh-logo--gold) > i {
  background: var(--logo-mark);
  -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat;
}
:is(.kh-logo--light, .kh-logo--white, .kh-logo--gold) > .kh-logo__body { background: var(--logo-body); }
.kh-logo--light { --logo-body: #fff; --logo-mark: var(--gold); }
.kh-logo--white { --logo-body: #fff; --logo-mark: #fff; }
.kh-logo--gold { --logo-body: var(--gold); --logo-mark: var(--gold); }
.kh-key {
  display: block; width: 100%; aspect-ratio: 1.7929; background: var(--key, var(--gold));
  -webkit-mask: url(../img/brand/key/key.png) center / 100% 100% no-repeat;
  mask: url(../img/brand/key/key.png) center / 100% 100% no-repeat;
}
@media (forced-colors: active) {
  .kh-logo > i, .kh-key { forced-color-adjust: none; background: CanvasText !important; }
  .kh-logo > i { -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; }
}

/* Reveal: hidden only while the motion core is alive; K.reveal adds .is-in */
.js:not(.reduced):not(.no-k) [data-reveal] {
  opacity: 0; transform: translate3d(0, var(--ry, 28px), 0);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
.js:not(.reduced):not(.no-k) [data-reveal].is-in { opacity: 1; transform: none; }

/* Counters keep their width while counting */
[data-count] { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---- 01-intro ---- */
/* The opening: night ground, the key turns, the wordmark builds, the screen parts along the brand slant. */
.kh-intro {
  --split: 66%;
  --tilt: 2.6vw;
  --kw: min(340px, 56vw);
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  overflow: hidden;
  color: #fff;
}
/* Shown only on a first visit with motion; fades out by itself after 3.5 s if the script never takes over. */
.js:not(.intro-seen):not(.reduced) .kh-intro {
  display: block;
  animation: kh-intro-failsafe 0.45s ease 3.5s forwards;
}
@keyframes kh-intro-failsafe {
  to { opacity: 0; visibility: hidden; }
}

.kh-intro__panel {
  position: absolute;
  inset: 0 -4%;
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(60, 144, 150, 0.32), transparent 70%),
    var(--teal-night);
}
/* The seam rises from left to right, like the logo's letter tops. Panel b overlaps by 2px so no hairline shows. */
.kh-intro__panel--a {
  clip-path: polygon(0 0, 100% 0, 100% calc(var(--split) - var(--tilt)), 0 calc(var(--split) + var(--tilt)));
}
.kh-intro__panel--b {
  clip-path: polygon(0 calc(var(--split) + var(--tilt) - 2px), 100% calc(var(--split) - var(--tilt) - 2px), 100% 100%, 0 100%);
}
.kh-intro__line {
  position: absolute;
  left: -5%;
  width: 110%;
  top: var(--split);
  height: 3px;
  margin-top: -1.5px;
  transform: rotate(-2.76deg); /* atan(2 * tilt / 108vw): the panels are 108vw wide */
}
.kh-intro__line > i {
  position: absolute;
  inset: 0;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right center;
}

.kh-intro__logo {
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(860px, 80vw);
  margin-left: calc(min(860px, 80vw) / -2);
  margin-top: calc(min(860px, 80vw) / -4.1);
}
.kh-intro__logo .kh-logo__body { clip-path: inset(0 0 0 100%); }
.kh-intro__logo .kh-logo__mark { opacity: 0; }

.kh-intro__key {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--kw);
  opacity: 0;
}
/* Before the script runs (it waits for the fonts), CSS already slides the key in, standing upright, to the middle
   of the opening logo (centre 50% / 40%). The script picks the key up from wherever it is. */
.js:not(.intro-seen):not(.reduced) .kh-intro__key {
  animation: kh-intro-key-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}
@keyframes kh-intro-key-in {
  from { opacity: 0; transform: translate(calc(110vw - 50%), calc(40vh - 50%)) rotate(90deg); }
  to { opacity: 1; transform: translate(calc(50vw - 50%), calc(40vh - 50%)) rotate(90deg); }
}

.kh-intro__skip {
  position: absolute;
  inset-inline-end: clamp(1rem, 3vw, 2rem);
  bottom: calc(clamp(1rem, 3vw, 2rem) + env(safe-area-inset-bottom, 0px));
  min-height: 44px;
  padding: 0.4em 1.2em;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.4;
  transition: border-color 0.25s, background-color 0.25s;
}
.kh-intro__skip:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.06); }
/* Without the script the skip button still works: focusing it (click or keyboard) starts the fade at once.
   The script sets an inline animation of none, so this never fires while it is in control. */
.js:not(.intro-seen):not(.reduced) .kh-intro:has(.kh-intro__skip:focus) {
  animation: kh-intro-failsafe 0.3s ease forwards;
}
/* Fetches the key image early (the mask image would only start after layout); never shown. */
.kh-intro__pre { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---- 02-topbar ---- */
/* Top bar: clear at the top of the hero, frosted inside it, solid white with a soft shadow after it. */
.kh-bar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--bar-h);
  z-index: 100;
}
.kh-bar::before,
.kh-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
.kh-bar::before {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.kh-bar::after {
  background: #fff;
  box-shadow: 0 12px 32px -20px rgba(20, 41, 43, 0.45), 0 1px 0 var(--line);
}
.kh-bar.is-tinted::before { opacity: 1; }
/* Without the script (or when it failed to load) the bar stays solid, so it never sits clear over content. */
.kh-bar::after { opacity: 1; }
.js:not(.no-k) .kh-bar::after { opacity: 0; }
.js:not(.no-k) .kh-bar.is-solid::after { opacity: 1; }

.kh-bar__in {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.5rem);
}
.kh-bar__home {
  flex: none;
  display: block;
  width: 104px;
  padding: 4px 0;
  border-radius: 6px;
}
.kh-bar__nav { flex: 1; min-width: 0; }
.kh-bar__nav ul {
  display: flex;
  justify-content: center;
  gap: clamp(0.9rem, 2.2vw, 2.2rem);
}
.kh-bar__nav a {
  position: relative;
  display: block;
  padding: 0.35rem 0.1rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--teal-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s;
}
.kh-bar__nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0.1rem;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--ease-out);
}
.kh-bar__nav a:hover::after,
.kh-bar__nav a[aria-current]::after { transform: scaleX(1); }
.kh-bar__nav a[aria-current] { color: var(--ink); }

.kh-bar__act {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.kh-bar .btn {
  min-height: 44px;
  padding: 0.35em 1.15em;
  font-size: 1rem;
}
.kh-bar__toggle { display: none; }

@media (max-width: 1080px) {
  .kh-bar .kh-bar__call { width: 44px; padding: 0; }
  .kh-bar__call-t {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
  }
  .kh-bar__nav a { font-size: 0.96rem; }
}

/* Six links only while «عدسة خدمني» shows (v2): tighter links on narrow tablets, so the row never spills */
@media (min-width: 761px) and (max-width: 940px) {
  .kh-bar__in:has(.kh-nav-lens:not([hidden])) { gap: 0.8rem; }
  .kh-bar__nav:has(.kh-nav-lens:not([hidden])) ul { gap: 0.55rem; }
  .kh-bar__nav:has(.kh-nav-lens:not([hidden])) a { font-size: 0.86rem; }
}

@media (max-width: 760px) {
  .kh-bar__nav,
  .kh-bar .kh-bar__call { display: none; }
  .kh-bar__home { width: 88px; }
  .kh-bar__act { margin-inline-start: auto; gap: 0.5rem; }
  .kh-bar .kh-bar__req { padding-inline: 1em; }
  .kh-bar__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0 0.85rem;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--teal-ink);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
  }
}
/* Three short slanted strokes, the middle one gold: the logo's diacritic bars. */
.kh-bar__burger {
  display: inline-grid;
  gap: 4px;
  width: 20px;
}
.kh-bar__burger i {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transform: skewY(-10deg);
}
.kh-bar__burger i:nth-child(2) { width: 70%; background: var(--gold); justify-self: end; }

/* Phone menu sheet (works without JavaScript through :target) */
.kh-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  flex-direction: column;
  padding: 0 var(--gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.kh-menu:target,
.kh-menu.is-open { display: flex; }
@media (min-width: 761px) {
  .kh-menu:target,
  .kh-menu.is-open { display: none; }
}
.kh-menu__key {
  position: absolute;
  inset-inline-end: -18%;
  bottom: 6%;
  width: 78%;
  --key: rgba(255, 255, 255, 0.05);
  transform: rotate(-12deg);
  pointer-events: none;
}
.kh-menu__top {
  position: relative;
  flex: none;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kh-menu__logo { display: block; width: 88px; }
.kh-menu__close {
  position: relative;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
}
.kh-menu__close i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2.5px;
  margin: -1.25px 0 0 -10px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.kh-menu__close i + i { transform: rotate(-45deg); background: var(--gold); }
.kh-menu__nav { position: relative; margin-top: clamp(1.5rem, 6vh, 3rem); }
.kh-menu__nav ul { display: grid; gap: 0.2rem; }
.kh-menu__nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.3rem 0;
  font-size: clamp(1.7rem, 7.5vw, 2.3rem);
  font-weight: 800;
  line-height: 1.5;
  color: #fff;
  text-decoration: none;
}
.kh-menu__nav .dia { --s: 12px; flex: none; }
.kh-menu__nav a[aria-current] { color: var(--gold-soft); }
.kh-menu__act {
  position: relative;
  margin-top: auto;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
html.kh-menu-open,
html.kh-menu-open body { overflow: hidden; }

/* The bar sits on white or frosted white, not on a paper section: the gold focus ring would be 1.8:1 there.
   The phone sheet is on the deep ground and keeps the gold ring. Pills stay pills while focused. */
.kh-bar :focus-visible { outline-color: var(--teal-ink); }
.kh-bar .btn:focus-visible,
.kh-bar .kh-bar__toggle:focus-visible,
.kh-menu .btn:focus-visible { border-radius: 999px; }
.kh-menu .kh-menu__close:focus-visible { border-radius: 50%; }

/* At the very top the giant hero wordmark is the only logo; the small one fades in with the frosted bar. */
.kh-bar__home { transition: opacity 0.35s var(--ease-out); }
.kh-bar.is-top .kh-bar__home:not(:focus-visible) { opacity: 0; }
.reduced .kh-bar__home { transition: none; }

/* 320 px phones: the toggle keeps only its strokes (its aria-label still names it). */
@media (max-width: 359px) {
  .kh-bar__home { width: 76px; }
  .kh-bar__act { gap: 0.4rem; }
  .kh-bar .kh-bar__req { padding-inline: 0.85em; }
  .kh-bar__toggle { position: relative; padding: 0 0.75rem; }
  .kh-bar__toggle-t {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
  }
}

/* ---- 03-hero ---- */
/* Hero: one centred axis. The big wordmark is the star; gold marks drift along the slant around it. */
.sec--hero {
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--bar-h) + clamp(0.75rem, 3vh, 2.5rem)) clamp(5.5rem, 12vh, 8rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
/* The brand book's light teal-to-white bar, laid along the slant behind the lower half. */
.sec--hero::before {
  content: "";
  position: absolute;
  inset: auto -5% 0 -5%;
  height: 46%;
  background: linear-gradient(to left, var(--mist) 0%, rgba(238, 246, 246, 0.55) 55%, rgba(255, 255, 255, 0) 100%);
  clip-path: polygon(0 clamp(39.6px, 5.5vw, 88px), 100% 0, 100% 100%, 0 100%);
  z-index: -1;
  pointer-events: none;
}

.kh-hero__in {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.kh-hero__brand {
  width: min(860px, 80vw, max(320px, calc((100svh - var(--bar-h) - 440px) * 2.05)));
}
.js .sec--hero .kh-hero__brand[data-reveal] { transition-duration: 0.01s; }
.kh-hero__brand .kh-logo { transform-origin: 50% 40%; }
.kh-hero__eyebrow { margin-top: clamp(0.5rem, 1.8vh, 1.1rem); }
.kh-hero__title {
  margin-top: 0.3rem;
  font-size: clamp(1.75rem, 3.3vw, 3.1rem);
  font-weight: 900;
  line-height: 1.35;
  color: var(--teal-ink);
}
.kh-hero__title:focus { outline: none; }
.kh-hero__lead { margin: 0.55rem auto 0; max-width: 52ch; }
.kh-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: clamp(1.1rem, 3vh, 2rem);
}
.kh-hero__req { min-width: 11.5rem; }
.kh-hero__ctas .btn--ghost { color: var(--teal-ink); }
.kh-hero__ctas .btn--ghost:hover { background: var(--mist); }
.sec--hero .btn:focus-visible { border-radius: 999px; }

/* Scroll cue */
.kh-hero__cue-wrap {
  position: absolute;
  left: 50%;
  bottom: clamp(3rem, 6.5vh, 4.25rem);
  transform: translateX(-50%);
  z-index: 2;
}
@media (max-height: 650px) {
  .kh-hero__cue-wrap { display: none; }
}
.kh-hero__cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--teal-ink);
  text-decoration: none;
}
.kh-hero__cue-track {
  position: relative;
  width: 2px;
  height: 34px;
  background: var(--line);
  border-radius: 2px;
}
.kh-hero__cue-track .dia {
  --s: 9px;
  position: absolute;
  left: 50%;
  top: 0;
  margin-left: -4.5px;
  animation: kh-hero-cue 2.2s var(--ease-out) infinite;
}
.kh-hero__cue-track .dia::after { display: none; }
@keyframes kh-hero-cue {
  0% { transform: translateY(-4px) rotate(45deg); opacity: 0; }
  25% { opacity: 1; }
  70% { transform: translateY(26px) rotate(45deg); opacity: 1; }
  100% { transform: translateY(30px) rotate(45deg); opacity: 0; }
}
.sec--hero.is-off .kh-hero__cue-track .dia,
.light .kh-hero__cue-track .dia { animation-play-state: paused; }
.reduced .kh-hero__cue-track .dia { animation: none; top: 12px; }

/* Field of gold marks: layer = scroll depth, pl = pointer, s = the mark's own drop and drift. */
.kh-hero__field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.js .sec--hero .kh-hero__field[data-reveal] { transition-duration: 0.3s; }
.kh-hero__layer,
.kh-hero__pl { position: absolute; inset: 0; }
.kh-hero__s {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: block;
  line-height: 0;
}
.kh-hero__layer[data-depth="0.4"] .kh-hero__s { opacity: 0.6; }
.light .kh-hero__field { display: none; }

/* Narrower screens: the text runs wider than the side gaps, so only the marks in the top and bottom bands stay. */
@media (max-width: 1100px) {
  .kh-hero__s--d { display: none; }
  .kh-hero__s { left: var(--px, var(--x)); top: var(--py, var(--y)); }
}
@media (max-width: 760px) {
  .sec--hero { padding-bottom: clamp(7.75rem, 14vh, 8.25rem); } /* room for the scroll cue when the hero runs taller than a short phone */
  .sec--hero::before { height: 34%; }
  .kh-hero__brand { width: min(84vw, 360px); }
  .kh-hero__s--d { display: none; }
  .kh-hero__s { left: var(--px, var(--x)); top: var(--py, var(--y)); }
  .kh-hero__s .dia { --s: 12px !important; }
  .kh-hero__s .bar { --w: 52px !important; }
  .kh-hero__ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 380px;
  }
  .kh-hero__req { grid-column: 1 / -1; }
}

/* ---- 04-services ---- */
/* Services: a pinned sideways scene on desktop (JS adds .is-pin), a swipe row on phones, a two-column grid when
   motion is reduced or the script is not running (the fifth card spans the row). Base rules below are the phone swipe row. */

.sec--services {
  --svc-gap: 14px;
  --svc-edge: var(--gutter);
  --svc-slant: polygon(0% 5%, 100% 0%, 100% 100%, 0% 100%);
  overflow-x: clip;
}
.sec--services .kh-svc-head { margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.sec--services .kh-svc-head .h2 { margin-top: 0.4rem; color: #fff; }
.sec--services .kh-svc-head .lead { margin-top: 1.1rem; }
.sec--services .u-line::after { transform: scaleX(var(--ul, 1)); }

.sec--services .kh-svc-stage { position: relative; display: flex; flex-direction: column; }
.sec--services .kh-svc-deco { display: none; }

/* Swipe row */
.sec--services .kh-svc-bar { display: contents; }
.sec--services .kh-svc-hint {
  order: 1; display: flex; align-items: center; gap: 0.6em; padding-inline: var(--gutter); margin-bottom: 0.9rem;
  font-size: var(--fs-small); font-weight: 600; color: rgba(255, 255, 255, 0.86);
}
.sec--services .kh-svc-hint__arrow {
  width: 0.55em; height: 0.55em; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); flex: none;
}
.sec--services .kh-svc-view {
  order: 2; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--svc-edge);
  overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.sec--services .kh-svc-view::-webkit-scrollbar { display: none; }
.sec--services .kh-svc-track {
  display: flex; align-items: stretch; gap: var(--svc-gap); width: max-content;
  padding-inline: var(--svc-edge); padding-block: 4px;
}
.sec--services .kh-svc-dots {
  order: 3; position: relative; display: flex; align-items: center; justify-content: center; gap: 0.25rem;
  margin-top: 1rem; padding-inline: var(--gutter);
}
.sec--services .kh-svc-dots__line { display: none; }
.sec--services .kh-svc-dot {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-width: 44px; min-height: 44px; padding: 0 0.5rem; border: 0; border-radius: 999px;
  background: var(--teal-deep); color: rgba(255, 255, 255, 0.7); font-weight: 800; font-size: 0.95rem; line-height: 1;
}
.sec--services .kh-svc-dot__d {
  width: 12px; height: 12px; border: 2px solid var(--gold); border-radius: 2px; transform: rotate(45deg);
  transition: background-color 0.3s, transform 0.4s var(--ease-out);
}
.sec--services .kh-svc-dot[aria-current="true"] { color: #fff; }
.sec--services .kh-svc-dot[aria-current="true"] .kh-svc-dot__d { background: var(--gold); transform: rotate(45deg) scale(1.25); }
/* The dots need the script; the native swipe and its hint work without it */
html:not(.js) .sec--services .kh-svc-dots, .no-k .sec--services .kh-svc-dots { display: none; }

/* Panel */
.sec--services .kh-svc-panel {
  position: relative; flex: none; width: calc(100vw - 2 * var(--gutter) - 26px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "num icon" "name icon" "hook hook" "covers covers" "cta cta";
  grid-template-rows: auto auto auto auto 1fr; column-gap: 1rem;
  padding: clamp(1.6rem, 5vw, 2.2rem) clamp(1.25rem, 5vw, 1.75rem) 1.5rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035) 62%);
  clip-path: var(--svc-slant);
  scroll-snap-align: start;
}
.sec--services .kh-svc-panel__body { display: contents; }
.sec--services .kh-svc-num {
  grid-area: num; align-self: end; display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.05rem; font-weight: 800; color: var(--gold-soft); line-height: 1.3;
}
.sec--services .kh-svc-num .bar { --w: 34px; flex: none; }
.sec--services .kh-svc-name {
  grid-area: name; font-size: clamp(2.75rem, 14vw, 4rem); font-weight: 900; line-height: 1.3; color: #fff;
  margin-block: 0.05em 0.15em; white-space: nowrap;
}
.sec--services .kh-svc-hook {
  grid-area: hook; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.9; color: rgba(255, 255, 255, 0.88); max-width: 36ch;
}
.sec--services .kh-svc-covers { grid-area: covers; margin-top: 1rem; }
.sec--services .kh-svc-covers__label { font-size: var(--fs-small); font-weight: 700; color: var(--gold-soft); margin-bottom: 0.35rem; }
.sec--services .kh-svc-list { display: grid; gap: 0.15rem 1.75rem; }
.sec--services .kh-svc-list li { position: relative; padding-inline-start: 1.35em; line-height: 1.8; color: #fff; }
.sec--services .kh-svc-list li::before {
  content: ""; position: absolute; inset-inline-start: 0.15em; top: 0.72em; width: 0.5em; height: 0.5em;
  background: var(--gold); border-radius: 1px; transform: rotate(45deg);
}
.sec--services .kh-svc-cta { grid-area: cta; align-self: end; margin-top: 1.4rem; justify-self: stretch; }

.sec--services .kh-svc-icon {
  grid-area: icon; position: relative; width: clamp(60px, 18vw, 96px); aspect-ratio: 1; align-self: start; justify-self: end;
  display: grid; place-items: center;
}
.sec--services .kh-svc-icon::before {
  content: ""; position: absolute; inset: 15%; border: 2px solid color-mix(in srgb, var(--gold) 40%, transparent); border-radius: 3px; transform: rotate(45deg);
}
.sec--services .kh-svc-ic { position: relative; width: 82%; height: auto; overflow: visible; }
.sec--services .kh-svc-ic__w { fill: none; stroke: #fff; stroke-width: 10; stroke-linejoin: miter; stroke-linecap: square; }
.sec--services .kh-svc-ic__w--thin { stroke-width: 6; }
.sec--services .kh-svc-ic__ws { fill: #fff; }
.sec--services .kh-svc-ic__g { fill: var(--gold); }

/* Other service */
.sec--services .kh-svc-other {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: clamp(2rem, 5vw, 3.5rem);
}
.sec--services .kh-svc-other__text { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.sec--services .kh-svc-other__btn { color: #fff; }

@media (forced-colors: active) {
  .sec--services .kh-svc-ic__w { stroke: CanvasText; }
  .sec--services .kh-svc-ic__ws, .sec--services .kh-svc-ic__g { fill: CanvasText; }
}

/* Desktop without the motion core (no JS, reduced motion, or the core failed), and landscape phones: two columns;
   an odd last card (وصّلي) takes the whole row, so no half row is left empty. */
@media (min-width: 761px) {
  .sec--services .kh-svc-hint, .sec--services .kh-svc-dots { display: none; }
  .sec--services .kh-svc-view { overflow: visible; scroll-snap-type: none; }
  .sec--services .kh-svc-track {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap);
    width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
  }
  .sec--services .kh-svc-panel { width: auto; padding: clamp(2rem, 3vw, 2.75rem) clamp(1.5rem, 2.6vw, 2.5rem) 2rem; }
  .sec--services .kh-svc-name { font-size: clamp(3.2rem, 5.6vw, 5.6rem); }
  .sec--services .kh-svc-icon { width: clamp(110px, 11vw, 150px); }
  .sec--services .kh-svc-cta { justify-self: start; }
  .sec--services .kh-svc-panel:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* The full-row card: the list moves up beside the name, so the wide card has no empty middle. Only where the
   grid is in use: windows under 600 px tall, or no JS / reduced motion / core failed (never the pinned stage). */
@media (min-width: 1000px) and (max-height: 599px) {
  .sec--services .kh-svc-panel:last-child:nth-child(odd) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    grid-template-areas: "num covers icon" "name covers icon" "hook covers icon" "cta covers icon";
    grid-template-rows: auto auto auto 1fr;
  }
  .sec--services .kh-svc-panel:last-child:nth-child(odd) .kh-svc-covers { align-self: center; margin-top: 0; }
}
@media (min-width: 1000px) and (min-height: 600px) {
  :is(html:not(.js), .reduced, .no-k) .sec--services .kh-svc-panel:last-child:nth-child(odd) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    grid-template-areas: "num covers icon" "name covers icon" "hook covers icon" "cta covers icon";
    grid-template-rows: auto auto auto 1fr;
  }
  :is(html:not(.js), .reduced, .no-k) .sec--services .kh-svc-panel:last-child:nth-child(odd) .kh-svc-covers {
    align-self: center; margin-top: 0;
  }
}
@media (min-width: 1280px) {
  .sec--services .kh-svc-list--2col { grid-template-columns: repeat(2, max-content); }
}

/* Desktop with the motion core alive: the stage layout (JS pins it and moves the track; until then it scrolls).
   Windows under 600 px tall (landscape phones) keep the grid: a pinned scene there hides the order buttons. */
@media (min-width: 761px) and (min-height: 600px) {
  .js:not(.reduced):not(.no-k) .sec--services {
    --svc-gap: clamp(28px, 3.5vw, 56px);
    --svc-edge: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-stage {
    height: 100vh; min-height: 560px; padding-top: calc(var(--bar-h) + 1rem); padding-bottom: clamp(1.25rem, 4vh, 2.5rem);
    gap: clamp(0.75rem, 2vh, 1.25rem);
  }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-deco {
    display: block; position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-deco__s { position: absolute; opacity: 0.55; }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-deco__s--1 { --s: 26px; top: 22%; left: 4%; }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-deco__s--2 { --w: 96px; bottom: 2.5%; left: 30%; }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-deco__s--3 { --s: 14px; bottom: 9%; right: 6%; }

  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-bar { display: flex; position: relative; z-index: 1; }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-dots {
    display: flex; justify-content: flex-start; gap: clamp(1.25rem, 3vw, 2.75rem); margin: 0; padding: 0;
  }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-dots__line {
    display: block; position: absolute; inset-inline: 22px; top: 50%; height: 2px; margin-top: -1px; z-index: -1;
    background: rgba(255, 255, 255, 0.18);
  }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-dots__fill {
    display: block; height: 100%; background: var(--gold); transform-origin: right center; transform: scaleX(0);
  }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-view { flex: 1; min-height: 0; overflow-x: auto; overflow-y: hidden; position: relative; z-index: 1; }
  .js:not(.reduced):not(.no-k) .sec--services.is-pin .kh-svc-view { overflow: clip; }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-track {
    display: flex; height: 100%; width: max-content; max-width: none; margin: 0; gap: var(--svc-gap);
    padding-inline: var(--svc-edge); padding-block: 0;
  }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-panel {
    width: min(1080px, 76vw); height: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "body icon"; grid-template-rows: none;
    align-content: center; align-items: center; column-gap: clamp(1.5rem, 4vw, 4rem);
    padding: clamp(2rem, 5vh, 3.5rem) clamp(2rem, 4vw, 4rem);
  }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-panel__body { display: flex; flex-direction: column; align-items: flex-start; grid-area: body; min-width: 0; }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-num { align-self: flex-start; }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-name { font-size: clamp(4rem, min(11vw, 15vh), 10rem); }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-icon { width: clamp(170px, min(22vw, 34vh), 320px); align-self: center; }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-cta { align-self: flex-start; }
}
@media (min-width: 761px) and (min-height: 600px) and (max-width: 999px) {
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-icon { width: clamp(120px, 16vw, 320px); }
}
@media (min-width: 1200px) {
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-list--2col { grid-template-columns: repeat(2, max-content); }
}
/* Short desktop windows (a 720 px laptop with the browser bars): smaller type and gaps, so the card holds it all */
@media (min-width: 761px) and (min-height: 600px) and (max-height: 720px) {
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-stage {
    padding-top: var(--bar-h); padding-bottom: 0.75rem; gap: 0.5rem;
  }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-panel { padding-block: clamp(1rem, 3vh, 3.5rem); }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-name { font-size: clamp(2.75rem, min(9vw, 10.5vh), 10rem); margin-block: 0 0.05em; }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-hook { max-width: 46ch; }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-covers { margin-top: 0.5rem; }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-covers__label { margin-bottom: 0.1rem; }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-cta { margin-top: 0.8rem; }
  .js:not(.reduced):not(.no-k) .sec--services .kh-svc-deco__s--3 { bottom: 2.5%; }
}

/* ---- 05-numbers ---- */
/* Numbers: four figures on the teal ground. White text on --teal is 3.7:1, so every white line here is 24px bold
   or larger; the closing note sits on a --teal-deep plate (9:1). */
.sec--numbers { overflow: hidden; isolation: isolate; }
.sec--numbers .kh-num-wrap { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.sec--numbers .kh-num-title { color: #fff; padding-bottom: 0.4em; }
/* Below Cairo's descenders, so the gold line does not cut the dots of «ي» (kit request in the notes) */
.sec--numbers .u-line::after { bottom: -0.42em; transform: scaleX(var(--ul, 1)); }

.sec--numbers .kh-num-list {
  width: 100%; margin-top: clamp(2.5rem, 6vw, 4.5rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap);
}
.sec--numbers .kh-num { position: relative; display: grid; justify-items: center; align-content: start; gap: 0.35rem; }
.sec--numbers .kh-num + .kh-num::before {
  content: ""; position: absolute; inset-inline-start: calc(var(--gap) / -2); top: 18%; height: 64%;
  border-inline-start: 2px solid rgba(255, 255, 255, 0.22); transform: skewX(-8deg);
}
.sec--numbers .kh-num__drop { display: block; height: 2.2rem; }
.sec--numbers .kh-num__drop .dia { --s: clamp(16px, 1.5vw, 22px); display: block; margin-top: 0.5rem; }
.sec--numbers .kh-num__fig { margin: 0; }
.sec--numbers .kh-num__val {
  display: block; font-size: clamp(3rem, 7vw, 6rem); font-weight: 900; line-height: 1.15; color: #fff;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.sec--numbers .kh-num__pre { margin-inline-end: 0.04em; }
.sec--numbers .kh-num__digits { display: inline-block; min-width: calc(var(--d, 1) * 1ch); text-align: left; }
.sec--numbers .kh-num__label {
  font-size: 1.5rem; font-weight: 800; line-height: 1.5; color: #fff; max-width: 14em;
}

.sec--numbers .kh-num-note {
  display: inline-flex; align-items: center; gap: 0.9em; margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding: 0.7em 1.6em; border-radius: 999px; background: var(--teal-deep); color: #fff;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 700; line-height: 1.7;
}
.sec--numbers .kh-num-note .dia { --s: 10px; flex: none; }
.sec--numbers .kh-num-note .dia::after { display: none; }

/* Background: a big faint key and a few marks that drift along the slant (JS, not in light or reduced mode) */
.sec--numbers .kh-num-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sec--numbers .kh-num-bg__key {
  position: absolute; inset-inline-end: -8%; bottom: -2%; width: clamp(320px, 48vw, 780px); rotate: -6deg;
}
.sec--numbers .kh-num-bg__key .kh-key { --key: rgba(255, 255, 255, 0.06); }
.sec--numbers .kh-num-bg__s { position: absolute; display: block; }
.sec--numbers .kh-num-bg__s > i { display: block; }
.sec--numbers .kh-num-bg__s--1 { inset-inline-start: 7%; top: 22%; }
.sec--numbers .kh-num-bg__s--1 .dia { --s: 16px; }
.sec--numbers .kh-num-bg__s--2 { inset-inline-start: 16%; bottom: 16%; }
.sec--numbers .kh-num-bg__s--2 .bar { --w: 84px; --c: rgba(255, 255, 255, 0.16); }
.sec--numbers .kh-num-bg__s--3 { inset-inline-end: 12%; top: 16%; }
.sec--numbers .kh-num-bg__s--3 .dia { --s: 18px; --c: rgba(255, 255, 255, 0.2); }
.sec--numbers .kh-num-bg__s--3 .dia::after { display: none; }
.sec--numbers .kh-num-bg__s--4 { inset-inline-end: 30%; top: 9%; }
.sec--numbers .kh-num-bg__s--4 .bar { --w: 44px; }

@media (max-width: 760px) {
  .sec--numbers .kh-num-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.25rem; column-gap: 1rem; }
  .sec--numbers .kh-num + .kh-num::before { display: none; }
  .sec--numbers .kh-num__drop { height: 1.6rem; }
  .sec--numbers .kh-num-note { display: flex; border-radius: var(--radius); padding: 0.8em 1.1em; text-align: center; }
  .sec--numbers .kh-num-bg__key { width: 92vw; inset-inline-end: -30%; bottom: 2%; }
  .sec--numbers .kh-num-bg__s--1, .sec--numbers .kh-num-bg__s--3, .sec--numbers .kh-num-bg__s--4 { display: none; }
}

/* ---- 06-why ---- */
/* Why: five points along a key. The rail is the key's blade: its bow on top, its teeth at the end. Without JS or
   with reduced motion it shows full (gold line, solid diamonds); JS adds .is-live for the empty start. */
.sec--why {
  --rail-x: 4.75rem; --rail-c: 1.35rem; --rail-w: 6px; --bow: 38px; --mk: 22px; --row-pad: clamp(1.4rem, 2.4vw, 2rem);
}
.sec--why .kh-why-head { display: grid; gap: 0.9rem; justify-items: start; }
.sec--why .kh-why-title { color: var(--teal-ink); padding-bottom: 0.4em; }
/* Below Cairo's descenders, so the gold line does not cut the dots of «ي» (kit request in the notes) */
.sec--why .u-line::after { bottom: -0.42em; transform: scaleX(var(--ul, 1)); }

.sec--why .kh-why-body { position: relative; margin-top: clamp(2rem, 4vw, 3rem); padding-block: 2.25rem 3.75rem; }

/* The rail */
.sec--why .kh-why-rail {
  position: absolute; inset-block: 0; inset-inline-start: calc(var(--rail-c) - var(--bow) / 2); width: var(--bow);
}
.sec--why .kh-why-rail > i { position: absolute; }
.sec--why .kh-why-rail__bow.dia {
  --s: calc(var(--bow) * 0.74); top: calc(var(--bow) * 0.13); inset-inline-start: calc(var(--bow) * 0.13); z-index: 2;
}
.sec--why .kh-why-rail__track,
.sec--why .kh-why-rail__fill {
  top: calc(var(--bow) / 2); bottom: 0; inset-inline-start: calc(50% - var(--rail-w) / 2); width: var(--rail-w);
  border-radius: var(--rail-w);
}
.sec--why .kh-why-rail__track { background: var(--line); }
.sec--why .kh-why-rail__fill { background: var(--gold); transform-origin: 50% 0; }
.sec--why .kh-why-rail__teeth {
  bottom: 0; inset-inline-start: calc(50% + var(--rail-w) / 2 - 1px); width: 1.5rem;
  display: grid; gap: 7px;
}
.sec--why .kh-why-rail__teeth > i {
  position: relative; display: block; height: var(--rail-w); border-radius: 2px 0 0 2px; background: var(--line);
}
.sec--why .kh-why-rail__teeth > i:nth-child(2) { width: 80%; }
.sec--why .kh-why-rail__teeth > i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--gold); transform-origin: right center;
}

/* The points */
.sec--why .kh-why-pt { position: relative; padding-inline-start: var(--rail-x); }
.sec--why .kh-why-pt__in {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0.5rem calc(var(--gap) * 2);
  padding-block: var(--row-pad); border-bottom: 1px solid var(--line);
}
.sec--why .kh-why-pt:last-child .kh-why-pt__in { border-bottom: 0; }
.sec--why .kh-why-pt__title { font-size: var(--fs-h3); font-weight: 800; line-height: 1.3; color: var(--teal-ink); }
.sec--why .kh-why-pt__text { font-size: var(--fs-body); line-height: 1.9; color: var(--ink-2); max-width: 44ch; }

.sec--why .kh-why-mark {
  position: absolute; z-index: 1; display: block; width: var(--mk); height: var(--mk);
  inset-inline-start: calc(var(--rail-c) - var(--mk) / 2);
  top: calc(var(--row-pad) + var(--fs-h3) * 0.65 - var(--mk) / 2);
}
.sec--why .kh-why-mark__ring {
  position: absolute; inset: 0; background: var(--paper); border: 2.5px solid var(--teal); border-radius: 2px;
  transform: rotate(45deg);
}
/* The solid layer is 1px larger than the ring, so no teal edge shows around it */
.sec--why .kh-why-mark .dia { --s: calc(var(--mk) + 1px); position: absolute; inset-block-start: -0.5px; inset-inline-start: -0.5px; }

/* Live state (JS): empty line, outline diamonds; .is-on fills them as the gold line reaches them */
.sec--why.is-live .kh-why-mark .dia { scale: 0; transition: scale 0.5s cubic-bezier(0.34, 1.6, 0.64, 1); }
.sec--why.is-live .kh-why-mark.is-on .dia { scale: 1; }
.sec--why.is-live .kh-why-rail__teeth > i::after { transform: scaleX(0); transition: transform 0.45s var(--ease-out); }
.sec--why.is-live .kh-why-rail__teeth > i:nth-child(2)::after { transition-delay: 0.08s; }
.sec--why.is-live .kh-why-rail__teeth > i:nth-child(3)::after { transition-delay: 0.16s; }
.sec--why.is-live .kh-why-rail__teeth.is-on > i::after { transform: scaleX(1); }

@media (max-width: 760px) {
  .sec--why { --rail-x: 2.6rem; --rail-c: 0.8rem; --rail-w: 4px; --bow: 24px; --mk: 18px; --row-pad: 1.25rem; }
  .sec--why .kh-why-body { padding-block: 1.75rem 3rem; }
  .sec--why .kh-why-pt__in { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .sec--why .kh-why-rail__teeth { width: 1.1rem; gap: 5px; }
}

/* ---- 06b-now ---- */
/* «نعمل عليه الآن»: one project card on the deep ground. Also the shared media parts (kh-cmp, kh-media-*) that
   the lens viewer uses. */
.sec--now { overflow: hidden; }
.sec--now .u-line::after { transform: scaleX(var(--ul, 1)); bottom: -0.3em; }

.sec--now .kh-now {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.sec--now .kh-now-body { display: grid; gap: 1.1rem; justify-items: start; }
.sec--now .kh-now-kicker::before { display: none; }
.sec--now .kh-now-title { color: #fff; padding-bottom: 0.25em; overflow-wrap: anywhere; }
.sec--now .kh-now-facts { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.sec--now .kh-now-facts[hidden], .sec--now [data-now-wrap][hidden] { display: none; }
.sec--now .kh-now-fact {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.35em 1em; border-radius: 999px; line-height: 1.6;
  font-size: var(--fs-small); font-weight: 700;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff;
}
.sec--now .kh-now-fact .dia { --s: 0.62em; flex: none; }
.sec--now .kh-now-fact .dia::after { display: none; }
.sec--now .kh-now-fact svg { width: 1.15em; height: 1.15em; flex: none; color: var(--gold); }
.sec--now .kh-now-text {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.9; color: rgba(255, 255, 255, 0.86); max-width: 46ch;
  white-space: pre-line;
}

/* The live diamond: solid gold with a ring that grows and fades while the section is on screen. */
.sec--now .kh-now-live {
  position: relative; width: 0.7em; height: 0.7em; flex: none;
  background: var(--gold); transform: rotate(45deg); border-radius: 2px;
}
.sec--now .kh-now-live::after {
  content: ""; position: absolute; inset: 0; border: 2px solid var(--gold); border-radius: 2px; opacity: 0;
}
.sec--now .kh-now-live.is-on::after { animation: kh-now-pulse 1.8s var(--ease-out) infinite; }
@keyframes kh-now-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Main media */
.sec--now .kh-now-media { min-width: 0; }
.sec--now .kh-now-fig { margin: 0; display: grid; gap: 0.75rem; }
.sec--now .kh-now-frame {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: var(--ar, 1.3333); max-height: min(70vh, 640px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); background: var(--teal-night);
}
.sec--now .kh-now-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.sec--now .kh-now-frame > .kh-media-img,
.sec--now .kh-now-frame > .kh-media-video { width: 100%; height: 100%; object-fit: cover; }
.sec--now .kh-now-frame > .kh-media-video { object-fit: contain; background: #000; }
.sec--now .kh-now-frame > .kh-cmp { width: 100%; height: 100%; aspect-ratio: auto; }
.sec--now .kh-now-cap { font-size: var(--fs-small); color: rgba(255, 255, 255, 0.8); line-height: 1.7; }

/* No media: the key in a diamond frame, like the project cards */
.sec--now .kh-now-art { position: relative; justify-self: center; width: 100%; max-width: 360px; aspect-ratio: 1; }
.sec--now .kh-now-art[hidden], .sec--now .kh-now-media[hidden] { display: none; }
.sec--now .kh-now-art__frame {
  position: absolute; inset: 15%; border: 2px solid rgba(255, 255, 255, 0.18); border-radius: 12px; transform: rotate(45deg);
}
.sec--now .kh-now-art__key { position: absolute; top: 50%; left: 50%; width: 78%; translate: -50% -50%; }

/* Marks drifting along the slant */
.sec--now .kh-now-marks { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sec--now .kh-now-mark { position: absolute; display: block; }
.sec--now .kh-now-mark .dia, .sec--now .kh-now-mark .bar { display: block; }
.sec--now .kh-now-mark--1 { inset-inline-start: 4%; top: 18%; }
.sec--now .kh-now-mark--1 .dia { --s: 18px; }
.sec--now .kh-now-mark--2 { inset-inline-start: 46%; bottom: 10%; }
.sec--now .kh-now-mark--2 .bar { --w: 58px; }
.sec--now .kh-now-mark--3 { inset-inline-end: 3%; top: 12%; }
.sec--now .kh-now-mark--3 .dia { --s: 12px; --c: var(--gold-soft); }

@media (max-width: 1000px) {
  .sec--now .kh-now { grid-template-columns: minmax(0, 1fr); }
  .sec--now .kh-now-art { max-width: 240px; }
  .sec--now .kh-now-mark--2 { display: none; }
}
@media (max-width: 760px) {
  .sec--now .kh-now { gap: 1.75rem; }
  .sec--now .kh-now-frame { border-radius: var(--radius-sm); }
  .sec--now .kh-now-mark--1 { top: 6%; }
  .sec--now .kh-now-art { max-width: 180px; }
}

/* ---- Shared media: before/after compare (used here and in the lens viewer) ---- */
.kh-cmp {
  --pos: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: var(--ar, 1.3333); width: 100%;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
  background: var(--teal-night);
}
.kh-cmp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.kh-cmp__before { position: absolute; inset: 0; clip-path: inset(0 0 0 calc(100% - var(--pos))); }
.kh-cmp.is-ltr .kh-cmp__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.kh-cmp__tag {
  position: absolute; top: 0.85rem; z-index: 1;
  padding: 0.15em 0.85em; border-radius: 999px; line-height: 1.7;
  font-size: 0.9rem; font-weight: 800; pointer-events: none;
}
.kh-cmp__tag--before { inset-inline-start: 0.85rem; background: var(--ink); color: #fff; }
.kh-cmp__tag--after { inset-inline-end: 0.85rem; background: var(--gold); color: var(--ink); }
.kh-cmp__line {
  position: absolute; top: 0; bottom: 0; inset-inline-start: var(--pos); z-index: 2; width: 0;
  pointer-events: none;
}
.kh-cmp__line::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
}
.kh-cmp__knob {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--ink); border: 3px solid #fff;
  box-shadow: 0 8px 22px -6px rgba(0, 0, 0, 0.5); pointer-events: auto; cursor: ew-resize;
  transition: transform 0.25s var(--ease-out);
}
.kh-cmp__knob svg { width: 22px; height: 22px; }
.kh-cmp.is-dragging .kh-cmp__knob, .kh-cmp__knob:hover { transform: translate(-50%, -50%) scale(1.08); }
.kh-cmp__knob:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 50%; }
@media (max-width: 760px) {
  .kh-cmp__knob { width: 42px; height: 42px; }
  .kh-cmp__tag { top: 0.6rem; font-size: 0.82rem; }
  .kh-cmp__tag--before { inset-inline-start: 0.6rem; }
  .kh-cmp__tag--after { inset-inline-end: 0.6rem; }
}

/* ---- 07-projects ---- */
.sec--projects .h2 { color: var(--teal-ink); }
.sec--projects .u-line::after { transform: scaleX(var(--ul, 1)); }
.sec--projects .kh-projects-head { display: grid; gap: 0.9rem; justify-items: start; }
.sec--projects .kh-projects-title { padding-bottom: 0.15em; }
.sec--projects .lead { max-width: 60ch; }

.sec--projects .kh-projects-list {
  display: grid; gap: clamp(1rem, 3vw, 1.5rem); margin-top: clamp(2.5rem, 5vw, 4rem);
}
.sec--projects .kh-pcard { --top: calc(var(--bar-h) + 1.5rem + var(--i) * 1.4rem); --shade-max: 0.22; --shade: var(--ink); }
.sec--projects .kh-pcard--paper { --shade-max: 0.1; --shade: var(--teal-deep); }

.sec--projects .kh-pcard__in {
  --card-bg: var(--teal-deep); --card-fg: #fff; --card-head: #fff; --card-text: rgba(255, 255, 255, 0.86);
  --card-num: var(--gold); --card-key: var(--gold); --card-frame: rgba(255, 255, 255, 0.16);
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 38%); align-items: center; gap: var(--gap);
  min-height: min(520px, calc(100svh - var(--bar-h) - 7rem));
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border-radius: calc(var(--radius) * 1.5);
  background: var(--card-bg); color: var(--card-fg);
  box-shadow: var(--shadow);
  transform-origin: 50% 0;
}
.sec--projects .kh-pcard--paper .kh-pcard__in {
  --card-bg: var(--paper); --card-fg: var(--ink); --card-head: var(--teal-ink); --card-text: var(--ink-2);
  --card-num: var(--teal); --card-key: var(--teal); --card-frame: var(--line);
  border: 1px solid var(--line);
}
.sec--projects .kh-pcard--ink .kh-pcard__in {
  --card-bg: var(--teal-ink); --card-key: #fff; --card-frame: rgba(255, 255, 255, 0.2);
}

.sec--projects .kh-pcard__body { display: grid; justify-items: start; gap: 0.6rem; max-width: 40rem; }
.sec--projects .kh-pcard__num {
  display: block; direction: ltr; font-size: clamp(4rem, 8vw, 7.5rem); font-weight: 900; line-height: 1;
  color: var(--card-num); font-variant-numeric: tabular-nums; margin-bottom: 0.25rem;
}
.sec--projects .kh-pcard__sector {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: var(--fs-small); font-weight: 700; color: var(--card-text);
}
.sec--projects .kh-pcard__sector .dia { --s: 0.7em; flex: none; }
.sec--projects .kh-pcard__name {
  font-size: clamp(2rem, 3.8vw, 3.3rem); font-weight: 900; line-height: 1.3; color: var(--card-head);
}
.sec--projects .kh-pcard__text { font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.9; color: var(--card-text); }

/* Brand decoration: a diamond frame (the key's bow), the key, and the logo's slanted marks */
.sec--projects .kh-pcard__art {
  position: relative; justify-self: center; width: 100%; max-width: 380px; aspect-ratio: 1;
}
.sec--projects .kh-pcard__frame {
  position: absolute; inset: 15%; border: 2px solid var(--card-frame); border-radius: 12px; transform: rotate(45deg);
}
.sec--projects .kh-pcard__keywrap { position: absolute; top: 50%; left: 50%; width: 78%; translate: -50% -50%; }
.sec--projects .kh-pcard__keywrap .kh-key { --key: var(--card-key); }
.sec--projects .kh-pcard--paper .kh-pcard__keywrap { rotate: -90deg; width: 70%; }
.sec--projects .kh-pcard--ink .kh-pcard__keywrap { rotate: 90deg; width: 70%; }
.sec--projects .kh-pcard__drop { position: absolute; display: block; }
.sec--projects .kh-pcard__drop .bar, .sec--projects .kh-pcard__drop .dia { display: block; }
.sec--projects .kh-pcard__drop--1 { left: 8%; bottom: 14%; }
.sec--projects .kh-pcard__drop--1 .bar { --w: clamp(48px, 5vw, 72px); }
.sec--projects .kh-pcard__drop--2 { left: 20%; bottom: 6%; }
.sec--projects .kh-pcard__drop--2 .bar { --w: clamp(34px, 3.4vw, 50px); }
.sec--projects .kh-pcard__drop--3 { right: 12%; top: 10%; }
.sec--projects .kh-pcard__drop--3 .dia { --s: clamp(16px, 1.6vw, 24px); }

.sec--projects .kh-pcard__shade {
  position: absolute; inset: 0; z-index: 2; background: var(--shade); opacity: 0; pointer-events: none;
}

/* Desktop: the cards stack. Each one sticks a little lower than the one before; JS scales the covered ones. */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .sec--projects .kh-projects-list { gap: 16vh; }
  .sec--projects .kh-pcard { position: sticky; top: var(--top); }
  .sec--projects .kh-pcard__in { will-change: transform; }
}

@media (max-width: 760px) {
  .sec--projects .kh-pcard__in { grid-template-columns: 1fr; min-height: 0; padding: 1.5rem 1.4rem 1.75rem; }
  .sec--projects .kh-pcard__art {
    position: absolute; top: 0.5rem; left: 0.5rem; width: 104px; max-width: none; z-index: 0;
  }
  .sec--projects .kh-pcard__drop--1, .sec--projects .kh-pcard__drop--2 { display: none; }
  .sec--projects .kh-pcard__body { position: relative; z-index: 1; }
  .sec--projects .kh-pcard__num { font-size: 4.2rem; }
  .sec--projects .kh-pcard__name { font-size: 2rem; }
}

/* ---- 07b-lens ---- */
/* «عدسة خدمني»: photo cards on the night ground, and the viewer dialog. Compare slider styles: 06b-now. */
.sec--lens { overflow: hidden; }
.sec--lens .u-line::after { transform: scaleX(var(--ul, 1)); bottom: -0.3em; }
.sec--lens .kh-lens-head { display: grid; gap: 0.9rem; justify-items: start; }
.sec--lens .kh-lens-title { color: #fff; padding-bottom: 0.15em; }
.sec--lens .lead { max-width: 52ch; }

/* Grid: three columns of fixed-height rows; from four projects on, the first card takes two by two. */
.sec--lens .kh-lens-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 19vw, 270px);
  grid-auto-flow: dense; gap: clamp(0.75rem, 1.6vw, 1.25rem); margin-top: clamp(2.5rem, 5vw, 4rem);
}
.sec--lens .kh-lens-grid > [hidden] { display: none; }
.sec--lens .kh-lens-card { grid-row: span 1; min-width: 0; }
.sec--lens .kh-lens-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.sec--lens .kh-lens-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sec--lens .kh-lens-grid:is([data-count="1"], [data-count="2"], [data-count="3"]) .kh-lens-card { grid-row: span 2; }
.sec--lens .kh-lens-grid[data-count="4"] .kh-lens-card:first-child { grid-column: span 2; grid-row: span 2; }
.sec--lens .kh-lens-grid[data-count="4"] .kh-lens-card--d2 { grid-column: span 2; }
.sec--lens .kh-lens-grid[data-count="4"] .kh-lens-card--d3 { grid-column: 1 / -1; }

.sec--lens .kh-lens-card__in {
  position: relative; height: 100%; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); background: var(--teal-deep);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.7);
}
.sec--lens .kh-lens-card__pic { position: absolute; inset: -6% 0; z-index: 0; }
.sec--lens .kh-lens-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.sec--lens .kh-lens-card__in::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(14, 38, 40, 0.92) 0%, rgba(14, 38, 40, 0.55) 34%, rgba(14, 38, 40, 0) 62%);
}
.sec--lens .kh-lens-card__in::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.35s var(--ease-out);
}
.sec--lens .kh-lens-card__in:hover .kh-lens-card__img { transform: scale(1.06); }
.sec--lens .kh-lens-card__in:hover::before { box-shadow: inset 0 0 0 3px var(--gold); }

/* The meta box fills the card (text kept at the bottom), so the title button's ::after below covers the whole card. */
.sec--lens .kh-lens-card__meta {
  position: absolute; inset: 0; z-index: 2;
  display: grid; gap: 0.3rem; justify-items: start; align-content: end; padding: clamp(1rem, 2vw, 1.6rem);
}
.sec--lens .kh-lens-card__svc {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-size: 0.9rem; font-weight: 700; line-height: 1.6; color: var(--gold-soft);
}
.sec--lens .kh-lens-card__svc .dia { --s: 0.6em; flex: none; }
.sec--lens .kh-lens-card__svc .dia::after { display: none; }
.sec--lens .kh-lens-card__title { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 800; line-height: 1.45; color: #fff; }
.sec--lens .kh-lens-card:first-child .kh-lens-card__title { font-size: clamp(1.3rem, 2.4vw, 2rem); }
.sec--lens .kh-lens-card__open {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  padding: 0; border: 0; background: none; color: inherit; font: inherit; line-height: inherit;
  text-align: start; cursor: pointer; overflow-wrap: anywhere;
}
/* The title button covers the whole card, so the card is one big target. */
.sec--lens .kh-lens-card__open::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: var(--radius); }
.sec--lens .kh-lens-card__open:focus-visible { outline: none; }
.sec--lens .kh-lens-card__open:focus-visible::after { outline: 3px solid var(--gold); outline-offset: -3px; }
.sec--lens .kh-lens-card__area { font-size: 0.9rem; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }

.sec--lens .kh-lens-card__badges {
  position: absolute; top: 0.8rem; inset-inline-start: 0.8rem; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 0.4rem; pointer-events: none;
}
.sec--lens .kh-lens-badge {
  display: inline-flex; align-items: center; gap: 0.35em;
  padding: 0.1em 0.7em; border-radius: 999px; line-height: 1.8;
  font-size: 0.82rem; font-weight: 800; background: rgba(14, 38, 40, 0.78); color: #fff;
}
.sec--lens .kh-lens-badge:first-child { background: var(--gold); color: var(--ink); }
.sec--lens .kh-lens-badge svg { width: 1.05em; height: 1.05em; flex: none; }

.sec--lens .kh-lens-more { display: flex; justify-content: center; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.sec--lens .kh-lens-more[hidden] { display: none; }
.sec--lens .kh-lens-more__btn { color: #fff; }

@media (max-width: 760px) {
  .sec--lens .kh-lens-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; gap: 0.6rem; }
  .sec--lens .kh-lens-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
  .sec--lens .kh-lens-grid .kh-lens-card:first-child,
  .sec--lens .kh-lens-grid[data-count="2"] .kh-lens-card { grid-column: span 2; grid-row: span 2; }
  .sec--lens .kh-lens-grid[data-count="3"] .kh-lens-card:not(:first-child) { grid-row: span 1; }
  .sec--lens .kh-lens-grid .kh-lens-card:is(.kh-lens-card--d2, .kh-lens-card--d3) { grid-column: auto; }
  .sec--lens .kh-lens-grid .kh-lens-card.kh-lens-card--p2 { grid-column: 1 / -1; }
  .sec--lens .kh-lens-card__in { border-radius: var(--radius-sm); }
  .sec--lens .kh-lens-card__open::after { border-radius: var(--radius-sm); }
  .sec--lens .kh-lens-card:not(:first-child) .kh-lens-card__meta { padding: 0.7rem; gap: 0.1rem; }
  .sec--lens .kh-lens-card:not(:first-child) .kh-lens-card__title { font-size: 0.98rem; line-height: 1.5; }
  .sec--lens .kh-lens-card:not(:first-child) .kh-lens-card__svc { font-size: 0.8rem; }
  .sec--lens .kh-lens-card:not(:first-child) .kh-lens-card__area { display: none; }
  .sec--lens .kh-lens-card:not(:first-child) .kh-lens-card__badges { top: 0.5rem; inset-inline-start: 0.5rem; }
  /* Small cards keep the badge icons; the words stay for screen readers. */
  .sec--lens .kh-lens-card:not(:first-child) .kh-lens-badge { padding: 0.25em 0.5em; }
  .sec--lens .kh-lens-card:not(:first-child) .kh-lens-badge:not(:last-child) span:not(.sr-only) {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
  }
}

/* ---- Viewer ---- */
html.kh-lv-open { overflow: hidden; }
.kh-lv {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: clamp(0.75rem, 2.5vw, 2rem);
  border: 0; background: transparent; color: #fff; overflow-y: auto; overscroll-behavior: contain;
}
.kh-lv[open] { display: grid; place-items: center; }
.kh-lv::backdrop { background: rgba(10, 30, 32, 0.97); }
.kh-lv [hidden] { display: none !important; }
.kh-lv__panel {
  --stage-h: min(62vh, 720px);
  width: 100%; max-width: 1180px; display: grid; gap: 0.9rem;
}
.kh-lv__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.kh-lv__info { display: grid; gap: 0.15rem; min-width: 0; }
.kh-lv__svc {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-size: 0.9rem; font-weight: 700; color: var(--gold-soft); line-height: 1.6;
}
.kh-lv__svc .dia { --s: 0.6em; flex: none; }
.kh-lv__svc .dia::after { display: none; }
.kh-lv__title { font-size: clamp(1.25rem, 2.4vw, 1.9rem); font-weight: 900; line-height: 1.4; overflow-wrap: anywhere; }
.kh-lv__area { font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); line-height: 1.6; }
.kh-lv__close {
  position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); color: #fff;
  transition: background-color 0.25s, border-color 0.25s;
}
.kh-lv__close:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.kh-lv__close i {
  position: absolute; top: 50%; left: 50%; width: 20px; height: 2.5px; margin: -1.25px 0 0 -10px;
  background: currentColor; border-radius: 2px; transform: rotate(45deg);
}
.kh-lv__close i + i { transform: rotate(-45deg); }
.kh-lv__close:focus-visible { border-radius: 50%; }

.kh-lv__stage { position: relative; display: grid; place-items: center; }
.kh-lv__slide {
  position: relative; width: min(100%, calc(var(--stage-h) * var(--ar, 1.3333))); aspect-ratio: var(--ar, 1.3333);
  border-radius: var(--radius); overflow: hidden; background: #000; touch-action: pan-y;
}
.kh-lv__slide > .kh-media-img, .kh-lv__slide > .kh-media-video { width: 100%; height: 100%; object-fit: contain; }
.kh-lv__slide > .kh-cmp { height: 100%; }
.kh-lv__nav {
  position: absolute; top: 50%; z-index: 3; display: grid; place-items: center;
  width: 52px; height: 52px; margin-top: -26px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, 0.92); color: var(--teal-ink);
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease-out), background-color 0.25s;
}
.kh-lv__nav:hover { background: var(--gold); color: var(--ink); transform: scale(1.06); }
.kh-lv__nav:focus-visible { border-radius: 50%; }
.kh-lv__nav svg { width: 24px; height: 24px; }
.kh-lv__nav--prev { inset-inline-start: 0; }
.kh-lv__nav--next { inset-inline-end: 0; }
.kh-lv__cap { text-align: center; font-size: 0.95rem; color: rgba(255, 255, 255, 0.82); line-height: 1.7; }

.kh-lv__foot { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.kh-lv__count { flex: none; font-weight: 800; font-size: 0.95rem; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.kh-lv__thumbs { display: flex; gap: 0.5rem; overflow-x: auto; padding: 4px; scrollbar-width: thin; min-width: 0; }
.kh-lv__thumb {
  position: relative; display: block; flex: none; width: 76px; height: 56px; padding: 0; overflow: hidden;
  border-radius: 8px; border: 2px solid transparent; background: var(--teal-deep); opacity: 0.6;
  transition: opacity 0.25s, border-color 0.25s;
}
.kh-lv__thumb:hover, .kh-lv__thumb[aria-current="true"] { opacity: 1; }
.kh-lv__thumb[aria-current="true"] { border-color: var(--gold); }
.kh-lv__thumb img { width: 100%; height: 100%; object-fit: cover; }
.kh-lv__thumb-before { position: absolute; inset: 0; clip-path: polygon(100% 0, 100% 100%, 40% 100%, 60% 0); }
.kh-lv__thumb-before img { width: 100%; height: 100%; object-fit: cover; }
.kh-lv__thumb-play {
  position: absolute; top: 50%; left: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px;
  padding: 4px; border-radius: 50%; background: rgba(14, 38, 40, 0.75); color: #fff;
}
.kh-lv__thumb:focus-visible { outline-offset: 2px; }
.kh-lv__text {
  font-size: 1.05rem; line-height: 1.9; color: rgba(255, 255, 255, 0.86); max-width: 70ch; white-space: pre-line;
}

@media (max-width: 760px) {
  .kh-lv { padding: 0.75rem; }
  .kh-lv[open] { place-items: start center; }
  .kh-lv__panel { --stage-h: 56vh; gap: 0.75rem; }
  .kh-lv__slide { border-radius: var(--radius-sm); }
  /* The slide fills the stage width here, so the arrows go in a row under it, clear of the slider's handle. */
  .kh-lv__stage.has-nav { padding-bottom: 50px; }
  .kh-lv__nav { top: auto; bottom: 0; width: 42px; height: 42px; margin-top: 0; }
  .kh-lv__nav--prev { inset-inline-start: 0; }
  .kh-lv__nav--next { inset-inline-end: 0; }
  .kh-lv__foot { flex-direction: column; align-items: stretch; gap: 0.4rem; }
  .kh-lv__count { text-align: center; }
}

/* ---- 08-partners ---- */
.sec--partners .h2 { color: var(--teal-ink); }
.sec--partners .u-line::after { transform: scaleX(var(--ul, 1)); }
.sec--partners .kh-partners-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem;
}
.sec--partners .kh-partners-intro { display: grid; gap: 0.9rem; justify-items: start; }
.sec--partners .kh-partners-title { padding-bottom: 0.15em; }

.sec--partners .kh-partners-toggle {
  min-height: 44px; padding: 0.4em 1.15em; font-size: 0.95rem; color: var(--teal-ink); gap: 0.5em;
}
.sec--partners .kh-partners-toggle[hidden] { display: none; }
.sec--partners .kh-partners-toggle svg { width: 1.1em; height: 1.1em; }
.sec--partners .kh-partners-toggle__play { display: none; }
.sec--partners .kh-partners-toggle.is-stopped .kh-partners-toggle__pause { display: none; }
.sec--partners .kh-partners-toggle.is-stopped .kh-partners-toggle__play { display: block; }

.sec--partners .kh-partners-rows { margin-top: clamp(2.25rem, 4.5vw, 3.5rem); border-top: 1px solid var(--line); }
.sec--partners .kh-prow {
  display: grid; grid-template-columns: minmax(14rem, 19rem) minmax(0, 1fr); align-items: center; gap: 1rem 2rem;
  padding-block: clamp(1.1rem, 2vw, 1.6rem); border-bottom: 1px solid var(--line);
}
.sec--partners .kh-prow__title {
  display: flex; align-items: center; gap: 0.65em;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 800; color: var(--teal-ink);
}
.sec--partners .kh-prow__title .dia { --s: 0.7em; flex: none; }
.sec--partners .kh-prow__view { min-width: 0; }
.sec--partners .kh-prow__list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.sec--partners .kh-prow__list li { display: flex; align-items: center; }
.sec--partners .kh-pill {
  display: inline-block; padding: 0.4em 1.15em; border-radius: 999px;
  background: var(--mist); border: 1px solid var(--line); color: var(--ink);
  font-size: clamp(1rem, 1.3vw, 1.15rem); font-weight: 700; line-height: 1.7;
}

/* Marquee (JS adds .is-marquee; reduced motion, light mode and no-JS keep the still list above) */
.sec--partners.is-marquee .kh-prow__view {
  overflow: hidden; overflow: clip;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to left, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.sec--partners.is-marquee .kh-prow__track { display: flex; width: max-content; }
.sec--partners.is-marquee .kh-prow__list { flex-wrap: nowrap; gap: 0; flex: none; }
.sec--partners.is-marquee .kh-pill { white-space: nowrap; }
.sec--partners.is-marquee .kh-prow__list li::after {
  content: ""; width: 9px; height: 9px; margin-inline: 1.1rem; flex: none;
  background: var(--gold); border-radius: 1px; transform: rotate(45deg);
}

@media (max-width: 760px) {
  .sec--partners .kh-prow { grid-template-columns: minmax(0, 1fr); gap: 0.8rem; }
  .sec--partners .kh-pill { font-size: 1rem; }
  .sec--partners.is-marquee .kh-prow__view { margin-inline: calc(var(--gutter) * -1); }
}

/* ---- 08b-reviews ---- */
.sec--reviews {
  --rv-err: #b02a20;
  --rv-err-bg: #fdf0ee;
  --rv-border: #7a9799;
  --rv-per: 3;
  --rv-gap: clamp(1rem, 2vw, 1.5rem);
  --rv-star-off: #c9dadb;
}
.sec--reviews [hidden] { display: none !important; }
.sec--reviews .h2 { color: var(--teal-ink); }
.sec--reviews .u-line::after { transform: scaleX(var(--ul, 1)); }

/* Heading row: the intro at the start, the add button and the feedback line at the end */
.sec--reviews .kh-rev-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2.5rem;
}
.sec--reviews .kh-rev-intro { display: grid; gap: 0.9rem; justify-items: start; }
.sec--reviews .kh-rev-title { padding-bottom: 0.15em; }
.sec--reviews .kh-rev-act { display: grid; gap: 0.85rem; justify-items: start; }
.sec--reviews .kh-rev-add[aria-expanded="true"] { --bg: var(--teal-deep); }
.sec--reviews .kh-rev-feedback {
  display: inline-flex; align-items: center; gap: 0.6em; min-height: 44px; padding: 0.35em 1em;
  border-radius: 999px; background: var(--paper); border: 1.5px solid var(--gold);
  color: var(--ink); font-size: var(--fs-small); font-weight: 700; line-height: 1.5; text-decoration: none;
  transition: background-color 0.25s, transform 0.35s var(--ease-out);
}
.sec--reviews .kh-rev-feedback:hover { background: #fff8e3; transform: translateY(-1px); }
.sec--reviews .kh-rev-feedback:focus-visible { border-radius: 999px; }
.sec--reviews .kh-rev-feedback__d {
  width: 0.6em; height: 0.6em; flex: none; background: var(--gold); transform: rotate(45deg); border-radius: 1px;
}
.sec--reviews .kh-rev-feedback__n {
  font-size: 1.15em; font-weight: 900; color: var(--teal-ink); letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* The form panel. Open without JS; the script closes it and opens it from the add button. */
.sec--reviews .kh-rev-panel { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.sec--reviews .kh-rev-panel.is-anim { overflow: hidden; }
.sec--reviews .kh-rev-form,
.sec--reviews .kh-rev-done {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2.5rem);
}
.sec--reviews .kh-rev-form__title { color: var(--teal-ink); }
.sec--reviews .kh-rev-note { margin-block: 0.4rem 1.4rem; font-size: var(--fs-small); color: var(--ink-2); }
.sec--reviews .kh-rev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.25rem; }
.sec--reviews .kh-rev-f { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.sec--reviews .kh-rev-f--wide { grid-column: 1 / -1; }
.sec--reviews fieldset.kh-rev-f { margin: 0; padding: 0; border: 0; }
.sec--reviews .kh-rev-label { padding: 0; font-size: 1rem; font-weight: 700; line-height: 1.5; color: var(--ink); }
.sec--reviews .kh-rev-star { color: var(--teal-ink); font-weight: 900; }
.sec--reviews .kh-rev-opt { font-size: 0.9rem; font-weight: 400; color: var(--ink-2); }

.sec--reviews .kh-rev-box { position: relative; }
.sec--reviews .kh-rev-box::after {
  content: ""; position: absolute; inset-inline: 10px; bottom: 0; height: 3px; border-radius: 2px;
  background: var(--gold); pointer-events: none;
  transform: scaleX(0); transform-origin: right center; transition: transform 0.5s var(--ease-out);
}
.sec--reviews .kh-rev-box:focus-within::after { transform: scaleX(1); }
.sec--reviews .kh-rev-input {
  display: block; width: 100%; min-height: 54px; margin: 0;
  padding: 0.6rem 1rem; border: 1.5px solid var(--rv-border); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font-size: 1.05rem; line-height: 1.6; transition: border-color 0.2s;
}
.sec--reviews .kh-rev-input::placeholder { color: #5d7375; opacity: 1; }
.sec--reviews .kh-rev-input:hover { border-color: var(--teal-ink); }
.sec--reviews .kh-rev-input:focus,
.sec--reviews .kh-rev-input:focus-visible { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 1px var(--teal-ink); }
.sec--reviews .kh-rev-input[aria-invalid="true"] { border-color: var(--rv-err); box-shadow: 0 0 0 1px var(--rv-err); }
.sec--reviews textarea.kh-rev-input { min-height: 8.5em; resize: vertical; line-height: 1.8; }

/* Star picker: real radios (focusable, arrow keys), drawn as stars. :has() fills the stars up to the
   checked one, and up to the hovered one while the pointer is over them. */
.sec--reviews .kh-rev-pick { display: flex; align-items: center; gap: 0.2rem; flex-wrap: wrap; }
.sec--reviews .kh-rev-pick__in {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0;
}
.sec--reviews .kh-rev-pick__s {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; cursor: pointer;
  color: var(--rv-star-off); transition: color 0.2s, transform 0.35s var(--ease-out);
}
.sec--reviews .kh-rev-pick__s svg { width: 38px; height: 38px; fill: currentColor; stroke: #a9c2c3; stroke-width: 1; stroke-linejoin: round; }
@media (hover: hover) { .sec--reviews .kh-rev-pick__s:hover { transform: scale(1.12); } }
.sec--reviews .kh-rev-pick__in:focus-visible + .kh-rev-pick__s { outline: 3px solid var(--teal-ink); outline-offset: 1px; }
.sec--reviews .kh-rev-pick:has(.kh-rev-pick__in:checked) .kh-rev-pick__s { color: var(--gold); }
.sec--reviews .kh-rev-pick:has(.kh-rev-pick__in:checked) .kh-rev-pick__s svg { stroke: #c9900f; }
.sec--reviews .kh-rev-pick__in:checked + .kh-rev-pick__s ~ .kh-rev-pick__s { color: var(--rv-star-off); }
.sec--reviews .kh-rev-pick__in:checked + .kh-rev-pick__s ~ .kh-rev-pick__s svg { stroke: #a9c2c3; }
@media (hover: hover) {
  .sec--reviews .kh-rev-pick:has(.kh-rev-pick__s:hover) .kh-rev-pick__s { color: var(--gold-soft); }
  .sec--reviews .kh-rev-pick .kh-rev-pick__s:hover ~ .kh-rev-pick__s { color: var(--rv-star-off); }
}
.sec--reviews .kh-rev-pick[data-invalid] .kh-rev-pick__s svg { stroke: var(--rv-err); }
.sec--reviews .kh-rev-pick__v { margin-inline-start: 0.6rem; font-weight: 800; color: var(--teal-ink); }
.sec--reviews .kh-rev-pick.is-pop .kh-rev-pick__in:checked + .kh-rev-pick__s { animation: kh-rev-pop 0.45s var(--ease-out); }
@keyframes kh-rev-pop { 40% { transform: scale(1.3) rotate(-8deg); } }

.sec--reviews .kh-rev-count { font-size: 0.9rem; line-height: 1.6; color: var(--ink-2); }
.sec--reviews .kh-rev-count.is-over { color: var(--rv-err); font-weight: 700; }
.sec--reviews .kh-rev-err {
  display: flex; align-items: baseline; gap: 0.5em;
  font-size: 0.95rem; font-weight: 700; line-height: 1.6; color: var(--rv-err);
}
.sec--reviews .kh-rev-err::before {
  content: ""; flex: none; width: 0.5em; height: 0.5em; background: currentColor;
  transform: translateY(-0.1em) rotate(45deg); border-radius: 1px;
}
.sec--reviews .kh-rev-trap {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sec--reviews .kh-rev-summary:empty { display: none; }
.sec--reviews .kh-rev-summary {
  margin-top: 1.5rem; padding: 0.8rem 1.1rem;
  border-inline-start: 4px solid var(--rv-err); border-radius: var(--radius-sm);
  background: var(--rv-err-bg); color: var(--rv-err); font-weight: 700; line-height: 1.7;
}
.sec--reviews .kh-rev-submit { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.sec--reviews .kh-rev-send { min-width: 200px; }
.sec--reviews .kh-rev-send__d { width: 0.5em; height: 0.5em; background: currentColor; transform: rotate(45deg); border-radius: 1px; flex: none; }
.sec--reviews .kh-rev-send[disabled] { cursor: progress; opacity: 0.8; transform: none; box-shadow: none; }
.sec--reviews .kh-rev-cancel {
  min-height: 44px; padding: 0.25rem 0.25rem; border: 0; background: none;
  color: var(--teal-ink); font-weight: 800; text-decoration: underline; text-underline-offset: 0.35em;
}

.sec--reviews .kh-rev-done { display: grid; justify-items: start; gap: 0.9rem; }
.sec--reviews .kh-rev-done__mark .dia { --s: 26px; }
.sec--reviews .kh-rev-done__title { color: var(--teal-ink); outline-offset: 6px; }
.sec--reviews .kh-rev-done__text { max-width: 52ch; color: var(--ink-2); }
.sec--reviews .kh-rev-close { color: var(--teal-ink); margin-top: 0.4rem; }

/* Slider */
.sec--reviews .kh-rev-show { margin-top: clamp(2rem, 4vw, 3.25rem); }
.sec--reviews .kh-rev-view {
  /* The padding keeps the shadows inside the clip. The height is the tallest card's and never changes while
     the slider moves, so the sections below stay still. */
  overflow: hidden; margin-inline: -12px; padding: 12px 12px 36px; touch-action: pan-y;
}
.sec--reviews .kh-rev-view.is-drag { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.sec--reviews .kh-rev-track { display: flex; gap: var(--rv-gap); align-items: stretch; will-change: transform; }
.sec--reviews .kh-rev-track.is-glide { transition: transform 0.75s var(--ease-out); }
.sec--reviews .kh-rev-card {
  flex: 0 0 calc((100% - (var(--rv-per) - 1) * var(--rv-gap)) / var(--rv-per)); min-width: 0;
  display: flex; transition: opacity 0.5s var(--ease-out);
}
.sec--reviews .kh-rev-card[aria-hidden="true"] { opacity: 0.35; }
.sec--reviews .kh-rev-fig {
  position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; gap: 1.1rem; margin: 0;
  padding: clamp(1.4rem, 2.4vw, 2rem); background: var(--paper); border: 1px solid var(--line);
  /* A short shadow that fits inside the view's padding, so the clip edge never shows */
  border-radius: var(--radius); box-shadow: 0 12px 24px -16px rgba(20, 41, 43, 0.4); overflow: hidden;
}
.sec--reviews .kh-rev-fig::before {
  content: "\201D"; position: absolute; inset-inline-end: 1.1rem; top: -0.35rem;
  font-size: 6.5rem; line-height: 1; font-weight: 900; color: var(--mist); pointer-events: none;
}
.sec--reviews .kh-rev-fig::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--gold);
  transform: scaleX(0.18); transform-origin: right center; transition: transform 0.6s var(--ease-out);
}
@media (hover: hover) {
  .sec--reviews .kh-rev-card:not([aria-hidden="true"]) .kh-rev-fig:hover::after { transform: scaleX(1); }
}
.sec--reviews .kh-rev-stars { position: relative; display: flex; gap: 0.2rem; }
.sec--reviews .kh-rev-stars svg { width: 24px; height: 24px; fill: var(--gold); }
.sec--reviews .kh-rev-stars .is-off { fill: var(--rv-star-off); }
.sec--reviews .kh-rev-quote { position: relative; margin: 0; flex: 1 1 auto; }
.sec--reviews .kh-rev-quote p { font-size: 1.05rem; line-height: 1.95; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.sec--reviews .kh-rev-who { display: flex; align-items: center; gap: 0.8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.sec--reviews .kh-rev-ini {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 1.3rem; font-weight: 900; line-height: 1;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35);
}
.sec--reviews .kh-rev-names { display: grid; min-width: 0; line-height: 1.5; }
.sec--reviews .kh-rev-name { font-weight: 800; color: var(--teal-ink); overflow-wrap: anywhere; }
.sec--reviews .kh-rev-role { font-size: 0.92rem; color: var(--ink-2); overflow-wrap: anywhere; }

.sec--reviews .kh-rev-ctrl {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 0.25rem;
}
.sec--reviews .kh-rev-arrow {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1.5px solid var(--teal-ink); background: var(--paper); color: var(--teal-ink);
  transition: background-color 0.25s, color 0.25s, transform 0.35s var(--ease-out), opacity 0.25s;
}
.sec--reviews .kh-rev-arrow svg { width: 22px; height: 22px; }
.sec--reviews .kh-rev-arrow:hover:not([disabled]) { background: var(--teal-ink); color: #fff; }
.sec--reviews .kh-rev-prev:hover:not([disabled]) { transform: translateX(3px); }
.sec--reviews .kh-rev-next:hover:not([disabled]) { transform: translateX(-3px); }
.sec--reviews .kh-rev-arrow[disabled] { opacity: 0.35; cursor: default; }
.sec--reviews .kh-rev-arrow:focus-visible { border-radius: 50%; }
.sec--reviews .kh-rev-dots { display: flex; align-items: center; gap: 0.1rem; }
.sec--reviews .kh-rev-dot {
  display: grid; place-items: center; width: 30px; height: 44px; padding: 0; border: 0; background: none;
}
.sec--reviews .kh-rev-dot::before {
  content: ""; width: 10px; height: 10px; border-radius: 999px; background: #b6cdce;
  transition: width 0.45s var(--ease-out), background-color 0.3s;
}
.sec--reviews .kh-rev-dot[aria-current="true"] { width: 44px; }
.sec--reviews .kh-rev-dot[aria-current="true"]::before { width: 30px; background: var(--teal-ink); }
.sec--reviews .kh-rev-count-pages { min-width: 4.5em; text-align: center; font-weight: 800; color: var(--teal-ink); }
.sec--reviews .kh-rev-play {
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; padding: 0.3em 0.9em;
  border: 0; border-radius: 999px; background: none; color: var(--teal-ink); font-size: 0.92rem; font-weight: 700;
}
.sec--reviews .kh-rev-play svg { width: 1.05em; height: 1.05em; }
.sec--reviews .kh-rev-play__play { display: none; }
.sec--reviews .kh-rev-play.is-stopped .kh-rev-play__pause { display: none; }
.sec--reviews .kh-rev-play.is-stopped .kh-rev-play__play { display: block; }
.sec--reviews .kh-rev-play:focus-visible { border-radius: 999px; }

@media (max-width: 1080px) { .sec--reviews { --rv-per: 2; } }
@media (max-width: 760px) {
  .sec--reviews { --rv-per: 1; }
  .sec--reviews .kh-rev-act { width: 100%; }
  .sec--reviews .kh-rev-grid { grid-template-columns: minmax(0, 1fr); }
  .sec--reviews .kh-rev-send { flex: 1 1 100%; }
  .sec--reviews .kh-rev-pick__s { width: 46px; height: 46px; }
  .sec--reviews .kh-rev-ctrl { gap: 0.5rem; }
  .sec--reviews .kh-rev-play { order: 5; flex-basis: 100%; justify-content: center; }
}
@media (forced-colors: active) {
  .sec--reviews .kh-rev-stars svg, .sec--reviews .kh-rev-pick__s svg { forced-color-adjust: none; }
  .sec--reviews .kh-rev-stars svg { fill: CanvasText; }
  .sec--reviews .kh-rev-stars .is-off { fill: none; stroke: CanvasText; }
}

/* ---- 09-look ---- */
/* Our look: the identity mockups as white cards in a parallax collage on the deep ground. */
.sec--look { overflow: hidden; }
.sec--look.cut-bottom { padding-bottom: calc(var(--sec-pad) * 0.5 + var(--cut-b)); }

.sec--look .kh-look-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap); row-gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.sec--look .kh-look-head { grid-column: 1 / span 5; grid-row: 1; display: grid; gap: 1rem; justify-items: start; }
.sec--look .kh-look-card--uniform { grid-column: 6 / span 7; grid-row: 1; }
.sec--look .kh-look-card--capmask { grid-column: 1 / span 6; grid-row: 2; align-self: start; }
.sec--look .kh-look-card--stickers { grid-column: 7 / span 6; grid-row: 2; align-self: start; }

.sec--look .kh-look-title { margin-bottom: 0.2em; }
.sec--look .u-line::after { transform: scaleX(var(--ul, 1)); bottom: -0.3em; }
.sec--look .kh-look-text { max-width: 30ch; }
.sec--look .kh-look-note {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-size: var(--fs-small); line-height: 1.7; color: rgba(255, 255, 255, 0.8);
}
.sec--look .kh-look-note .bar { flex: none; }

/* Cards: the uniform and cap/mask photos have grey floors that end in hard edges, so those two fill their frame
   edge to edge; the stickers sit on pure white and keep a padded frame. The shadow sits on the card, and the wipe
   polygon (section.js) reaches past it, so it is never clipped. */
.sec--look .kh-look-card { margin: 0; position: relative; }
.sec--look .kh-look-card__in {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}
.sec--look .kh-look-card__frame {
  aspect-ratio: 16 / 10; padding: clamp(0.75rem, 2vw, 1.75rem); overflow: hidden;
}
.sec--look .kh-look-card__frame img { width: 100%; height: 100%; object-fit: contain; }
.sec--look .kh-look-card--uniform .kh-look-card__frame { aspect-ratio: 1191 / 775; padding: 0; }
.sec--look .kh-look-card--capmask .kh-look-card__frame { padding: 0; }
.sec--look .kh-look-card--capmask .kh-look-card__frame img { object-fit: cover; object-position: 50% 55%; }
.sec--look .kh-look-card__cap {
  display: flex; align-items: center; gap: 0.65em;
  padding: 0.85rem 1.4rem 1rem; border-top: 1px solid var(--line);
  color: var(--teal-ink); font-weight: 800; font-size: 1.05rem; line-height: 1.5;
}
.sec--look .kh-look-card__cap::before {
  content: ""; width: 0.6em; height: 0.6em; background: var(--gold); transform: rotate(45deg);
  border-radius: 2px; flex: none;
}

/* Gold marks drifting in the gaps */
.sec--look .kh-look-marks { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sec--look .kh-look-mark { position: absolute; inset-inline-start: var(--x); top: var(--y); display: block; }
.sec--look .kh-look-mark__drift { display: block; }
.sec--look .kh-look-mark .bar, .sec--look .kh-look-mark .dia { display: block; }

@media (max-width: 1000px) {
  .sec--look .kh-look-head { grid-column: 1 / -1; }
  .sec--look .kh-look-card--uniform { grid-column: 1 / -1; grid-row: 2; }
  .sec--look .kh-look-card--capmask { grid-row: 3; }
  .sec--look .kh-look-card--stickers { grid-row: 3; }
  .sec--look .kh-look-text { max-width: 46ch; }
  .sec--look .kh-look-mark--wide { display: none; }
  .sec--look .kh-look-mark--tablet { inset-inline-start: 84%; top: 13%; }
}

@media (max-width: 760px) {
  .sec--look .kh-look-grid { row-gap: 1.5rem; }
  .sec--look .kh-look-head { margin-bottom: 0.75rem; }
  .sec--look .kh-look-card--capmask, .sec--look .kh-look-card--stickers { grid-column: 1 / -1; grid-row: auto; }
  .sec--look .kh-look-card__cap { padding: 0.7rem 1.1rem 0.8rem; font-size: 1rem; }
  .sec--look .kh-look-mark--tablet { display: none; }
}

/* ---- 10-request ---- */
.sec--request {
  --kh-req-err: #b02a20;
  --kh-req-err-bg: #fdf0ee;
  --kh-req-border: #7a9799;
}
.sec--request [hidden] { display: none !important; }

.sec--request .kh-req {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: stretch;
}
.sec--request .kh-req-main { grid-column: 1; grid-row: 1; min-width: 0; }
.sec--request .kh-req-panel { grid-column: 2; grid-row: 1; }

/* Side panel: a deep card with the heading, the direct ways, and the key that turns on success */
.sec--request .kh-req-panel {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border-radius: var(--radius);
}
.sec--request .kh-req-title { margin-block: 0.5rem 1.1rem; color: #fff; }
.sec--request .kh-req-title .u-line::after { transform: scaleX(var(--ul, 1)); }
.sec--request .kh-req-lead { max-width: 34ch; }
.sec--request .kh-req-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.sec--request .kh-req-line { margin-top: 0.9rem; font-size: var(--fs-small); color: rgba(255, 255, 255, 0.8); }
.sec--request .kh-req-line span { font-weight: 700; color: #fff; }
.sec--request .kh-req-panel :focus-visible { outline-color: var(--gold); }

.sec--request .kh-req-lock {
  position: relative; display: grid; place-items: center;
  width: clamp(150px, 15vw, 220px); aspect-ratio: 1;
  margin-top: auto; align-self: flex-end;
}
.sec--request .kh-req-lock__key { display: block; width: 94%; transform-origin: 50% 50%; }
.sec--request .kh-req-lock__m { position: absolute; display: block; line-height: 0; }
.sec--request .kh-req-lock__m .dia { --s: 18px; }
.sec--request .kh-req-lock__m .bar { --w: 58px; }
.sec--request .kh-req-lock__m--1 { top: 4%; right: 10%; }
.sec--request .kh-req-lock__m--2 { bottom: 13%; left: 8%; }
.sec--request .kh-req-lock__m--3 { top: 14%; left: 14%; }
.sec--request .kh-req-lock__m--3 .dia { --s: 11px; }

/* Form card */
.sec--request .kh-req-form,
.sec--request .kh-req-done {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}
.sec--request .kh-req-form,
.sec--request .kh-req-done { height: 100%; }
.sec--request .kh-req-done { display: flex; flex-direction: column; align-items: flex-start; }
.sec--request .kh-req-done > * { max-width: 100%; }
.sec--request .kh-req-done__ref { align-self: stretch; }
.sec--request .kh-req-note { font-size: var(--fs-small); color: var(--ink-2); margin-bottom: 1.25rem; }
.sec--request .kh-req-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.25rem;
}
.sec--request .kh-req-f { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.sec--request .kh-req-f--wide { grid-column: 1 / -1; }
.sec--request .kh-req-label { font-size: 1rem; font-weight: 700; line-height: 1.5; color: var(--ink); }
.sec--request .kh-req-star { color: var(--teal-ink); font-weight: 900; }
.sec--request .kh-req-opt { font-size: 0.9rem; font-weight: 400; color: var(--ink-2); }

/* Fields: a gold line grows under the field on focus (transform only) */
.sec--request .kh-req-box { position: relative; }
.sec--request .kh-req-box::after {
  content: ""; position: absolute; inset-inline: 10px; bottom: 0; height: 3px; border-radius: 2px;
  background: var(--gold); pointer-events: none;
  transform: scaleX(0); transform-origin: right center; transition: transform 0.5s var(--ease-out);
}
.sec--request .kh-req-box:focus-within::after { transform: scaleX(1); }
.sec--request .kh-req-input {
  display: block; width: 100%; min-height: 54px; margin: 0;
  padding: 0.6rem 1rem; border: 1.5px solid var(--kh-req-border); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font-size: 1.05rem; line-height: 1.6;
  transition: border-color 0.2s;
}
.sec--request .kh-req-input::placeholder { color: #5d7375; opacity: 1; }
.sec--request .kh-req-input:hover { border-color: var(--teal-ink); }
.sec--request .kh-req-input:focus,
.sec--request .kh-req-input:focus-visible {
  outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 1px var(--teal-ink);
}
.sec--request .kh-req-input[aria-invalid="true"] { border-color: var(--kh-req-err); box-shadow: 0 0 0 1px var(--kh-req-err); }
.sec--request .kh-req-input--ltr { text-align: right; }
.sec--request textarea.kh-req-input { min-height: 9.5em; resize: vertical; line-height: 1.8; }
.sec--request select.kh-req-input {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-inline-end: 2.75rem;
}
.sec--request select.kh-req-input:invalid { color: #5d7375; }
.sec--request select.kh-req-input option { color: var(--ink); }
.sec--request .kh-req-box--select::before {
  content: ""; position: absolute; inset-inline-end: 1.15rem; top: 50%; width: 0.6rem; height: 0.6rem;
  margin-top: -0.45rem; border-bottom: 2px solid var(--teal-ink); border-right: 2px solid var(--teal-ink);
  transform: rotate(45deg); pointer-events: none;
}

.sec--request .kh-req-help,
.sec--request .kh-req-count { font-size: 0.9rem; line-height: 1.6; color: var(--ink-2); }
.sec--request .kh-req-err {
  display: flex; align-items: baseline; gap: 0.5em;
  font-size: 0.95rem; font-weight: 700; line-height: 1.6; color: var(--kh-req-err);
}
.sec--request .kh-req-err::before {
  content: ""; flex: none; width: 0.5em; height: 0.5em; background: currentColor;
  transform: translateY(-0.1em) rotate(45deg); border-radius: 1px;
}

/* The trap field: off screen, out of the tab order, hidden from assistive tech */
.sec--request .kh-req-trap {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.sec--request .kh-req-summary:empty { display: none; }
.sec--request .kh-req-summary {
  margin-top: 1.5rem; padding: 0.8rem 1.1rem;
  border-inline-start: 4px solid var(--kh-req-err); border-radius: var(--radius-sm);
  background: var(--kh-req-err-bg); color: var(--kh-req-err); font-weight: 700; line-height: 1.7;
}
.sec--request .kh-req-submit { margin-top: 1.75rem; display: flex; }
.sec--request .kh-req-send { min-width: 220px; }
.sec--request .kh-req-send__d {
  width: 0.5em; height: 0.5em; background: currentColor; transform: rotate(45deg); border-radius: 1px; flex: none;
}
.sec--request .kh-req-send[disabled] { cursor: progress; opacity: 0.8; transform: none; box-shadow: none; }

/* Success, in place of the form */
.sec--request .kh-req-done__title { color: var(--teal-ink); outline-offset: 6px; }
.sec--request .kh-req-done__label { margin-top: 1.5rem; font-size: var(--fs-small); font-weight: 700; color: var(--ink-2); }
.sec--request .kh-req-done__ref {
  margin-top: 0.15rem; text-align: right;
  font-size: clamp(2.8rem, 6vw, 4.4rem); font-weight: 900; line-height: 1.2; color: var(--teal-ink);
}
.sec--request .kh-req-done__refv { font-variant-numeric: tabular-nums; }
.sec--request .kh-req-done__text { margin-top: 1.5rem; max-width: 52ch; }
.sec--request .kh-req-done__ways { margin-top: 1.1rem; color: var(--ink-2); }
.sec--request .kh-req-done__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 1rem 1.75rem; }
.sec--request .kh-req-done__wa { color: var(--teal-ink); }
.sec--request .kh-req-again {
  margin-top: auto; min-height: 44px; padding: 0.25rem 0; border: 0; background: none;
  color: var(--teal-ink); font-weight: 800; text-decoration: underline; text-underline-offset: 0.35em;
}

@media (max-width: 960px) {
  .sec--request .kh-req { grid-template-columns: minmax(0, 1fr); }
  .sec--request .kh-req-panel { grid-column: 1; grid-row: 1; }
  .sec--request .kh-req-main { grid-column: 1; grid-row: 2; }
  /* The key gets its own corner column beside the kicker and title, so it never runs into the text */
  .sec--request .kh-req-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; row-gap: 0; align-items: start; }
  .sec--request .kh-req-panel__text { display: contents; }
  .sec--request .kh-req-kicker,
  .sec--request .kh-req-title { grid-column: 1; }
  .sec--request .kh-req-lead,
  .sec--request .kh-req-ctas,
  .sec--request .kh-req-line { grid-column: 1 / -1; }
  .sec--request .kh-req-lock { grid-column: 2; grid-row: 1 / span 2; width: 84px; margin: 0; align-self: start; }
  .sec--request .kh-req-lock__m .dia { --s: 10px; }
  .sec--request .kh-req-lock__m .bar { --w: 24px; }
  .sec--request .kh-req-lock__m--2 { left: 2%; }
  .sec--request .kh-req-lock__m--3 .dia { --s: 7px; }
  .sec--request .kh-req-lead { max-width: none; }
}
@media (max-width: 560px) {
  .sec--request .kh-req-grid { grid-template-columns: minmax(0, 1fr); }
  .sec--request .kh-req-send { width: 100%; }
  .sec--request .kh-req-ctas .btn { flex: 1 1 0; }
}

/* ---- 11-footer ---- */
/* Contact and footer: closing title, contact cards, then the light logo, links and the legal line. */
.sec--footer { overflow: hidden; padding-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.sec--footer .kh-foot { position: relative; z-index: 1; }

.sec--footer .kh-foot-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sec--footer .kh-foot-key {
  position: absolute; inset-inline-end: 4%; top: 9%; width: clamp(220px, 26vw, 420px);
  --key: #fff; opacity: 0.045; transform: rotate(-14deg);
}

.sec--footer .kh-foot-head { display: grid; gap: 1.1rem; justify-items: start; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec--footer .kh-foot-title { font-size: clamp(2.8rem, 8vw, 6.4rem); font-weight: 900; line-height: 1.3; }
.sec--footer .kh-foot-title .u-line::after { transform: scaleX(var(--ul, 1)); bottom: -0.06em; height: 0.08em; }

/* Contact cards */
.sec--footer .kh-foot-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); }
.sec--footer .kh-foot-card { position: relative; grid-column: span 2; }
.sec--footer .kh-foot-card--wide { grid-column: span 3; }
.sec--footer .kh-foot-card__box {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; height: 100%;
  padding: 1.5rem 1.6rem 1.6rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff; text-decoration: none;
  transition: transform 0.4s var(--ease-out), border-color 0.25s, background-color 0.25s;
}
.sec--footer a.kh-foot-card__box:hover { transform: translateY(-4px); border-color: var(--gold); background: rgba(255, 255, 255, 0.08); }
.sec--footer .kh-foot-card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 0.7rem;
  border-radius: 50%; border: 1.5px solid rgba(242, 183, 35, 0.55); color: var(--gold);
}
.sec--footer .kh-foot-card__icon svg { width: 24px; height: 24px; }
.sec--footer .kh-foot-card__label { color: var(--gold-soft); font-size: var(--fs-small); font-weight: 700; line-height: 1.6; }
.sec--footer .kh-foot-card__value { font-size: clamp(1.45rem, 2.2vw, 1.8rem); font-weight: 800; line-height: 1.4; }
.sec--footer .kh-foot-card__value--mail { font-size: clamp(1.1rem, 1.8vw, 1.45rem); overflow-wrap: anywhere; margin-top: auto; }
.sec--footer .kh-foot-card__text { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 700; line-height: 1.7; }
.sec--footer .kh-foot-card__more {
  display: inline-flex; align-items: center; gap: 0.45em; margin-top: 0.5rem;
  color: var(--gold-soft); font-weight: 700; font-size: 1rem; text-underline-offset: 0.3em;
}
.sec--footer .kh-foot-card__more:hover { color: #fff; }
.sec--footer .kh-foot-card__more svg { width: 1.1em; height: 1.1em; flex: none; }
.sec--footer .kh-foot-card__drop { position: absolute; top: 1.5rem; inset-inline-end: 1.6rem; display: block; pointer-events: none; }
.sec--footer .kh-foot-card__drop .dia { display: block; }

/* The feedback line (v2): a gold edge, a warm tint and larger digits, so it is found first */
.sec--footer .kh-foot-card--hot .kh-foot-card__box {
  border: 2px solid var(--gold); background: rgba(242, 183, 35, 0.09);
  box-shadow: 0 18px 40px -28px rgba(242, 183, 35, 0.6);
}
.sec--footer .kh-foot-card--hot a.kh-foot-card__box:hover { background: rgba(242, 183, 35, 0.14); }
.sec--footer .kh-foot-card--hot .kh-foot-card__icon { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.sec--footer .kh-foot-card--hot .kh-foot-card__label { color: #fff; font-size: 1.05rem; }
.sec--footer .kh-foot-card--hot .kh-foot-card__value { font-size: clamp(1.75rem, 2.8vw, 2.35rem); color: var(--gold-soft); line-height: 1.3; }

/* Instagram and Facebook (v2): one short row each, icon beside the text */
.sec--footer .kh-foot-card--social .kh-foot-card__box {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.1rem; row-gap: 0;
  align-items: center; justify-items: start; padding-block: 1.15rem 1.2rem;
}
.sec--footer .kh-foot-card--social .kh-foot-card__icon { grid-row: 1 / span 2; margin: 0; }
.sec--footer .kh-foot-card--social .kh-foot-card__box > :not(.kh-foot-card__icon) { grid-column: 2; }
.sec--footer .kh-foot-card__value--social { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
.sec--footer .kh-foot-card--social .kh-foot-card__drop { top: 50%; margin-top: -7px; }

/* Base: logo, links, legal line */
.sec--footer .kh-foot-base {
  display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 2rem var(--gap);
  margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.sec--footer .kh-foot-brand { display: grid; gap: 0.9rem; justify-items: start; }
.sec--footer .kh-foot-logo { width: clamp(190px, 20vw, 300px); }
.sec--footer .kh-foot-company { color: rgba(255, 255, 255, 0.86); font-weight: 700; font-size: 1rem; line-height: 1.7; }
.sec--footer .kh-foot-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem 1.6rem; }
.sec--footer .kh-foot-nav a {
  color: rgba(255, 255, 255, 0.88); font-weight: 700; text-decoration: none; line-height: 2;
  text-underline-offset: 0.35em;
}
.sec--footer .kh-foot-nav a:hover { color: var(--gold-soft); text-decoration: underline; }
.sec--footer .kh-foot-legal {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.6rem;
  padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem; line-height: 1.8; color: rgba(255, 255, 255, 0.74);
}
.sec--footer .kh-foot-credit { color: inherit; text-underline-offset: 0.3em; }
.sec--footer .kh-foot-credit:hover { color: var(--gold-soft); }
.sec--footer .kh-foot-top {
  margin-inline-start: auto; display: inline-flex; align-items: center; gap: 0.4em;
  color: #fff; font-weight: 700; text-decoration: none;
}
.sec--footer .kh-foot-top:hover { color: var(--gold-soft); }
.sec--footer .kh-foot-top svg { width: 1.15em; height: 1.15em; transition: transform 0.35s var(--ease-out); }
.sec--footer .kh-foot-top:hover svg { transform: translateY(-3px); }

@media (max-width: 1000px) {
  .sec--footer .kh-foot-card, .sec--footer .kh-foot-card--wide { grid-column: span 3; }
  .sec--footer .kh-foot-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .sec--footer .kh-foot-key { display: none; }
  .sec--footer .kh-foot-card__value--mail { margin-top: 0; }
  .sec--footer .kh-foot-cards { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
  .sec--footer .kh-foot-card, .sec--footer .kh-foot-card--wide, .sec--footer .kh-foot-card:first-child { grid-column: auto; }
  .sec--footer .kh-foot-card__box {
    display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; row-gap: 0.1rem;
    align-items: center; justify-items: start; padding: 1.1rem 1.15rem 1.2rem;
  }
  .sec--footer .kh-foot-card__box > :not(.kh-foot-card__icon) { grid-column: 2; }
  .sec--footer .kh-foot-card__icon { grid-row: 1 / span 3; align-self: start; width: 44px; height: 44px; margin: 0.2rem 0 0; }
  .sec--footer .kh-foot-card__drop { top: 1.1rem; inset-inline-end: 1.15rem; }
  .sec--footer .kh-foot-card__drop .dia { --s: 11px !important; }
  .sec--footer .kh-foot-base { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sec--footer .kh-foot-nav { justify-content: flex-start; }
  .sec--footer .kh-foot-top { margin-inline-start: 0; }
  .sec--footer .kh-foot-nav a, .sec--footer .kh-foot-credit, .sec--footer .kh-foot-top,
  .sec--footer .kh-foot-card__more { display: inline-flex; align-items: center; min-height: 44px; }
  .sec--footer .kh-foot-card__more { margin-top: 0.15rem; }
}
@media (max-width: 359px) {
  .sec--footer .kh-foot-card__value--mail { font-size: 1rem; }
}
