:root {
  --bg: #FAF7F2;
  --bg-subtle: #F3EEE6;
  --surface: #fff;
  --text: #2B2622;
  --muted: #6F6552;
  --disabled: #B8AB97;
  --border: #E7E0D4;
  --border-strong: #D6CCBC;
  --accent: #9C6B44;
  --espresso: #1C1815;
  --clay-300: #C6A184;
  --display: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Playfair Display", Georgia, "Times New Roman", serif;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 400; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 8px 16px;
  background: var(--surface);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform .16s ease;
  z-index: 60;
}
.skip-link:focus { transform: none; }

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}
.small { font-size: 15px; line-height: 1.6; color: var(--muted); }
.caption { font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.lead { font-size: 18px; line-height: 1.62; color: var(--muted); max-width: 60ch; }
.lead + .lead { margin-top: 16px; }

.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark img { height: 32px; width: auto; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, .93);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 66px;
  gap: 14px;
}
.wordmark {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-toggle {
  font: inherit;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  padding: 7px 15px;
  cursor: pointer;
}
.nav {
  display: none;
  width: 100%;
  flex-direction: column;
  padding-bottom: 18px;
}
.nav.is-open { display: flex; }
.nav a {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.nav a[aria-current="page"] { color: var(--text); }
.nav a.nav-cta {
  align-self: flex-start;
  margin-top: 14px;
  height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
  border-radius: 2px;
  background: var(--text);
  color: var(--bg);
}

.btn {
  font-family: var(--display);
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, transform .08s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--espresso); color: var(--bg); }
.btn-outline { border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { background: var(--bg-subtle); color: var(--text); }
.btn-light { background: var(--bg); color: var(--text); }
.btn-light:hover { background: var(--bg-subtle); color: var(--text); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-row.spaced { margin-top: 34px; }

.hero { padding: 0; }
.hero-frame {
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 78vh;
  border-radius: 0;
  background: linear-gradient(160deg, #3A342C 0%, #2B2622 55%, #1C1815 100%);
  color: var(--bg);
  padding: 28px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(28, 24, 21, .3) 0%, rgba(28, 24, 21, .55) 45%, rgba(28, 24, 21, .88) 100%);
}
.hero-copy { position: relative; width: 100%; max-width: 1440px; margin: 0 auto; }
.hero h1 {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.02em;
  max-width: 16ch;
}
.hero-aside { margin-top: 28px; max-width: 46ch; }
.hero-aside p { font-size: 14px; line-height: 1.6; color: #D6CCBC; }
.hero-aside .btn-row { margin-top: 20px; }
.btn-ghost { border-color: rgba(250, 247, 242, .45); color: var(--bg); }
.btn-ghost:hover { background: rgba(250, 247, 242, .12); color: var(--bg); }

.section { padding: 84px 0; }
.section.bordered { border-top: 1px solid var(--border); }
.section.subtle { background: var(--bg-subtle); }
.page-head h1 {
  font-size: 34px;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.02em;
  max-width: 26ch;
}
.page-head .eyebrow { margin-bottom: 16px; }
.page-head .lead { margin-top: 22px; }
.section-head { max-width: 60ch; margin-bottom: 56px; }
.section-head h2 { font-size: 28px; line-height: 1.12; letter-spacing: -.015em; }
.section-head .lead { margin-top: 18px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; max-width: 46ch; margin-bottom: 64px; }
.section-head.centered h2 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.24;
}
.section-head.centered .small { margin: 16px auto 0; max-width: 42ch; }
.centered-row { justify-content: center; margin-top: 40px; }

.panel { background: var(--bg-subtle); overflow: hidden; }
.panel img, .tile-media img { width: 100%; height: 100%; object-fit: cover; }
.band { width: 100%; max-width: 1440px; margin: 0 auto; height: 46vw; max-height: 520px; overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.media { margin-top: 26px; aspect-ratio: 3 / 2; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.panel-tall { aspect-ratio: 4 / 5; max-height: 420px; }
.panel-wide { aspect-ratio: 4 / 3; max-height: 300px; margin-top: 26px; }
.statement-copy { text-align: center; }
.statement-copy .small { margin-top: 20px; }
.statement-copy .btn-row { justify-content: center; }
.statement-inner h2 {
  font-size: 25px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.015em;
  max-width: 30ch;
}
.statement-inner .small { color: var(--muted); }
.tile-media { aspect-ratio: 4 / 3; background: var(--bg-subtle); overflow: hidden; margin-bottom: 18px; }
.tile h3 { font-family: var(--display); font-size: 15px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.rows { border-top: 1px solid var(--border); }
.row {
  display: grid;
  gap: 14px;
  padding: 34px 34px 34px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.row h3 { font-size: 19px; font-weight: 400; letter-spacing: -.005em; }
.row-media { width: 84px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-subtle); }
.row-media img { width: 100%; height: 100%; object-fit: cover; }
.row::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 26px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}
.duo { display: grid; gap: 34px; }
.scrim {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  padding: 24px;
  background: #2B2622;
  color: var(--bg);
}
.scrim img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(28, 24, 21, .25) 0%, rgba(28, 24, 21, .82) 100%);
}
.scrim-body { position: relative; }
.scrim-body p { font-size: 15px; line-height: 1.55; color: #E7E0D4; max-width: 34ch; }

.grid-3, .grid-2 { display: grid; gap: 34px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.card h3 { font-size: 20px; letter-spacing: -.005em; margin-bottom: 12px; }
.mandate { border-top: 1px solid var(--border-strong); padding-top: 20px; }
.mandate h3 { font-size: 19px; margin-bottom: 10px; }

.split { display: grid; gap: 26px; }
.sticky-head h2 {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.015em;
  max-width: 26ch;
}
.sticky-head .eyebrow { margin-bottom: 14px; }
.prose { max-width: 66ch; }
.prose p { color: var(--muted); line-height: 1.7; }
.prose p + p { margin-top: 18px; }
.notes { margin-top: 30px; display: grid; gap: 34px; }
.note h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }

.steps { display: grid; gap: 44px; }
.step { padding-top: 18px; }
.step .eyebrow {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: none;
  color: var(--text);
}
.step h3 { font-size: 19px; font-weight: 500; margin: 14px 0 10px; }

.closing {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #2B2622;
  color: var(--bg);
  padding: 76px 0;
}
.closing-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: .5;
}
.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(28, 24, 21, .92) 0%, rgba(28, 24, 21, .7) 60%, rgba(28, 24, 21, .5) 100%);
}
.closing-inner { position: relative; }
.closing-inner { max-width: 64ch; text-align: center; margin-left: auto; margin-right: auto; }
.closing .btn-row { justify-content: center; }
.closing h2 {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -.015em;
}
.closing p { color: var(--clay-300); margin-top: 20px; }

.studies, .roles { display: grid; gap: 40px; }
.study { border-top: 1px solid var(--border); padding-top: 26px; }
@media (min-width: 860px) {
  .study { display: grid; grid-template-columns: minmax(0, 1fr) 260px; column-gap: 56px; align-items: start; }
  .study > *:not(.study-media) { grid-column: 1; }
  .study-toggle { justify-self: start; }
  .study-media { grid-column: 2; grid-row: 1 / span 99; margin-top: 4px; max-width: none; }
}
.study:first-child { border-top: 0; padding-top: 0; }
.study h2 {
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.01em;
  max-width: 34ch;
}
.study-media { margin-top: 20px; max-width: 300px; aspect-ratio: 5 / 4; background: var(--bg-subtle); overflow: hidden; }
.study-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.study-toggle { margin-top: 20px; }
.study-body { max-width: 68ch; margin-top: 26px; }
.study-body p { color: var(--muted); }
.study-body p + p { margin-top: 16px; }
.study-body h3 {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text);
  margin: 28px 0 14px;
}

