/* =====================================================================
   Rebel Hotel Company — site styles
   Built to the Rebel Brand Guidelines 2025:
     Soft White #f9f7f6 is the foundation, Slate Blue #2d4b5e the accent,
     Charcoal #1d1f1c for text only (never a dominant background).
     Didot for titles, headlines and calls to action; Futura PT for body copy.
     Topographic lines as a subtle texture: tone-on-tone, or fine white lines on Slate.
   ===================================================================== */

/* ---------- Fonts (converted from the brand OTFs in Rebel Updated Branding Guidelines/Fonts) */
@font-face { font-family: "Didot"; src: url("../fonts/didot-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Didot"; src: url("../fonts/didot-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Didot"; src: url("../fonts/didot-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Futura PT"; src: url("../fonts/futura-pt-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Futura PT"; src: url("../fonts/futura-pt-book.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Futura PT"; src: url("../fonts/futura-pt-book-oblique.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Futura PT"; src: url("../fonts/futura-pt-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Futura PT"; src: url("../fonts/futura-pt-demi.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens */
:root {
  --soft-white: #f9f7f6;
  --slate: #2d4b5e;
  --charcoal: #1d1f1c;
  --white: #ffffff;

  --ink: var(--charcoal);
  --ink-soft: rgba(29, 31, 28, 0.74);
  --ink-faint: rgba(29, 31, 28, 0.5);
  --line: rgba(29, 31, 28, 0.14);
  --line-light: rgba(249, 247, 246, 0.28);
  --on-slate: var(--soft-white);
  --on-slate-soft: rgba(249, 247, 246, 0.78);

  --serif: "Didot", "Didot LT STD", "Bodoni 72", "Bodoni MT", "GFS Didot", Georgia, serif;
  --sans: "Futura PT", "Futura", "Century Gothic", "Avenir Next", "Trebuchet MS", sans-serif;

  --wrap: max(1320px, min(84vw, 1800px));   /* content column widens on large screens and when zoomed out */
  --wrap-narrow: 860px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(80px, 10vw, 150px);
  --header-h: 92px;
  --header-solid-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-solid-h, 76px) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--soft-white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.005em; }
em, .italic { font-style: italic; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .banner :focus-visible { outline-color: var(--soft-white); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 12px 18px; background: var(--slate); color: var(--soft-white); text-decoration: none; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(var(--wrap-narrow) + 2 * var(--gutter)); }
.section { padding: var(--section) 0; position: relative; }
.section--white { background: var(--white); }
.section--tight { padding: calc(var(--section) * .6) 0; }

/* ---------- Type scale */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-weight: 600; font-size: .78rem; line-height: 1.2;
  letter-spacing: .24em; text-transform: uppercase; color: var(--slate);
  margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow--center { justify-content: center; }
.on-dark .eyebrow, .hero .eyebrow, .banner .eyebrow, .verticals .eyebrow, .platforms .eyebrow, .cta .eyebrow { color: var(--soft-white); }

.display { font-size: clamp(2.7rem, 6.4vw, 6rem); line-height: 1.02; }
.h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); line-height: 1.08; }
.h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.15; }
.statement { font-size: clamp(1.9rem, 3.4vw, 3.15rem); line-height: 1.18; max-width: 22em; margin: 0 auto; }
.lede { font-size: clamp(1.15rem, 1.4vw, 1.3rem); color: var(--ink-soft); line-height: 1.7; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }

/* ---------- Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 16px 30px;
  font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--slate); background: transparent; color: var(--slate);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--slate); color: var(--soft-white); }
.btn--solid { background: var(--slate); color: var(--soft-white); }
.btn--solid:hover { background: transparent; color: var(--slate); }
.btn--light { border-color: var(--soft-white); color: var(--soft-white); }
.btn--light:hover { background: var(--soft-white); color: var(--slate); }
.btn--light-solid { background: var(--soft-white); border-color: var(--soft-white); color: var(--slate); }
.btn--light-solid:hover { background: transparent; color: var(--soft-white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--slate); text-decoration: none; padding: 6px 0; border-bottom: 1px solid currentColor;
}
.link-arrow::after { content: "\2192"; font-size: 1rem; letter-spacing: 0; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--soft-white); }

/* ---------- Topographic texture */
.topo { position: relative; isolation: isolate; }
.topo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/texture/topo-slate.svg") center / cover no-repeat;
  opacity: .07;
}
.topo--white::before { background-image: url("../img/texture/topo-white.svg"); opacity: .16; }
.topo--right::before { background-position: right center; background-size: auto 130%; }

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--soft-white);
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header::before {               /* soft scrim so white nav stays legible over bright photos */
  content: ""; position: absolute; inset: 0 0 -110px 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(29,31,28,.86) 0%, rgba(29,31,28,.76) 34%, rgba(29,31,28,.4) 62%, rgba(29,31,28,.12) 82%, rgba(29,31,28,0) 100%);
  transition: opacity .35s var(--ease);
}
.site-header .wrap { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 179px; height: auto; }
.brand .logo-slate { display: none; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav__list a {
  position: relative; display: block; padding: 8px 0;
  font-weight: 500; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.site-header .btn { min-height: 44px; padding: 12px 22px; border-color: currentColor; color: inherit; }
.site-header .btn:hover { background: var(--soft-white); color: var(--slate); border-color: var(--soft-white); }

.site-header.is-solid { background: var(--soft-white); color: var(--charcoal); box-shadow: 0 1px 0 var(--line); height: var(--header-solid-h); }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-solid .logo-white { display: none; }
.site-header.is-solid .logo-slate { display: block; }

.site-header.is-solid .btn { color: var(--slate); border-color: var(--slate); }
.site-header.is-solid .btn:hover { background: var(--slate); color: var(--soft-white); }

.menu-toggle { display: none; width: 48px; height: 48px; margin-right: -10px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 17px; } .menu-toggle span:nth-child(2) { top: 23.5px; } .menu-toggle span:nth-child(3) { top: 30px; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--slate); color: var(--soft-white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  overflow-y: auto;
}
.mobile-nav.topo--white::before { opacity: .14; }
.nav-open .mobile-nav { opacity: 1; visibility: visible; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li + li { border-top: 1px solid var(--line-light); }
.mobile-nav a.mobile-nav__link { display: block; padding: 18px 0; font-family: var(--serif); font-size: 2rem; line-height: 1.1; text-decoration: none; }
.mobile-nav a.mobile-nav__link[aria-current="page"] { font-style: italic; }
.mobile-nav__foot { margin-top: 40px; display: grid; gap: 20px; font-size: 1rem; color: var(--on-slate-soft); }
.nav-open { overflow: hidden; }
.nav-open .site-header { background: transparent; color: var(--soft-white); box-shadow: none; }
.nav-open .site-header::before { opacity: 0; }
.nav-open .site-header .logo-white { display: block; }
.nav-open .site-header .logo-slate { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}
@media (min-width: 1081px) { .mobile-nav { display: none; } }
@media (max-width: 600px) {
  :root { --header-h: 76px; --header-solid-h: 68px; }
  .brand img { width: 119px; }
}

/* ---------- Home: the full logo starts large over the hero and glides into the header on scroll
   (same behaviour and easing as rebelhotelcompany.com). JS sets the landing spot. */
.banner-logo {
  --bl-w: min(320px, 46vw);
  position: fixed; z-index: 101; pointer-events: none;
  width: var(--bl-w);
  left: calc((100vw - var(--sbw, 0px)) / 2 - var(--bl-w) / 2);
  top: calc(44vh - var(--bl-w) * 0.135);
  transition: width .5s cubic-bezier(.5, 1, .89, 1), left .5s cubic-bezier(.5, 1, .89, 1), top .5s cubic-bezier(.5, 1, .89, 1), opacity 0s linear 0s;
}
.banner-logo img { display: block; width: 100%; height: auto; }
.banner-logo .bl-white { filter: drop-shadow(0 2px 24px rgba(29, 31, 28, .25)); transition: opacity .35s var(--ease); }
.banner-logo .bl-slate { position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--ease); }
.header-solid .banner-logo {
  width: var(--bl-land-w, 179px); left: var(--bl-land-left, 64px); top: var(--bl-land-top, 14px); opacity: 0;
  transition: width .5s cubic-bezier(.5, 1, .89, 1), left .5s cubic-bezier(.5, 1, .89, 1), top .5s cubic-bezier(.5, 1, .89, 1), opacity 0s linear .5s;
}
.header-solid .banner-logo .bl-white { opacity: 0; }
.header-solid .banner-logo .bl-slate { opacity: 1; }
.page-index .site-header .brand { visibility: hidden; transition: visibility 0s linear 0s; }
.page-index.header-solid .site-header .brand { visibility: visible; transition-delay: .5s; }
.nav-open .banner-logo { opacity: 0 !important; transition: none !important; }
.page-index.nav-open .site-header .brand { visibility: visible; transition-delay: 0s; }
html:not(.js) .banner-logo { display: none; }
html:not(.js) .page-index .site-header .brand { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .banner-logo, .header-solid .banner-logo { transition: opacity 0s linear 0s; } .page-index.header-solid .site-header .brand { transition-delay: 0s; } }

/* =====================================================================
   Hero (home) and banners (inner pages)
   ===================================================================== */
.hero, .banner { position: relative; color: var(--soft-white); background: var(--slate); overflow: hidden; isolation: isolate; }
.hero { height: 100vh; height: 100svh; min-height: 620px; max-height: 1100px; }
.banner { height: 74vh; height: 74svh; min-height: 520px; max-height: 860px; }
.hero__slide, .banner__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide img, .banner__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: drift 9s var(--ease) both; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__slide.is-active img { animation: none; } .hero__slide { transition: none; } }
.hero::after, .banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(29,31,28,0) 30%, rgba(29,31,28,.62) 75%, rgba(29,31,28,.8) 100%), linear-gradient(90deg, rgba(29,31,28,.3) 0%, rgba(29,31,28,0) 60%);
}
.hero__content, .banner__content { position: absolute; inset: auto 0 0 0; padding-bottom: clamp(48px, 8vh, 96px); }
.hero__content .display { max-width: 11em; text-shadow: 0 2px 30px rgba(29,31,28,.25); }
/* Home hero (Highgate-style): centred logo, one small italic tagline at the bottom, controls tucked bottom-left */
.hero .hero__content { text-align: center; padding-bottom: clamp(34px, 5.5vh, 56px); }
.hero .hero__tagline { font-size: clamp(1.2rem, 1.75vw, 1.65rem); font-style: italic; line-height: 1.3; max-width: none; margin: 0 auto; text-shadow: 0 1px 18px rgba(29,31,28,.35); }
.hero .hero__controls { position: absolute; left: var(--gutter); bottom: clamp(26px, 5vh, 48px); margin: 0; gap: 12px; }
.hero .hero__controls .round-btn { width: 40px; height: 40px; }
.hero .hero__controls .round-btn svg { width: 14px; height: 14px; }
.hero .hero__count { font-size: .7rem; min-width: 4.5em; }
.hero .hero__progress { display: none; }
.hero__toggle .icon-play { display: none; }
.hero__toggle[aria-pressed="true"] .icon-pause { display: none; }
.hero__toggle[aria-pressed="true"] .icon-play { display: block; }
.hero.is-paused .hero__slide.is-active img { animation-play-state: paused; }
@media (max-width: 760px) {
  .hero .hero__controls { position: static; justify-content: center; margin-top: 18px; }
}
.hero__controls { display: flex; align-items: center; gap: 22px; margin-top: 40px; }
.hero__count { font-weight: 500; font-size: .8rem; letter-spacing: .22em; min-width: 5.5em; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid currentColor; background: transparent; color: inherit; transition: background-color .25s var(--ease), color .25s var(--ease);
}
.round-btn svg { width: 18px; height: 18px; }
.hero .round-btn:hover { background: var(--soft-white); color: var(--slate); }
.round-btn--dark { color: var(--slate); }
.round-btn--dark:hover { background: var(--slate); color: var(--soft-white); }
.round-btn[disabled] { opacity: .3; cursor: default; }
.round-btn[disabled]:hover { background: transparent; color: var(--slate); }
.hero__progress { flex: 1; max-width: 220px; height: 1px; background: var(--line-light); position: relative; overflow: hidden; }
.hero__progress span { position: absolute; inset: 0; background: var(--soft-white); transform-origin: left; transform: scaleX(0); }
.hero__progress span.run { animation: progress var(--hero-delay, 6.5s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.scroll-cue { position: absolute; right: var(--gutter); bottom: clamp(48px, 8vh, 96px); writing-mode: vertical-rl; font-size: .7rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; display: flex; align-items: center; gap: 14px; }
.scroll-cue::after { content: ""; width: 1px; height: 56px; background: currentColor; opacity: .7; }
.banner__content .display { font-size: clamp(2.6rem, 6vw, 5.4rem); max-width: 13em; }
@media (max-width: 700px) { .scroll-cue { display: none; } }

/* =====================================================================
   Intro statement
   ===================================================================== */
.intro { text-align: center; }
.intro .statement em { color: var(--slate); }
.intro .btn { margin-top: 44px; }
.intro__body { max-width: 760px; margin: 34px auto 0; }

/* Split heading row: heading left, copy right */
.split-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; margin-bottom: clamp(48px, 6vw, 80px); }
.split-head__copy { padding-top: calc(.78rem * 1.2 + 22px + .35em); }  /* first line of copy starts level with the heading, below the eyebrow */
.split-head__copy .btn, .split-head__copy .link-arrow { margin-top: 26px; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; align-items: start; } .split-head__copy { padding-top: 0; } }

/* =====================================================================
   Cards (expertise, careers)
   ===================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); }
.card { display: flex; flex-direction: column; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--slate); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__index { position: absolute; top: 20px; left: 22px; color: var(--soft-white); font-family: var(--serif); font-style: italic; font-size: 1.15rem; text-shadow: 0 1px 12px rgba(29,31,28,.35); }
.card__body { padding: 28px 4px 0; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__body p { color: var(--ink-soft); font-size: 1.04rem; }
.card__body .link-arrow { align-self: flex-start; margin-top: auto; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* =====================================================================
   Verticals (home): photo band, three platforms
   ===================================================================== */
.verticals { position: relative; color: var(--soft-white); background: var(--slate); isolation: isolate; overflow: hidden; }
.verticals__bg { position: absolute; inset: 0; z-index: -2; }
.verticals__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.verticals__bg img.is-active { opacity: 1; }
.verticals::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(45,75,94,.88) 0%, rgba(45,75,94,.7) 45%, rgba(45,75,94,.9) 100%); }
.verticals__head { text-align: center; padding: var(--section) 0 clamp(56px, 7vw, 100px); }
.verticals__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.vertical { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: clamp(44px, 5vw, 72px) 28px clamp(56px, 6vw, 88px); text-decoration: none; transition: background-color .4s var(--ease); }
.vertical + .vertical { border-left: 1px solid var(--line-light); }
.vertical:hover, .vertical:focus-visible { background: rgba(45, 75, 94, .45); }
.vertical__logo { height: 64px; display: flex; align-items: center; }
.vertical__logo img { max-height: 64px; max-width: 220px; width: auto; }
.vertical h3 { font-size: clamp(1.3rem, 1.7vw, 1.75rem); }
.vertical .link-arrow { margin-top: auto; }
.vertical .link-arrow { color: var(--soft-white); }
@media (max-width: 1100px) {
  .verticals__grid { grid-template-columns: repeat(2, 1fr); }
  .vertical:nth-child(3) { border-left: 0; }
  .vertical:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}
