/* The Circle HQ
   Order: tokens, base, layout, header and menu, footer, heroes, components, guides, maps, review build, responsive, motion.

   The brand idea is the circle. It appears as the ring around a hero photo, the lens of a map and the
   outline of an icon. Burgundy is used sparingly and always means the same thing: The Circle's own mark
   (the arc on a ring, the current menu item, the "In short" rule, our own office on a map). */

/* ------------------------------------------------------------------ tokens */

:root {
  --navy: #012c55;
  --navy-deep: #011f3c;
  --steel: #798ea6;
  --steel-on-navy: #93a8bf;
  --wine: #7a2337;
  --wine-on-navy: #d27b90;

  /* The accent. Burgundy, so the palette stays at three colours: navy, steel and burgundy.
     <html data-accent="teal"> switches it back to teal (see accent in site.config.json). */
  --accent: var(--wine);
  --accent-ink: var(--wine);
  --accent-bright: var(--wine-on-navy);
  --accent-rgb: 122, 35, 55;
  --accent-alt: var(--steel-on-navy);   /* the second line colour in the route maps */
  --office: var(--navy);                 /* our own office on a map */
  --office-on-navy: var(--white);
  --mist: #f3f6f9;
  --sea: #dde7f0;
  --river: #9dbdd3;
  --line: #dfe5ea;
  --line-strong: #b9c6d3;
  --body: #3d5166;
  --muted: #5b7088;
  --white: #fff;
  --error: #b3261e;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(56px, 7vw, 104px);
  --header-h: 84px;
  --header-h-compact: 68px;

  /* Rounded corners: soft boxes, pill buttons. */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --font: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-accent="teal"] {
  --accent: #0b9f98;
  --accent-ink: #08716c;
  --accent-bright: #6fd6ce;
  --accent-rgb: 11, 159, 152;
  --accent-alt: var(--wine-on-navy);
  --office: var(--wine);
  --office-on-navy: var(--wine-on-navy);
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-compact) + 28px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  font-weight: 500;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.2rem + 3.4vw, 3.625rem); line-height: 1.07; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.7vw, 2.375rem); line-height: 1.14; letter-spacing: -0.024em; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.012em; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--navy); color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--navy); color: var(--white); font-weight: 500; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ------------------------------------------------------------------ layout */

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* A hairline, a marker label, a heading on the left and a short paragraph on the right. */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  column-gap: clamp(32px, 6vw, 96px);
  align-items: end;
  padding-top: 28px;
  margin-bottom: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.section-head .label { grid-column: 1 / -1; }
.section-head h2 { max-width: 18ch; }
.section-head > p:not(.label) { max-width: 44ch; justify-self: end; color: var(--muted); }
.section-head--wide h2 { max-width: 24ch; }

.label {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.09em; line-height: 1.3; text-transform: uppercase;
}
.label::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--accent); }

.lead { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); line-height: 1.55; }

/* Two-sentence headline. The second sentence is steel. A v1 brand device. */
.two-line > span { display: block; }
.two-line .muted { color: var(--steel); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 24px;
  border: 0; border-radius: var(--r-pill);
  background: var(--navy); color: var(--white);
  font-size: 0.9063rem; font-weight: 600; letter-spacing: 0.005em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--navy-deep); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: #e6edf4; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.text-link {
  color: var(--navy); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px; text-underline-offset: 5px;
  transition: text-decoration-color 0.15s ease;
}
.text-link:hover { text-decoration-color: currentColor; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.is-scrolled .site-header { box-shadow: 0 12px 32px -22px rgba(1, 44, 85, 0.45); }
.site-header__bar { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height 0.2s ease; }
.is-scrolled .site-header__bar { height: var(--header-h-compact); }

.brand { flex: none; display: block; border-radius: 6px; }
.brand__logo { width: auto; height: 62px; transition: height 0.2s ease; }
.is-scrolled .brand__logo { height: 50px; }

.site-nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  border: 0; border-radius: var(--r-pill); background: none;
  color: var(--navy); font-size: 0.9375rem; font-weight: 500; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s ease;
}
.site-nav__link:hover, .has-menu.is-open > .site-nav__link { background: var(--mist); }
/* The section you are in: a short burgundy rule under its name. */
.site-nav__link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--wine); }
.site-nav__cta .btn { background: var(--wine); }
.site-nav__cta .btn:hover { background: #5c1828; }

.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.has-menu.is-open .chev { transform: rotate(180deg); }

/* The menus: full-width panels that hang from the header, with a navy card on the right. */
.menu { background: var(--white); }
.menu__heading { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; font-weight: 500; line-height: 1.3; }
.menu__heading--second { margin-top: 24px; }

.menu__links a {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: start; gap: 14px;
  margin-left: -10px; padding: 10px 12px 10px 10px;
  border-radius: var(--r-sm); text-decoration: none;
  transition: background-color 0.15s ease;
}
.menu__links a:hover { background: var(--mist); }
.menu .icon { width: 36px; height: 36px; border-color: var(--line); background: var(--mist); }
.menu .icon svg { width: 18px; height: 18px; }
.menu__links a:hover .icon { background: var(--white); border-color: var(--accent); color: var(--accent); }
.menu__text strong { display: block; color: var(--navy); font-size: 0.9688rem; font-weight: 500; line-height: 1.3; }
.menu__text span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.875rem; line-height: 1.4; }
.menu__divide { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }

.menu__all {
  display: inline-block; margin-top: 14px;
  color: var(--navy); font-size: 0.875rem; font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 5px;
}
.menu__all:hover { text-decoration-color: currentColor; }
.menu__all--inline { margin: 0 0 0 6px; }
.menu__aside { margin: 16px 0 0; color: var(--muted); font-size: 0.875rem; }

.menu__places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.menu__places a { display: block; margin-left: -10px; padding: 10px; border-radius: var(--r-sm); text-decoration: none; }
.menu__places a:hover { background: var(--mist); }
.menu__places strong { display: block; color: var(--navy); font-size: 0.9688rem; font-weight: 500; line-height: 1.3; }
.menu__places span { display: block; color: var(--muted); font-size: 0.875rem; line-height: 1.4; }

.menu__plain a { display: block; padding: 7px 0; color: var(--navy); font-size: 0.9375rem; line-height: 1.4; text-decoration: none; }
.menu__plain a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* The card on the right of each menu. */
.menu__feature {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  min-height: 300px; padding: 24px;
  border-radius: var(--r-md); background: var(--navy); color: var(--steel-on-navy);
  font-size: 0.875rem; line-height: 1.5; text-decoration: none;
  transition: background-color 0.15s ease;
}
.menu__feature:hover { background: var(--navy-deep); }
.menu__feature strong { color: var(--white); font-size: 1.125rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.menu__feature-kicker { color: var(--accent-bright); font-size: 0.8125rem; font-weight: 500; }
.menu__photo {
  position: absolute; top: -34px; right: -34px; z-index: -1;
  width: 176px; height: 176px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.06), 0 0 0 11px var(--wine-on-navy);
}
.menu__feature--stat { min-height: 0; height: 100%; justify-content: flex-start; }
.menu__feature--stat strong { font-size: 1.375rem; line-height: 1.25; }