.role { border-top: 1px solid var(--border); padding-top: 26px; }
.role:first-child { border-top: 0; padding-top: 0; }
.role h2 { font-size: 25px; letter-spacing: -.01em; }
.role h3 {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 26px 0 12px;
}
.role p { color: var(--muted); max-width: 66ch; }
.role-toggle { margin-top: 22px; }
.role-body[hidden] { display: none; }
.bullets { max-width: 68ch; }
.bullets li {
  font-size: 15px;
  color: var(--muted);
  padding: 12px 0 12px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.bullets li::before { content: none; }

.contact-grid { display: grid; gap: 34px; }
.form-card h2 { font-size: 21px; margin-bottom: 24px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: .01em; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  font: inherit;
  font-family: var(--body);
  width: 100%;
  color: var(--text);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.field input, .field select { height: 44px; padding: 0; }
.field textarea { padding: 10px 0; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--border-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field.is-invalid input { border-bottom-color: #A6462F; }
.contact-side { display: grid; gap: 30px; align-content: start; }
.contact-side h2 { font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.office li {
  font-size: 14px;
  color: var(--muted);
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}

.site-footer { border-top: 1px solid var(--border); background: var(--bg-subtle); overflow: hidden; }
.footer-inner { display: grid; gap: 22px; padding: 46px 20px 34px; }
.footer-mark { display: inline-block; }
.footer-mark img { height: 40px; width: auto; display: block; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer nav a { font-family: var(--body); font-size: 15px; color: var(--muted); text-decoration: none; }
.footer-inner .caption a { color: var(--muted); text-decoration: none; margin-left: 32px; }
.footer-inner .caption a:hover { color: var(--accent); }

.footer-contact {
  display: grid;
  gap: 4px;
  font-family: var(--body);
  font-style: normal;
  font-size: 15px;
  color: var(--muted);
}
.footer-contact a { color: var(--muted); text-decoration: none; }
.footer-contact a:hover { color: var(--accent); }

.footer-mark {
  max-width: 1440px;
  margin: 0 auto;
  font-family: var(--display);
  font-weight: 400;
  font-size: 11.6vw;
  line-height: .9;
  letter-spacing: -.03em;
  white-space: nowrap;
  color: var(--border-strong);
  padding: 0 20px 6px;
  margin-bottom: -.12em;
}

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

@media (min-width: 700px) {
  .wrap { padding: 0 32px; }
  .section { padding: 120px 0; }
  .hero { padding: 0; }
  .hero-frame { padding: 44px 32px; min-height: 82vh; }
  .hero-copy { display: flex; align-items: flex-end; justify-content: space-between; gap: 56px; }
  .hero h1 { font-size: 54px; }
  .hero-aside { margin-top: 0; flex: 0 0 42%; }
  .statement-inner { display: grid; grid-template-columns: .8fr 1.1fr .9fr; align-items: center; gap: 40px; }
  .panel-wide { margin-top: 0; }
  .duo { grid-template-columns: 1fr 1fr; gap: 44px; }
  .scrim { min-height: 380px; padding: 34px; }
  .row { grid-template-columns: 150px 1fr 1.4fr; gap: 56px; align-items: start; padding: 38px 44px 38px 0; }
  .row-media { width: 150px; }
  .section-head.centered h2 { font-size: 30px; }
  .page-head h1 { font-size: 46px; }
  .section-head h2 { font-size: 34px; }
  .statement { padding: 108px 0; }
  .statement-inner h2 { font-size: 26px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 56px; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 40px 72px; }
  .split { grid-template-columns: .85fr 1.15fr; gap: 56px; }
  .sticky-head h2 { font-size: 30px; }
  .notes { grid-template-columns: 1fr 1fr; gap: 40px 72px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 44px 96px; }
  .step .eyebrow { font-size: 52px; }
  .closing { padding: 108px 0; }
  .closing h2 { font-size: 38px; }
  .study h2 { font-size: 28px; }
  .role h2 { font-size: 29px; }
  .contact-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
  .form-card { padding: 36px; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; padding: 54px 32px 48px; }
  .footer-mark { grid-column: 1 / -1; margin-bottom: 6px; }
  .footer-contact { justify-items: end; text-align: right; }
  .footer-inner .caption { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
}

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 26px;
    width: auto;
    padding: 0;
  }
  .nav a { padding: 23px 0; border-bottom: 2px solid transparent; }
  .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
  .nav a.nav-cta {
    align-self: center;
    margin-top: 0;
    margin-left: 8px;
    height: 40px;
    padding: 0 22px;
    line-height: 1;
    white-space: nowrap;
    background: transparent;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 2px;
    color: var(--text);
    transition: background .18s ease, color .18s ease, border-color .18s ease;
  }
  .nav a.nav-cta:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
  .nav a.nav-cta[aria-current="page"] { background: var(--text); border-color: var(--text); color: var(--bg); }
  .hero h1 { font-size: 68px; }
  .tile-media-tall { aspect-ratio: 3 / 4; }
  .sticky-head { position: sticky; top: 100px; }
}

@media (min-width: 1200px) {
  .wrap, .footer-inner { padding-left: 48px; padding-right: 48px; }
  .footer-contact {
  display: grid;
  gap: 4px;
  font-family: var(--body);
  font-style: normal;
  font-size: 15px;
  color: var(--muted);
}
.footer-contact a { color: var(--muted); text-decoration: none; }
.footer-contact a:hover { color: var(--accent); }

.footer-mark { padding-left: 48px; padding-right: 48px; }
}

.policy > h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 44px 0 14px;
}
.policy > h2:first-child { margin-top: 0; }
.policy > h3 {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 36px 0 14px;
}
.policy p + p { margin-top: 14px; }
.policy .bullets { margin-top: 14px; }
.policy strong { font-weight: 500; color: var(--text); }

/* ---- Motion system ------------------------------------------------------- */
:root { --ease-out: cubic-bezier(.16, .84, .44, 1); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); will-change: opacity, transform; }
.reveal-slow { transition-duration: 1.15s; }
.reveal.is-in { opacity: 1; transform: none; }

/* headings: stronger lift with a soft focus-in */
.rv-head { opacity: 0; transform: translateY(42px); filter: blur(6px); transition: opacity .95s var(--ease-out), transform 1.15s var(--ease-out), filter .9s var(--ease-out); will-change: opacity, transform, filter; }
.rv-head.is-in { opacity: 1; transform: none; filter: blur(0); }

/* body copy: lighter, follows its heading */
.rv-text { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .95s var(--ease-out); will-change: opacity, transform; }
.rv-text.is-in { opacity: 1; transform: none; }

/* images: clip reveal plus a slow settle out of scale */
.rv-media { opacity: 0; clip-path: inset(14% 0 14% 0); transition: opacity .9s var(--ease-out), clip-path 1.25s var(--ease-out); will-change: opacity, clip-path; }
.rv-media.is-in { opacity: 1; clip-path: inset(0 0 0 0); }
.rv-media img { transition: transform 1.7s var(--ease-out); }

/* cards and list rows: staggered entrance */
.rv-card { opacity: 0; transform: translateY(38px) scale(.99); transition: opacity .9s var(--ease-out), transform 1.05s var(--ease-out); will-change: opacity, transform; }
.rv-card.is-in { opacity: 1; transform: none; }

/* hover movement */
.tile, .card, .note, .study-media, .panel { transition: transform .55s var(--ease-out); }
.tile:hover, .card:hover { transform: translateY(-8px); }
.tile-media img, .media img, .study-media img, .panel img { transition: transform 1.1s var(--ease-out); }
.tile:hover .tile-media img, .card:hover img { transform: scale(1.06); }
.study:hover .study-media { transform: translateY(-6px); }
.study:hover .study-media img { transform: scale(1.05); }

/* buttons */
.btn { transition: background-color .32s ease, border-color .32s ease, color .32s ease, transform .4s var(--ease-out), box-shadow .4s var(--ease-out), letter-spacing .4s var(--ease-out); }
.btn:hover { transform: translateY(-3px); letter-spacing: .04em; }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(28, 24, 21, .22); }
.btn-outline:hover, .btn-light:hover { box-shadow: 0 10px 26px rgba(43, 38, 34, .12); }
.btn-ghost:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .22); }
.btn:active { transform: translateY(-1px) scale(.99); }
.nav a { transition: color .3s ease, opacity .3s ease; }