@media (max-width: 640px) {
  .verticals__grid { grid-template-columns: 1fr; }
  .vertical + .vertical { border-left: 0; border-top: 1px solid var(--line-light); }
}

/* =====================================================================
   Carousel (portfolio cards on home)
   ===================================================================== */
.carousel__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 36px; }
.carousel__nav { display: flex; gap: 12px; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 24vw, 420px); gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0;
  /* starts on the content edge, runs to the right edge of the screen */
  padding: 0 var(--gutter) 8px 0; margin: 0 calc(50% - 50vw + var(--sbw, 0px) / 2) 0 0;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.property-card { scroll-snap-align: start; text-decoration: none; display: block; }
.property-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--slate); }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.property-card:hover img { transform: scale(1.045); }
.property-card__body { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 20px 2px 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.property-card__name { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; }
.property-card__loc { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); white-space: nowrap; }
.carousel__progress { flex: 1; max-width: 320px; height: 1px; background: var(--line); position: relative; }
.carousel__progress span { position: absolute; left: 0; top: -1px; height: 3px; background: var(--slate); width: 20%; transition: transform .2s linear; }

/* =====================================================================
   Call to action band
   ===================================================================== */
.cta { position: relative; color: var(--soft-white); background: var(--slate); isolation: isolate; overflow: hidden; }
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 40%); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(45,75,94,.94) 0%, rgba(45,75,94,.78) 42%, rgba(45,75,94,.18) 100%); }
.cta__inner { padding: clamp(110px, 13vw, 190px) 0; max-width: 620px; }
.cta__inner p { color: var(--on-slate-soft); margin-top: 24px; }
.cta__inner .btn { margin-top: 38px; }
.cta--plain::after { content: none; }
@media (max-width: 760px) { .cta:not(.cta--plain)::after { background: linear-gradient(180deg, rgba(45,75,94,.7), rgba(45,75,94,.92)); } }