.menu__map { display: grid; justify-items: start; gap: 10px; padding: 18px 20px; border-radius: var(--r-md); background: var(--mist); text-decoration: none; }
.menu__map:hover { background: #e9eef4; }
.menu__map-note { color: var(--navy); font-size: 0.875rem; font-weight: 500; }
.egypt-mini { width: 100%; max-width: 300px; height: auto; }

/* On phones and tablets the menu folds away, so a booking button stays in the header bar. */
.header-book { display: none; background: var(--wine); }
.header-book:hover { background: #5c1828; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: var(--white);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; margin-inline: auto; border-radius: 2px; background: var(--navy);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1001px) {
  .site-nav { flex: 1; align-self: stretch; }
  .site-nav__list { display: flex; align-items: stretch; gap: 2px; height: 100%; }
  .site-nav__list > li { display: flex; align-items: center; }
  .site-nav__cta { margin-left: auto; padding-left: 16px; }

  .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    padding: 32px 0 36px;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 40px 60px -40px rgba(1, 44, 85, 0.4);
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
  }
  .has-menu.is-open > .menu,
  .no-js .has-menu:hover > .menu,
  .no-js .has-menu:focus-within > .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

  .menu__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(28px, 3vw, 48px); align-items: stretch; }
  .menu__inner--places { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .menu__inner--guides { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.75fr); }

  /* Dims the page behind an open menu. Clicking it closes the menu. */
  html.menu-open body::after {
    content: ""; position: fixed; inset: 0; z-index: 30;
    background: rgba(1, 31, 60, 0.2);
  }
}

@media (max-width: 1180px) and (min-width: 1001px) {
  .site-nav__link { padding-inline: 11px; }
  .site-nav__link.is-active::after { left: 11px; right: 11px; }
}

/* ------------------------------------------------------------------ burgundy lines
   A short burgundy stroke sits on the hairlines that open a section, a set of figures or a step,
   so the accent runs through every page without colouring whole blocks. */

.section-head { position: relative; }
.section-head::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--wine); }
.facts li, .steps li { position: relative; }
.facts li::after, .steps li::after { content: ""; position: absolute; top: -2px; left: 0; width: 28px; height: 3px; background: var(--wine); }
.page-hero--article { position: relative; }
.page-hero--article::after { content: ""; position: absolute; bottom: -1px; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); width: 72px; height: 2px; background: var(--wine); }
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); width: 96px; height: 2px; background: var(--wine); }
.faq__item[open] { box-shadow: inset 2px 0 0 var(--wine); }
.faq__item[open] summary, .faq__item[open] .faq__a { padding-left: 18px; }
.related__list a { position: relative; overflow: hidden; }
.related__list a::before { content: ""; position: absolute; top: 0; left: 26px; width: 36px; height: 2px; background: var(--wine); }

/* ------------------------------------------------------------------ footer */

.site-footer { padding: clamp(48px, 6vw, 72px) 0 28px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.site-footer__top {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px;
  padding-bottom: clamp(32px, 4vw, 48px); margin-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.site-footer__home { display: inline-block; border-radius: 6px; }
.site-footer__logo { width: auto; height: 80px; margin-bottom: 16px; }
.site-footer__brand p { max-width: 42ch; color: var(--muted); margin-bottom: 0.4em; }
.site-footer__brand .site-footer__parent { color: var(--navy); font-weight: 500; }
.site-footer__book { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.site-footer__book p { margin: 0; color: var(--navy); font-weight: 500; }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.15fr);
  gap: 40px clamp(20px, 2.4vw, 40px);
}
.site-footer__heading { margin-bottom: 16px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0; line-height: 1.3; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.site-footer .btn { color: var(--white); }
.site-footer .btn:hover { color: var(--white); text-decoration: none; }
.site-footer__contact p { margin-bottom: 10px; overflow-wrap: anywhere; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer__legal {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.875rem;
}
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { display: flex; gap: 20px; }
.site-footer__legal li + li { margin-top: 0; }

/* ------------------------------------------------------------------ home hero */

.hero { position: relative; overflow: hidden; background: var(--navy); color: #c9d5e2; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center; gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 80px);
}
.hero .label { color: var(--white); }
.hero .label::before { background: var(--accent-bright); }
.hero h1 { color: var(--white); }
.hero .two-line .muted { color: var(--steel-on-navy); }
.hero .lead { max-width: 52ch; margin: clamp(20px, 2.4vw, 30px) 0 clamp(26px, 3vw, 38px); }
/* Three confirmed facts under the hero buttons, each marked with a small ring. */
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: clamp(22px, 2.6vw, 30px); color: var(--steel-on-navy); font-size: 0.9375rem; line-height: 1.45; }
.hero__proof li { position: relative; padding-left: 20px; }
.hero__proof li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 9px; height: 9px; border: 1.5px solid var(--wine-on-navy); border-radius: 50%; }
.hero .text-link { color: var(--white); text-decoration-color: var(--accent-bright); }
.hero :focus-visible, .cta :focus-visible { outline-color: var(--accent-bright); }
.hero__copy { align-self: center; }

/* The circle: the reception photograph inside two rings, with a burgundy arc and one teal node. */
.orbit { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin-inline: auto; }
.orbit__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__ring { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.2; }
.orbit__ring--inner { stroke: rgba(255, 255, 255, 0.12); stroke-dasharray: 2 7; }
.orbit__arc { fill: none; stroke: var(--wine-on-navy); stroke-width: 3; stroke-linecap: round; }
.orbit__node { fill: var(--accent-bright); }
.orbit__photo { position: absolute; inset: 9%; overflow: hidden; border-radius: 50%; background: var(--navy-deep); }
.orbit__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; }
.orbit__chip {
  position: absolute; left: -3%; bottom: 12%;
  display: grid; gap: 1px; margin: 0; padding: 14px 18px 15px;
  border-radius: var(--r-sm); background: var(--white); color: var(--muted);
  font-size: 0.8125rem; line-height: 1.35;
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.55);
}
.orbit__chip strong { color: var(--navy); font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }

.hero-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-bottom: clamp(40px, 5vw, 64px); }
.hero-index a {
  display: block; height: 100%; padding: 22px 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05); color: inherit; text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.hero-index a:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.28); }
