/* KISM — Direction 1B "Bold". Shared styles for every page. */

/* Fonts are self-hosted (SIL Open Font License) so no visitor data is sent to Google. */
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/dm-serif-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/dm-serif-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --navy: #1f3a5f;
  --ink: #14213a;
  --paper: #fbfaf7;
  --paper-alt: #efece5;
  --amber: #c9853a;
  --amber-light: #e0a463;
  --amber-dark: #8a5a22;
  --muted: #3f4a5f;
  --muted-2: #5c6577;
  --line: #c8cdd8;
  --line-soft: #e1e3e8;
  --linkedin: #0a66c2;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 64px;
  --section-y: 88px;
  --max: 1280px;

  --overlay-hero: linear-gradient(180deg, rgba(20,33,58,.55) 0%, rgba(20,33,58,.15) 40%, rgba(20,33,58,.7) 100%);
  --overlay-card: linear-gradient(180deg, rgba(20,33,58,0), rgba(20,33,58,.85));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

.serif { font-family: var(--serif); font-weight: 400; }
h1, h2, .card__title, .person__name { font-family: var(--serif); font-weight: 400; }

/* Focus: dark ring + white halo so it reads on paper, navy and ink */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #fff;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: #fff; color: var(--ink); padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.on-navy { background: var(--navy); color: #fff; }
.on-ink { background: var(--ink); color: #fff; }

/* Type */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-dark); }
.on-navy .eyebrow, .eyebrow--light { color: var(--amber-light); }
.h2 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.1; }
.h2--cta { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; }
.lede { font-size: clamp(16px, 1.7vw, 22px); line-height: 1.45; }
.m-only { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 18px 30px; border-radius: 999px; border: 0;
  font-size: 17px; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--accent { background: var(--amber); color: var(--ink); }
.btn--white { background: #fff; color: var(--navy); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header { background: var(--navy); color: #fff; position: relative; z-index: 20; }
.site-header--overlay { position: absolute; inset: 0 0 auto 0; background: transparent; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: #fff; min-height: 44px; }
.brand__mark { font-family: var(--serif); font-size: 26px; line-height: 1; }
.brand__div { width: 1px; height: 22px; background: rgba(255,255,255,.4); }
.brand__name { font-size: 14px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  color: #fff; font-size: 16px; font-weight: 600; text-decoration: none;
}
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--amber-light);
}
.nav__cta { min-height: 44px; padding: 12px 24px; font-size: 16px; }

.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; color: #fff; font-size: 16px; font-weight: 600;
}
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 4px); min-width: 220px; padding: 8px;
  background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 12px 32px rgba(20,33,58,.25);
}
.lang__menu[hidden] { display: none; }
.lang__item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.lang__item[aria-current="true"] { background: var(--paper-alt); }
.lang__item span:last-child { color: var(--muted-2); font-weight: 500; font-size: 13px; }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-btn span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }

/* Mobile menu overlay */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: #fff; display: flex; flex-direction: column; padding: 24px 20px 24px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 28px; line-height: 1; }
.mobile-menu__links { margin-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__links a { font-family: var(--serif); font-size: 44px; line-height: 1.2; text-decoration: none; padding-block: 4px; }
.mobile-menu__links a[aria-current="page"] { color: var(--amber-light); }
.mobile-menu__lang { margin-top: 32px; display: flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.12); width: max-content; max-width: 100%; }
.mobile-menu__lang span { min-width: 56px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; font-size: 15px; }
.mobile-menu__lang span[aria-current="true"] { background: #fff; color: var(--ink); }
.mobile-menu__lang span:not([aria-current]) { opacity: .6; }
.mobile-menu__cta { margin-top: auto; padding-top: 32px; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 820px; background: var(--navy); color: #fff; overflow: hidden; }
.hero--short { min-height: 560px; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media picture { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* Left-hand scrim keeps the white headline and sub-headline readable over bright sky and water (WCAG AA). */
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,33,58,.66) 0%, rgba(20,33,58,.52) 42%, rgba(20,33,58,.1) 88%), var(--overlay-hero); pointer-events: none; }
.hero__ph { position: absolute; inset: 0; display: grid; place-items: start end; padding: 110px var(--gutter) 0; color: rgba(255,255,255,.35); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.hero__in { position: relative; z-index: 2; width: 100%; padding-block: 160px 96px; }
.hero--short .hero__in { padding-block: 140px 72px; }
.hero h1 { font-size: clamp(46px, 7.2vw, 92px); line-height: .98; letter-spacing: -.015em; max-width: 18ch; text-wrap: balance; }
.hero--short h1 { font-size: clamp(48px, 6.6vw, 84px); line-height: 1; letter-spacing: 0; max-width: none; }
.hero p.lede { margin-top: 28px; max-width: 34em; }
.hero .btn { margin-top: 40px; }
.hero__credit { position: absolute; right: var(--gutter); bottom: 20px; z-index: 2; font-size: 11px; opacity: .8; margin: 0; }

/* Page header (Work, Team) */
.page-head { background: var(--navy); color: #fff; padding-block: 56px 72px; }
.page-head h1 { font-size: clamp(48px, 6.6vw, 84px); line-height: 1; }
.page-head p { margin-top: 24px; max-width: 36em; font-size: clamp(16px, 1.7vw, 22px); line-height: 1.45; }

/* ---------- Photo placeholders / cards ---------- */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, #2a4a75 0%, var(--navy) 100%); color: rgba(255,255,255,.4);
}
.ph__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 8px; }

.card { position: relative; overflow: hidden; border-radius: 24px; background: var(--navy); color: #fff; isolation: isolate; }
.card > img, .card > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.card::after { content: ""; position: absolute; inset: 0; background: var(--overlay-card); z-index: -1; }
.card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; }
.card .eyebrow { color: var(--amber-light); }
.card__title { font-family: var(--serif); font-size: 38px; line-height: 1.1; margin-top: 8px; }
.card__text { margin-top: 12px; max-width: 32em; font-size: 17px; line-height: 1.5; opacity: .95; }
.card--sm { border-radius: 20px; }
.card--sm .card__body { padding: 24px; }
.card--sm .card__title { font-size: 26px; }
.card a.card__link { color: inherit; text-decoration: none; }
.card a.card__link::before { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- Home ---------- */
.disciplines__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.disciplines__head .h2 { max-width: 18em; }
.text-link { font-weight: 700; font-size: 16px; text-decoration: none; border-bottom: 2px solid var(--amber); padding-block: 14px 4px; }
.text-link:hover { border-bottom-color: var(--ink); }
.pill-list { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 22px; border-radius: 999px;
  border: 1.5px solid var(--navy); color: var(--navy); background: transparent; font-size: 16px; font-weight: 600; text-decoration: none;
}
.more-link { display: none; }

.work-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.work-grid__side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.work-grid .card--lg { min-height: 520px; }
.work-grid .card--sm { min-height: 248px; }

.team-strip__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.team-strip__head .text-link { border-bottom-color: var(--amber-light); }
.team-cols { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.person__photo { height: 360px; border-radius: 20px; overflow: hidden; background: #2a4a75; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.person__name { font-family: var(--serif); font-size: 28px; line-height: 1.15; margin-top: 20px; }
.person__role { color: var(--amber-light); font-weight: 600; margin-top: 4px; }
.li-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 44px; font-weight: 700; font-size: 15px; text-decoration: none; }
.li-link svg { width: 20px; height: 20px; flex: none; }
.li-link--blue { color: var(--linkedin); }

.cta-band { text-align: center; }
.cta-band .h2--cta { max-width: 14em; margin-inline: auto; }
.cta-band p { margin: 20px auto 0; max-width: 30em; font-size: clamp(16px, 1.7vw, 21px); line-height: 1.45; color: var(--muted); }
.cta-band .btn { margin-top: 36px; }
.cta-band--amber { background: var(--amber); color: var(--ink); }
.cta-band--amber .btn { background: var(--ink); color: #fff; }

/* ---------- Work page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 40px 8px; }
.filter { min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; font-weight: 600; font-size: 16px; color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.feature { min-height: 560px; margin-top: 24px; }
.feature .card__title { font-size: clamp(32px, 4vw, 48px); }
.feature .btn { margin-top: 24px; min-height: 48px; padding: 14px 26px; }
.project-grid { display: grid; gap: 32px; margin-top: 32px; }
.project-grid--2 { grid-template-columns: repeat(2, 1fr); }
.project-grid--3 { grid-template-columns: repeat(3, 1fr); }
.project__img { height: 380px; border-radius: 24px; }
.project-grid--3 .project__img { height: 280px; border-radius: 20px; }
.project .eyebrow { margin-top: 20px; display: block; }
.project h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; margin-top: 6px; }
.project-grid--3 .project h2 { font-size: 24px; }
.project p { margin-top: 8px; color: var(--muted); }
.empty-state { margin-top: 48px; padding: 32px; border: 1.5px dashed var(--line); border-radius: 20px; color: var(--muted); text-align: center; }
.work-main { padding-bottom: var(--section-y); }

/* ---------- Services ---------- */
.group { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-block: 48px; border-top: 1.5px solid var(--ink); }
.group:last-child { border-bottom: 1.5px solid var(--ink); }
.group__num { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--amber-dark); }
.group__name { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); line-height: 1.1; margin-top: 8px; }
.group__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.group__items h3 { font-size: 19px; font-weight: 700; line-height: 1.25; }
.group__items p { margin-top: 8px; color: var(--muted); }
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { border-top: 1px solid rgba(255,255,255,.35); padding-top: 24px; }
.step__num { font-family: var(--serif); font-size: 72px; line-height: 1; color: var(--amber-light); }
.step h3 { font-size: 22px; font-weight: 700; margin-top: 16px; }
.step p { margin-top: 8px; opacity: .92; }

/* ---------- Team ---------- */
.team-row { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.team-row + .team-row { margin-top: 96px; }
.team-row--rev .team-row__photo { order: 2; }
.team-row--rev { grid-template-columns: 7fr 5fr; }
.team-row__photo { height: 560px; border-radius: 24px; overflow: hidden; background: var(--navy); }
.team-row__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.team-row h2 { font-size: clamp(40px, 4.5vw, 56px); line-height: 1.05; margin-top: 4px; }
.team-row__bio { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 30em; }
.chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--navy); font-size: 14px; font-weight: 600; color: var(--navy); }
.langs { margin-top: 20px; font-size: 15px; font-weight: 700; }
.band { position: relative; min-height: 440px; display: flex; align-items: center; color: #fff; isolation: isolate; }
.band .ph { position: absolute; inset: 0; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,33,58,.85) 0%, rgba(20,33,58,.85) 30%, rgba(20,33,58,.2) 70%); }
.band .h2--cta { max-width: 11em; }
.band .btn { margin-top: 32px; }

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: 5fr 7fr; }
.book__panel { background: var(--navy); color: #fff; padding: 24px var(--gutter) 64px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: flex; flex-direction: column; }
.book__panel h1 { font-size: clamp(44px, 5.6vw, 72px); line-height: 1; margin-top: 24px; }
.book__panel .lede { margin-top: 24px; }
.book__steps { margin-top: 40px; display: grid; gap: 20px; }
.book__steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: baseline; font-size: 17px; }
.book__steps li > span:first-child { font-family: var(--serif); font-size: 36px; line-height: 1; color: var(--amber-light); }
.book__photo { margin-top: auto; height: 240px; border-radius: 20px; }
.book__panel .spacer { flex: 1; min-height: 40px; }
.book__form-wrap { padding: 64px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 72px var(--gutter); }