/* =====================================================================
   Social strip
   ===================================================================== */
.social-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 1vw, 14px); margin-top: clamp(44px, 5vw, 70px); }
.social-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--slate); }
.social-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .4s var(--ease); }
.social-grid a:hover img { transform: scale(1.05); opacity: .85; }
@media (max-width: 760px) { .social-grid { grid-template-columns: repeat(3, 1fr); } }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--slate); color: var(--soft-white); position: relative; isolation: isolate; overflow: hidden; }
.site-footer::before { opacity: .12; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 100px); padding: clamp(80px, 9vw, 130px) 0 clamp(56px, 6vw, 80px); border-bottom: 1px solid var(--line-light); }
.footer-brand img { height: 64px; width: auto; }
.footer-brand p { margin-top: 28px; color: var(--on-slate-soft); max-width: 26em; }
.newsletter h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin-bottom: 12px; }
.newsletter > p { color: var(--on-slate-soft); }
.newsletter form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-top: 28px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-slate-soft); margin-bottom: 6px; }
.field input { width: 100%; height: 48px; padding: 0; border: 0; border-bottom: 1px solid var(--line-light); background: transparent; color: var(--soft-white); font: inherit; font-size: 1.05rem; border-radius: 0; }
.field input:focus { outline: none; border-bottom-color: var(--soft-white); }
.newsletter .btn { grid-column: 1 / -1; justify-self: start; margin-top: 10px; }
.form-note { grid-column: 1 / -1; font-size: .9rem; color: var(--on-slate-soft); min-height: 1.4em; margin: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: clamp(48px, 5vw, 72px) 0; }
.footer-cols h4 { font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--on-slate-soft); margin-bottom: 18px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-cols address { font-style: normal; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding: 26px 0 34px; border-top: 1px solid var(--line-light); font-size: .85rem; color: var(--on-slate-soft); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--soft-white); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } .newsletter form { grid-template-columns: 1fr; } }

