/* ==========================================================================
   113–121 Brighton Road, Surbiton — investment presentation
   Yeats brand: deep teal #265259 / mid #2e7069 / bright green #62ac8d / sage #a8b8b8
   Type: Hanken Grotesk (sanctioned stand-in for Centra No 1)
   ========================================================================== */

:root {
  --teal-900: #14343a;
  --teal-800: #1c444b;
  --teal:     #265259;
  --teal-600: #2e7069;
  --green:    #62ac8d;
  --green-lt: #8ec9ac;
  --sage:     #a8b8b8;
  --paper:    #f4f2ed;
  --paper-2:  #e9e6df;
  --ink:      #14343a;
  --white:    #ffffff;

  --measure: 62ch;
  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1280px;

  --f-display: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --f-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --f-ar: "IBM Plex Sans Arabic", "Tajawal", "Geeza Pro", "Segoe UI", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

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

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.wrap--narrow { max-width: 900px; }

section { position: relative; }

.band {
  padding-block: clamp(4.5rem, 10vw, 9rem);
}

.band--teal { background: var(--teal); color: var(--white); }
.band--teal-900 { background: var(--teal-900); color: var(--white); }
.band--paper-2 { background: var(--paper-2); }

/* eyebrow */
.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--green);
  flex: none;
}
.band--paper-2 .eyebrow, .band:not(.band--teal):not(.band--teal-900) .eyebrow {
  color: var(--teal-600);
}
.band--paper-2 .eyebrow::before, .band:not(.band--teal):not(.band--teal-900) .eyebrow::before {
  background: var(--teal-600);
}

/* headings scale */
.h-xl { font-size: clamp(2.4rem, 6.4vw, 5.2rem); }
.h-lg { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.lede {
  font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.4rem);
  line-height: 1.5;
  font-weight: 300;
  max-width: 54ch;
}

.muted { opacity: 0.72; }
.small { font-size: 0.875rem; line-height: 1.55; }
.xs { font-size: 0.78rem; line-height: 1.5; }

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

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gut);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease);
}
.topbar.is-stuck {
  background: rgba(20, 52, 58, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 0.7rem;
}
.topbar__logo { width: 104px; flex: none; }
.topbar__logo svg, .topbar__logo img { width: 100%; height: auto; display: block; }
.topbar__tag {
  color: rgba(255,255,255,0.82);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.topbar__right { display: flex; align-items: center; gap: 1.25rem; }
.langswitch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 0.42rem 0.8rem;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}
.langswitch:hover, .langswitch:focus-visible { color: var(--white); border-color: var(--green); background: rgba(98,172,141,0.16); }
@media (max-width: 640px) { .topbar__tag { display: none; } }

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

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--teal-900);
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 22s var(--ease) forwards;
}
@keyframes heroDrift { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20,52,58,0.95) 0%, rgba(20,52,58,0.86) 30%, rgba(20,52,58,0.5) 58%, rgba(20,52,58,0.14) 78%, rgba(20,52,58,0.38) 100%);
}
@media (max-width: 900px) {
  .hero__scrim {
    background:
      linear-gradient(to top, rgba(20,52,58,0.96) 0%, rgba(20,52,58,0.9) 46%, rgba(20,52,58,0.6) 74%, rgba(20,52,58,0.3) 100%);
  }
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  padding-top: 8rem;
}
.hero__place {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: #b9dfcb;
  margin: 0 0 1.5rem;
  text-shadow: 0 1px 14px rgba(20,52,58,0.95), 0 1px 3px rgba(20,52,58,0.8);
}
.hero h1 {
  max-width: 17ch;
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 34px rgba(20,52,58,0.5);
}
.hero h1 em {
  font-style: normal;
  color: var(--green-lt);
}
.hero__sub {
  max-width: 44ch;
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.3rem);
  color: rgba(255,255,255,0.88);
  font-weight: 300;
  margin-bottom: 2.6rem;
  text-shadow: 0 1px 18px rgba(20,52,58,0.7);
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(1.75rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(255,255,255,0.22);
  padding-top: 1.6rem;
}
.hero__fact { padding-block: 0.4rem; }
.hero__fact b {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero__fact span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.scrollcue {
  position: absolute;
  right: var(--gut);
  bottom: clamp(3rem, 7vw, 5.5rem);
  z-index: 3;
  writing-mode: vertical-rl;
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.scrollcue::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--green-lt), transparent);
}
@media (max-width: 900px) { .scrollcue { display: none; } }