.hero-index strong { display: block; margin-bottom: 6px; color: var(--white); font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; }
.hero-index span { display: block; max-width: 30ch; color: var(--steel-on-navy); font-size: 0.875rem; line-height: 1.5; }
.hero-index a:hover strong { text-decoration: underline; text-decoration-color: var(--accent-bright); text-underline-offset: 5px; }

/* Who we work with: a plain statement of sectors where a logo strip would otherwise go. */
.sectors { border-bottom: 1px solid var(--line); }
.sectors__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; padding-block: 22px; }
.sectors .label { margin: 0; color: var(--muted); }
.sectors ul { display: flex; flex-wrap: wrap; gap: 8px 0; }
.sectors li { padding: 0 20px; border-left: 1px solid var(--line-strong); color: var(--navy); font-size: 0.9375rem; font-weight: 500; line-height: 1.3; }
.sectors li:first-child { padding-left: 0; border-left: 0; }

/* A navy panel for the one offer that is different in kind: the fully managed team. */
.panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(32px, 5vw, 80px); padding: clamp(32px, 4.6vw, 64px); border-radius: var(--r-lg); background: var(--navy); color: #c9d5e2; }
.panel .label { color: var(--white); }
.panel .label::before { background: var(--accent-bright); }
.panel h2 { margin-bottom: 18px; color: var(--white); max-width: 20ch; }
.panel p:not(.label) { max-width: 54ch; margin-bottom: 28px; }
.panel :focus-visible { outline-color: var(--accent-bright); }
.panel__list { border-top: 1px solid rgba(255, 255, 255, 0.2); }
.panel__list li { display: flex; align-items: baseline; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); color: var(--white); font-weight: 500; }
.panel__list li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--accent-bright); transform: translateY(-1px); }
.panel__list span { display: block; color: var(--steel-on-navy); font-size: 0.875rem; font-weight: 400; }

/* ------------------------------------------------------------------ inner page hero */