/* =====================================================================
   Who We Are: leadership grid, bio dialog, management directory
   ===================================================================== */
.leaders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(20px, 2.6vw, 40px); }
.leader { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; }
.leader__photo { aspect-ratio: 1; overflow: hidden; background: var(--white); position: relative; }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.leader:hover .leader__photo img { transform: scale(1.035); }
.leader__photo::after { content: "Read bio"; position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; background: var(--slate); color: var(--soft-white); font-weight: 600; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; transform: translateY(100%); transition: transform .35s var(--ease); }
.leader:hover .leader__photo::after, .leader:focus-visible .leader__photo::after { transform: translateY(0); }
.leader__name { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; margin-top: 22px; }
.leader__title { font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); margin-top: 8px; }
.leader__bio { display: none; }
@media (max-width: 900px) { .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .leaders { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.bio-dialog { width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; background: var(--soft-white); color: var(--ink); overflow: auto; }
.bio-dialog::backdrop { background: rgba(29, 31, 28, .55); backdrop-filter: blur(2px); }
.bio-dialog__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.bio-dialog__photo { background: var(--white); }
.bio-dialog__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.bio-dialog__body { padding: clamp(32px, 4vw, 56px); }
.bio-dialog__body h2 { font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.1; }
.bio-dialog__body .leader__title { margin: 10px 0 26px; }
.bio-dialog__body p { color: var(--ink-soft); }
.bio-dialog__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--slate); background: var(--soft-white); color: var(--slate); cursor: pointer; display: grid; place-items: center; }
.bio-dialog__close:hover { background: var(--slate); color: var(--soft-white); }
@media (max-width: 720px) { .bio-dialog__inner { grid-template-columns: 1fr; } .bio-dialog__photo img { max-height: 46vh; } }