/* ---------- diagonal device (brand §4.5) ---------- */

.diagonal-top {
  --cut: clamp(28px, 5vw, 70px);
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--cut) * -1);
  position: relative;
  z-index: 2;
}

/* ---------- stat grid ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.16);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.stat {
  background: var(--teal);
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
}
.stat b {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.55rem;
}
.stat b small {
  font-size: 0.5em;
  letter-spacing: -0.01em;
  opacity: 0.75;
  font-weight: 300;
}
.stat span {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  display: block;
  line-height: 1.4;
}

/* ---------- generic 2-col ---------- */

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.cols--hold { align-items: center; }

/* ---------- rail diagram ---------- */

.rail {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 2.2rem;
}
.rail__line {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.rail__line--3 { grid-template-columns: repeat(3, 1fr); }
.rail__line::before {
  content: "";
  position: absolute;
  top: 7px;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(to right, var(--green) 0%, rgba(98,172,141,0.28) 100%);
}
.stop { position: relative; padding-top: 2rem; padding-inline-end: 0.75rem; }
.stop::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--green);
}
.stop--origin::before { background: var(--green); box-shadow: 0 0 0 5px rgba(98,172,141,0.22); }
.stop b {
  display: block;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stop span {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
@media (max-width: 720px) {
  .rail__line { grid-template-columns: 1fr; gap: 1.4rem; }
  .rail__line::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; background: linear-gradient(to bottom, var(--green), rgba(98,172,141,0.28)); }
  .stop { padding-top: 0; padding-left: 2.2rem; }
  .stop::before { top: 2px; }
}

/* ---------- figure / full-bleed image ---------- */

.figure { margin: 0; }
.figure img {
  width: 100%;
  height: auto;
}
.figure figcaption {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--teal-600);
  padding-top: 0.85rem;
  text-transform: uppercase;
  font-weight: 500;
}
.band--teal .figure figcaption,
.band--teal-900 .figure figcaption { color: rgba(255,255,255,0.55); }

.bleed {
  position: relative;
  height: clamp(60vh, 78vh, 860px);
  overflow: hidden;
  background: var(--teal-900);
}
.bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bleed__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--gut);
  background: linear-gradient(to top, rgba(20,52,58,0.85), transparent);
  color: var(--white);
}
.bleed__cap p {
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-family: var(--f-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 30ch;
  margin: 0 auto;
  width: 100%;
  max-width: var(--maxw);
}

/* ---------- mix bars ---------- */

.mix { margin-top: 2.5rem; display: grid; gap: 1.35rem; }
.mixrow { display: grid; grid-template-columns: 8.5rem 1fr auto; gap: 1rem; align-items: center; }
.mixrow__label { font-weight: 500; font-size: 0.95rem; }
.mixrow__track { height: 10px; background: rgba(38,82,89,0.1); position: relative; overflow: hidden; }
.band--teal .mixrow__track, .band--teal-900 .mixrow__track { background: rgba(255,255,255,0.12); }
.mixrow__fill {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  background: var(--teal-600);
  width: 0;
  transition: width 1.1s var(--ease);
}
.band--teal .mixrow__fill, .band--teal-900 .mixrow__fill { background: var(--green); }
.is-in .mixrow__fill { width: var(--w); }
.mixrow__val { font-variant-numeric: tabular-nums; font-weight: 500; font-size: 0.95rem; min-width: 6.5rem; text-align: end; }
.mixrow__val small { opacity: 0.6; font-weight: 300; }
@media (max-width: 560px) {
  .mixrow { grid-template-columns: 5.5rem 1fr auto; gap: 0.7rem; }
  .mixrow__label { font-size: 0.85rem; }
  .mixrow__val { font-size: 0.85rem; min-width: 5.5rem; }
}

/* ---------- data table ---------- */

.tablewrap { overflow-x: auto; margin-top: 2.5rem; -webkit-overflow-scrolling: touch; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 480px;
}
th, td {
  text-align: start;
  padding-block: 0.9rem;
  padding-inline: 0 1rem;
  border-bottom: 1px solid rgba(38,82,89,0.16);
  vertical-align: top;
}
th {
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  border-bottom-color: rgba(38,82,89,0.3);
}
td b { font-weight: 500; }
.band--teal th, .band--teal-900 th { color: var(--green-lt); border-bottom-color: rgba(255,255,255,0.3); }
.band--teal td, .band--teal-900 td { border-bottom-color: rgba(255,255,255,0.14); }
tr:last-child td { border-bottom: none; }

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1px;
  background: rgba(38,82,89,0.16);
  border: 1px solid rgba(38,82,89,0.16);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.card {
  background: var(--paper);
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
}
.band--paper-2 .card { background: var(--paper-2); }
/* Dark bands set colour:white, so the card surface must invert too —
   otherwise it's white text on the light default. Matches .panel. */
.band--teal .cards, .band--teal-900 .cards {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.18);
}
.band--teal .card, .band--teal-900 .card { background: rgba(255,255,255,0.07); }
.band--teal .card p, .band--teal-900 .card p { opacity: 0.88; }
.card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 0.7rem;
  line-height: 1.3;
}
.card p { font-size: 0.9rem; line-height: 1.6; margin: 0; opacity: 0.82; }
.card__n {
  font-family: var(--f-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--green);
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}