.form { display: grid; gap: 28px; max-width: 720px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label, .legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.field .opt, .hint { color: var(--muted-2); font-weight: 500; font-size: 14px; }
.input, .textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; font-size: 16px;
}
.textarea { resize: vertical; min-height: 140px; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #b3261e; }
.error { display: block; margin-top: 6px; color: #b3261e; font-size: 14px; font-weight: 600; }
.error:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.legend { padding: 0; }
.legend .hint { margin-left: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 15px; pointer-events: none;
}
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }
.choices--seg { gap: 8px; }
.choices--seg .choice span { border-radius: 10px; min-width: 64px; justify-content: center; }
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { width: 24px; height: 24px; margin: 8px 0 0; flex: none; accent-color: var(--navy); }
.consent label { font-weight: 500; font-size: 15px; margin: 0; padding-block: 10px; min-height: 44px; }
.consent a { font-weight: 700; }
.form-error { padding: 14px 18px; border-radius: 12px; background: #fdecea; color: #7a1913; font-weight: 600; }
.form-error[hidden] { display: none; }
.hp { position: absolute; left: -9999px; }

/* Contact pop-out (native <dialog>) */
.contact-dialog { border: 0; padding: 0; border-radius: 24px; width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; background: #fff; color: var(--ink); box-shadow: 0 24px 64px rgba(20,33,58,.45); }
.contact-dialog::backdrop { background: rgba(20,33,58,.65); }
.contact-dialog__panel { position: relative; padding: 40px 32px 32px; }
.contact-dialog__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-size: 32px; line-height: 1; cursor: pointer; }
.contact-dialog__close:hover { background: var(--paper-alt); }
.contact-dialog__title { font-size: 32px; line-height: 1.1; margin: 0 0 8px; padding-right: 40px; }
.contact-dialog__intro { margin: 0; }
.contact-form { gap: 20px; max-width: none; }
.contact-dialog__done { text-align: center; padding-block: 24px; display: grid; gap: 16px; justify-items: center; }
.contact-dialog__done[hidden] { display: none; }
.contact-dialog__done h2 { font-size: 28px; line-height: 1.15; margin: 0; }
@media (max-width: 480px) { .contact-dialog__panel { padding: 36px 20px 24px; } }

.confirm { max-width: 720px; background: var(--paper-alt); border-radius: 24px; padding: 64px 40px; text-align: center; }
.confirm[hidden] { display: none; }
.confirm h2 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.1; }
.confirm h2:focus { outline: none; box-shadow: none; }
.confirm p { margin: 20px auto 0; max-width: 28em; color: var(--muted); font-size: 18px; }
.confirm .btn { margin-top: 32px; }

/* ---------- Simple stub pages ---------- */
.stub { padding-block: 80px; min-height: 50vh; }
.stub h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }
.stub p { margin-top: 20px; max-width: 36em; font-size: 18px; color: var(--muted); }

