/* Academic Overview (parts/kit/academic-overview.php): the front door and map. Pale navy and
   white, a gold-ink line for wayfinding, circles and round stops; no dark band.
   Order: hero map (mist) · figure ribbon (white) · photo directory (mist) · stage panels (white) ·
   Two Systems (mist) · slim ending (white). Start side = left in English, right in KU/AR. */

.ks-ao{--ao-rule:rgba(6,58,97,.14);--ao-line:rgba(126,95,30,.62)}
.ks-ao bdi{white-space:nowrap}

/* Section heads: label and title on the start side, a short paragraph on the end side */
.ks-ao-head{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:22px clamp(32px,6vw,104px);align-items:end}
.ks-ao-head .ks-x-h2{margin-top:16px}
.ks-ao-head > p{max-width:30em;padding-bottom:6px}

/* ---------- 1 · Hero: the map ---------- */
.ks-ao-hero{position:relative;background:var(--mist);padding:104px 0 clamp(64px,6.5vw,96px);overflow:clip;isolation:isolate}
.ks-ao-rings{position:absolute;z-index:-1;pointer-events:none;width:min(1060px,78vw);aspect-ratio:1;inset-inline-end:max(-440px,-34vw);top:-330px}
.ks-ao-rings circle{fill:none;stroke:rgba(6,58,97,.085);stroke-width:1.4;vector-effect:non-scaling-stroke}
.ks-ao-rings .ks-ao-rings-gold{stroke:rgba(126,95,30,.42);stroke-dasharray:2 9;stroke-linecap:round;stroke-width:1.6}
.ks-ao-hero .ks-crumb-sep,.ks-ao-hero .ks-crumbs a:hover{color:var(--gold-ink)}
.ks-ao-top{max-width:880px;margin-top:clamp(30px,4.2vw,58px)}
.ks-ao-pill{display:inline-flex;align-items:center;gap:11px;color:var(--navy);padding:9px 18px 9px 12px;box-shadow:0 12px 26px -20px rgba(6,58,97,.55)}
.ks-ao-pill i{flex:none;width:13px;height:13px;border-radius:50%;border:2.5px solid var(--gold);background:#fff;box-shadow:0 0 0 3px rgba(200,153,58,.18)}
.ks-ao .ks-ao-h1{margin-top:24px;font-size:clamp(40px,5.6vw,82px);line-height:1.03;letter-spacing:-.012em;word-spacing:.05em;font-variation-settings:"opsz" 110}
.ks-ao-h1a,.ks-ao-h1b{display:block}
.ks-ao .ks-ao-lead{margin-top:26px;max-width:31em}
.ks-ao .ks-ao-mapcap{margin-top:clamp(34px,4vw,54px);display:flex;align-items:flex-start;gap:14px;line-height:1.6;font-size:15px;font-weight:800;color:var(--gold-ink)}
.ks-ao-mapcap::before{content:"";flex:none;margin-top:.55em;width:9px;height:9px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px rgba(200,153,58,.22)}

/* The map: a gold-ink route from K–12 through three round stops */
.ks-ao-map{--d:clamp(104px,8.6vw,128px);--o:calc(var(--d) * .7);--g:clamp(20px,3vw,44px);display:grid;grid-template-columns:var(--o) minmax(0,1fr);column-gap:var(--g);align-items:start;margin-top:clamp(40px,4.6vw,64px)}
.ks-ao-map--cap{margin-top:22px}
.ks-ao-origin{position:relative;z-index:2;width:var(--o);height:var(--o);margin-top:calc((var(--d) - var(--o)) / 2);border-radius:50%;background:var(--navy);display:grid;place-items:center;box-shadow:0 0 0 8px rgba(6,58,97,.07)}
.ks-ao-origin bdi{font-family:var(--ks-display);font-variation-settings:"opsz" 72;font-weight:600;font-size:calc(var(--o) * .27);color:var(--gold);letter-spacing:.01em}
.ks-ao-origin::before{content:"";position:absolute;inset-inline-end:100%;top:calc(50% - 1px);width:100vw;height:2px;background:var(--gold-ink);opacity:.55}
.ks-ao-stops{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.ks-ao-stops li{position:relative;display:flex;justify-content:center}
.ks-ao-stops li::before{content:"";position:absolute;z-index:0;top:calc(var(--d) / 2 - 1px);height:2px;inset-inline-start:-50%;inset-inline-end:50%;background:var(--gold-ink);transition:background-color .35s ease,height .35s ease,top .35s ease}
.ks-ao-stops li:first-child::before{inset-inline-start:calc(-1 * (var(--g) + var(--o) / 2))}
.ks-ao-stops li:last-child::after{content:"";position:absolute;z-index:0;top:calc(var(--d) / 2 - 1px);height:2px;inset-inline-start:50%;width:calc(50% + 6vw);background:repeating-linear-gradient(90deg,var(--gold-ink) 0 7px,transparent 7px 15px);-webkit-mask:linear-gradient(90deg,#000 35%,transparent);mask:linear-gradient(90deg,#000 35%,transparent)}
[dir="rtl"] .ks-ao-stops li:last-child::after{background:repeating-linear-gradient(270deg,var(--gold-ink) 0 7px,transparent 7px 15px);-webkit-mask:linear-gradient(270deg,#000 35%,transparent);mask:linear-gradient(270deg,#000 35%,transparent)}
/* the route lights up to the stop under the pointer or focus */
.ks-ao-stops li:has(~ li > .ks-ao-stop:is(:hover,:focus-visible))::before,
.ks-ao-stops li:has(> .ks-ao-stop:is(:hover,:focus-visible))::before{background:var(--gold);height:4px;top:calc(var(--d) / 2 - 2px)}
.ks-ao-stop{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;text-decoration:none;color:var(--navy);border-radius:28px;padding:16px 10px 6px;margin-top:-16px}
.ks-ao-ring{width:var(--d);height:var(--d);border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  box-shadow:0 0 0 2px var(--gold),0 0 0 11px var(--mist),0 0 0 12px rgba(6,58,97,.1),0 28px 44px -26px rgba(6,32,54,.5);transition:background-color .3s ease,transform .3s ease}
/* The ring's word and figure are cut from the stage's own label ("Ages 4–5"); the panel below shows it in full. */
.ks-ao-ring::before{content:attr(data-w);font-size:13px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;line-height:1.2;color:var(--gold-ink);transition:color .3s ease}
.ks-ao-ring::after{content:attr(data-f);unicode-bidi:isolate;font-family:var(--ks-display);font-variation-settings:"opsz" 72;font-weight:600;font-size:calc(var(--d) * .3);line-height:1;color:var(--navy);font-variant-numeric:lining-nums;white-space:nowrap;transition:color .3s ease}
.ks-ao-ring--long::after{font-size:calc(var(--d) * .2)}
.ks-ao-name{display:inline-flex;align-items:center;gap:10px;margin-top:24px;font-family:var(--ks-display);font-variation-settings:"opsz" 48;font-weight:600;font-size:clamp(20px,1.85vw,26px);line-height:1.15;letter-spacing:-.01em;white-space:nowrap}
.ks-ao-go{flex:none;width:28px;height:28px;border-radius:50%;border:1.5px solid rgba(126,95,30,.55);display:grid;place-items:center;color:var(--gold-ink);transition:background-color .3s ease,border-color .3s ease,color .3s ease,transform .3s ease}
.ks-ao-go svg{width:14px;height:14px}
.ks-ao-sep{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.ks-ao-stop:is(:hover,:focus-visible) .ks-ao-ring{background:var(--navy);transform:translateY(-4px)}
.ks-ao-stop:is(:hover,:focus-visible) .ks-ao-ring::after{color:#fff}
.ks-ao-stop:is(:hover,:focus-visible) .ks-ao-ring::before{color:var(--gold)}
.ks-ao-stop:is(:hover,:focus-visible) .ks-ao-go{background:var(--gold);border-color:var(--gold);color:var(--navy);transform:translateY(2px)}
.ks-ao .ks-ao-stop:focus-visible{outline:3px solid var(--navy);outline-offset:8px}

/* ---------- 2 · Figure ribbon ---------- */
.ks-ao-glance{background:#fff;padding:clamp(80px,9vw,128px) 0}
.ks-ao-figs{list-style:none;margin:clamp(44px,5vw,68px) 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid var(--ao-rule)}
.ks-ao-figs li{padding:clamp(30px,3.2vw,46px) clamp(18px,2.4vw,40px);border-inline-start:1px solid var(--ao-rule)}
.ks-ao-figs li:first-child{border-inline-start:0;padding-inline-start:0}
.ks-ao-figs li::before{content:"";display:block;width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--gold);margin-bottom:clamp(20px,2.2vw,30px)}
.ks-ao-figs b{display:block;font-family:var(--ks-display);font-weight:600;font-size:clamp(46px,5vw,74px);line-height:1;letter-spacing:-.02em;color:var(--navy);font-variation-settings:"opsz" 96;font-variant-numeric:lining-nums;white-space:nowrap}
.ks-ao-figs small{font-size:.4em;letter-spacing:0;color:var(--gold-ink);margin-inline-start:2px}
.ks-ao-figs span{display:block;margin-top:16px;font-size:16px;line-height:1.45;font-weight:700;color:var(--ink2);max-width:15em}

/* ---------- 3 · Photo directory ---------- */
.ks-ao-dir{background:var(--mist);padding-top:clamp(80px,9vw,128px)}
.ks-ao-dir .ks-ao-head{margin-bottom:clamp(40px,4.6vw,64px)}
.ks-ao-tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.ks-ao-tiles > li{display:flex;min-width:0}
.ks-ao-tile{position:relative;display:flex;flex-direction:column;justify-content:flex-end;width:100%;min-height:clamp(420px,34vw,600px);color:#fff;text-decoration:none;overflow:hidden;isolation:isolate;background:var(--navy-d)}
.ks-ao-tile-ph{position:absolute;inset:0;z-index:-2}
.ks-ao-tile-ph img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--op,50% 50%);transition:transform 1s cubic-bezier(.2,.7,.2,1)}
@media (min-width:700px){.ks-ao-tile-ph img{position:absolute;inset-inline:0;top:calc(-1 * var(--t,0%));height:calc(100% * var(--z,1));max-width:none}}
.ks-ao-tile::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(4,39,63,0) 18%,rgba(4,39,63,.42) 46%,rgba(4,39,63,.9) 74%,rgba(4,39,63,.95));transition:opacity .5s ease}
.ks-ao-tile::after{content:"";position:absolute;inset:0;z-index:-1;background:rgba(4,39,63,.28);opacity:0;transition:opacity .5s ease}
.ks-ao-tile-tx{padding:clamp(22px,2.2vw,32px)}
.ks-ao-tile-n{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--gold);color:var(--gold-l);font-family:var(--ks-display);font-size:15px;font-weight:600;font-variant-numeric:lining-nums}
.ks-ao-tile h3{margin-top:18px;color:#fff;font-size:clamp(22px,1.75vw,27px);line-height:1.14}
.ks-ao-tile p{margin-top:10px;font-size:16px;line-height:1.55;color:rgba(255,255,255,.86)}
.ks-ao-tile-go{display:inline-flex;margin-top:18px;font-size:15.5px;font-weight:800;color:var(--gold-l);transition:transform .3s ease}
.ks-ao-tile:hover .ks-ao-tile-ph img,.ks-ao-tile:focus-visible .ks-ao-tile-ph img{transform:scale(1.05)}
.ks-ao-tile:hover::after,.ks-ao-tile:focus-visible::after{opacity:1}
.ks-ao-tile:hover .ks-ao-tile-go{transform:translateX(4px)}
[dir="rtl"] .ks-ao-tile:hover .ks-ao-tile-go{transform:translateX(-4px)}
.ks-ao .ks-ao-tile:focus-visible{outline:3px solid var(--gold-l);outline-offset:-6px}

/* ---------- 4 · Stage panels: the one under the pointer or focus widens ---------- */
.ks-ao-stages{background:#fff;padding:clamp(80px,9vw,128px) 0}
.ks-ao-panels{--gap:16px;--grow:1.6;--pad:clamp(22px,2.4vw,34px);container-type:inline-size;display:flex;gap:var(--gap);height:clamp(520px,44vw,640px);margin-top:clamp(40px,4.6vw,64px)}
.ks-ao-panel{position:relative;flex:1 1 0;min-width:0;border-radius:28px;overflow:hidden;isolation:isolate;background:var(--navy-d);scroll-margin-top:110px;transition:flex-grow .7s cubic-bezier(.2,.7,.2,1),box-shadow .4s ease}
.ks-ao-panel-ph{position:absolute;inset:0;z-index:-2}
.ks-ao-panel-ph img{position:absolute;inset-inline:0;bottom:0;display:block;width:100%;height:calc(100% * var(--z,1));max-width:none;object-fit:cover;object-position:var(--op,50% 50%);transform-origin:50% 100%;transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
.ks-ao-panel::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(4,39,63,0) 30%,rgba(4,39,63,.55) 56%,rgba(4,39,63,.93) 86%)}
/* the words keep the width of a narrow panel, so they don't reflow while a panel widens */
.ks-ao-panel-tx{position:absolute;inset-inline-start:0;bottom:0;width:max(200px,calc((100cqw - 2 * var(--gap)) / (2 + var(--grow)) - 2 * var(--pad)));box-sizing:content-box;padding:var(--pad);color:#fff}
.ks-ao-panel-age{display:flex;align-items:flex-start;gap:10px;line-height:1.45;font-size:14px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-l)}
.ks-ao-panel-age::before{content:"";flex:none;margin-top:.3em;width:11px;height:11px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--gold)}
.ks-ao-panel h3{margin-top:12px;color:#fff;font-size:clamp(28px,2.6vw,38px);line-height:1.08}
.ks-ao-panel p{margin-top:12px;font-size:16.5px;line-height:1.6;color:rgba(255,255,255,.86)}
.ks-ao-panel-go{display:inline-flex;margin-top:20px;font-size:15.5px;font-weight:800;color:#fff;text-decoration:none;border-bottom:2px solid var(--gold);padding-bottom:3px}
.ks-ao-panel-go::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit}
.ks-ao-panel:hover .ks-ao-panel-go{color:var(--gold-l)}
.ks-ao .ks-ao-panel-go:focus-visible{outline:none}
.ks-ao .ks-ao-panel:has(.ks-ao-panel-go:focus-visible){outline:3px solid var(--navy);outline-offset:4px}
.ks-ao-panel:target{box-shadow:0 0 0 3px var(--gold),0 30px 60px -36px rgba(6,32,54,.5)}
@media (min-width:900px){
  @media (hover:hover){
    .ks-ao-panel:hover{flex-grow:var(--grow)}
    .ks-ao-panel:hover .ks-ao-panel-ph img{transform:scale(1.03)}
    /* a panel reached from the map gives way when the pointer moves to another */
    .ks-ao-panels:has(.ks-ao-panel:hover) .ks-ao-panel:target:not(:hover){flex-grow:1}
  }
  .ks-ao-panel:focus-within,.ks-ao-panel:target{flex-grow:var(--grow)}
}
@media (min-width:900px) and (max-width:1199px){
  .ks-ao-panels{--grow:1.35}
}

/* ---------- 5 · Two systems, one path ---------- */
.ks-ao-approach{background:var(--mist);padding:clamp(80px,9vw,128px) 0}
.ks-ao-approach-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(40px,6vw,104px);align-items:center}
.ks-ao-approach .ks-x-h2{margin-top:16px}
.ks-ao-approach .ks-x-body{margin-top:22px;max-width:34em}
.ks-ao-approach .ks-x-link{margin-top:28px}
.ks-ao-route{list-style:none;margin:0;padding:clamp(30px,3.4vw,48px);background:#fff;border-radius:28px;box-shadow:0 30px 60px -44px rgba(6,32,54,.45)}
.ks-ao-route li{position:relative;padding-inline-start:48px;padding-bottom:26px;font-size:16.5px;line-height:1.65;color:var(--ink2)}
.ks-ao-route li:last-child{padding-bottom:0}
.ks-ao-route li::before{content:"";position:absolute;inset-inline-start:0;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px var(--gold),0 0 0 5px rgba(200,153,58,.14);z-index:1}
.ks-ao-route li::after{content:"";position:absolute;inset-inline-start:10px;top:28px;bottom:2px;width:2px;background:var(--ao-line)}
.ks-ao-route li:last-child::after{display:none}
.ks-ao-route li:first-child::before{background:var(--navy);box-shadow:inset 0 0 0 2px var(--navy),0 0 0 5px rgba(6,58,97,.1)}
.ks-ao-route strong{display:block;margin-bottom:4px;font-family:var(--ks-display);font-size:21px;font-weight:600;line-height:1.25;color:var(--navy)}

/* ---------- Kurdish / Arabic ---------- */
:lang(ckb) .ks-ao-h1,:lang(ar) .ks-ao-h1{font-size:clamp(32px,3.9vw,58px);line-height:1.38;word-spacing:normal;font-variation-settings:normal}
:lang(ckb) .ks-ao-ring::before,:lang(ar) .ks-ao-ring::before{letter-spacing:0;font-size:14px}
:lang(ckb) .ks-ao-panel-age,:lang(ar) .ks-ao-panel-age{letter-spacing:0;font-size:15px}
:lang(ckb) .ks-ao-ring::after,:lang(ar) .ks-ao-ring::after{font-variation-settings:normal}
:lang(ckb) .ks-ao-name,:lang(ar) .ks-ao-name{font-size:clamp(18px,1.6vw,22px);line-height:1.5;letter-spacing:0;font-variation-settings:normal}
:lang(ckb) .ks-ao-figs b,:lang(ar) .ks-ao-figs b{letter-spacing:-.01em}
:lang(ckb) .ks-ao-tile h3,:lang(ar) .ks-ao-tile h3{font-size:clamp(19px,1.5vw,23px);line-height:1.45}
:lang(ckb) .ks-ao-panel h3,:lang(ar) .ks-ao-panel h3{font-size:clamp(24px,2.1vw,31px);line-height:1.4}
:lang(ckb) .ks-ao-route strong,:lang(ar) .ks-ao-route strong{font-size:18px;line-height:1.55}
@media (min-width:900px){
  :lang(ckb) .ks-ao .ks-ao-lead,:lang(ar) .ks-ao .ks-ao-lead{max-width:37em}
}
:lang(ckb) .ks-ao-tile p,:lang(ar) .ks-ao-tile p,:lang(ckb) .ks-ao-panel p,:lang(ar) .ks-ao-panel p,:lang(ckb) .ks-ao-route li,:lang(ar) .ks-ao-route li{line-height:1.8}

/* ---------- Short desktop screens: keep the whole map in the first screen ---------- */
@media (min-width:900px) and (max-height:820px){
  .ks-ao-top{margin-top:24px}
  .ks-ao .ks-ao-h1{font-size:clamp(40px,min(5.6vw,9.6vh),82px);margin-top:20px}
  .ks-ao .ks-ao-lead{margin-top:20px}
  .ks-ao-map{--d:clamp(96px,min(8.6vw,14.5vh),128px);margin-top:34px}
  .ks-ao .ks-ao-mapcap{margin-top:28px}
  .ks-ao-map--cap{margin-top:16px}
  .ks-ao-name{margin-top:18px}
  :lang(ckb) .ks-ao-h1,:lang(ar) .ks-ao-h1{font-size:clamp(32px,min(3.9vw,6.6vh),58px)}
}

/* ---------- Tablet ---------- */
@media (max-width:1099px){
  .ks-ao-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ks-ao-tile{min-height:clamp(340px,44vw,440px)}
}
@media (max-width:899px){
  .ks-ao-head,.ks-ao-approach-grid{grid-template-columns:1fr}
  .ks-ao-head > p{padding-bottom:0}
  .ks-ao-map{--d:96px;--g:18px}
  .ks-ao-name{font-size:20px;gap:8px}
  .ks-ao-go{width:24px;height:24px}
  .ks-ao-figs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ks-ao-figs li:nth-child(odd){border-inline-start:0;padding-inline-start:0}
  .ks-ao-figs li:nth-child(n+3){border-top:1px solid var(--ao-rule)}
  .ks-ao-panels{flex-direction:column;height:auto}
  .ks-ao-panel{flex:none;min-height:clamp(480px,128vw,580px)}
  /* full-width words get their own shade, so a tall block stays legible on any photo */
  .ks-ao-panel::before{background:linear-gradient(180deg,rgba(4,39,63,0) 45%,rgba(4,39,63,.3))}
  .ks-ao-panel-tx{width:auto;inset-inline-end:0;padding-top:80px;background:linear-gradient(0deg,rgba(4,39,63,.95) 0,rgba(4,39,63,.86) calc(100% - 80px),rgba(4,39,63,0))}
  .ks-ao-panel-ph img{height:calc(100% * var(--zm,var(--z,1)))}
  .ks-ao-panel-tx > *{max-width:30em}
}

/* ---------- The route turns vertical: every language below 680 px, Kurdish/Arabic below 840 px
   (their longer stage names no longer fit side by side) ---------- */
@media (max-width:679px){
  .ks-ao-map{--d:84px;--o:56px;--G:30px;grid-template-columns:1fr;row-gap:var(--G);margin-top:36px}
  .ks-ao-origin{margin:0;margin-inline-start:calc((var(--d) - var(--o)) / 2);box-shadow:0 0 0 5px rgba(6,58,97,.07)}
  .ks-ao-origin::before{display:none}
  .ks-ao-stops{grid-template-columns:1fr;row-gap:var(--G)}
  .ks-ao-stops li{justify-content:flex-start}
  .ks-ao-stops li::before{top:calc(-1 * (var(--G) + var(--d) / 2));height:calc(var(--G) + var(--d));width:2px;inset-inline-start:calc(var(--d) / 2 - 1px);inset-inline-end:auto}
  .ks-ao-stops li:first-child::before{top:calc(-1 * (var(--G) + var(--o) / 2));height:calc(var(--G) + var(--o) / 2 + var(--d) / 2);inset-inline-start:calc(var(--d) / 2 - 1px)}
  .ks-ao-stops li:has(~ li > .ks-ao-stop:is(:hover,:focus-visible))::before,
  .ks-ao-stops li:has(> .ks-ao-stop:is(:hover,:focus-visible))::before{width:4px;height:calc(var(--G) + var(--d));top:calc(-1 * (var(--G) + var(--d) / 2));inset-inline-start:calc(var(--d) / 2 - 2px)}
  .ks-ao-stops li:first-child:has(> .ks-ao-stop:is(:hover,:focus-visible))::before,
  .ks-ao-stops li:first-child:has(~ li > .ks-ao-stop:is(:hover,:focus-visible))::before{top:calc(-1 * (var(--G) + var(--o) / 2));height:calc(var(--G) + var(--o) / 2 + var(--d) / 2)}
  .ks-ao-stops li:last-child::after,[dir="rtl"] .ks-ao-stops li:last-child::after{top:var(--d);inset-inline-start:calc(var(--d) / 2 - 1px);width:2px;height:34px;background:repeating-linear-gradient(180deg,var(--gold-ink) 0 6px,transparent 6px 12px);-webkit-mask:linear-gradient(180deg,#000 30%,transparent);mask:linear-gradient(180deg,#000 30%,transparent)}
  .ks-ao-stop{flex-direction:row;align-items:center;gap:18px;text-align:start;padding:0;margin:0;border-radius:999px}
  .ks-ao .ks-ao-stop:focus-visible{outline-offset:4px}
  .ks-ao-ring{gap:1px;box-shadow:0 0 0 2px var(--gold),0 0 0 5px var(--mist),0 0 0 6px rgba(6,58,97,.1),0 18px 30px -20px rgba(6,32,54,.5)}
  .ks-ao-ring::before{font-size:12.5px;letter-spacing:.07em}
  .ks-ao-ring::after{font-size:24px;letter-spacing:-.01em}
  .ks-ao-ring--long::after{font-size:calc(var(--d) * .2)}
  .ks-ao-name{margin:0;font-size:21px}
}
@media (min-width:680px) and (max-width:839px){
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-map{--d:84px;--o:56px;--G:30px;grid-template-columns:1fr;row-gap:var(--G);margin-top:22px}
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-origin{margin:0;margin-inline-start:calc((var(--d) - var(--o)) / 2);box-shadow:0 0 0 5px rgba(6,58,97,.07)}
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-origin::before{display:none}
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-stops{grid-template-columns:1fr;row-gap:var(--G)}
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-stops li{justify-content:flex-start}
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-stops li::before{top:calc(-1 * (var(--G) + var(--d) / 2));height:calc(var(--G) + var(--d));width:2px;inset-inline-start:calc(var(--d) / 2 - 1px);inset-inline-end:auto}
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-stops li:first-child::before{top:calc(-1 * (var(--G) + var(--o) / 2));height:calc(var(--G) + var(--o) / 2 + var(--d) / 2);inset-inline-start:calc(var(--d) / 2 - 1px)}
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-stops li:has(~ li > .ks-ao-stop:is(:hover,:focus-visible))::before,
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-stops li:has(> .ks-ao-stop:is(:hover,:focus-visible))::before{width:4px;height:calc(var(--G) + var(--d));top:calc(-1 * (var(--G) + var(--d) / 2));inset-inline-start:calc(var(--d) / 2 - 2px)}
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-stops li:first-child:is(:has(> .ks-ao-stop:is(:hover,:focus-visible)),:has(~ li > .ks-ao-stop:is(:hover,:focus-visible)))::before{top:calc(-1 * (var(--G) + var(--o) / 2));height:calc(var(--G) + var(--o) / 2 + var(--d) / 2)}
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-stops li:last-child::after{top:var(--d);inset-inline-start:calc(var(--d) / 2 - 1px);width:2px;height:34px;background:repeating-linear-gradient(180deg,var(--gold-ink) 0 6px,transparent 6px 12px);-webkit-mask:linear-gradient(180deg,#000 30%,transparent);mask:linear-gradient(180deg,#000 30%,transparent)}
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-stop{flex-direction:row;align-items:center;gap:18px;text-align:start;padding:0;margin:0;border-radius:999px}
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-ring{gap:1px;box-shadow:0 0 0 2px var(--gold),0 0 0 5px var(--mist),0 0 0 6px rgba(6,58,97,.1),0 18px 30px -20px rgba(6,32,54,.5)}
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-ring::after{font-size:24px}
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-ring--long::after{font-size:calc(var(--d) * .2)}
  .ks-ao:is(:lang(ckb),:lang(ar)) .ks-ao-name{margin:0;font-size:21px}
}

/* ---------- Phones ---------- */
@media (max-width:699px){
  /* the directory: two columns, photo above its words */
  .ks-ao-dir{padding-bottom:clamp(56px,13vw,84px)}
  .ks-ao-tiles{gap:28px 14px;padding:0 clamp(18px,5vw,72px)}
  .ks-ao-tile{min-height:0;justify-content:flex-start;color:var(--navy);background:none;overflow:visible}
  .ks-ao-tile::before,.ks-ao-tile::after{display:none}
  .ks-ao-tile-ph{position:relative;inset:auto;z-index:0;aspect-ratio:1;border-radius:18px;overflow:hidden;background:var(--navy-d)}
  .ks-ao-tile-tx{position:relative;padding:0}
  .ks-ao-tile-n{position:absolute;top:-52px;inset-inline-start:10px;width:38px;height:38px;background:rgba(4,39,63,.78);box-shadow:inset 0 0 0 1.5px var(--gold)}
  .ks-ao-tile h3{margin-top:14px;color:var(--navy);font-size:19px;line-height:1.2}
  .ks-ao-tile p{margin-top:8px;color:var(--ink2);font-size:16px;line-height:1.5}
  .ks-ao-tile-go{margin-top:12px;color:var(--gold-ink);font-size:15px}
  .ks-ao .ks-ao-tile:focus-visible{outline:3px solid var(--navy);outline-offset:4px;border-radius:18px}
  :lang(ckb) .ks-ao-tile h3,:lang(ar) .ks-ao-tile h3{font-size:18px;line-height:1.5}
  :lang(ckb) .ks-ao-tile p,:lang(ar) .ks-ao-tile p{line-height:1.7}
}
@media (max-width:560px){
  .ks-ao-hero{padding-bottom:56px}
  .ks-ao-rings{width:620px;inset-inline-end:-360px;top:-300px}
  .ks-ao-rings .ks-ao-rings-gold{display:none}
  .ks-ao-top{margin-top:26px}
  .ks-ao-pill{font-size:12.5px;letter-spacing:.13em}
  .ks-ao .ks-ao-h1{margin-top:20px;font-size:clamp(36px,10.6vw,44px);line-height:1.04}
  :lang(ckb) .ks-ao-h1,:lang(ar) .ks-ao-h1{font-size:clamp(28px,8.2vw,34px);line-height:1.45}
  .ks-ao .ks-ao-lead{margin-top:20px}
  .ks-ao-figs li{padding:26px 14px}
  .ks-ao-figs li:nth-child(odd){padding-inline-start:0}
  .ks-ao-figs li:nth-child(even){padding-inline-end:0}
  .ks-ao-figs b{font-size:clamp(40px,12vw,52px)}
  .ks-ao-figs span{font-size:15px}
  .ks-ao-route{padding:26px 22px}
  .ks-ao-route li{padding-inline-start:40px}
}
@media (max-width:360px){
  .ks-ao-tiles{column-gap:12px}
}
:lang(ckb) .ks-ao-pill,:lang(ar) .ks-ao-pill{letter-spacing:0}

@media (prefers-reduced-motion:reduce){
  .ks-ao-ring,.ks-ao-go,.ks-ao-stops li::before,.ks-ao-ring::before,.ks-ao-ring::after,.ks-ao-tile-ph img,.ks-ao-tile::before,.ks-ao-tile::after,.ks-ao-tile-go,.ks-ao-panel,.ks-ao-panel-ph img{transition:none}
  .ks-ao-stop:is(:hover,:focus-visible) :is(.ks-ao-ring,.ks-ao-go),.ks-ao-tile:hover .ks-ao-tile-go,.ks-ao-tile:hover .ks-ao-tile-ph img,.ks-ao-tile:focus-visible .ks-ao-tile-ph img,.ks-ao-panel:hover .ks-ao-panel-ph img{transform:none}
}