/* checklist */
.checks { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.checks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.9rem;
  align-items: start;
  font-size: 0.95rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.checks li:last-child { border-bottom: none; }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }

/* ---------- panorama band ---------- */

.pano {
  position: relative;
  width: 100%;
  background: var(--teal-900);
  overflow: hidden;
  line-height: 0;
}
.pano img { width: 100%; height: auto; display: block; }
.pano__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem var(--gut) 1.1rem;
  background: linear-gradient(to top, rgba(20,52,58,0.8), transparent);
  line-height: 1.5;
}
.pano__cap span {
  display: block;
  max-width: var(--maxw);
  margin-inline: auto;
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
/* the source is ~6:1 — too shallow to read on a phone, so crop instead */
@media (max-width: 900px) {
  .pano { height: 44vh; }
  .pano img { height: 100%; object-fit: cover; object-position: 62% center; }
}

/* ---------- highlight panel ---------- */

.panel {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--teal);
  color: var(--white);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  border-inline-start: 3px solid var(--green);
}
.band--teal .panel, .band--teal-900 .panel {
  background: rgba(255,255,255,0.06);
  border-inline-start-color: var(--green);
}
.panel__eyebrow {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-lt);
  margin: 0 0 1.1rem;
}
.panel h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0 0 1.2rem;
  max-width: 26ch;
}
.panel p { color: rgba(255,255,255,0.84); font-size: 0.98rem; }
.panel .xs { color: rgba(255,255,255,0.6); }
.panel__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}

/* ---------- plans ---------- */

.plan {
  background: var(--white);
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid rgba(38,82,89,0.14);
}
.plan img { width: 100%; height: auto; }
.plan__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: clamp(0.9rem, 2vw, 1.4rem);
  padding-top: 0.9rem;
  border-top: 1px solid rgba(38,82,89,0.14);
}
.plan__cap b {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.plan__cap span { font-size: 0.8rem; opacity: 0.7; }
.plan__cap code {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--teal-600);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  opacity: 0.85;
}
.plan__desc { font-size: 0.85rem; opacity: 0.78; margin: 0.5rem 0 0; max-width: 60ch; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

/* click to open full-resolution drawing */
.plan__zoom {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.plan__zoom::after {
  content: attr(data-zoom);
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--white);
  background: var(--teal-600);
  padding: 0.45rem 0.7rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}
.plan__zoom:hover::after,
.plan__zoom:focus-visible::after { opacity: 1; transform: none; }
.plan__zoom:focus-visible { outline: 2px solid var(--teal-600); outline-offset: 3px; }
@media (hover: none) {
  .plan__zoom::after { opacity: 1; transform: none; }
}

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.5rem, 1.2vw, 1rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--teal-900); }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.gallery figure:hover img { transform: scale(1.035); }
.g-8 { grid-column: span 8; }
.g-4 { grid-column: span 4; }
.g-6 { grid-column: span 6; }
.g-12 { grid-column: span 12; }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(20,52,58,0.8), transparent);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
@media (max-width: 760px) {
  .g-8, .g-4, .g-6 { grid-column: span 12; }
}

