/* =========================================================================
   K HOLDINGS — main stylesheet
   Measurements follow the InDesign layout "K HOLDINGS Web VR_05" (1920px
   artboard, 30px outer gutter). Desktop values are exact at 1920px wide and
   scale fluidly down to 1280px; tablet / mobile layouts below that.
   ========================================================================= */

@font-face { font-family: "Almoni"; font-weight: 300; font-style: normal; font-display: swap;
  src: url("../fonts/almoni-light.woff2") format("woff2"); }
@font-face { font-family: "Almoni"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/almoni-regular.woff2") format("woff2"); }
@font-face { font-family: "Almoni"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/almoni-bold.woff2") format("woff2"); }
@font-face { font-family: "Engravers Gothic"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/engravers-gothic.woff2") format("woff2"); }

:root {
  --ink: #31363d;
  --dark: #31353c;
  --paper: #f2f2f2;
  --white: #ffffff;
  --black: #000000;
  --gold: #bc9456;
  --gold-text: #a57d41;      /* gold darkened just enough for 3:1 on #f2f2f2 (large text) */
  --coral: #dd6f52;
  --coral-text: #d65532;     /* coral darkened just enough for 3:1 on #f2f2f2 (large text) */
  --cta: #920609;
  --muted: #6e6e74;
  --field-border: #8a8a90;

  --c-energy: #c32353;
  --c-real-estate: #dd6f52;
  --c-transportation: #81934f;
  --c-infrastructure: #5d5d64;
  --c-retail: #217a8c;
  --c-travel: #c2c0c3;

  --gutter: 0px;      /* full-bleed: sections run edge to edge */
  --gap: 30px;
  --font: "Almoni", "Arial Hebrew", "Segoe UI", Arial, sans-serif;
  --font-display: "Engravers Gothic", "Copperplate Gothic", "Copperplate", "Segoe UI", Arial, sans-serif;
  --focus: #1b5fbf;

  /* user-adjustable (accessibility menu) */
  --text-scale: 1;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: calc(22px * var(--text-scale));
  line-height: 1.45;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

[hidden] { display: none !important; }

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

/* Focus: always visible for keyboard users, double ring works on light and dark */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #fff;
  border-radius: 1px;
}

.skip-link {
  position: absolute; z-index: 1000; top: 8px; right: 8px;
  padding: 12px 20px; background: var(--dark); color: #fff;
  font-size: 20px; font-weight: 400; text-decoration: none;
  transform: translateY(-200%); transition: transform .15s;
}
.skip-link:focus { transform: none; }

.frame { margin-inline: var(--gutter); }

/* -------------------------------------------------------------- header */
.site-header {
  position: relative;
  z-index: 50;
  margin: 0;
  height: 90px;
  display: flex;
  flex-direction: row-reverse;   /* logo on the left, menu on the right (as designed) — DOM keeps logo first */
  align-items: center;
  justify-content: space-between;
  padding-inline: 48px 26px;
  background: #e7e7e7 url("../img/texture-header-1672.webp") center / 100% 100% no-repeat;
}
.site-header__logo { display: block; flex: none; margin-top: 2px; }
.site-header__logo img { width: 189.7px; height: 63px; }

.site-nav__list { display: flex; align-items: center; gap: clamp(22px, 2.97vw, 57px); }
.site-nav__link {
  display: block;
  font-size: clamp(21px, 1.46vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  padding-block: 4px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-position: 50% 100%; background-repeat: no-repeat;
  transition: background-size .2s ease;
}
.site-nav__link:hover, .site-nav__link[aria-current="page"] { background-size: 100% 1px; }
.site-nav__link--cta { color: var(--cta); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; padding: 12px 10px;
  background: transparent; border: 0; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 28px; height: 2px; background: var(--ink); position: relative;
  transition: transform .2s, background-color .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; inset-inline: 0; }
.nav-toggle__bars::before { top: -9px; }
.nav-toggle__bars::after { top: 9px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-9px) rotate(-45deg); }

/* ----------------------------------------------------------- page title */
.page-title {
  display: flex;
  align-items: center;
  gap: 31px;
  margin: 25px 0 0;
  height: 30px;
  padding-inline: 35px 30px;
}
.page-title::after { content: ""; flex: 1; height: 1px; background: var(--gold); }
.page-title__text {
  font-size: calc(33px * var(--text-scale));
  font-weight: 300;
  line-height: 1;
  color: var(--gold-text);
  white-space: nowrap;
}
.page-title--coral::after { background: var(--coral); }
.page-title--coral .page-title__text { color: var(--coral-text); }
.page-title--section { margin-top: 38px; margin-bottom: 34px; }

/* ----------------------------------------------------------- composites */
.art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.media-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------- hero */
.hero {
  position: relative;
  margin-top: 0;
  aspect-ratio: 1860 / 850;
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; top: 0; bottom: 0; right: 0;
  left: 9.8065%;               /* image starts at x=212.4 */
  clip-path: url(#clip-hero);
  background: #0b1a1f;
}
.hero__media::after {          /* the art direction darkens the photo toward the top right for the quote */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(200deg, rgba(4, 10, 14, .72) 0%, rgba(4, 10, 14, .35) 38%, rgba(4, 10, 14, 0) 62%),
    linear-gradient(rgba(8, 24, 30, .18), rgba(8, 24, 30, .18));
}
.hero .art { z-index: 3; }
.hero__quote {
  position: absolute; z-index: 4;
  top: 10.0%;
  right: 3.13%;
  display: flex;
  align-items: flex-start;
  color: #fff;
}
.hero__quote-mark { flex: none; width: 74.6px; height: 52.7px; margin-top: 27.8px; fill: var(--coral); }
.hero__quote-text {
  margin-inline-start: 28.5px;
  padding-inline-start: 34.8px;
  border-inline-start: 1.82px solid var(--coral);
  font-size: calc(clamp(24px, 1.884vw, 36.17px) * var(--text-scale));
  font-weight: 400;
  line-height: 1.4238;
  padding-block: 0 4px;
}
.hero__quote-text p { margin: 0; }

/* ------------------------------------------------------- carousel bits */
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 2.2s cubic-bezier(.45,0,.25,1), visibility 0s linear 2.2s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 2.2s cubic-bezier(.45,0,.25,1), visibility 0s; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-active { transition: none; } }

.dots { display: flex; align-items: center; gap: 0; direction: ltr; }
.dot {
  position: relative;
  width: 36.1px; height: 36px;
  padding: 0; margin: 0;
  background: transparent; border: 0; cursor: pointer;
}
.dot::before {
  content: ""; position: absolute; left: 7.35px; top: 7.3px;
  width: 21.4px; height: 21.4px;
  border: 1px solid #fff;
  background: transparent;
  transition: background-color .2s;
}
.dot[aria-current="true"]::before { background: #fff; }
.dot:hover::before { background: rgba(255,255,255,.45); }
.dot[aria-current="true"]:hover::before { background: #fff; }

.carousel-pause {
  width: 36px; height: 36px; padding: 0; margin: 0;
  background: transparent; border: 0; cursor: pointer; color: #fff;
  display: grid; place-items: center;
}
.carousel-pause svg { width: 16px; height: 16px; fill: currentColor; }
.carousel-pause .icon-play { display: none; }
.carousel-pause[aria-pressed="true"] .icon-play { display: block; }
.carousel-pause[aria-pressed="true"] .icon-pause { display: none; }

.hero__controls {
  position: absolute; z-index: 5;
  right: calc(18.4px - 7.35px);
  bottom: calc(17.3px - 7.3px);
  display: flex; align-items: center;
}
.hero__controls .dots { flex-direction: row-reverse; }

/* --------------------------------------------------------------- intro */
.intro {
  position: relative;
  margin-top: 28px;
  min-height: 579px;
  padding: 61px 40px 78px;
  text-align: center;
  background: var(--paper) url("../img/texture-about-1672.webp") center / 100% 100% no-repeat;
}
.intro--page { margin-top: 30px; min-height: 495.3px; padding: 78px 40px 50px; background-image: url("../img/texture-about-page-1672.webp"); }
.intro__title {
  font-size: calc(44px * var(--text-scale));
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .02em;
  color: #93703a;           /* darker gold: ≥3:1 on the silver texture */
  margin-bottom: 52px;
}
.intro__body { max-width: 1006px; margin-inline: auto; }
.intro__body p {
  font-size: calc(22px * var(--text-scale));
  line-height: 35px;
  margin-bottom: 15px;
  letter-spacing: -.022em;
  text-align: justify;
  text-align-last: center;
}
.intro__body p:last-child { margin-bottom: 0; }
.intro__more { margin-top: 51px; }

.more-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: calc(27px * var(--text-scale));
  font-weight: 300; line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
}
.more-link svg { width: 23.9px; height: 28.6px; flex: none; fill: var(--gold); transition: transform .2s; }
.more-link:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.more-link:hover svg { transform: translateX(-4px); }
.more-link--coral svg { fill: var(--coral); }

/* -------------------------------------------------------- domain tiles */
.tiles {
  margin-top: 29.6px;
  margin-inline: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4.75px;
}
.tiles--page { margin-top: 0; }
.tile {
  position: relative;
  display: block;
  container-type: inline-size;
  aspect-ratio: 306.4 / 722.2;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--dark);
  isolation: isolate;
}
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(70% 34% at 50% 19%, rgba(20, 22, 26, .22), rgba(20, 22, 26, 0) 100%),
    linear-gradient(to bottom, rgba(23, 25, 29, .58) 0%, rgba(23, 25, 29, .48) 28%, rgba(23, 25, 29, .12) 52%, rgba(23, 25, 29, 0) 64%);
}
.tile__head {
  position: absolute; z-index: 2; inset-inline: 0; top: 6.76%;
  display: flex; flex-direction: column; align-items: center;
}
.tile__title {
  margin-top: 15.6px;
  font-size: calc(27px * var(--text-scale));
  font-weight: 400;
  line-height: 1.15;
  text-shadow: 0 1px 12px rgba(0,0,0,.25);
}
.tile__caption {
  position: absolute; z-index: 2; inset-inline: 0; bottom: 0;
  height: 30.63%;
  padding: 26px 18px 0;
  background: var(--dark) url("../img/texture-header-1672.webp") center / cover;
  background-blend-mode: multiply;
  text-align: center;
  font-size: calc(22px * var(--text-scale));
  line-height: 30px;
  transform: translateY(101%);
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.tile__caption-title { display: block; padding-bottom: 13px; }
.tile__caption-title::after { content: ""; display: block; width: 55.8px; height: 1px; margin: 12px auto 0; background: rgba(255,255,255,.9); }
.tile:hover .tile__caption, .tile:focus-visible .tile__caption, .tile.is-preview .tile__caption { transform: none; }
.tile:hover .tile__img, .tile:focus-visible .tile__img { transform: scale(1.04); }
.tile:focus-visible { outline: none; box-shadow: none; }
.tile:focus-visible::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px var(--focus);
}
@media (prefers-reduced-motion: reduce) { .tile__img, .tile__caption { transition: none; } }

/* badge ornament (category label) */
.badge {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 174px; height: 106.2px;
  color: var(--badge-color, currentColor);
}
.badge--wide { width: 224.8px; }
.badge > svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; overflow: visible; }
.badge__label {
  position: relative;
  font-family: var(--font-display);
  font-size: calc(26.46px * var(--text-scale));
  font-weight: 400;
  line-height: 1;
  letter-spacing: .015em;
  color: var(--badge-text, #000);
  padding-top: 1px;
  white-space: nowrap;
}
.tile .badge__label { color: #fff; }
/* tile badges scale with the tile (306.4px wide in the design) */
.tile .badge { width: min(174px, 56.8cqw); height: auto; aspect-ratio: 174 / 106.2; }
.tile .badge--wide { width: min(224.8px, 73.4cqw); aspect-ratio: 224.8 / 106.2; }
.tile .badge__label { font-size: min(26.46px, 8.64cqw); }
.tile .badge--wide .badge__label { font-size: min(26.46px, 8.2cqw); }
.tile__title { font-size: calc(min(27px, 9cqw) * var(--text-scale)); white-space: normal; padding-inline: 6px; text-align: center; }

/* ------------------------------------------------------ split sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-inline: var(--gutter);
  scroll-margin-top: 20px;
}
.split + .split { margin-top: 0; }
.split--first { margin-top: 29.9px; }
.split > * { min-width: 0; }
.split__media {
  position: relative;
  background: #111;
  overflow: hidden;
}
/* The text column carries the 930:850 proportion; it grows if its content is taller,
   and the photo column simply stretches to the row height. */
.split__text { aspect-ratio: 930 / 850; }
.split__media > img, .split__media .slides { position: absolute; inset: 0; }
.split__media > img { width: 100%; height: 100%; object-fit: cover; }
.split__text {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 34px 40px 76px;
  text-align: center;
}
.split__text--top { padding-bottom: 52px; }
.split__text--top { justify-content: flex-start; }
.split__heading { display: flex; flex-direction: column; align-items: center; font-weight: 400; }
.split__title {
  margin-top: 13.2px;
  font-size: calc(27px * var(--text-scale));
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
}
.split__body { width: 100%; max-width: 606px; margin-top: 34px; }
.split__body p {
  font-size: calc(22px * var(--text-scale));
  line-height: 32px;
  margin-bottom: 28px;
  letter-spacing: -.01em;
  text-align: justify;
  text-align-last: center;
}
.split__body--loose p { line-height: 38.7px; margin-bottom: 21.3px; }
.split__body p:last-child { margin-bottom: 0; }
.split__more { margin-top: 56px; }

/* Real-estate page variant: coral headings without badge */
.split__h { font-size: calc(40px * var(--text-scale)); font-weight: 400; line-height: 1.15; color: var(--coral-text); }
.split__h + .split__body { margin-top: 37px; }
.split__subhead { margin-top: 64px; font-size: calc(23.9px * var(--text-scale)); font-weight: 700; line-height: 1.2; }

/* slider bar under a gallery */
.gallery-bar {
  position: absolute; z-index: 3; inset-inline: 0; bottom: 0;
  height: 63.6px;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: 24.5px 31px;     /* RTL: right 24.5 (caption), left 31 (dots) */
  background: var(--dark);
  color: #fff;
}
.gallery-bar__caption { font-size: calc(27px * var(--text-scale)); font-weight: 400; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery-bar__controls { display: flex; align-items: center; direction: ltr; margin-right: auto; }
.gallery-bar__controls .carousel-pause { order: 2; }

.ninety-two { position: absolute; z-index: 2; left: 4.12%; top: 6.45%; width: 19.67%; height: auto; fill: #fff; }

/* video button */
.video-link {
  display: inline-flex; flex-direction: column; align-items: center; gap: 19px;
  margin-top: 0;
  background: none; border: 0; padding: 8px; cursor: pointer;
  font-size: calc(23.87px * var(--text-scale)); font-weight: 300; color: var(--ink);
}
.video-link svg { width: 54px; height: 54px; transition: transform .2s; }
.video-link:hover svg { transform: scale(1.08); }
.video-link b { font-weight: 700; }
.video-link--spaced { margin-top: 140px; }
.split__text--video { justify-content: flex-start; padding-top: 64px; }

/* donut chart */
.donut { width: 418px; max-width: 100%; height: auto; margin-top: 30px; }
.donut text { font-family: var(--font); font-weight: 700; font-size: 24px; fill: #fff; }

/* ----------------------------------------------------------------- team */
.leader {
  position: relative;
  margin-inline: var(--gutter);
  aspect-ratio: 1860 / 850;
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.leader + .leader { margin-top: 30px; }
.leader__photo { position: absolute; top: 0; bottom: 0; }
.leader--photo-right .leader__photo { left: 29.473%; right: 0; clip-path: url(#clip-team-right); }
.leader--photo-left .leader__photo { left: 0; width: 71.29%; clip-path: url(#clip-team-left); }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; }
.leader .art { z-index: 2; }
.leader__text {
  position: absolute; z-index: 3; top: 50%;
  transform: translateY(-50%);
  width: 22%;
  text-align: center;
}
.leader--photo-right .leader__text { left: 4.4%; top: 46%; }
.leader--photo-left .leader__text { right: 3.25%; top: 48.4%; }
.leader__name {
  font-size: calc(35px * var(--text-scale));
  font-weight: 400;
  line-height: 42px;
  color: var(--gold-text);
}
.leader__role { display: block; }
.leader__bio { margin-top: 26px; }
.leader__bio p { font-size: calc(22px * var(--text-scale)); line-height: 32px; margin-bottom: 12px; }
.leader__bio p:last-child { margin-bottom: 0; }

.team-grid {
  margin: 30px var(--gutter) 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6.5px;
}
.member { position: relative; aspect-ratio: 366.4 / 555.7; overflow: hidden; background: #3a4045; color: #fff; }
.member img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member__text { position: relative; z-index: 1; padding: 38px 12px 0; text-align: center; }
.member__name { font-size: calc(32px * var(--text-scale)); font-weight: 300; line-height: 38px; }
.member__role { font-size: calc(25px * var(--text-scale)); font-weight: 300; line-height: 27.4px; }

/* --------------------------------------------------- real estate page */
.re-hero {
  position: relative;
  margin: 29px var(--gutter) 0;
  aspect-ratio: 1860 / 480;
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
  display: grid; place-items: center;
}
.re-hero__photo { position: absolute; inset: 0; clip-path: url(#clip-re-hero); }
.re-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.re-hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(300px 250px at 50.8% 48.5%, rgba(6, 18, 40, .5), rgba(6, 18, 40, 0)),
    linear-gradient(90deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35));
}
.re-hero .art { z-index: 2; }
.re-hero__badge {
  position: relative; z-index: 3;
  width: 358px; height: 218.4px;
  margin-left: 0.7%;
  margin-top: 6px;
  color: #fff;
  display: grid; place-items: center;
}
.re-hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; }
.re-hero__badge span {
  position: relative;
  font-family: var(--font-display);
  font-size: calc(43.32px * var(--text-scale));
  line-height: 1;
  letter-spacing: .015em;
  padding-top: 2px;
}

.band {
  margin: 25px var(--gutter) 0;
  min-height: 142.7px;
  display: grid; place-items: center;
  padding: 20px;
  text-align: center;
  background: var(--paper) url("../img/texture-band-1672.webp") center / 100% 100% no-repeat;
}
.band__title { font-size: calc(44px * var(--text-scale)); font-weight: 400; line-height: 1.15; color: var(--coral-text); letter-spacing: .01em; }
.band + .split { margin-top: 9px; }

/* -------------------------------------------------------------- contact */
.contact {
  position: relative;
  margin: 30px var(--gutter) 0;
  min-height: 313px;
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: 20px;
}
.contact__bg {
  position: absolute; top: 0; bottom: 0; right: 0; left: 13.957%;
  clip-path: url(#clip-contact);
  background: #dcdcdc url("../img/texture-contact-1600.webp") center / 100% 100% no-repeat;
}
.contact .art { z-index: 1; }
.contact__inner {
  position: relative; z-index: 2;
  width: 56.07%;
  margin-inline-start: 3.403%;
  padding: 34px 0 26px;
}
.contact__title { font-size: calc(43.92px * var(--text-scale)); font-weight: 300; line-height: 1.12; margin-bottom: 25px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 15.1px;
  row-gap: 18px;
}
.form-row2 { grid-column: 1 / -1; display: flex; gap: 13.7px; }
.form-row2 .field--interest { flex: 1; }
.form-actions { flex: none; width: 191.9px; }
.field { position: relative; align-self: start; }
.field__control {
  display: block;
  width: 100%;
  height: 51px;
  padding: 16px 26px 0 14px;
  border: 1px solid var(--field-border);
  border-radius: 0;
  background: #fff;
  font-size: calc(22px * var(--text-scale));
  font-weight: 300;
  color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.field__label {
  position: absolute;
  right: 26px; top: 25.5px;      /* centred on the 51px input, not the wrapper (errors grow it) */
  transform: translateY(-50%);
  font-size: calc(27px * var(--text-scale));
  font-weight: 300;
  line-height: 1;
  color: var(--muted);
  pointer-events: none;
  transform-origin: right center;
  transition: top .15s ease, transform .15s ease, font-size .15s ease;
  white-space: nowrap;
}
.field__control:focus + .field__label,
input.field__control:not(:placeholder-shown) + .field__label,
.field--filled .field__label {
  top: 11px;
  transform: none;
  font-size: calc(15px * var(--text-scale));
}
select.field__control { padding-left: 48px; cursor: pointer; color: var(--ink); }
.field--interest .field__control:invalid:not(:focus) { color: transparent; }
.field__arrow { position: absolute; left: 26.7px; top: 18.4px; width: 16.1px; height: 14px; fill: #959398; pointer-events: none; }
.field__control[aria-invalid="true"] { border-color: #b3261e; box-shadow: inset 0 0 0 1px #b3261e; }
.field__error { display: block; margin-top: 4px; font-size: calc(17px * var(--text-scale)); font-weight: 400; line-height: 1.2; color: #a1150b; min-height: 0; }
.field__error:empty { display: none; }

.btn-send {
  width: 100%;
  height: 51px;
  border: 0;
  padding: 0 0 2px;
  background: linear-gradient(90deg, #dd6f52 0%, #dd6f52 38%, #c43a24 100%);
  color: #fff;
  font-size: calc(27px * var(--text-scale));
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: filter .2s;
}
.btn-send:hover { filter: brightness(1.06) saturate(1.05); }
.btn-send[disabled] { opacity: .7; cursor: progress; }

.consent-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 20px; margin-top: 18px; }
.consent { display: flex; align-items: flex-start; gap: 13px; font-size: calc(20px * var(--text-scale)); line-height: 1.2; }
.consent input {
  flex: none;
  width: 24.4px; height: 24.4px; margin: 0;
  -webkit-appearance: none; appearance: none;
  border: 1.5px solid var(--dark); background: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.consent input:checked { background: var(--dark); }
.consent input:checked::after { content: ""; width: 7px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.consent label { cursor: pointer; padding-top: 1px; }
.form-note { padding-top: 3px; font-size: calc(16px * var(--text-scale)); line-height: 1.35; color: #4a4f57; }
.form-note a { color: inherit; }
.form-status { margin-top: 10px; font-size: calc(20px * var(--text-scale)); font-weight: 400; }
.form-status:empty { display: none; }
.form-status--ok { color: #1e6b33; }
.form-status--error { color: #a1150b; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* --------------------------------------------------------------- footer */
.site-footer { margin: 10.8px var(--gutter) 0; }
.site-footer__bar {
  min-height: 63.6px;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  padding: 10px 20px;
  background: var(--dark);
  color: #fff;
  font-size: calc(20px * var(--text-scale));
  font-weight: 300;
  letter-spacing: .02em;
  line-height: 1.3;
  font-style: normal;
}
.site-footer__bar a { color: #fff; text-decoration: none; }
.site-footer__bar a:hover { text-decoration: underline; }
.site-footer__sep { margin-inline: 14px; }
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px;
  padding: 7px 10px 9px;
  font-size: calc(15px * var(--text-scale));
  font-weight: 400;
  line-height: 1.2;
  color: #5a5f66;
}
.site-footer__legal a { color: inherit; text-decoration: none; display: inline-block; padding-block: 6px; }
.req { color: #a1150b; margin-inline-start: 2px; }
.site-footer__legal a:hover { text-decoration: underline; }

/* ---------------------------------------------------- legal / text pages */
.doc {
  margin: 30px var(--gutter) 60px;
  padding: 60px 20px 70px;
  background: var(--paper);
}
.doc__inner { max-width: 900px; margin-inline: auto; }
.doc h1 { font-size: calc(44px * var(--text-scale)); font-weight: 400; color: var(--gold-text); margin-bottom: 10px; line-height: 1.2; }
.doc .doc__updated { color: #575c63; font-size: calc(18px * var(--text-scale)); margin-bottom: 36px; }
.doc h2 { font-size: calc(28px * var(--text-scale)); font-weight: 400; margin: 36px 0 10px; line-height: 1.25; }
.doc p, .doc li { font-size: calc(21px * var(--text-scale)); line-height: 1.6; }
.doc p + p { margin-top: 12px; }
.doc ul { list-style: disc; padding-inline-start: 26px; margin-top: 8px; }
.doc li + li { margin-top: 6px; }
.doc a { color: #8a1206; text-underline-offset: 3px; }
.doc .callout { margin-top: 18px; padding: 16px 20px; background: #fff; border-inline-start: 4px solid var(--gold); }

.error-page { text-align: center; }
.error-page .doc__inner { display: grid; justify-items: center; gap: 18px; }
.error-page .code { font-family: var(--font-display); font-size: 96px; color: var(--gold-text); line-height: 1; }

/* ------------------------------------------------------- video dialog */
.video-dialog { width: min(1100px, 92vw); padding: 0; border: 0; background: #000; color: #fff; }
.video-dialog::backdrop { background: rgba(10, 12, 15, .82); }
.video-dialog__close { position: absolute; top: 8px; left: 8px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.video-dialog__body { aspect-ratio: 16 / 9; display: grid; place-items: center; }
.video-dialog__body video, .video-dialog__body iframe { width: 100%; height: 100%; border: 0; }
.video-dialog__msg { padding: 30px; font-size: 22px; text-align: center; }

/* ------------------------------------------------ accessibility widget */
.a11y-toggle {
  position: fixed; z-index: 900; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 0; border-radius: 0 6px 6px 0;
  background: #1f4e9a; color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.a11y-toggle svg { width: 32px; height: 32px; fill: currentColor; }
.a11y-panel {
  position: fixed; z-index: 901; left: 60px; top: 50%;
  transform: translateY(-50%);
  width: 300px; max-height: 90vh; overflow: auto;
  padding: 18px 18px 14px;
  background: #fff; color: #111;
  border: 1px solid #c9c9cf; border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  font-size: 18px; font-weight: 400;
}
.a11y-panel h2 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.a11y-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-panel button {
  min-height: 48px; padding: 8px; border: 1px solid #b8b8c0; border-radius: 6px; background: #f6f6f8;
  font-size: 16px; font-weight: 400; line-height: 1.2; cursor: pointer; color: #111;
}
.a11y-panel button[aria-pressed="true"] { background: #1f4e9a; border-color: #1f4e9a; color: #fff; }
.a11y-panel .a11y-panel__wide { grid-column: span 2; }
.a11y-panel__links { margin-top: 12px; display: flex; justify-content: space-between; gap: 10px; font-size: 16px; }
.a11y-panel__links a { color: #1f4e9a; }

/* user preference classes set by the widget */
html.a11y-contrast { --ink: #000; --dark: #000; --muted: #222; --gold-text: #5c3f12; --coral-text: #8a2a10; --cta: #7a0000; --field-border: #000; }
html.a11y-contrast body { background: #fff; }
html.a11y-contrast .tile::before, html.a11y-contrast .hero__media::after { background: rgba(0,0,0,.6); }
html.a11y-contrast .intro, html.a11y-contrast .band, html.a11y-contrast .site-header, html.a11y-contrast .doc { background-image: none; background-color: #fff; outline: 2px solid #000; outline-offset: -2px; }
html.a11y-contrast .site-footer__legal { color: #000; }
html.a11y-links a:not(.tile):not(.site-header__logo) { text-decoration: underline !important; text-underline-offset: 4px; }
html.a11y-links .site-nav__link { background-size: 100% 2px; }
html.a11y-readable body, html.a11y-readable .badge__label, html.a11y-readable .re-hero__badge span { font-family: Arial, "Segoe UI", sans-serif; letter-spacing: .01em; }
html.a11y-readable body { font-weight: 400; }
html.a11y-grayscale body > *:not(.a11y-panel):not(.a11y-toggle) { filter: grayscale(1); }
html.a11y-no-motion *, html.a11y-no-motion *::before, html.a11y-no-motion *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='48' viewBox='0 0 40 48'%3E%3Cpath d='M2 2l0 38 10-9 7 15 7-3-7-15 14 0z' fill='%23000' stroke='%23fff' stroke-width='2.5'/%3E%3C/svg%3E") 2 2, auto !important; }

/* Exact InDesign line breaks on desktop; normal reflow elsewhere or when text is enlarged */
.ln { display: inline; }
@media (min-width: 1600px) {
  html:not(.a11y-scaled):not(.a11y-readable) .ln { display: block; text-align: justify; text-align-last: justify; }
  html:not(.a11y-scaled):not(.a11y-readable) .ln:last-child { text-align-last: center; }
}

/* ===================================================== responsive: ≤1279 */
@media (max-width: 1279.98px) {
  :root { --gutter: 0px; }
  .site-header { margin-top: 0; height: 76px; padding-inline: 16px 18px; }
  .site-header__logo img { width: 158px; height: 52.5px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav { position: absolute; top: 100%; inset-inline: 0; }
  .site-nav__list {
    display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 0;
    background: #fff;
    box-shadow: 0 16px 30px rgba(0,0,0,.18);
    border-top: 1px solid #ddd;
  }
  .site-nav.is-open .site-nav__list { display: flex; }
  .site-nav__link { font-size: calc(22px * var(--text-scale)); padding: 14px 24px; background-image: none; }
  .site-nav__link[aria-current="page"] { font-weight: 700; }
  .site-nav__link:hover { background: var(--paper); }

  .hero__quote-mark { width: 52px; height: 37px; margin-top: 18px; }
  .hero__quote-text { margin-inline-start: 18px; padding-inline-start: 22px; }
  .tiles { margin-inline: var(--gutter); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .tile { aspect-ratio: 306.4 / 520; }
  .tile__caption { height: auto; padding-bottom: 22px; }

  .split__text, .split__text--top { aspect-ratio: auto; padding: 50px 28px 60px; }
  .video-link--spaced { margin-top: 60px; }

  .leader { aspect-ratio: auto; display: grid; background: var(--paper); }
  .leader .art { display: none; }
  .leader__photo { position: relative; inset: auto !important; width: 100% !important; aspect-ratio: 4 / 3; clip-path: none !important; }
  .leader__text { position: static; transform: none; width: auto; padding: 36px 24px 44px; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .re-hero { aspect-ratio: 1860 / 700; }
  .re-hero__badge { width: 260px; height: 158.6px; }
  .re-hero__badge span { font-size: calc(31px * var(--text-scale)); }

  .contact { min-height: 0; }
  .contact .art, .contact__bg { display: none; }
  .contact { background: var(--paper) url("../img/texture-contact-1600.webp") center / cover; }
  .contact__inner { width: auto; margin: 0; padding: 40px 24px 36px; }
}

/* ===================================================== single column: ≤1023 */
@media (max-width: 1023.98px) {
  .split { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 16 / 10; order: -1; }
  .split__text, .split__text--top { padding: 54px 24px 64px; justify-content: flex-start; }
  .video-link--spaced { margin-top: 36px; }
}

/* ======================================================= mobile: ≤899 */
@media (max-width: 899.98px) {
  :root { --gutter: 0px; }
  body { font-size: calc(19px * var(--text-scale)); }
  .site-header { margin-top: 0; height: 64px; }
  .site-header__logo img { width: 132px; height: 44px; }

  .hero { aspect-ratio: auto; height: min(78vh, 560px); min-height: 420px; margin-top: 0; }
  .hero__media { left: 0; clip-path: none; }
  .hero .art { display: none; }
  .hero__media::after { background: linear-gradient(180deg, rgba(4,10,14,.78) 0%, rgba(4,10,14,.45) 45%, rgba(4,10,14,.15) 100%); }
  .hero__quote { top: 34px; right: 18px; left: 18px; }
  .hero__quote-mark { width: 40px; height: 28px; margin-top: 10px; }
  .hero__quote-text { font-size: calc(20px * var(--text-scale)); margin-inline-start: 12px; padding-inline-start: 14px; }

  .intro, .intro--page { margin-top: 12px; padding: 44px 18px 50px; min-height: 0; background-size: cover; }
  .intro__title { font-size: calc(32px * var(--text-scale)); margin-bottom: 26px; }
  .intro__body p { font-size: calc(19px * var(--text-scale)); line-height: 30px; }
  .intro__more { margin-top: 34px; }
  .more-link { font-size: calc(23px * var(--text-scale)); }

  .page-title { margin-top: 22px; gap: 16px; height: auto; }
  .page-title__text { font-size: calc(28px * var(--text-scale)); }
  .page-title--section { margin-top: 26px; margin-bottom: 18px; }

  .tiles { margin-top: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile { aspect-ratio: 3 / 4; }
  .tile__head { top: 7%; }
  .badge { width: 136px; height: 83px; }
  .badge--wide { width: 176px; }
  .badge__label { font-size: calc(19px * var(--text-scale)); }
  .tile__title { margin-top: 8px; }
  .team-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 4px); justify-self: center; }
  .tile__caption { display: none; }
  .tile::before { background: linear-gradient(rgba(23,25,29,.78), rgba(23,25,29,.55) 45%, rgba(23,25,29,0) 72%); }
  .tile__title, .tile .badge__label { text-shadow: 0 0 8px rgba(0,0,0,.85); }
  .gallery-bar__caption { white-space: normal; }

  .split__media { aspect-ratio: 4 / 3.4; }
  .split__text, .split__text--top { padding: 40px 18px 50px; }
  .split__title { font-size: calc(24px * var(--text-scale)); }
  .split__body { margin-top: 24px; }
  .split__body p, .split__body--loose p { font-size: calc(19px * var(--text-scale)); line-height: 30px; margin-bottom: 18px; }
  .split__h { font-size: calc(32px * var(--text-scale)); }
  .gallery-bar { height: 56px; padding-inline: 16px 10px; }
  .gallery-bar__caption { font-size: calc(21px * var(--text-scale)); }
  .ninety-two { width: 30%; }

  .leader__name { font-size: calc(29px * var(--text-scale)); line-height: 36px; }
  .leader__bio p { font-size: calc(19px * var(--text-scale)); line-height: 29px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .member__text { padding-top: 20px; }
  .member__name { font-size: calc(23px * var(--text-scale)); line-height: 28px; }
  .member__role { font-size: calc(18px * var(--text-scale)); line-height: 22px; }

  .re-hero { aspect-ratio: 4 / 3; margin-top: 14px; }
  .re-hero__badge { width: 210px; height: 128px; margin: 0; }
  .re-hero__badge span { font-size: calc(25px * var(--text-scale)); }
  .band { margin-top: 12px; min-height: 0; padding: 30px 16px; }
  .band__title { font-size: calc(30px * var(--text-scale)); }
  .donut { width: 320px; }

  .contact { margin-top: 12px; }
  .contact__title { font-size: calc(36px * var(--text-scale)); }
  .form-grid { grid-template-columns: 1fr; row-gap: 12px; }
  .form-row2 { grid-column: auto; flex-direction: column; gap: 12px; }
  .form-actions { width: 100%; }
  .field__label { font-size: calc(23px * var(--text-scale)); right: 18px; }
  .field__control { padding-right: 18px; }

  .site-footer { margin-top: 10px; }
  .site-footer__bar { font-size: calc(17px * var(--text-scale)); padding: 14px 12px; flex-direction: column; gap: 4px; }
  .site-footer__sep { display: none; }

  .doc { margin: 12px var(--gutter) 30px; padding: 36px 16px 44px; }
  .doc h1 { font-size: calc(34px * var(--text-scale)); }

  .a11y-toggle { top: auto; bottom: 16px; transform: none; width: 40px; height: 40px; }
  .a11y-panel { left: 8px; right: 8px; width: auto; top: auto; bottom: 70px; transform: none; }
}

@media (max-width: 599.98px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 5px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 0; height: 88vh; }
}
@media (max-width: 420px) {
  .tile { aspect-ratio: 3 / 4.2; }
  .badge { width: 118px; height: 72px; }
  .badge--wide { width: 150px; }
  .badge__label { font-size: calc(16.5px * var(--text-scale)); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .intro__body p, .split__body p { text-align: center; }
}

/* ----------------------------------------------------------------- print */
@media print {
  .site-nav, .nav-toggle, .a11y-toggle, .a11y-panel, .hero__controls, .gallery-bar__controls, .contact, .skip-link { display: none !important; }
  .hero, .leader, .re-hero { aspect-ratio: auto; height: 300px; }
  body { font-size: 12pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10pt; }
}

/* keep hyphenated words and dashes together (no line break at '-') */
.nw { white-space: nowrap; }