.page-hero { padding-block: clamp(28px, 3vw, 40px) clamp(56px, 7vw, 96px); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.page-hero h1 { font-size: clamp(2rem, 1.2rem + 2.7vw, 3.125rem); }
.page-hero .lead { max-width: 54ch; margin: clamp(18px, 2vw, 26px) 0 clamp(24px, 2.6vw, 34px); }
.page-hero--plain h1 { max-width: 18ch; }
.page-hero--plain .lead { max-width: 60ch; }

/* Pages without a photograph carry the ring itself on wide screens: two hairlines, the burgundy arc, one teal node. */
@media (min-width: 1101px) {
  .page-hero--plain { position: relative; overflow: hidden; }
  .page-hero--plain::after {
    content: ""; position: absolute; top: 50%; right: max(var(--gutter), calc((100% - var(--wrap)) / 2));
    width: clamp(260px, 25vw, 360px); aspect-ratio: 1; transform: translateY(-38%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 408 408'%3E%3Ccircle cx='200' cy='200' r='198' fill='none' stroke='%23b9c6d3' stroke-width='1.2'/%3E%3Ccircle cx='200' cy='200' r='150' fill='none' stroke='%23dfe5ea' stroke-width='1.2' stroke-dasharray='2 6'/%3E%3Ccircle cx='200' cy='200' r='104' fill='%23f3f6f9'/%3E%3Cpath d='M200 2A198 198 0 0 1 340 60' fill='none' stroke='%237a2337' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='60' cy='340' r='5' fill='%23012c55'/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
  }
}

/* The photograph as a circle, inside a hairline ring that carries the burgundy arc. */
.page-hero__media { display: grid; place-items: center; }
.page-hero__media > img,
.page-hero__media::before { grid-area: 1 / 1; }
.page-hero__media > img { width: min(84%, 420px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.page-hero__media:has(> img)::before {
  content: ""; width: min(100%, 500px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--line-strong); border-top-color: var(--wine);
  transform: rotate(38deg);
}

.crumbs { margin-bottom: clamp(28px, 4vw, 56px); font-size: 0.875rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.crumbs [aria-current] { color: var(--navy); }

/* ------------------------------------------------------------------ icons */

/* A line icon inside a hairline circle. */
.icon {
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: var(--white); color: var(--navy);
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.included .icon, .card .icon, .door .icon { margin-bottom: 18px; }

/* ------------------------------------------------------------------ who handles what */

.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.compare th, .compare td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { padding-block: 0 16px; color: var(--muted); font-size: 0.8125rem; font-weight: 500; }
.compare tbody th { width: 27%; padding-left: 0; color: var(--navy); font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; }
.compare td { color: var(--muted); }
.compare .compare__us { background: var(--navy); color: var(--white); font-weight: 500; border-bottom-color: rgba(255, 255, 255, 0.14); }
.compare thead .compare__us { padding-top: 20px; border-radius: var(--r-md) var(--r-md) 0 0; color: var(--white); font-weight: 600; }
.compare td:not(.compare__us) { padding-left: 32px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:last-child .compare__us { border-radius: 0 0 var(--r-md) var(--r-md); }
.compare thead th:first-child { padding-left: 0; }
.compare tbody .compare__us { position: relative; padding-left: 46px; }
.compare tbody .compare__us::before { content: ""; position: absolute; left: 24px; top: calc(20px + 0.8em - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); }

/* ------------------------------------------------------------------ photo cards */

.photo-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.photo-card {
  position: relative; display: flex; align-items: flex-end;
  aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--r-md); background: var(--navy);
  color: var(--white); text-decoration: none; isolation: isolate;
}
.photo-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(1, 31, 60, 0) 30%, rgba(1, 31, 60, 0.72) 64%, rgba(1, 31, 60, 0.94) 100%);
}
.photo-card:hover img { transform: scale(1.035); }
.photo-card__body { padding: clamp(22px, 2.4vw, 32px); }
.photo-card h3 { color: var(--white); font-size: clamp(1.25rem, 1rem + 0.7vw, 1.5rem); line-height: 1.18; letter-spacing: -0.018em; }
.photo-card p { max-width: 30ch; margin: 8px 0 0; color: #d6e0ea; font-size: 0.9063rem; line-height: 1.5; }
.photo-card__more { display: inline-block; margin-top: 14px; font-size: 0.875rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent-bright); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }

/* ------------------------------------------------------------------ rows */

.rows { border-top: 1px solid var(--line); }
.rows a {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) auto;
  align-items: center; gap: 16px clamp(24px, 4vw, 64px);
  padding: 28px 16px 28px 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 0.15s ease, padding-left 0.15s ease;
}
.rows a:hover { background: var(--mist); padding-left: 16px; }
.section--mist .rows a:hover { background: var(--white); }
.rows h3 { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); letter-spacing: -0.02em; }
.rows p { margin: 0; max-width: 52ch; color: var(--muted); }
.rows svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ steps (a real sequence, so it is numbered) */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.steps:has(> li:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { counter-increment: step; padding-top: 24px; border-top: 1px solid var(--navy); }
.steps li::before {
  content: "0" counter(step);
  display: block; margin-bottom: clamp(28px, 4vw, 56px);
  color: var(--steel); font-size: clamp(2.75rem, 2rem + 2.6vw, 4.25rem); font-weight: 400; line-height: 1; letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.steps h3 { margin-bottom: 10px; font-size: 1.5rem; }
.steps p { max-width: 36ch; color: var(--muted); }

/* ------------------------------------------------------------------ working-day overlap */

.overlap { padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.overlap__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 26px; }
.overlap__controls label { color: var(--navy); font-size: 0.9375rem; font-weight: 500; }
.overlap select {
  min-height: 44px; padding: 0 40px 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23012c55' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px;
  color: var(--navy); font-weight: 500; -webkit-appearance: none; appearance: none;
}
.overlap__row { display: grid; grid-template-columns: 132px minmax(0, 1fr) 92px; align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.overlap__place strong { display: block; color: var(--navy); font-weight: 500; line-height: 1.25; }
.overlap__place span { display: block; color: var(--muted); font-size: 0.8125rem; }
.overlap__track { position: relative; height: 30px; border-radius: 8px; background: var(--mist); overflow: hidden; }
.overlap__office { position: absolute; top: 0; bottom: 0; background: rgba(var(--accent-rgb), 0.13); border-inline: 1px solid rgba(var(--accent-rgb), 0.55); }
.overlap__bar, .overlap__shared { position: absolute; top: 9px; bottom: 9px; border-radius: 2px; }
.overlap__bar { background: #b4c2d1; }
.overlap__shared { background: var(--accent); }
.overlap__row.is-cairo .overlap__bar { background: var(--steel); }
.overlap__row.is-cairo .overlap__shared { background: var(--navy); }
.overlap__hours { text-align: right; color: var(--steel); font-size: 1.75rem; font-weight: 400; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.overlap__hours small { margin-left: 3px; font-size: 0.875rem; letter-spacing: 0; }
.overlap__row.is-cairo .overlap__hours { color: var(--navy); }
.overlap__axis { display: grid; grid-template-columns: 132px minmax(0, 1fr) 92px; gap: 18px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.overlap__axis div { display: flex; justify-content: space-between; grid-column: 2; }
.overlap__legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 22px 0 0; color: var(--muted); font-size: 0.8125rem; }
.overlap__legend span { display: inline-flex; align-items: center; gap: 8px; }
.overlap__legend i { width: 18px; height: 8px; border-radius: 2px; }
.overlap__legend .k-day { background: #b4c2d1; }
.overlap__legend .k-shared { background: var(--accent); }
.overlap__legend .k-office { height: 14px; background: rgba(var(--accent-rgb), 0.13); border-inline: 1px solid rgba(var(--accent-rgb), 0.55); border-radius: 0; }
.overlap__note { margin: 14px 0 0; color: var(--muted); font-size: 0.8125rem; }
.overlap-fallback { color: var(--body); }
.overlap.is-ready .overlap-fallback { display: none; }
.overlap:not(.is-ready) .overlap__controls, .overlap:not(.is-ready) .overlap__legend, .overlap:not(.is-ready) .overlap__note { display: none; }

.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split__copy h2 { margin-bottom: 20px; }
.split__copy p { max-width: 46ch; color: var(--muted); }
.split__copy .text-link { display: inline-block; margin-top: 12px; }

/* ------------------------------------------------------------------ doors: two audiences or two routes */

.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.door { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.6vw, 48px); border-radius: var(--r-md); background: var(--mist); }
.section--mist .door { background: var(--white); }
.door h3 { margin-bottom: 14px; font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; }
.door p:not(.label) { max-width: 44ch; margin-bottom: 26px; color: var(--muted); }
.door .text-link { margin-top: auto; }

/* ------------------------------------------------------------------ included list and cards */

.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.included li { padding: 26px 28px 28px; border-radius: var(--r-md); background: var(--mist); }
.section--mist .included li { background: var(--white); }
.included h3 { margin-bottom: 6px; font-size: 1.125rem; letter-spacing: -0.01em; }
.included p { max-width: 46ch; color: var(--muted); font-size: 1rem; }
.included--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 28px 28px 30px; border-radius: var(--r-md); background: var(--mist); }
.section--mist .card { background: var(--white); }
.card h3 { margin-bottom: 8px; font-size: 1.1875rem; letter-spacing: -0.012em; }
.card p { max-width: 46ch; color: var(--muted); }
.card .text-link { display: inline-block; margin-top: 14px; }

/* ------------------------------------------------------------------ facts with a source */

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.facts li { padding-top: 22px; border-top: 1px solid var(--navy); }
.facts strong { display: block; margin-bottom: 14px; color: var(--navy); font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem); font-weight: 400; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.facts span { display: block; max-width: 26ch; color: var(--muted); font-size: 0.9688rem; line-height: 1.5; }
.source { margin-top: 28px; color: var(--muted); font-size: 0.875rem; }
.source a { color: var(--navy); text-underline-offset: 4px; }

/* ------------------------------------------------------------------ media + copy */

.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(32px, 6vw, 96px); }
.feature--flip .feature__media { order: 2; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.feature__copy h2 { margin-bottom: 20px; max-width: 18ch; }
.feature__copy p { max-width: 50ch; color: var(--muted); }
.feature__copy .text-link { display: inline-block; margin-top: 10px; }

.plain-list { margin: 22px 0 0; border-top: 1px solid var(--line); }
.plain-list li { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 500; }
.plain-list li a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* ------------------------------------------------------------------ FAQ */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { color: var(--navy); font-size: 1.1875rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.012em; }
.faq__icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform 0.2s ease; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { max-width: 68ch; padding: 0 40px 28px 0; color: var(--muted); }
.faq__a a { color: var(--navy); text-underline-offset: 4px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-layout h2 { max-width: 12ch; }

/* ------------------------------------------------------------------ read next */

.related { border-top: 1px solid var(--line); }
.section--mist + .related { border-top: 0; }
.related__title { margin-bottom: clamp(24px, 3vw, 40px); font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); letter-spacing: -0.02em; }
.related__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.related__list a {
  display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 24px 26px 26px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.related__list a:hover { border-color: var(--line-strong); background: var(--mist); }
.related__kind { color: var(--accent-ink); font-size: 0.8125rem; font-weight: 600; }
.related__list strong { color: var(--navy); font-size: 1.125rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.related__blurb { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.related__list a:hover strong { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }

/* ------------------------------------------------------------------ closing band */

.cta { position: relative; overflow: hidden; padding-block: clamp(64px, 8vw, 112px); background: var(--navy); color: #c9d5e2; }
.cta__ring { position: absolute; right: -6%; top: 50%; width: min(620px, 60vw); height: auto; transform: translateY(-50%); overflow: visible; pointer-events: none; }
.cta__ring circle { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.cta__ring .cta__ring-inner { stroke: rgba(255, 255, 255, 0.07); }
.cta__arc { fill: none; stroke: var(--wine-on-navy); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cta__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 36px 56px; }
.cta h2 { color: var(--white); font-size: clamp(1.875rem, 1.2rem + 2.5vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; }
.cta .two-line .muted { color: var(--steel-on-navy); }
.cta p { max-width: 56ch; margin-top: 22px; }
.cta__action { display: grid; justify-items: start; gap: 12px; }
.cta .cta__note { margin: 0; color: var(--steel-on-navy); font-size: 0.875rem; }

/* ------------------------------------------------------------------ prose */

.prose { max-width: 70ch; }
.prose h2 { margin: 2em 0 0.6em; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 0.5em; font-size: 1.1875rem; }
.prose ul:not([class]) { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.prose ol:not([class]) { margin: 0 0 1em; padding-left: 1.4em; list-style: decimal; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--steel); }
.prose a { color: var(--navy); text-decoration-color: var(--accent); text-underline-offset: 4px; }
.prose strong { color: var(--navy); font-weight: 600; }

.notice { margin-bottom: 40px; padding: 18px 22px; border: 1px solid #e3c779; border-radius: var(--r-sm); background: #fff8e1; color: #5c4300; font-size: 0.9688rem; }

/* ------------------------------------------------------------------ guides */

.page-hero--article { padding-bottom: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero--article h1 { max-width: 24ch; }
.page-hero--article .lead { max-width: 64ch; margin-bottom: 0; }

.article-meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: clamp(24px, 3vw, 34px) 0 0; }
.article-meta div { padding-left: 14px; border-left: 2px solid var(--line); }
.article-meta dt { color: var(--muted); font-size: 0.8125rem; }
.article-meta dd { margin: 0; color: var(--navy); font-size: 0.9375rem; font-weight: 500; }
.article-meta a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 4px; }

.section--article { padding-top: clamp(40px, 5vw, 64px); }
.article { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.article__aside { position: sticky; top: calc(var(--header-h-compact) + 28px); max-height: calc(100vh - var(--header-h-compact) - 56px); overflow-y: auto; }
.article__body { max-width: 74ch; min-width: 0; }
.article__body > .prose, .article__body.prose { max-width: 74ch; }
.article__wide { margin: 28px 0 36px; }

.toc__title { margin: 0 0 12px; color: var(--muted); font-size: 0.8125rem; font-weight: 500; list-style: none; cursor: pointer; }
.toc__title::-webkit-details-marker { display: none; }
.toc ol { border-left: 1px solid var(--line); }
.toc a {
  display: block; margin-left: -1px; padding: 7px 0 7px 16px;
  border-left: 2px solid transparent;
  color: var(--body); font-size: 0.9063rem; line-height: 1.4; text-decoration: none;
}
.toc a:hover { color: var(--navy); }
.toc a.is-current { border-left-color: var(--accent); color: var(--navy); font-weight: 500; }

/* "In short": the answer first, under a burgundy rule. */
.summary { margin: 0 0 40px; padding: 22px 26px 24px; border-left: 3px solid var(--wine); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--mist); }
.summary__label { margin: 0 0 10px; color: var(--wine); font-size: 0.8125rem; font-weight: 600; }
.summary ul { margin: 0; padding-left: 1.1em; list-style: disc; }
.summary li { margin-bottom: 0.45em; color: var(--navy); }
.summary li:last-child { margin-bottom: 0; }

/* The offer inside each guide, matched to its subject, placed before the guide's third section. */
.inline-cta { margin: 40px 0; padding: 26px 28px 24px; border-left: 3px solid var(--accent); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--mist); }
.prose .inline-cta p { margin: 0 0 18px; }
.prose .inline-cta .inline-cta__kicker { margin-bottom: 8px; color: var(--navy); font-size: 1.0625rem; font-weight: 600; }
.inline-cta .actions { gap: 12px 24px; }
.prose .inline-cta .btn { color: var(--white); text-decoration: none; }
.prose .inline-cta .inline-cta__note { margin: 12px 0 0; color: var(--muted); font-size: 0.875rem; }

.callout { margin: 28px 0; padding: 20px 24px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--white); }
.note { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }

.table-scroll { margin: 28px 0 32px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
.data-table caption { caption-side: top; padding-bottom: 12px; color: var(--muted); font-size: 0.875rem; text-align: left; }
.data-table th, .data-table td { padding: 12px 18px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { color: var(--navy); font-size: 0.8125rem; font-weight: 600; border-bottom: 1.5px solid var(--navy); }
.data-table tbody th { color: var(--navy); font-weight: 500; }
.data-table td { color: var(--body); }

.sources { margin-top: 36px; }
.prose .sources h2 { margin: 0 0 14px; font-size: 1.25rem; }
.sources ol { padding-left: 1.4em; list-style: decimal; color: var(--muted); font-size: 0.875rem; line-height: 1.55; }
.sources li { margin-bottom: 0.55em; overflow-wrap: anywhere; }
.sources a { color: var(--navy); }

/* ------------------------------------------------------------------ maps */

.egypt-map { margin: 0; }
.egypt-map svg { width: 100%; height: auto; overflow: visible; }
.map-land { fill: var(--white); stroke: var(--line-strong); stroke-width: 1.2; stroke-linejoin: round; }
.map-nile { fill: none; stroke: var(--river); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map-lake { fill: none; stroke: var(--river); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.map-city { fill: var(--accent); stroke: var(--white); stroke-width: 2; }
.map-office { fill: none; stroke: var(--office); stroke-width: 2.2; }
.map-zone, .map-leader { fill: none; stroke: var(--navy); stroke-width: 1; stroke-dasharray: 3 3; }
.map-lens { fill: var(--white); stroke: var(--navy); stroke-width: 1.2; }
.map-label { fill: var(--navy); font-size: 11px; font-weight: 500; }
.map-label--strong { font-size: 13px; font-weight: 600; }
.map-sea { fill: var(--steel); font-size: 11px; font-style: italic; }
.map-region { fill: var(--steel); font-size: 10px; letter-spacing: 0.12em; }
.map-lens-title { fill: var(--muted); font-size: 11px; }
.egypt-map__legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; color: var(--muted); font-size: 0.8125rem; }
.egypt-map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.egypt-map__legend i { width: 11px; height: 11px; border-radius: 50%; }
.egypt-map__legend .k-city { background: var(--accent); }
.egypt-map__legend .k-office { border: 2px solid var(--office); }

.placemark { display: grid; justify-items: center; gap: 12px; width: 100%; margin: 0; }
.placemark svg { width: min(100%, 460px); height: auto; overflow: visible; }
.pm-land { fill: var(--mist); }
.pm-sea { fill: var(--sea); stroke: var(--line-strong); stroke-width: 0.8; }
.pm-nile { fill: none; stroke: var(--river); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.pm-ring { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 4; }
.pm-ring-label { fill: var(--muted); font-size: 9.5px; }
.pm-rim { fill: none; stroke: var(--navy); stroke-width: 1.2; }
.pm-tick { stroke: var(--navy); stroke-width: 1.2; }
.pm-north { fill: var(--navy); font-size: 10px; font-weight: 600; }
.pm-city { fill: var(--navy); stroke: var(--white); stroke-width: 1.5; }
.pm-office { fill: var(--office); stroke: var(--white); stroke-width: 1.5; }
.pm-halo { fill: rgba(var(--accent-rgb), 0.14); stroke: var(--accent); stroke-width: 1.2; }
.pm-here { fill: var(--accent); stroke: var(--white); stroke-width: 2; }
.pm-label { fill: var(--navy); font-size: 10.5px; font-weight: 500; paint-order: stroke; stroke: var(--mist); stroke-width: 3px; stroke-linejoin: round; }
.pm-label--here { font-size: 13px; font-weight: 600; }
.pm-label--office { fill: var(--office); }
.placemark figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; color: var(--muted); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.placemark figcaption strong { color: var(--navy); font-weight: 600; }

/* A map with a list beside it: the locations hub and the home page. */
.map-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
/* Beside a long list the map stays in view while the list scrolls past. */
@media (min-width: 1001px) {
  .map-split > .egypt-map, .map-split > div:has(> .egypt-map) { position: sticky; top: calc(var(--header-h-compact) + 32px); }
}

/* ------------------------------------------------------------------ navy page hero, the orbit, the stack, the duty split */

/* A navy version of the inner-page hero, for flagship pages. */
.page-hero--navy { background: var(--navy); color: #c9d5e2; padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero--navy h1 { color: var(--white); }
.page-hero--navy .two-line .muted { color: var(--steel-on-navy); }
.page-hero--navy .label { color: var(--white); }
.page-hero--navy .label::before { background: var(--accent-bright); }
.page-hero--navy .crumbs, .page-hero--navy .crumbs a { color: #a9bacc; }
.page-hero--navy .crumbs [aria-current] { color: var(--white); }
.page-hero--navy .crumbs a:hover { color: var(--white); }
.page-hero--navy .text-link { color: var(--white); text-decoration-color: var(--accent-bright); }
.page-hero--navy :focus-visible { outline-color: var(--accent-bright); }

/* The orbit: what you set at the centre, the four things we run around it. */
.ob-orbit { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; }
.ob-orbit__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ob-orbit__outer { fill: none; stroke: rgba(255, 255, 255, 0.24); stroke-width: 1.2; }
.ob-orbit__inner { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 1.2; stroke-dasharray: 2 7; }
.ob-orbit__spoke { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.2; stroke-dasharray: 3 5; }
.ob-orbit__arc { fill: none; stroke: var(--wine-on-navy); stroke-width: 3; stroke-linecap: round; }
.ob-orbit__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 44%; aspect-ratio: 1; padding: 6%;
  border-radius: 50%; background: var(--wine); color: var(--white);
  box-shadow: 0 0 0 10px rgba(122, 35, 55, 0.25), 0 24px 48px -20px rgba(0, 0, 0, 0.5);
  font-size: clamp(0.875rem, 0.7rem + 0.5vw, 1.0625rem); font-weight: 500; line-height: 1.3; text-align: center;
}
.ob-orbit__node {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: var(--r-pill);
  background: var(--white); color: var(--navy);
  font-size: 0.9375rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.6);
}
.ob-orbit__node .icon { width: 36px; height: 36px; border-color: var(--line); background: var(--mist); }
.ob-orbit__node .icon svg { width: 18px; height: 18px; }
.ob-orbit__node--n { left: 50%; top: 4.5%; }
.ob-orbit__node--e { left: 95.5%; top: 50%; }
.ob-orbit__node--s { left: 50%; top: 95.5%; }
.ob-orbit__node--w { left: 4.5%; top: 50%; }

.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
.hero-stats li { padding: 20px 22px 22px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-md); background: rgba(255, 255, 255, 0.05); }
.hero-stats strong { display: block; margin-bottom: 8px; color: var(--white); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 400; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero-stats span { display: block; color: var(--steel-on-navy); font-size: 0.875rem; line-height: 1.45; }

/* The stack: layers of work we take on, darker as more is handed over. */
.stack { display: grid; gap: 12px; }
.stack__layer {
  display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 24px clamp(28px, 4vw, 64px);
  padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white);
}
.stack__layer--two { background: #eaf0f5; border-color: transparent; }
.stack__layer--three { background: #dbe4ee; border-color: transparent; }
.stack__layer--four { background: var(--navy); border-color: transparent; color: #c9d5e2; }
.stack__head .icon { margin-bottom: 16px; }
.stack__head h3 { margin-bottom: 6px; font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); letter-spacing: -0.02em; }
.stack__head p { max-width: 36ch; color: var(--muted); }
.stack__layer--four .stack__head h3 { color: var(--white); }
.stack__layer--four .stack__head p { color: var(--steel-on-navy); }
.stack__layer--four .icon { border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.06); color: var(--white); }
.stack__items { display: grid; gap: 18px; margin: 0; }
.stack__items--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.stack__items div { padding-top: 14px; border-top: 1px solid rgba(1, 44, 85, 0.12); }
.stack__items dt { margin-bottom: 4px; color: var(--navy); font-weight: 600; }
.stack__items dd { margin: 0; color: var(--body); font-size: 0.9688rem; line-height: 1.55; }
.stack__layer--four .stack__items div { border-top-color: rgba(255, 255, 255, 0.16); }
.stack__layer--four .stack__items dt { color: var(--white); }
.stack__layer--four .stack__items dd { color: #c9d5e2; }
.stack__more { max-width: 80ch; margin-top: 24px; color: var(--muted); }
.stack__more a { color: var(--navy); text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* Who decides what: your side and ours, face to face. */
.duty { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.duty__col { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-md); }
.duty__col--you { border: 1px solid var(--line); border-top: 3px solid var(--wine); background: var(--white); }
.duty__col--us { background: var(--navy); color: #c9d5e2; }
.duty__who { margin: 0 0 8px; color: var(--wine); font-size: 0.875rem; font-weight: 600; }
.duty__col--us .duty__who { color: var(--accent-bright); }
.duty dl { margin: 0; }
.duty dl div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.duty dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.duty dt { margin-bottom: 3px; color: var(--navy); font-weight: 600; }
.duty dd { margin: 0; color: var(--muted); font-size: 0.9688rem; line-height: 1.55; }
.duty__col--us dl div { border-bottom-color: rgba(255, 255, 255, 0.14); }
.duty__col--us dt { color: var(--white); }
.duty__col--us dd { color: #c9d5e2; }

/* A checklist: what is agreed before launch. */
.checklist { display: grid; gap: 2px; margin: 0; }
.checklist li { position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--line); color: var(--navy); line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--wine);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%237a2337' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Your 9 to 5 on the Cairo clock: one 24-hour track per market, the shift drawn on it. */
.shiftmap { margin-bottom: 36px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-md); background: var(--white); }
.shiftmap__caption { margin: 0 0 14px; color: var(--muted); font-size: 0.875rem; }
.shiftmap__axis, .shiftmap__rows li { display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr); align-items: center; gap: 8px 28px; }
.shiftmap__axis { padding-bottom: 6px; color: var(--muted); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.shiftmap__axis div { display: flex; justify-content: space-between; }
.shiftmap__rows li { padding: 12px 0; border-top: 1px solid var(--line); }
.shiftmap__place strong { display: block; color: var(--navy); font-size: 1.0625rem; font-weight: 600; }
.shiftmap__place span { display: block; color: var(--muted); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.shiftmap__track {
  position: relative; height: 28px; border-radius: var(--r-pill);
  background:
    linear-gradient(to right, transparent calc(25% - 0.5px), var(--line-strong) calc(25% - 0.5px) calc(25% + 0.5px), transparent calc(25% + 0.5px) calc(50% - 0.5px), var(--line-strong) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px) calc(75% - 0.5px), var(--line-strong) calc(75% - 0.5px) calc(75% + 0.5px), transparent calc(75% + 0.5px)),
    var(--mist);
}
.shiftmap__shift {
  position: absolute; top: 5px; bottom: 5px;
  left: calc(var(--from) / 24 * 100%); width: calc((var(--to) - var(--from)) / 24 * 100%);
  border-radius: var(--r-pill); background: var(--navy);
}
.shiftmap__rows li.is-us .shiftmap__shift { background: var(--wine); }
.card--wide { grid-column: 1 / -1; }
.card--wide p { max-width: 90ch; }

@media (max-width: 1000px) {
  .ob-orbit { width: min(100%, 380px); margin-top: 24px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack__layer { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .duty, .stack__items--two { grid-template-columns: 1fr; }
  .shiftmap__axis, .shiftmap__rows li { grid-template-columns: 1fr; }
  .shiftmap__axis > span { display: none; }
  .ob-orbit__node { padding: 6px 12px 6px 6px; font-size: 0.8125rem; }
  .ob-orbit__node .icon { width: 28px; height: 28px; }
  .ob-orbit__node--e { left: 88%; }
  .ob-orbit__node--w { left: 12%; }
}

/* ------------------------------------------------------------------ about: the story, the centres, the team */

/* The story is a line too: one station per step, the latest one marked in the accent. */
.story { position: relative; }
.story > li { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 52px; padding-bottom: 34px; }
.story > li:last-child { padding-bottom: 0; }
.story > li::before { content: ""; position: absolute; left: 101px; top: 12px; bottom: -12px; width: 2px; background: var(--line-strong); }
.story > li:last-child::before { display: none; }
.story > li::after {
  content: ""; position: absolute; left: 93px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--navy); background: var(--white);
}
.section--mist .story > li::after { background: var(--mist); }
.story > li.is-now::after { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 3px var(--mist), 0 0 0 4.5px var(--accent); }
.story__when { padding-top: 2px; color: var(--steel); font-size: 1.125rem; font-weight: 500; line-height: 1.2; text-align: right; font-variant-numeric: tabular-nums; }
.story__what h3 { margin-bottom: 6px; font-size: 1.1875rem; }
.story__what p { max-width: 58ch; color: var(--muted); }

.gallery { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 18vw, 250px); gap: 12px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md); background: var(--navy); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92); color: var(--navy); font-size: 0.8125rem; font-weight: 500;
}

/* ------------------------------------------------------------------ contact form */

.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__aside h2 { margin-bottom: 22px; font-size: 1.375rem; letter-spacing: -0.015em; }
.next { counter-reset: next; margin-bottom: 40px; border-top: 1px solid var(--line); }
.next li { counter-increment: next; display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--body); }
.next li::before { content: counter(next); color: var(--steel); font-size: 1.25rem; font-weight: 400; line-height: 1.3; font-variant-numeric: tabular-nums; }
.next strong { display: block; color: var(--navy); font-weight: 500; }
.contact__direct p { margin-bottom: 8px; overflow-wrap: anywhere; }
.contact__direct a { color: var(--navy); text-underline-offset: 4px; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > legend { padding: 0; color: var(--navy); font-size: 0.9375rem; font-weight: 500; }
.field .optional { color: var(--muted); font-weight: 400; }
fieldset.field { margin: 0; padding: 0; border: 0; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white);
  color: var(--navy); font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 124px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.28); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: 0.875rem; }
.field__error:empty { display: none; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); color: var(--navy); font-size: 0.9375rem; font-weight: 500; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.choice input:hover + span { border-color: var(--navy); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__foot p { flex: 1 1 260px; margin: 0; color: var(--muted); font-size: 0.875rem; }
.form__foot a { color: var(--navy); text-underline-offset: 3px; }
.form__status { grid-column: 1 / -1; padding: 16px 18px; border-radius: var(--r-sm); font-size: 0.9688rem; }
.form__status:empty { display: none; }
.form__status[data-state="ok"] { background: #e7f5f3; color: #05504c; }
.form__status[data-state="error"] { background: #fdecea; color: #8c1d18; }
.form__status[data-state="review"] { background: #fff8e1; color: #5c4300; }

/* ------------------------------------------------------------------ 404 */

.lost { padding-block: clamp(80px, 12vw, 180px); text-align: left; }
.lost h1 { max-width: 14ch; margin-bottom: 20px; }
.lost p { max-width: 48ch; margin-bottom: 32px; }

/* ------------------------------------------------------------------ review build only */

.todo { padding: 0 0.3em; border-radius: 3px; outline: 2px dotted #c98a00; outline-offset: 1px; background: #fff7e0; color: #5c4300; font-weight: 500; }
.reviewbar { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 320px; padding: 12px 16px; border-radius: var(--r-sm); background: #2a2110; color: #ffe9a8; font-size: 0.8125rem; line-height: 1.45; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45); cursor: pointer; }
.reviewbar strong { color: var(--white); font-weight: 600; }
.reviewbar[hidden] { display: none; }

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1100px) {
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .included--three, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps:has(> li:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 1000px) {
  :root { --header-h: 72px; --header-h-compact: 64px; }
  .brand__logo { height: 54px; }
  .is-scrolled .brand__logo { height: 48px; }
  .nav-toggle { display: block; }
  .site-header__bar { gap: 12px; }
  .header-book { display: inline-flex; margin-left: auto; min-height: 42px; padding: 0 16px; font-size: 0.875rem; }
  .header-book + .nav-toggle { margin-left: 0; }
  html.nav-open { overflow: hidden; }

  /* Anchored to the sticky header, not the viewport: the header's backdrop-filter
     makes it the containing block for anything fixed inside it. */
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    display: none; overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--gutter) 48px;
    background: var(--white); border-top: 1px solid var(--line);
  }
  .is-scrolled .site-nav { height: calc(100dvh - var(--header-h-compact)); }
  .nav-open .site-nav, .no-js .site-nav { display: block; }
  .no-js .site-nav { position: static; height: auto; padding-inline: 0; }
  .no-js .site-header__bar { height: auto; flex-wrap: wrap; padding-block: 10px; }
  .no-js .nav-toggle { display: none; }
  .site-nav__list { display: flex; flex-direction: column; }
  .site-nav__list > li { border-bottom: 1px solid var(--line); }
  .site-nav__link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.125rem; border-radius: 0; }
  .site-nav__link:hover, .has-menu.is-open > .site-nav__link { background: none; }
  .site-nav__link.is-active { color: var(--wine); }
  .site-nav__link.is-active::after { display: none; }
  .site-nav__cta { padding: 24px 0 0; border-bottom: 0 !important; }
  .site-nav__cta .btn { width: 100%; min-height: 54px; font-size: 1rem; }

  .menu { display: none; padding: 0 0 18px; }
  .has-menu.is-open > .menu, .no-js .menu { display: block; }
  .menu .wrap { width: auto; margin: 0; }
  .menu__inner { display: grid; gap: 18px; }
  .menu__feature, .menu__map { display: none; }
  .menu__links a, .menu__places a { margin-left: 0; padding-inline: 4px; }
  .menu__places { grid-template-columns: 1fr; }

  .section-head { grid-template-columns: 1fr; row-gap: 18px; }
  .section-head h2 { max-width: 22ch; }
  .section-head > p:not(.label) { justify-self: start; }

  .hero__grid, .page-hero__grid, .split, .feature, .contact, .faq-layout, .panel, .map-split { grid-template-columns: minmax(0, 1fr); }
  .orbit { width: min(100%, 420px); }
  .page-hero__media > img { width: min(76%, 360px); }
  .page-hero__media:has(> img)::before { width: min(92%, 430px); }
  .hero-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature--flip .feature__media { order: 0; }
  .faq-layout h2 { max-width: none; }
  .photo-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .steps:has(> li:nth-child(4)) { grid-template-columns: 1fr; gap: 32px; }
  .steps li::before { margin-bottom: 20px; }
  .cta__inner { grid-template-columns: 1fr; align-items: start; }
  .cta .btn { justify-self: start; }

  .article { grid-template-columns: 1fr; gap: 0; }
  .article__aside { position: static; max-height: none; margin-bottom: 36px; padding: 16px 20px; border-radius: var(--r-md); background: var(--mist); }
  .toc__title { display: flex; justify-content: space-between; align-items: center; margin: 0; color: var(--navy); font-size: 0.9375rem; }
  .toc__title::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease; }
  .toc details[open] .toc__title { margin-bottom: 8px; }
  .toc details[open] .toc__title::after { transform: translateY(2px) rotate(-135deg); }
  .toc ol { border-left: 0; columns: 2 220px; column-gap: 28px; }
  .toc a { padding-left: 0; border-left: 0; }
}

@media (max-width: 760px) {
  /* The comparison table becomes one card per task. */
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody th, .compare tbody td { padding: 0; border: 0; }
  .compare tbody th { width: auto; margin-bottom: 12px; font-size: 1.1875rem; }
  .compare tbody td { margin-top: 8px; }
  .compare tbody td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--muted); font-size: 0.8125rem; font-weight: 500; }
  .compare tbody .compare__us { padding: 14px 16px; border-radius: var(--r-sm) !important; }
  .compare tbody td:not(.compare__us) { padding-left: 0; }
  .compare tbody .compare__us::before { content: attr(data-label); position: static; width: auto; height: auto; margin: 0 0 2px; border-radius: 0; background: none; color: var(--accent-bright); }

  .rows a { grid-template-columns: minmax(0, 1fr) auto; }
  .rows p { grid-column: 1 / -1; grid-row: 2; }
  .doors, .included, .included--three, .cards, .cards--two { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .story > li { grid-template-columns: 52px minmax(0, 1fr); column-gap: 40px; }
  .story > li::before { left: 71px; }
  .story > li::after { left: 63px; }
  .form { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orbit__chip { left: 0; bottom: 4%; padding: 11px 14px 12px; }
  .orbit__chip strong { font-size: 1.125rem; }
}

@media (max-width: 640px) {
  .hero-index { grid-template-columns: 1fr; }
  .photo-cards { grid-template-columns: 1fr; }
  .photo-card { aspect-ratio: 4 / 3.6; }
  .sectors__bar { display: block; }
  .sectors .label { margin-bottom: 12px; }
  .sectors ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
  .sectors li { padding: 0; border-left: 0; font-size: 0.875rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .overlap__row, .overlap__axis { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; }
  .overlap__track { grid-column: 1 / -1; grid-row: 2; }
  .overlap__axis div { grid-column: 1 / -1; }
  .faq__a { padding-right: 0; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .actions .btn { width: 100%; }
  .reviewbar { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .toc ol { columns: 1; }
}

/* ------------------------------------------------------------------ motion: one moment, on load */

@media (prefers-reduced-motion: no-preference) {
  .hero .label, .hero h1 > span, .hero h1:not(.two-line), .hero .lead, .hero .actions { animation: settle 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero h1:not(.two-line) { animation-delay: 0.08s; }
  .hero h1 > span:nth-child(1) { animation-delay: 0.06s; }
  .hero h1 > span:nth-child(2) { animation-delay: 0.14s; }
  .hero .lead { animation-delay: 0.24s; }
  .hero .actions { animation-delay: 0.32s; }

  /* The ring draws itself round the photograph, then the arc follows. */
  .orbit__photo { animation: bloom 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
  .orbit__ring:not(.orbit__ring--inner) { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s cubic-bezier(0.6, 0.1, 0.2, 1) 0.25s forwards; }
  .orbit__arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.8s cubic-bezier(0.6, 0.1, 0.2, 1) 1.2s forwards; }
  .orbit__node, .orbit__ring--inner, .orbit__chip { animation: bloom 0.6s ease 1.1s both; }

  @keyframes settle { from { opacity: 0; transform: translateY(10px); } }
  @keyframes bloom { from { opacity: 0; } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