.directory { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); }
.directory__group { padding: 34px 0; border-bottom: 1px solid var(--line); }
.directory__group h3 { font-size: 1.5rem; margin-bottom: 18px; }
.directory__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.directory__group li strong { display: block; font-weight: 500; font-size: 1.05rem; }
.directory__group li span { display: block; font-size: .95rem; color: var(--ink-soft); line-height: 1.45; }

/* =====================================================================
   What We Do: expertise blocks
   ===================================================================== */
.expertise { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.expertise + .expertise { margin-top: var(--section); }
.expertise--flip .expertise__media { order: 2; }
.expertise__media { position: sticky; top: calc(76px + 32px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--slate); }
.expertise__media img { width: 100%; height: 100%; object-fit: cover; }
.expertise__head { margin-bottom: 36px; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); }
.services--single { grid-template-columns: 1fr; }
.service { padding: 30px 0 32px; border-bottom: 1px solid var(--line); }
.service h3 { font-size: 1.45rem; line-height: 1.2; margin-bottom: 12px; }
.service p { color: var(--ink-soft); font-size: 1.04rem; }
@media (max-width: 960px) {
  .expertise { grid-template-columns: 1fr; }
  .expertise--flip .expertise__media { order: 0; }
  .expertise__media { position: relative; top: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* Platforms band (slate with topo lines): What We Do */
.platforms { background: var(--slate); color: var(--soft-white); }
.platforms__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-light); }
.platform { padding: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 44px) 0 0; }
.platform + .platform { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line-light); }
.platform__logo { height: 64px; display: flex; align-items: center; margin-bottom: 28px; }
.platform__logo img { max-height: 60px; max-width: 220px; width: auto; }
.platform p { color: var(--on-slate-soft); font-size: 1.04rem; }
.platform .link-arrow { margin-top: 26px; color: var(--soft-white); }
@media (max-width: 1100px) and (min-width: 901px) {
  .platforms__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform:nth-child(3) { padding-left: 0; border-left: 0; }
  .platform:nth-child(n+3) { border-top: 1px solid var(--line-light); margin-top: 40px; }
}
@media (max-width: 900px) {
  .platforms__grid { grid-template-columns: 1fr; }
  .platform { padding: 40px 0; }
  .platform + .platform { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); }
}