/* ---------- Footers ---------- */
.footer-full { background: var(--ink); color: #fff; padding-block: 72px 32px; }
.footer-full__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }

.footer-full__brand p { margin-top: 8px; opacity: .85; }
.footer-full__links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-full__links ul { display: grid; gap: 4px; }
.footer-full a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.footer-full a:hover, .footer-compact a:hover { text-decoration: underline; }
.footer-full__bottom, .footer-compact__in { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; font-size: 14px; }
.footer-full__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); }
.footer-compact { background: var(--ink); color: #fff; }
.footer-compact__in { padding-block: 20px; }
.footer-compact__links, .footer-full__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; opacity: .7; }
.footer-compact a, .footer-full__bottom a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: none; }
.footer-compact__links > span, .footer-full__legal > span { display: inline-flex; align-items: center; min-height: 44px; }
.footer-full__bottom a { font-weight: 500; }

.sticky-cta { display: none; }

/* ---------- ≤1024px ---------- */
@media (max-width: 1024px) {
  :root { --gutter: 40px; --section-y: 72px; }
  .brand__div, .brand__name { display: none; }
  .nav { gap: 22px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid__side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .work-grid .card--lg { min-height: 440px; }
  .team-cols { gap: 20px; }
  .project-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .group { grid-template-columns: 1fr; gap: 24px; }
  .group__items { gap: 24px; }
  .steps { gap: 24px; }
  .team-row, .team-row--rev { grid-template-columns: 1fr 1fr; gap: 40px; }
  .team-row__photo { height: 480px; }
  .book { grid-template-columns: 1fr; }
  .book__panel { padding-inline: var(--gutter); padding-bottom: 48px; }
  .book__photo { margin-top: 40px; }
  .book__form-wrap { padding-inline: var(--gutter); }
}

/* ---------- ≤720px ---------- */
@media (max-width: 720px) {
  :root { --gutter: 20px; --section-y: 56px; }
  .m-only { display: inline; }
  .d-only { display: none; }
  .nav { display: none; }
  .menu-btn { display: flex; }
  .site-header__in { padding-block: 16px; }
  .hero { min-height: 640px; }
  .hero--short { min-height: 480px; }
  .hero__in { padding-block: 120px 72px; }
  .hero .btn { width: 100%; }
  .hero__credit { right: var(--gutter); left: var(--gutter); text-align: right; bottom: 12px; }
  .page-head { padding-block: 32px 48px; }
  .btn { width: 100%; }
  .btn--inline-m { width: auto; }
  .pill-list { margin-top: 28px; }
  .pill--extra { display: none; }
  .more-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 6px; font-weight: 700; color: var(--navy); }
  .work-grid__side { grid-template-columns: 1fr; }
  .work-grid .card--lg { min-height: 420px; }
  .work-grid .card--sm { min-height: 220px; }
  .card__body { padding: 24px; }
  .card__title { font-size: 30px; }
  .team-cols { grid-template-columns: 1fr; gap: 40px; margin-top: 32px; }
  .person__photo { height: 340px; }
  .project-grid--2, .project-grid--3 { grid-template-columns: 1fr; gap: 28px; }
  .project__img, .project-grid--3 .project__img { height: 260px; }
  .feature { min-height: 460px; }
  .group__items { grid-template-columns: 1fr; }
  .group { padding-block: 32px; }
  .steps { grid-template-columns: 1fr; }
  .step__num { font-size: 56px; }
  .team-row, .team-row--rev { grid-template-columns: 1fr; gap: 24px; }
  .team-row--rev .team-row__photo { order: 0; }
  .team-row + .team-row { margin-top: 64px; }
  .team-row__photo { height: 400px; }
  .band { min-height: 380px; }
  .band::after { background: rgba(20,33,58,.8); }
  .book__panel { padding-block: 8px 40px; }
  .book__steps, .book__photo { display: none; }
  .book__form-wrap { padding-block: 40px 56px; }
  .grid-2 { grid-template-columns: 1fr; }
  .hide-m { display: none !important; }
  .confirm { padding: 40px 24px; }
  .footer-full__links { gap: 40px; }
  .footer-compact__in { flex-direction: column; align-items: flex-start; gap: 0; }
  .has-sticky { padding-bottom: 88px; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: rgba(251,250,247,.96);
    border-top: 1px solid var(--line-soft); backdrop-filter: blur(8px);
  }
  .sticky-cta .btn { min-height: 52px; padding-block: 14px; }
}