/* header behaviour on scroll */
.site-header { transition: background-color .45s ease, box-shadow .45s ease, transform .55s var(--ease-out); }
.site-header.is-stuck { background: rgba(250, 247, 242, .82); backdrop-filter: saturate(140%) blur(12px); box-shadow: 0 1px 0 var(--border); }
.site-header.is-hidden { transform: translateY(-102%); }

/* scroll-linked layers */
[data-parallax] { will-change: transform; }
.band img, .hero-video, .closing-video { will-change: transform; }
/* base scale per image type: slight overscale so the parallax shift never exposes an edge */
.hero-video, .closing-video { transform: scale(1.06); }
.rv-media.band img { transform: scale(1.22); }
.rv-media.band.is-in img { transform: scale(1.08); }
.rv-media.media img, .rv-media.panel img, .rv-media.row-media img, .rv-media.study-media img, .rv-media.tile-media img { transform: scale(1.16); }
.rv-media.media.is-in img, .rv-media.panel.is-in img, .rv-media.row-media.is-in img, .rv-media.study-media.is-in img, .rv-media.tile-media.is-in img { transform: scale(1.04); }
.tile:hover .tile-media img, .card:hover img { transform: scale(1.1); }
.study:hover .study-media img { transform: scale(1.09); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-slow, .rv-head, .rv-text, .rv-media, .rv-card { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; transition: none !important; }
  .rv-media img { transform: none !important; }
  .site-header.is-hidden { transform: none; }
  * { transition-duration: .01ms !important; }
}