/* =====================================================================
   Portfolio page
   ===================================================================== */
/* Portfolio overview: scale stats, four verticals side by side, one "More info" panel below */
.banner--short { height: 34vh; height: 34svh; min-height: 260px; max-height: 400px; }
.banner--short.banner--portfolio { height: 46vw; min-height: 380px; max-height: min(860px, 90vh); max-height: min(860px, 90svh); }   /* sized by width so Lake Tahoe and The Coachman both stay in frame */
@media (min-width: 768px) {   /* lighter so the hotel reads; on phones the hotel sits under the eyebrow, so they keep the standard scrim */
  .banner--portfolio::after { background: linear-gradient(180deg, rgba(29,31,28,0) 55%, rgba(29,31,28,.35) 100%), linear-gradient(90deg, rgba(29,31,28,.55) 0%, rgba(29,31,28,0) 35%); }
}
.pf-overview { padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.pf-intro { max-width: 980px; margin: 0 auto; text-align: center; }
.pf-statement { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.35rem); line-height: 1.3; color: var(--ink); }
.pf-intro .lede { margin: 0 auto; max-width: 860px; font-size: clamp(1.08rem, 1.15vw, 1.2rem); }
.banner--short .banner__content .eyebrow { margin: 0; }
.pf-verticals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(32px, 4vw, 48px); }
.pf-vertical { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 8px clamp(16px, 2vw, 32px) 8px 0; scroll-margin-top: 100px; }
.pf-vertical + .pf-vertical { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.pf-vertical__logo { height: 48px; display: flex; align-items: center; }
.pf-vertical__logo > img { max-height: 40px; max-width: 150px; width: auto; height: auto; }
.pf-vertical__logo .lockup-uk .lk-rebel { height: 30px !important; }
.pf-vertical__logo .lockup-uk .lk-uk { font-size: .8rem; }
.pf-vertical__logo .lockup-uk .lk-7h { height: 54px !important; }
.pf-vertical__tag { margin: 0; font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
.pf-vertical__line { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.pf-more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; border: 0; border-bottom: 1px solid currentColor; background: none; cursor: pointer;
  font-weight: 600; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--slate);
}
.pf-more::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease); }
.pf-more[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.pf-vertical.is-open { box-shadow: inset 0 -2px 0 var(--slate); }
/* Logos-only verticals row: four centred logos with their tag; clicking one opens its panel */
.pf-verticals--logos { margin-top: clamp(40px, 5vw, 64px); }
.pf-verticals.pf-verticals--logos .pf-vertical, .pf-verticals.pf-verticals--logos .pf-vertical + .pf-vertical { padding: 0; border: 0; align-items: stretch; }
.pf-logo {
  width: 100%; margin: 0; padding: 20px 12px 22px; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-transform: none; letter-spacing: 0; color: inherit;
  transition: background-color .25s var(--ease);
}
.pf-logo::after { width: 7px; height: 7px; margin-top: 2px; opacity: .55; }
.pf-logo .pf-vertical__logo { height: 48px; justify-content: center; opacity: .82; transition: opacity .25s var(--ease); }
.pf-logo:hover .pf-vertical__logo, .pf-logo[aria-expanded="true"] .pf-vertical__logo { opacity: 1; }
.pf-logo:hover::after, .pf-logo[aria-expanded="true"]::after { opacity: 1; }
.pf-logo:hover { background: rgba(45, 75, 94, .04); }
.pf-verticals--logos .pf-vertical.is-open { box-shadow: inset 0 -2px 0 var(--slate); }
.pf-panels .pf-panel__copy { margin: 0 auto; text-align: center; }
.pf-panels .brand-block__note { display: inline-block; text-align: left; }
@media (max-width: 560px) { .pf-verticals.pf-verticals--logos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } .pf-logo .pf-vertical__logo img { max-width: 120px; } .pf-logo .pf-vertical__tag { font-size: .58rem; text-align: center; } }
.pf-panels { margin-top: 0; }
.js .pf-panel { display: none; }
.pf-panel { padding: clamp(28px, 3.5vw, 44px) 0 8px; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.js .pf-panel.is-open { display: block; animation: pf-open .35s var(--ease); }
@keyframes pf-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.pf-panel__copy { max-width: 860px; }
.pf-panel__copy .lede { color: var(--ink-soft); }
.pf-panel__link { margin-top: 24px; }
.brand-block__note { margin-top: 22px; padding-left: 20px; border-left: 1px solid var(--slate); font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.45; color: var(--slate) !important; }
.pf-properties { padding: 0 0 var(--section); }
.pf-properties > .wrap > .eyebrow { margin: clamp(8px, 2vw, 24px) 0 18px; }
.pf-properties .region-switch { margin-bottom: clamp(24px, 3vw, 36px); }
@media (max-width: 1100px) {
  .pf-verticals { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .pf-vertical:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .pf-verticals { grid-template-columns: 1fr; }
  .pf-vertical, .pf-vertical + .pf-vertical { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { .js .pf-panel.is-open { animation: none; } }

.logo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(30px, 3.5vw, 48px) clamp(14px, 1.6vw, 24px); margin: 40px 0 0; padding: 0; }
.logo-grid li { list-style: none; height: 64px; display: grid; place-items: center; }
.logo-grid img { display: block; max-width: 100%; opacity: .82; transition: opacity .25s var(--ease); }
.logo-grid li:hover img { opacity: 1; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#leadership { border-top: 1px solid var(--line); }

/* Rebel UK lockup: REBEL wordmark + UK + Didot multiply sign + 7H wordmark (as used in the platform decks) */
.lockup-uk { display: inline-flex; align-items: center; gap: .55rem; color: var(--slate); }
.lockup-uk .lk-rebel { height: 40px !important; width: auto !important; max-width: none !important; }
.lockup-uk .lk-uk { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; letter-spacing: .28em; margin-left: -.2rem; padding-top: 3px; }
.lockup-uk .lk-x { font-family: var(--serif); font-size: 1.3rem; line-height: 1; color: rgba(29, 31, 28, .45); }
.lockup-uk .lk-7h { height: 66px !important; width: auto !important; max-width: none !important; }
.lockup-uk--light { color: var(--soft-white); }
.lockup-uk--light .lk-x { color: rgba(249, 247, 246, .6); }

/* Region switch (US / UK) and grouped photo walls */
.region-switch { display: inline-flex; gap: 0; border: 1px solid var(--slate); margin-bottom: clamp(40px, 5vw, 64px); }
.region-tab { min-height: 48px; padding: 12px 28px; border: 0; background: transparent; color: var(--slate); cursor: pointer; font-weight: 600; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; transition: background-color .25s var(--ease), color .25s var(--ease); }
.region-tab + .region-tab { border-left: 1px solid var(--slate); }
@media (max-width: 480px) { .region-switch { display: flex; width: 100%; } .region-tab { flex: 1 1 auto; min-width: 0; padding: 12px 8px; font-size: .64rem; letter-spacing: .12em; } }
.region-tab[aria-selected="true"] { background: var(--slate); color: var(--soft-white); }
.region-tab:hover:not([aria-selected="true"]) { background: rgba(45, 75, 94, .08); }
.pf-group + .pf-group { margin-top: clamp(64px, 8vw, 112px); }
.pf-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 20px; margin-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.pf-group__head h3 { font-style: italic; font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.1; }
.pf-group__count { font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--slate); white-space: nowrap; }
.pf-group__note { margin: -14px 0 28px; font-family: var(--serif); font-style: italic; color: var(--ink-soft); }
/* Portfolio photo wall runs edge to edge (Highgate style): full screen width, thin gaps */
.region .mosaic { margin-left: calc(50% - 50vw + var(--sbw, 0px) / 2); margin-right: calc(50% - 50vw + var(--sbw, 0px) / 2); gap: 6px; }
.region .tile figcaption { padding: 70px clamp(20px, 2.4vw, 40px) clamp(18px, 2vw, 30px); }
.tile__badge { position: absolute; top: 18px; left: 18px; padding: 7px 12px; background: var(--soft-white); color: var(--slate); font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }

.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.tile { position: relative; overflow: hidden; background: var(--slate); grid-column: span 3; aspect-ratio: 3 / 2; margin: 0; }
.tile--wide { grid-column: span 6; aspect-ratio: 21 / 9; }
.tile--third { grid-column: span 2; aspect-ratio: 5 / 4; }
.tile--lead { grid-column: span 4; aspect-ratio: auto; }
.tile--side { grid-column: span 2; aspect-ratio: auto; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.035); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 20px; color: var(--soft-white); background: linear-gradient(180deg, rgba(29,31,28,0) 0%, rgba(29,31,28,.8) 55%, rgba(29,31,28,.86) 100%); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tile__name { font-family: var(--serif); font-size: clamp(.98rem, 1.1vw, 1.15rem); line-height: 1.2; }
.tile__loc { font-size: .6rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 860px) {
  .tile, .tile--third, .tile--lead, .tile--side { grid-column: span 6; aspect-ratio: 3 / 2; }
  .tile--wide { aspect-ratio: 3 / 2; }
}

/* =====================================================================
   Careers
   ===================================================================== */
.quotes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.quotes__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--slate); }
.quotes__media img { width: 100%; height: 100%; object-fit: cover; }
.quote + .quote { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.quote h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin-bottom: 18px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--slate); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* =====================================================================
   Legal pages
   ===================================================================== */
.legal h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 56px 0 16px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-soft); }
.legal ul { color: var(--ink-soft); padding-left: 1.2em; margin: 0 0 1.1em; }
.legal li { margin-bottom: .55em; }
.facts { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); padding-right: 20px; padding-top: 18px; }
.facts dd { color: var(--ink-soft); }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 0; } }

/* =====================================================================
   Reveal on scroll (only when JS is running; content is visible without it)
   ===================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-in > *:nth-child(2) { transition-delay: .1s; }
.js [data-reveal-stagger].is-in > *:nth-child(3) { transition-delay: .2s; }
.js [data-reveal-stagger].is-in > *:nth-child(4) { transition-delay: .3s; }
.js [data-reveal-stagger].is-in > *:nth-child(5) { transition-delay: .4s; }
.js [data-reveal-stagger].is-in > *:nth-child(6) { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal-stagger] > * { opacity: 1; transform: none; transition: none; }
}