/* Links disabled until correct URLs are supplied (see data-href) */
.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; text-decoration: none !important; }

/* Footer brand lockup (matches header) */
.footer-brand .brand__div, .footer-brand .brand__name { display: block; }
.footer-brand { min-height: 44px; }
.footer-full__brand .brand__mark { font-size: 32px; }
.footer-full__brand .brand__name { font-size: 16px; }
.footer-compact__brand { display: flex; flex-direction: column; gap: 0; align-items: flex-start; }
.footer-compact__brand > span { opacity: .7; }
.footer-full a.footer-brand { font-weight: 400; }
.footer-brand .brand__name { font-weight: 600; }

/* Home hero photo: 4:3 source; keep the coloured houses and waterline in frame */
.hero__media .hero__img { object-position: 55% 55%; }
@media (max-width: 720px) { .hero__media .hero__img { object-position: 64% 50%; } }
.hero h1, .hero p.lede { text-shadow: 0 1px 14px rgba(20,33,58,.5); }

/* Compact footer: brand lockup left; links and copyright stacked, right-aligned */
.footer-compact__right { display: flex; flex-direction: column; align-items: flex-end; }
.footer-compact__copy { font-size: 14px; opacity: .7; padding-bottom: 6px; }
@media (max-width: 720px) { .footer-compact__right { align-items: flex-start; } .footer-compact__links { gap: 0 14px; } }