/* ---------- quote / pull ---------- */

.pull {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.028em;
  max-width: 22ch;
  margin: 0;
}
.pull em { font-style: normal; color: var(--green); }

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

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.person__role {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.person b { font-size: 1.3rem; font-family: var(--f-display); font-weight: 400; letter-spacing: -0.02em; display: block; margin-bottom: 0.15rem; }
.person span { font-size: 0.9rem; opacity: 0.7; display: block; margin-bottom: 1rem; }
.person a {
  display: block;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  padding-block: 0.55rem;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.person a:hover { border-color: var(--green); color: var(--green-lt); }

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

.foot {
  background: var(--teal-900);
  color: rgba(255,255,255,0.5);
  padding-block: 3rem;
  font-size: 0.75rem;
  line-height: 1.7;
}
.foot .wrap { display: grid; gap: 1.5rem; }
.foot strong { color: rgba(255,255,255,0.8); font-weight: 500; }
.foot__rule { height: 1px; background: rgba(255,255,255,0.14); }

/* ---------- reveal ---------- */

.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .mixrow__fill { transition: none; }
  .hero__media img { animation: none; }
}

/* ---------- print ---------- */
@media print {
  .topbar, .scrollcue { display: none; }
  .rv { opacity: 1; transform: none; }
  .hero { min-height: auto; }
  body { background: #fff; }
}


/* ==========================================================================
   RTL — Arabic edition. Only what logical properties can't express.
   ========================================================================== */

[dir="rtl"] body { font-family: var(--f-ar); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  font-family: var(--f-ar);
  letter-spacing: 0;
  line-height: 1.28;
}
[dir="rtl"] .h-xl { line-height: 1.2; }

/* mirror the brand diagonal cut */
[dir="rtl"] .diagonal-top {
  clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 100%);
}

/* rail line runs right-to-left */
[dir="rtl"] .rail__line::before {
  background: linear-gradient(to left, var(--green) 0%, rgba(98,172,141,0.28) 100%);
}
/* Arabic is cursive — vertical writing mode mangles it. Drop the cue. */
[dir="rtl"] .scrollcue { display: none; }
/* mirror the panorama crop so the terraces sit where the eye lands first in RTL */
@media (max-width: 900px) {
  [dir="rtl"] .pano img { object-position: 38% center; }
}

/* Letter-spacing breaks Arabic letter joining. Zero it wherever Arabic renders,
   but keep tracking on the Latin fragments (drawing refs, the EN switcher). */
[dir="rtl"] .eyebrow,
[dir="rtl"] .hero__place,
[dir="rtl"] .hero__fact span,
[dir="rtl"] .topbar__tag,
[dir="rtl"] .stat span,
[dir="rtl"] .stat b small,
[dir="rtl"] .stop span,
[dir="rtl"] .card__n,
[dir="rtl"] .person__role,
[dir="rtl"] .person span,
[dir="rtl"] .panel__eyebrow,
[dir="rtl"] .plan__cap b,
[dir="rtl"] .plan__cap span,
[dir="rtl"] .plan__zoom::after,
[dir="rtl"] .figure figcaption,
[dir="rtl"] .gallery figcaption,
[dir="rtl"] th {
  letter-spacing: 0;
}
[dir="rtl"] code, [dir="rtl"] .langswitch { letter-spacing: 0.08em; }
[dir="rtl"] .scrollcue::after { background: linear-gradient(to bottom, var(--green-lt), transparent); }

/* latin fragments (drawing numbers, emails, postcodes) stay LTR */
[dir="rtl"] code,
[dir="rtl"] .ltr { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .person a { direction: ltr; text-align: end; unicode-bidi: isolate; }

/* tabular figures read better unspaced in Arabic body copy */
[dir="rtl"] .stat b, [dir="rtl"] .hero__fact b, [dir="rtl"] .stop b {
  letter-spacing: 0;
}

@media (max-width: 720px) {
  [dir="rtl"] .rail__line::before {
    background: linear-gradient(to bottom, var(--green), rgba(98,172,141,0.28));
  }
}