/* Cookie consent */
.cookie-banner { position: fixed; z-index: 200; left: 24px; bottom: 24px; width: min(440px, calc(100vw - 48px)); max-height: calc(100vh - 48px); overflow-y: auto; background: var(--espresso); color: var(--bg); border-radius: 2px; box-shadow: 0 18px 48px rgba(28, 24, 21, .3); opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s var(--ease-out); }
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner-inner { padding: 26px 26px 22px; }
.cookie-eyebrow { font-family: var(--display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #FFFFFF; margin: 0 0 12px; }
.cookie-banner p.cookie-copy { font-family: var(--body); font-size: 15px; line-height: 1.65; color: #E4DCCF; margin: 0; text-wrap: pretty; }
.cookie-actions { display: flex; gap: 10px; margin-top: 20px; }
.cookie-actions .btn { height: 42px; padding: 0 20px; font-size: 13px; }
.cookie-actions .btn-accept { background: var(--bg); color: var(--text); border-color: var(--bg); }
.cookie-actions .btn-accept:hover { background: #fff; color: var(--text); }
.cookie-actions .btn-decline { background: transparent; color: #E4DCCF; border-color: rgba(250, 247, 242, .34); }
.cookie-actions .btn-decline:hover { background: rgba(250, 247, 242, .1); color: var(--bg); }
.cookie-actions-secondary { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(250, 247, 242, .16); justify-content: space-between; }
.consent-link { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--clay-300); transition: color .3s ease; }
.consent-link:hover { color: var(--bg); }
.consent-save { color: var(--bg); text-decoration: underline; text-underline-offset: 4px; }
.consent-detail { margin-top: 22px; padding-top: 6px; border-top: 1px solid rgba(250, 247, 242, .16); }
.consent-form { display: grid; gap: 20px; margin-top: 18px; }
.consent-row { display: grid; gap: 6px; }
.consent-switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.consent-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent-track { flex: 0 0 auto; width: 38px; height: 20px; border-radius: 999px; background: rgba(250, 247, 242, .2); border: 1px solid rgba(250, 247, 242, .28); position: relative; transition: background .28s ease, border-color .28s ease; }
.consent-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #E4DCCF; transition: transform .28s var(--ease-out), background .28s ease; }
.consent-switch input:checked + .consent-track { background: var(--accent); border-color: var(--accent); }
.consent-switch input:checked + .consent-track::after { transform: translateX(18px); background: #fff; }
.consent-switch input:disabled + .consent-track { opacity: .55; }
.consent-switch input:focus-visible + .consent-track { outline: 2px solid var(--clay-300); outline-offset: 3px; }
.consent-label { font-family: var(--display); font-size: 13px; letter-spacing: .02em; color: var(--bg); display: flex; align-items: baseline; gap: 8px; }
.consent-label em { font-style: normal; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--clay-300); }
.consent-note { font-family: var(--body); font-size: 13px; line-height: 1.55; color: #C9BFAE; margin: 0; padding-left: 50px; }
.cookie-settings { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--body); font-size: 15px; color: var(--muted); transition: color .3s ease; }
.cookie-settings:hover { color: var(--accent); }
@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .cookie-banner-inner { padding: 22px 20px 18px; }
  .cookie-actions .btn { flex: 1; }
  .consent-note { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner, .consent-track, .consent-track::after { transition: none; } }

/* 404 */
.error-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 96px 20px; }
.error-page .code { font-family: var(--display); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.error-page h1 { max-width: 22ch; margin: 0 auto; }
.error-page p { color: var(--muted); max-width: 46ch; margin: 20px auto 0; }
.error-page .btn-row { justify-content: center; }