/* Privacy notice layout */
.privacy { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start; }
.privacy__toc { position: sticky; top: 32px; }
.privacy__toc-title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 14px; }
.privacy__toc ol { list-style: none; padding: 0; margin: 0; border-left: 1.5px solid var(--line-soft); }
.privacy__toc a { display: block; padding: 8px 0 8px 16px; margin-left: -1.5px; border-left: 1.5px solid transparent; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; }
.privacy__toc a:hover { color: var(--navy); }
.privacy__toc a[aria-current="true"] { color: var(--navy); border-left-color: var(--amber); }
.privacy__body { max-width: 760px; }
.privacy__updated { color: var(--muted-2); font-size: 14px; font-weight: 600; margin: 0 0 24px; }

.glance { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.glance li { background: var(--paper-alt); border-radius: 16px; padding: 20px 22px; display: grid; gap: 6px; }
.glance strong { font-size: 16px; font-weight: 700; color: var(--navy); }
.glance span { font-size: 15px; line-height: 1.5; color: var(--muted); }

.psec { padding-top: 40px; margin-top: 40px; border-top: 1.5px solid var(--ink); scroll-margin-top: 24px; }
.psec:first-of-type { margin-top: 0; }
.psec h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.8vw, 34px); line-height: 1.15; margin: 0 0 18px; display: flex; align-items: baseline; gap: 14px; }
.pnum { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--amber-dark); min-width: 1.4em; }
.psec h3 { font-size: 17px; font-weight: 700; margin: 28px 0 6px; color: var(--navy); }
.psec p, .psec li { font-size: 17px; line-height: 1.7; color: var(--ink); }
.psec p { margin: 12px 0; }
.psec ul { padding-left: 22px; margin: 12px 0; list-style: disc; }
.psec li { margin: 8px 0; }
.psec li::marker { color: var(--amber); }
.psec a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }

.ptable { width: 100%; border-collapse: collapse; margin: 20px 0 8px; font-size: 15px; line-height: 1.55; }
.ptable th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-dark); padding: 0 16px 10px 0; border-bottom: 1.5px solid var(--ink); }
.ptable td { vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line-soft); }
.ptable td:first-child { font-weight: 600; color: var(--navy); width: 28%; }

.psec ul.providers { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0; }
.providers li { margin: 0; border: 1.5px solid var(--line-soft); border-radius: 16px; padding: 18px 20px; display: grid; gap: 6px; }
.providers strong { font-size: 17px; color: var(--navy); }
.providers span { font-size: 15px; line-height: 1.55; color: var(--muted); }

.psec ul.rights { list-style: none; padding: 0; margin: 16px 0; border-top: 1px solid var(--line-soft); }
.rights li { margin: 0; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line-soft); position: relative; font-size: 16px; }
.rights li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }

.pcontact { margin-top: 64px; background: var(--navy); color: #fff; border-radius: 24px; padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pcontact__title { font-family: var(--serif); font-size: 28px; line-height: 1.15; margin: 0 0 6px; }
.pcontact p:not(.pcontact__title) { margin: 0; font-size: 16px; opacity: .92; }

@media (max-width: 1024px) {
  .privacy { grid-template-columns: 1fr; gap: 0; }
  .privacy__toc { display: none; }
}
@media (max-width: 720px) {
  .glance, .psec ul.providers { grid-template-columns: 1fr; }
  .psec { padding-top: 32px; margin-top: 32px; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
  .ptable tr { border: 1.5px solid var(--line-soft); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; }
  .ptable td { border: 0; padding: 6px 0; width: 100% !important; }
  .ptable td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 2px; }
  .pcontact { padding: 26px 22px; }
}

/* Language menu: browser-translate help panel */
.lang__menu { min-width: 0; width: min(360px, 92vw); padding: 18px 20px; border-radius: 16px; line-height: 1.5; }
.lang__title { font-weight: 700; font-size: 15px; color: var(--navy); margin: 0 0 6px; }
.lang__text, .lang__tips li { font-size: 14px; color: var(--ink); }
.lang__text { margin: 0 0 10px; }
.lang__tips { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.lang__tips li { padding-left: 14px; position: relative; }
.lang__tips li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.lang__note { font-size: 13px; color: var(--muted-2); margin: 0; }
.mobile-menu__tip { margin: 16px 0 0; font-size: 14px; line-height: 1.5; opacity: .8; max-width: 32em; }

/* Case studies and project cards */
.card > picture { position: absolute; inset: 0; z-index: -2; }
.card > picture img { width: 100%; height: 100%; object-fit: cover; }
.project { position: relative; }
.project__pic, .project picture { display: block; }
img.project__img { display: block; width: 100%; object-fit: cover; }
.project h2 a { color: inherit; text-decoration: none; }
.project h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.project:hover h2 a { text-decoration: underline; text-underline-offset: 4px; }
.project h2 a:focus-visible { outline: none; box-shadow: none; }
.project h2 a:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 4px; box-shadow: 0 0 0 6px #fff; }

/* Case studies */
.case-head { padding-bottom: 56px; }
.case-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; opacity: .9; }
.case-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.case-head .eyebrow { margin-top: 12px; }
.case-head h1 { margin-top: 8px; }
.case-summary { margin-top: 20px; max-width: 34em; font-size: clamp(17px, 1.8vw, 22px); line-height: 1.45; }
.case-hero { margin-top: -28px; position: relative; z-index: 2; }
.case-hero picture { display: block; }
.case-hero__img { display: block; width: 100%; height: clamp(240px, 42vw, 520px); object-fit: cover; border-radius: 24px; box-shadow: 0 16px 40px rgba(20,33,58,.18); background: var(--navy); }
.case { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; align-items: start; }
.case-meta { position: sticky; top: 32px; }
.case-meta dl { margin: 0; border-top: 1.5px solid var(--ink); }
.case-meta dl > div { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.case-meta dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-dark); }
.case-meta dd { margin: 4px 0 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.case-meta__link { margin-top: 20px; }
.case-meta__link a { font-weight: 700; font-size: 15px; color: var(--navy); text-underline-offset: 4px; display: inline-block; padding-block: 12px; line-height: 1.4; }
.case-body { max-width: 760px; }
.case-sec { margin-top: 48px; }
.case-sec:first-child { margin-top: 0; }
.case-sec h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.8vw, 34px); line-height: 1.15; margin: 0 0 14px; }
.case-sec p, .case-sec li { font-size: 18px; line-height: 1.7; }
.case-sec p { margin: 12px 0; }
.case-sec ul { list-style: disc; padding-left: 22px; margin: 12px 0; }
.case-sec li { margin: 10px 0; }
.case-sec li::marker { color: var(--amber); }
.case-note { color: var(--muted-2); font-style: italic; }
.case-figs { margin-top: 56px; display: grid; gap: 24px; }
.case-figs--2 { grid-template-columns: repeat(2, 1fr); }
.case-figs--3 { grid-template-columns: repeat(3, 1fr); }
.case-figs figure { margin: 0; }
.case-figs picture { display: block; }
.case-figs img { display: block; width: 100%; height: auto; border-radius: 16px; background: var(--paper-alt); }
.case-figs figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted-2); }
.case-credit { margin-top: 16px; font-size: 13px; color: var(--muted-2); }
@media (max-width: 1024px) {
  .case { grid-template-columns: 1fr; gap: 32px; }
  .case-meta { position: static; }
  .case-meta dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; }
  .case-figs--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .case-hero { margin-top: -20px; }
  .case-meta dl { grid-template-columns: 1fr; }
  .case-figs--2, .case-figs--3 { grid-template-columns: 1fr; }
  .case-sec { margin-top: 36px; }
  .case-sec p, .case-sec li { font-size: 17px; }
}
.page-head .eyebrow { color: var(--amber-light); }
/* keep the start of the headline in frame when a wide screenshot is cropped into a card */
img[src*="bordeaux-student-guide-home"] { object-position: left top; }
