/* =========================================================
   The Adventure Expert – main stylesheet
   ========================================================= */

@font-face { font-family: "Calibri"; src: local("Calibri"), url("../fonts/calibri-regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Calibri"; src: local("Calibri Italic"), url("../fonts/calibri-italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Calibri"; src: local("Calibri Bold"), url("../fonts/calibri-bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Calibri"; src: local("Calibri Bold Italic"), url("../fonts/calibri-bold-italic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --orange: #f16a45;
  --orange-dark: #d9542f;
  --blue: #3d3e84;
  --blue-dark: #2a2b5e;
  --ink: #111111;
  --text: #222222;
  --muted: #777888;
  --line: #d9d9e2;
  --canvas: #ececf1;   /* light grey page background, as in the reference */
  --white: #ffffff;

  --font: "Calibri", Carlito, "Segoe UI", Candara, Arial, sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); font-weight: 400; margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 4.3vw, 72px); }
h2 { font-size: clamp(32px, 3.4vw, 58px); }
h3 { font-size: clamp(19px, 1.35vw, 22px); font-weight: 400; line-height: 1.25; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
strong { color: var(--ink); }

/* Full-width, Squarespace-style gutters: content runs edge to edge with a small side margin */
/* One side margin for everything, so header, hero and every section line up */
:root { --gutter: clamp(16px, 2.6vw, 52px); }
.container { width: 100%; padding: 0 var(--gutter); }
.section { padding: clamp(70px, 7vw, 130px) 0; }
.tagline { font-size: clamp(19px, 1.5vw, 24px); color: var(--orange); margin: -6px 0 0; }
.center { text-align: center; }
.lead { font-size: 21px; color: var(--ink); }
.sub { font-size: 18px; max-width: 520px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 10px; }

/* ---------- Pill buttons (reference uses black pills – here in brand blue) ---------- */
/* Hover: orange fill sweeps in from the left, the up-right arrow flies out and back in */
.pill {
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 17.5 17 7M8.5 7H17v8.5'/%3E%3C/svg%3E");
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 8px 8px 8px 30px; border-radius: 50px; border: 2px solid var(--blue);
  background: var(--blue); color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: border-color .4s, color .4s, transform .4s var(--ease);
}
.pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--orange); transform: scaleX(0); transform-origin: right center;
  transition: transform .5s var(--ease);
}
.pill::after {
  content: ""; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.2) var(--arrow) center / 20px no-repeat;
  transition: background-color .4s;
}
.pill:hover, .pill:focus-visible {
  border-color: var(--orange); color: #fff;
}
.pill:hover::before, .pill:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.pill:hover::after, .pill:focus-visible::after { background-color: rgba(255,255,255,.25); animation: arrow-fly .6s var(--ease); }
@keyframes arrow-fly {
  0%   { background-position: center; }
  45%  { background-position: 32px -32px; }
  46%  { background-position: -32px 32px; }
  100% { background-position: center; }
}
.pill--outline { background: transparent; color: var(--blue); }
.pill--outline::after {
  background-color: var(--blue);
}
.pill--sm { padding: 6px 6px 6px 20px; font-size: 13px; }
.pill--sm::after { width: 34px; height: 34px; background-size: 17px; }
.pill--block { display: flex; width: 100%; padding: 7px 8px 7px 20px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) {
  .pill:hover::after { animation: none; }
}
.pill--wide { padding: 10px 10px 10px 54px; gap: 30px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(236,236,241,.94); backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(29,30,51,.35); }
/* Fixed height: changing it on scroll shifts the page and makes the header jitter */
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 136px; }
.header__logo img { height: 116px; width: auto; transform-origin: left center; transition: transform .3s var(--ease); }
.header.is-scrolled .header__logo img { transform: scale(.8); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; gap: clamp(18px, 1.7vw, 32px); }
.nav__list > li > a { position: relative; font-size: 19px; color: var(--ink); padding: 4px 0; transition: color .2s; }
.nav__list > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__list > li > a:hover::after, .nav__list > li > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav .pill--sm { padding: 7px 7px 7px 26px; font-size: 17px; text-transform: none; letter-spacing: 0; }
.nav__list > li > a:hover, .nav__list > li > a.is-active { color: var(--orange); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--blue); border-radius: 50%; cursor: pointer; padding: 0 13px; flex-direction: column; justify-content: center; gap: 4px; position: relative; z-index: 210; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero: full-width boxed video, no text on top ---------- */
.hero { padding: 0; }
.hero__box {
  /* shorter than the viewport so the next section peeks in below, as in the reference */
  position: relative; width: 100%; height: min(46vw, calc(100vh - 190px)); min-height: 420px;
  overflow: hidden; background: #111;
}
.hero__box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }

.sound-btn {
  position: absolute; right: 24px; top: 50%; transform: translateY(calc(-100% - 6px)); z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px 6px 6px; border: 0; border-radius: 50px; cursor: pointer;
  background: var(--orange); color: #fff; font-family: inherit; font-size: 15px; font-weight: 700;
  transition: background .3s;
}
.sound-btn:hover { background: var(--orange-dark); }
.sound-btn__icon { position: relative; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; }
.sound-btn__icon svg { width: 19px; height: 19px; fill: #fff; }
.sound-btn .i-on { display: none; }
.sound-btn:not(.is-on) .sound-btn__icon::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255,255,255,.75);
  animation: pulse 1.8s infinite;
}
.sound-btn.is-on { background: rgba(20,20,45,.55); backdrop-filter: blur(6px); }
.sound-btn.is-on .i-on { display: block; }
.sound-btn.is-on .i-off { display: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

.play-btn {
  position: absolute; right: 24px; top: 50%; transform: translateY(6px); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(20,20,45,.55); backdrop-filter: blur(6px); display: grid; place-items: center; transition: background .3s;
}
.play-btn:hover { background: var(--orange); }
.play-btn svg { width: 20px; height: 20px; fill: #fff; }
.play-btn .i-play { display: none; }
.play-btn.is-paused .i-play { display: block; }
.play-btn.is-paused .i-pause { display: none; }

/* ---------- Inner page hero: boxed image with centred title (as in the reference) ---------- */
.page-hero {
  position: relative; width: 100%; height: min(36vw, calc(100vh - 280px)); min-height: 340px; overflow: hidden; background: #111;
  display: grid; place-items: center;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(15,15,30,.38); }
.page-hero h1, .page-hero .page-hero__title {
  position: relative; z-index: 2; margin: 0; padding: 0 24px; text-align: center;
  color: #fff; font-size: clamp(36px, 4.3vw, 72px);
}
.post-nominals { font-size: .45em; color: var(--muted); letter-spacing: .06em; vertical-align: middle; white-space: nowrap; }

/* ---------- Profile: heading + text left, tall image right ---------- */
.profile__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }
.profile__text { max-width: 640px; }
.profile__text .tagline { margin-bottom: 26px; }
.profile__text p:not(.lead):not(.tagline) { font-size: 17px; }
.profile__img { aspect-ratio: 0.7 / 1; overflow: hidden; }
.profile__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pull quote ---------- */
.pull-quote { margin: 0; }
.pull-quote p, .feature__text .pull-quote p { font-size: clamp(26px, 2.6vw, 42px); line-height: 1.25; color: var(--ink); margin-bottom: 24px; }
.pull-quote cite { font-style: normal; font-size: 17px; font-weight: 700; color: var(--orange); letter-spacing: .08em; text-transform: uppercase; }
.pull-quote cite::before { content: ""; display: inline-block; width: 34px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 12px; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.chips li { font-size: 15px; padding: 6px 15px; border: 1px solid #a8a8b6; border-radius: 50px; color: var(--ink); }

/* ---------- Credentials ---------- */
.credentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; }
.credential { background: var(--white); padding: 32px 30px; }
.credential__mark {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 50px;
  background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .08em;
}
.credential h3 { margin-bottom: 8px; }
.credential p { font-size: 16px; margin: 0; }
.experience .strip { margin-top: 0; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: start; }
.split--top h1 { max-width: 640px; }
.intro__text p:not(.lead) { font-size: 17px; }

/* ---------- Services cards ---------- */
.section-title { margin-bottom: clamp(30px, 3.6vw, 56px); }
.section-title--center { text-align: center; }
.services { padding-top: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.card { display: flex; flex-direction: column; }
.card__img { aspect-ratio: 1 / 1; overflow: hidden; margin-bottom: 16px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card h3 { margin-bottom: 6px; }
.card__meta { font-size: 16px; color: var(--ink); margin-bottom: 14px; }
.card p:not(.card__meta) { font-size: 16px; line-height: 1.3; flex: 1; margin-bottom: 14px; }
.card .pill--block { padding: 8px 8px 8px 20px; }

/* ---------- Ambition (booking-panel style) ---------- */
.ambition .split { align-items: start; }
.ambition__img { margin-top: 40px; aspect-ratio: 5 / 4.3; overflow: hidden; max-width: 82%; }
.ambition__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stages: vertical timeline of numbered steps ---------- */
.stages__label {
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
}
.stages__label::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.stages__list { position: relative; display: grid; gap: 14px; }
.stage { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; }
.stage__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--canvas); border: 2px solid var(--orange); color: var(--orange);
  font-size: 18px; font-weight: 700; transition: background .35s, color .35s;
}
.stage__card {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px 20px 26px; background: var(--white); transition: background .35s;
}
.stage__card h3 { font-size: 20px; font-weight: 700; color: var(--blue); margin-bottom: 4px; transition: color .35s; }
.stage__card p { font-size: 16px; color: var(--muted); margin: 0; line-height: 1.4; transition: color .35s; }
.stage__icon { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; }
.stage__icon svg { width: 34px; height: 34px; fill: var(--orange); transition: fill .35s; }
/* hover: colours change only */
.stage:hover .stage__num { background: var(--orange); color: #fff; }
.stage:hover .stage__card { background: var(--blue); }
.stage:hover .stage__card h3 { color: #fff; }
.stage:hover .stage__card p { color: rgba(255,255,255,.85); }
.stage:hover .stage__icon svg { fill: #fff; }

.stages__quote {
  position: relative; margin: 26px 0 28px; padding: 30px 32px 30px 84px;
  background: var(--blue); color: rgba(255,255,255,.92);
}
.stages__quote::before {
  content: "\201C"; position: absolute; left: 26px; top: 14px; font-size: 84px; line-height: 1; color: var(--orange); font-weight: 700;
}
.stages__quote p { margin: 0; font-size: 18px; line-height: 1.55; }
.stages__quote strong { color: #fff; }

/* ---------- Feature (big image + text) ---------- */
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature__grid--rev .feature__img { order: 2; }
.feature__img { aspect-ratio: 4 / 4.7; overflow: hidden; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature--alt .feature__img { aspect-ratio: 4 / 3.6; }
.feature__text { max-width: 620px; }
.feature__text p { font-size: 17px; }
.feature__text .pill { margin-top: 16px; }
.feature__text .pill-row .pill { margin-top: 0; }
.feature--alt, .feature--flush { padding-top: 0; }

/* ---------- Experience strip ---------- */
.experience__intro { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 30px; }
.strip figure { position: relative; aspect-ratio: 4 / 3.5; overflow: hidden; }
.strip img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%;transition: transform .8s var(--ease); }
.strip figure:hover img { transform: scale(1.06); }
.strip figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30px 14px 10px; color: #fff; font-size: 15px; font-weight: 700;
  background: linear-gradient(transparent, rgba(20,20,45,.75));
}

/* ---------- Inquiry form ---------- */
/* contact rows with icon badges */
.contact-list { display: grid; gap: 14px; margin-top: 30px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list__icon {
  flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); box-shadow: 0 8px 20px -12px rgba(29,30,51,.4);
  transition: background .35s, transform .45s var(--ease);
}
.contact-list__icon svg { width: 22px; height: 22px; fill: var(--orange); transition: fill .35s; }
.contact-list small { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.contact-list a, .contact-list span { font-size: 18px; color: var(--ink); line-height: 1.35; }
.contact-list a:hover { color: var(--orange); }
.contact-list li:hover .contact-list__icon { background: var(--orange); }
.contact-list li:hover .contact-list__icon svg { fill: #fff; }

.form { display: grid; gap: 16px; font-size: 15px; color: var(--ink); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { padding: 0; margin-bottom: 6px; }
.form small { color: var(--muted); font-size: 13px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 14px; }
.form input, .form textarea {
  display: block; width: 100%; margin-top: 5px; font: inherit; font-size: 16px; color: var(--ink);
  padding: 10px 16px; border: 1px solid #a8a8b6; border-radius: 22px; background: transparent;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { border-radius: 14px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(241,106,69,.18); }
.form .pill { justify-self: start; }
.form__status { margin: 0; font-size: 15px; min-height: 1.4em; }
.form__status.is-error { color: #c0392b; }
.form__status.is-ok { color: var(--blue); }

/* ---------- Footer ---------- */

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1320px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); z-index: 200;
    flex-direction: column; align-items: stretch; gap: 24px; padding: 100px 28px 30px;
    background: var(--white); box-shadow: -20px 0 60px rgba(0,0,0,.2);
    transform: translateX(100%); visibility: hidden; overflow-y: auto;
    transition: transform .4s var(--ease), visibility 0s linear .4s;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list > li > a { display: block; padding: 13px 0; border-bottom: 1px solid #eee; font-size: 19px; }
  .nav__list > li > a::after { display: none; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(15,15,40,.45); z-index: 99; }
  /* the blur filter would trap the fixed slide-out menu inside the header bar */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--canvas); }
}

@media (max-width: 960px) {
  .section { padding: 76px 0; }
  .split, .feature__grid, .profile__grid { grid-template-columns: 1fr; gap: 44px; }
  .feature__grid--rev .feature__img { order: 0; }
  .feature__text { max-width: none; }
  .cards { grid-template-columns: 1fr 1fr; gap: 24px 10px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .ambition__img { max-width: none; }
  .credentials { grid-template-columns: 1fr; }
  .page-hero { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .services { padding-top: 20px; }
  .feature--alt { padding-top: 0; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .header__inner { height: 92px; }
  .header__logo img { height: 76px; }
  .hero { padding: 0; }
  .hero .container { padding: 0; }
  .hero__box { aspect-ratio: 4 / 5; height: auto; min-height: 0; }
  .page-hero { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .sound-btn { right: 16px; font-size: 14px; white-space: nowrap; }
  .play-btn { right: 16px; width: 42px; height: 42px; }
  .cards { grid-template-columns: 1fr; gap: 34px; }
  .card__img { aspect-ratio: 4 / 3; }
  .stage { grid-template-columns: 42px 1fr; gap: 12px; }
  .stage__num { width: 42px; height: 42px; font-size: 15px; }
  .stage__card { padding: 16px; }
  .stage__icon svg { width: 28px; height: 28px; }
  .stages__quote { padding: 56px 20px 22px; }
  .stages__quote::before { left: 18px; top: 4px; }
  .pill-row .pill { flex: 1 1 100%; }
  .pill--wide { padding: 8px 8px 8px 34px; }
  .form__row { grid-template-columns: 1fr; }
}

/* =========================================================
   Inner-page components (Services, Sectors, How We Work, Expertise,
   Projects, Curated Collection, Media, Contact) – from the Squarespace references
   ========================================================= */

/* Boxed image hero without text (Services reference) */
.page-hero--plain::before { display: none; }

/* Two-column intro: heading left, copy right */
.intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: start; }
.intro-cols h1 { font-size: clamp(34px, 3.6vw, 60px); }
.intro-cols p { font-size: 17px; }
.intro-cols .lead { font-size: 21px; }
.statement { font-size: clamp(22px, 2vw, 30px); line-height: 1.35; color: var(--ink); }
.statement em { font-style: normal; color: var(--orange); }

/* Service / project list rows: thumbnail, title, description, action */
.rows-wrap { max-width: 1240px; margin: 0 auto; }
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 96px minmax(220px, 1.1fr) 1.6fr auto; gap: 30px; align-items: center;
  padding: 20px 28px; border-bottom: 1px solid var(--line); color: var(--ink); transition: background .35s, color .35s;
}
.row__img { width: 96px; aspect-ratio: 1; overflow: hidden; }
.row__img img { width: 100%; height: 100%; object-fit: cover; }
.row h3 { margin: 0; font-size: clamp(19px, 1.5vw, 24px); color: inherit; }
.row p { margin: 0; font-size: 16px; transition: color .35s; }
.row__link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-weight: 700; font-size: 15px; white-space: nowrap; transition: color .35s; }
.row__link svg { width: 40px; height: 40px; padding: 11px; border-radius: 50%; background: var(--blue); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: background .35s, stroke .35s; }
/* hover: the whole row turns solid blue, nothing moves */
.row:hover { background: var(--blue); color: #fff; }
.row:hover p { color: rgba(255,255,255,.85); }
.row:hover .row__link { color: #fff; }
.row:hover .row__link svg { background: #fff; stroke: var(--blue); }

/* Service detail block helpers */
.detail { scroll-margin-top: 140px; }
.detail__tag { font-size: 20px; color: var(--orange); margin: -4px 0 18px; }
.detail__label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 24px 0 10px; }
.closing-line { font-size: 19px; color: var(--ink); border-left: 3px solid var(--orange); padding-left: 16px; margin-top: 22px; }
.section--white { background: var(--white); }

/* Full-bleed hero + centred title block (Course reference) */
.center-head { max-width: 820px; margin: 0 auto; text-align: center; }
.center-head p { font-size: 18px; }
.center-head .pill { margin-top: 10px; }

/* Accordion (Course chapters) – native <details> */
.accordion { max-width: 900px; margin: 0 auto; display: grid; gap: 14px; }
.acc { background: var(--white); }
.acc summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 28px; gap: 18px; align-items: center;
  padding: 22px 26px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc__num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange); font-weight: 700; font-size: 18px; transition: background .3s, color .3s; }
.acc[open] .acc__num, .acc summary:hover .acc__num { background: var(--orange); color: #fff; }
.acc summary h3 { margin: 0; font-size: clamp(20px, 1.6vw, 26px); }
.acc summary small { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.acc__chev { width: 28px; height: 28px; transition: transform .35s var(--ease); fill: none; stroke: var(--ink); stroke-width: 2; }
.acc[open] .acc__chev { transform: rotate(180deg); }
.acc__body { padding: 0 26px 26px 100px; }
.acc__body p { font-size: 17px; }
.acc__items { display: grid; gap: 10px; margin-top: 6px; }
.acc__item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 16px; background: var(--canvas); }
.acc__item svg { width: 44px; height: 44px; padding: 11px; background: var(--blue); fill: #fff; }
.acc__item h4 { margin: 0 0 4px; font-size: 18px; color: var(--blue); }
.acc__item p { margin: 0; font-size: 16px; }

/* FAQ – thin rules with +/- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 17px 20px; font-size: 18px; color: var(--ink); transition: background .35s, color .35s;
}
.faq summary::-webkit-details-marker { display: none; }
/* + turns into x when open */
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 28px; line-height: 1; font-weight: 300; transition: transform .45s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open]:not(.is-closing) summary { color: var(--orange); }
/* hover: solid colour */
.faq summary:hover, .faq summary:focus-visible { background: var(--blue); color: #fff; }
.faq details p { font-size: 16px; margin: 0; padding: 4px 20px 20px; max-width: 680px; overflow: hidden; }

/* Card grid with text (sectors) */
.cards--text .card p:not(.card__meta) { font-size: 16px; line-height: 1.5; }
.cards--text .card h3 { font-weight: 700; color: var(--blue); }

/* Icon cards (disciplines) */
.icon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.icon-card { background: var(--white); padding: 34px 30px; transition: background .35s; }
.icon-card__icon { display: block; margin-bottom: 22px; }
.icon-card__icon svg { width: 46px; height: 46px; fill: var(--orange); transition: fill .35s; }
.icon-card h3 { font-weight: 700; color: var(--blue); margin-bottom: 8px; transition: color .35s; }
.icon-card p { font-size: 16px; margin: 0; transition: color .35s; }
/* hover: solid colour, nothing moves */
.icon-card:hover { background: var(--blue); }
.icon-card:hover h3 { color: #fff; }
.icon-card:hover p { color: rgba(255,255,255,.85); }
.icon-card:hover .icon-card__icon svg { fill: #fff; }
.icon-card--wide { grid-column: span 2; background: var(--blue); color: rgba(255,255,255,.9); display: flex; flex-direction: column; justify-content: center; }
.icon-card--wide h3 { color: #fff; font-weight: 400; font-size: clamp(22px, 1.9vw, 30px); }
.icon-card--wide:hover { background: var(--blue); }

/* Partner logo wall */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.logo-wall li { display: grid; place-items: center; aspect-ratio: 3 / 2; background: var(--white); padding: 22px; }
.logo-wall li.is-dark { background: var(--blue); }
.logo-wall img { max-height: 80px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .4s, opacity .4s; }
.logo-wall li:hover img { filter: none; opacity: 1; }

/* Project groups and numbered lists */
.project-group { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; padding: 70px 0; border-top: 1px solid var(--line); }
.project-group:first-child { border-top: 0; padding-top: 0; }
.project-group p { font-size: 17px; }
.plist { counter-reset: p; border-top: 1px solid var(--ink); }
.plist li { counter-increment: p; display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease); }
.plist li::before { content: counter(p, decimal-leading-zero); font-size: 14px; font-weight: 700; color: var(--orange); }
.plist li:hover { padding-left: 8px; }
.plist strong { font-weight: 400; font-size: 18px; }
.plist span { font-size: 14px; color: var(--muted); text-align: right; }

/* Flagship project cards: image with overlay label */
.flag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.flag { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; color: #fff; }
.flag img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.flag:hover img { transform: scale(1.06); }
.flag::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15,15,35,.82)); }
.flag figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.flag small { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--orange); padding: 4px 10px; margin-bottom: 10px; }
.flag strong { display: block; color: #fff; font-size: clamp(19px, 1.5vw, 24px); font-weight: 400; line-height: 1.2; }

/* Booking panel (Reserve a Consultation reference) */
.booking { background: var(--white); padding: 50px 34px 44px; }
.booking__head { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 34px; }
.booking__head svg { width: 20px; height: 20px; fill: var(--orange); }
.booking__list { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.booking__list li { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 24px; border-bottom: 1px solid var(--line); }
.booking__list li:last-child { border-bottom: 0; }
.booking__list strong { display: block; font-size: 17px; }
.booking__list span { font-size: 15px; color: var(--muted); }
.booking__btn {
  flex-shrink: 0; border: 0; cursor: pointer; padding: 9px 14px; background: var(--blue); color: #fff;
  font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .3s;
}
.booking__btn:hover { background: var(--orange); }
.booking__foot { text-align: center; font-size: 15px; color: var(--muted); margin: 30px 0 0; }

/* Coloured inquiry band (reference uses a full-width colour block for the form) */
.inquiry--band { background: #c9cae6; }
.inquiry--band .form input, .inquiry--band .form textarea, .inquiry--band .form select { border-color: var(--ink); }
.form select {
  display: block; width: 100%; margin-top: 5px; font: inherit; font-size: 16px; color: var(--ink);
  padding: 10px 40px 10px 16px; border: 1px solid #a8a8b6; border-radius: 22px; background: transparent; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.form select:focus { outline: none; border-color: var(--orange); }
.form .form__check { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.form .form__check input { display: inline-block; width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--blue); }

/* Contact page: form left, tall image right */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }
.contact-grid__img { aspect-ratio: 0.83 / 1; overflow: hidden; position: sticky; top: 150px; }
.contact-grid__img img { width: 100%; height: 100%; object-fit: cover; }
.contact-grid .form { margin-top: 40px; }

/* Media */
.media-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.media-cat { background: var(--white); padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .4s var(--ease), background .4s, color .4s; }
.media-cat svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: #fdeee9; fill: var(--orange); transition: background .4s, fill .4s; }
.media-cat h3 { margin: 0; font-weight: 700; color: var(--blue); transition: color .4s; }
.media-cat p { margin: 0; font-size: 15px; }
.media-cat:hover { background: var(--blue); color: rgba(255,255,255,.85); }
.media-cat:hover h3 { color: #fff; }
.media-cat:hover svg { background: var(--orange); fill: #fff; }
.media-block { padding-top: 70px; scroll-margin-top: 140px; }
.media-block > h2 { margin-bottom: 26px; }
.media-item { display: grid; grid-template-columns: 1fr 1.2fr; background: var(--white); }
.media-item__img { position: relative; min-height: 380px; overflow: hidden; }
.media-item__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.media-item:hover .media-item__img img { transform: scale(1.05); }
.media-item__body { padding: 44px 46px; display: flex; flex-direction: column; justify-content: center; }
.media-item__type { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.media-item h3 { font-size: clamp(22px, 2vw, 32px); margin-bottom: 12px; }
.media-item p { font-size: 16px; }
.media-item .pill { align-self: flex-start; margin-top: 8px; }
.audio-player { width: 100%; margin: 6px 0 4px; accent-color: var(--orange); }
.coming-soon { background: var(--white); padding: 44px; text-align: center; }
.coming-soon p { max-width: 620px; margin: 0 auto 18px; }

/* Article / talk pages */
.article { max-width: 760px; margin: 0 auto; }
.article__meta { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.article h1 { font-size: clamp(34px, 3.6vw, 56px); margin-bottom: 26px; }
.article h2 { font-size: clamp(24px, 2vw, 32px); margin: 44px 0 14px; }
.article p, .article li { font-size: 19px; line-height: 1.7; }
.article ul { list-style: none; margin: 0 0 1.2em; padding: 0; }
.article ul li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.article ul li::before { content: ""; position: absolute; left: 4px; top: .8em; width: 10px; height: 2px; background: var(--orange); }
.article blockquote { margin: 30px 0; padding: 26px 30px; background: var(--blue); color: #fff; }
.article blockquote p { margin: 0; font-size: 22px; line-height: 1.45; }
.article .speech p { margin-bottom: .5em; }
.article .speech h2 { color: var(--orange); }
.article__byline { display: flex; align-items: center; gap: 16px; padding: 22px 0; margin-top: 40px; border-top: 1px solid var(--line); }
.article__byline img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; }
.article__byline p { margin: 0; font-size: 16px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); margin-bottom: 30px; }
.back-link:hover { color: var(--orange); }

/* Gallery strip variant (3 across) */
.strip--3 { grid-template-columns: repeat(3, 1fr); }

/* Two CTA cards */
.cta-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cta-card { padding: 44px 40px; background: var(--white); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cta-card--blue { background: var(--blue); color: rgba(255,255,255,.88); }
.cta-card h3 { font-size: clamp(22px, 1.9vw, 30px); margin-bottom: 4px; }
.cta-card--blue h3 { color: #fff; }
.cta-card p { font-size: 17px; margin-bottom: 16px; }
.cta-card--blue .pill { background: var(--orange); border-color: var(--orange); }
.cta-card--blue .pill::before { background: #fff; }
.cta-card--blue .pill:hover { color: var(--blue); border-color: #fff; }

@media (max-width: 1100px) {
  .row { grid-template-columns: 90px 1fr auto; gap: 8px 20px; }
  .row__img { width: 90px; grid-row: 1 / 3; }
  .row p { grid-column: 2; grid-row: 2; }
  .row__link { grid-row: 1 / 3; grid-column: 3; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .media-cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .intro-cols, .project-group, .contact-grid, .media-item, .cta-cards { grid-template-columns: 1fr; gap: 30px; }
  .icon-cards, .flag-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid__img { position: static; }
  .media-item__img { min-height: 260px; }
}
@media (max-width: 640px) {
  .row { grid-template-columns: 64px 1fr; gap: 6px 16px; padding: 18px 14px; }
  .row__img { width: 64px; grid-row: 1 / 3; }
  .row p { grid-column: 2; }
  .row__link { grid-column: 2; grid-row: 3; }
  .acc summary { grid-template-columns: 42px 1fr 22px; gap: 12px; padding: 18px 16px; }
  .acc__num { width: 42px; height: 42px; font-size: 15px; }
  .acc__body { padding: 0 16px 20px; }
  .icon-cards, .flag-grid, .strip--3, .media-cats { grid-template-columns: 1fr; }
  .icon-card--wide { grid-column: auto; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .booking { padding: 34px 14px; }
  .booking__list li { padding: 20px 14px; }
  .media-item__body, .coming-soon, .cta-card { padding: 30px 22px; }
  .plist li { grid-template-columns: 34px 1fr; }
  .plist span { grid-column: 2; text-align: left; }
  .article p, .article li { font-size: 17px; }
}

/* Sector cards: four across, plus a call-to-action card */
.cards--4 { grid-template-columns: repeat(4, 1fr); gap: 34px 14px; }
.cards--4 .card__img { aspect-ratio: 4 / 3; }
.card--cta { background: var(--blue); color: rgba(255,255,255,.88); padding: 34px 30px; justify-content: center; align-items: flex-start; }
.card--cta h3, .cards--text .card--cta h3 { color: #fff; font-size: clamp(22px, 1.8vw, 28px); font-weight: 400; margin-bottom: 12px; }
.card--cta p { color: rgba(255,255,255,.88); flex: 0 0 auto !important; }
.card--cta .pill { background: var(--orange); border-color: var(--orange); margin-top: 10px; }
.card--cta .pill::before { background: #fff; }
.card--cta:hover .pill { color: var(--blue); border-color: #fff; }
@media (max-width: 1100px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards--4 { grid-template-columns: 1fr; } }
.section-title--sm { font-size: clamp(24px, 2.2vw, 36px); }
.credentials--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .credentials--2 { grid-template-columns: 1fr; } }
.experience__intro + .experience__intro { margin-top: -18px; }

/* ---------- Services mega menu: full-width, photo left, service names right ---------- */
.has-mega { padding: 44px 0; margin: -44px 0; } /* taller hover area so the pointer can travel down into the panel */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 120;
  background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 40px 60px -40px rgba(29,30,51,.45);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .4s var(--ease), visibility 0s linear .4s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.mega__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4vw; align-items: center; padding-top: 36px; padding-bottom: 40px; }
.mega__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--canvas); }
.mega__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s, transform 1.2s var(--ease); }
.has-mega:hover .mega__img img { transform: scale(1.04); }
.mega__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3vw; }
/* Text stays still; an orange fill sweeps in behind the row from left to right */
.mega__list a {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 16px; border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 1.35vw, 23px); line-height: 1.25; color: var(--ink);
  transition: color .35s;
}
.mega__list a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--orange); transform: scaleX(0); transform-origin: right center;
  transition: transform .5s var(--ease);
}
.mega__list a::after {
  content: ""; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--canvas) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d3e84' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 17.5 17 7M8.5 7H17v8.5'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: background-color .35s;
}
.mega__list a:hover, .mega__list a:focus-visible { color: #fff; }
.mega__list a:hover::before, .mega__list a:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.mega__list a:hover::after, .mega__list a:focus-visible::after {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f16a45' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 17.5 17 7M8.5 7H17v8.5'/%3E%3C/svg%3E");
}

@media (max-width: 1320px) {
  /* inside the slide-out menu: a simple indented list, no photo */
  .has-mega { padding: 0; margin: 0; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; transition: none; }
  .mega__inner { display: block; padding: 4px 0 10px 16px; }
  .mega__img { display: none; }
  .mega__list { display: block; }
  .mega__list a { padding: 9px 10px; font-size: 16px; border-bottom: 0; }
  .mega__list a::after { display: none; }
}

/* spacing inside the header-mounted dropdown (the header container rule would otherwise zero it) */
.header .mega__inner { padding-top: 36px; padding-bottom: 40px; }
/* statement lines keep their large size inside text columns */
.intro-cols .statement, .feature__text .statement, .center-head .statement { font-size: clamp(22px, 2vw, 30px); line-height: 1.35; }
.feature__text .statement { margin-bottom: 26px; }
@media (max-width: 1320px) { .header .mega__inner { padding: 4px 0 10px 16px; } }

/* blocks that follow a heading-left / text-right intro */
.strip--after, .credentials--after, .experience .strip--after { margin-top: clamp(36px, 4vw, 60px); }
.intro-cols--after { margin-top: clamp(30px, 3vw, 50px); }
.intro-cols .pill { margin-top: 12px; }
.intro-cols .pill-row .pill { margin-top: 0; }

/* ---------- Same left-to-right fill sweep on every remaining button ---------- */
.booking__btn { position: relative; }
.booking__btn, .sound-btn, .play-btn { isolation: isolate; }
.booking__btn::before, .sound-btn::before, .play-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: scaleX(0); transform-origin: right center; transition: transform .5s var(--ease);
}
.booking__btn::before { background: var(--orange); }
.sound-btn::before { background: var(--blue); }
.play-btn::before { background: var(--orange); }
.booking__btn:hover::before, .booking__btn:focus-visible::before,
.sound-btn:hover::before, .sound-btn:focus-visible::before,
.play-btn:hover::before, .play-btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
/* the fill replaces the old instant colour change */
.booking__btn:hover { background: var(--blue); }
.sound-btn:hover { background: var(--orange); }
.sound-btn.is-on:hover { background: rgba(20,20,45,.55); }
.play-btn:hover { background: rgba(20,20,45,.55); }
.booking__btn { padding: 11px 18px; }

/* ---------- Selected Projects: category tabs + filterable tiles ---------- */
.ptabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(34px, 3.4vw, 54px); }
.ptab {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 10px 10px 22px; border: 2px solid var(--blue); border-radius: 50px;
  background: transparent; color: var(--blue); cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 700; white-space: nowrap; flex-shrink: 0;
  transition: color .35s;
}
.ptab::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--blue);
  transform: scaleX(0); transform-origin: right center; transition: transform .5s var(--ease);
}
.ptab span {
  display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 50px;
  background: var(--canvas); color: var(--blue); font-size: 14px; transition: background .35s, color .35s;
}
.ptab:hover, .ptab.is-active { color: #fff; }
.ptab:hover::before, .ptab.is-active::before { transform: scaleX(1); transform-origin: left center; }
.ptab:hover span, .ptab.is-active span { background: var(--orange); color: #fff; }

.pintro { margin-bottom: clamp(34px, 3.4vw, 54px); }
.pintro[hidden], .ptile[hidden] { display: none; }

.ptiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ptile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  min-height: 230px; padding: 26px 26px 28px; background: var(--canvas); color: var(--ink);
  transition: color .4s;
}
.ptile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue);
  transform: scaleX(0); transform-origin: right center; transition: transform .55s var(--ease);
}
.ptile:hover { color: #fff; }
.ptile:hover::before { transform: scaleX(1); transform-origin: left center; }
.ptile__cat { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.ptile:hover .ptile__cat { color: rgba(255,255,255,.75); }
.ptile h3 { margin: 0; font-size: clamp(19px, 1.45vw, 24px); font-weight: 400; line-height: 1.25; color: inherit; }
.ptile__loc {
  display: inline-block; margin-top: 14px; padding: 5px 14px; border-radius: 50px;
  background: var(--orange); color: #fff; font-size: 14px; font-weight: 700;
}

/* photo tiles */
.ptile--photo { color: #fff; background: #222; }
.ptile--photo::before { display: none; }
.ptile--photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ptile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,15,35,.35) 0%, rgba(15,15,35,.15) 40%, rgba(15,15,35,.85) 100%); }
.ptile--photo:hover img { transform: scale(1.07); }
.ptile--photo .ptile__cat { color: rgba(255,255,255,.85); }

/* filtering animation */
.ptile.is-in { animation: ptile-in .5s var(--ease) both; }
@keyframes ptile-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ptile.is-in { animation: none; } }

@media (max-width: 1200px) { .ptiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .ptiles { grid-template-columns: repeat(2, 1fr); } .ptile { min-height: 200px; } }
@media (max-width: 640px) {
  /* tabs scroll sideways on phones */
  .ptabs { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none; }
  .ptabs::-webkit-scrollbar { display: none; }
  .ptab { font-size: 15px; }
  .ptiles { grid-template-columns: 1fr; }
  .ptile { min-height: 170px; padding: 22px; }
}

/* Projects grouped by category: intro text always visible above its tiles */
.pgroup[hidden] { display: none; }
.pgroup .intro-cols { margin-bottom: clamp(30px, 3vw, 46px); }
.pgroup:not([hidden]) ~ .pgroup:not([hidden]) { margin-top: clamp(60px, 6vw, 100px); padding-top: clamp(60px, 6vw, 100px); border-top: 1px solid var(--line); }

/* ---------- Footer: brand blue, large logo left, four link columns ---------- */
.footer {
  position: relative; overflow: hidden; isolation: isolate;
  background: #3d3e85; color: rgba(255,255,255,.78);
  padding: clamp(70px, 7vw, 110px) 0 0; font-size: 16px;
}
/* line-art tower from bg-branding.svg as a faint watermark in the corner */
.footer::before {
  content: ""; position: absolute; z-index: -1; right: -60px; bottom: -120px;
  width: min(520px, 46vw); aspect-ratio: 497 / 659;
  background: url("../images/bg-branding-line-white.svg") center / contain no-repeat;
  opacity: .12; pointer-events: none;
}
.footer__grid { display: grid; grid-template-columns: 1.15fr .7fr 1.2fr .7fr 1.55fr; gap: clamp(28px, 3vw, 56px); padding-bottom: clamp(50px, 5vw, 80px); }
.footer__logo { display: inline-block; }
.footer__logo img { width: clamp(170px, 15vw, 240px); height: auto; }
.footer__brand p { margin: 22px 0 0; max-width: 300px; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.85); }
.footer__title {
  position: relative; margin: 6px 0 22px; padding-bottom: 14px;
  font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--orange); }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { color: rgba(255,255,255,.78); transition: color .3s; }
.footer__col a:hover { color: var(--orange); }
.footer__social a, .footer__contact li { display: flex; align-items: center; gap: 12px; }
.footer__social span, .footer__contact li > span {
  flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.1); transition: background .3s;
}
.footer__social svg, .footer__contact svg { width: 17px; height: 17px; fill: #fff; }
.footer__social a:hover span { background: var(--orange); }
.footer__contact { margin-bottom: 24px; }
.footer__contact li { align-items: flex-start; line-height: 1.5; }
.footer__contact li > span { margin-top: -6px; }
.footer__contact a { word-break: break-word; }
/* light button on the blue background */
.pill--light { background: #fff; border-color: #fff; color: var(--blue); }
.pill--light::after { background-color: var(--blue); }
.footer .footer__col .pill--light { color: var(--blue); margin-top: 4px; }
.footer .footer__col .pill--light:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  padding: 22px var(--gutter); border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: rgba(255,255,255,.6);
}
.footer__bottom p { margin: 0; }
.footer__top { color: rgba(255,255,255,.8); font-weight: 700; }
.footer__top:hover { color: var(--orange); }

@media (max-width: 1200px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Branding line-art (bg-branding.svg) as faint corner accents ---------- */
.intro, .inquiry { position: relative; overflow: hidden; isolation: isolate; }
.intro::before, .inquiry::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  aspect-ratio: 497 / 659; background: url("../images/bg-branding-line.svg") center / contain no-repeat;
}
.intro::before { left: -65px; bottom: -200px; width: min(480px, 36vw); opacity: .1; }
.inquiry::before { left: -80px; bottom: -190px; width: min(440px, 34vw); opacity: .1; }
@media (max-width: 640px) { .intro::before, .inquiry::before { width: 240px; opacity: .1; } }

/* Full-width hero (How We Work) with the page name on the photo */
.wide-hero { position: relative; display: grid; place-items: center; height: min(30vw, 420px); min-height: 240px; overflow: hidden; background: #111; }
.wide-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wide-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(15,15,30,.38); }
.wide-hero h1 { position: relative; z-index: 2; margin: 0; padding: 0 24px; text-align: center; color: #fff; font-size: clamp(36px, 4.3vw, 72px); }

/* ---------- Lightbox enquiry form ---------- */
html.lightbox-open { overflow: hidden; }
.lightbox {
  width: min(1040px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 40px);
  padding: 0; border: 0; background: transparent; overflow: visible;
}
.lightbox::backdrop { background: rgba(20,20,48,.62); backdrop-filter: blur(4px); }
.lightbox[open] { animation: lightbox-in .38s var(--ease) both; }
.lightbox[open]::backdrop { animation: lightbox-fade .38s ease both; }
.lightbox.is-closing { animation: lightbox-out .22s ease both; }
.lightbox.is-closing::backdrop { animation: lightbox-fade .22s ease reverse both; }
@keyframes lightbox-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes lightbox-out { to { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes lightbox-fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox__panel {
  position: relative; display: grid; grid-template-columns: .82fr 1.18fr;
  max-height: calc(100vh - 40px); overflow: hidden; background: var(--canvas);
  box-shadow: 0 40px 90px -30px rgba(10,10,40,.6);
}
/* brand side: blue with the tower line-art */
.lightbox__brand {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; padding: 48px 40px 40px; background: #3d3e85; color: rgba(255,255,255,.85);
}
.lightbox__brand::before {
  content: ""; position: absolute; z-index: -1; right: -90px; bottom: -150px; width: 380px; aspect-ratio: 497 / 659;
  background: url("../images/bg-branding-line-white.svg") center / contain no-repeat; opacity: .14;
}
.lightbox__eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 22px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange);
}
.lightbox__eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.lightbox__title { margin: 0 0 10px; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; color: #fff; }
.lightbox__topic { margin: 0 0 22px; font-size: 20px; color: var(--orange); }
.lightbox__lead { margin: 0 0 26px; font-size: 18px; color: #fff; }
.lightbox__contact { display: grid; gap: 12px; margin-top: auto; }
.lightbox__contact li { display: flex; align-items: center; gap: 12px; }
.lightbox__contact span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); flex-shrink: 0; }
.lightbox__contact svg { width: 17px; height: 17px; fill: #fff; }
.lightbox__contact a { color: #fff; word-break: break-word; }
.lightbox__contact a:hover { color: var(--orange); }

/* form side */
.lightbox__form { padding: 44px 44px 36px; overflow-y: auto; gap: 14px; }
.lightbox__form .pill { justify-self: start; }
.lightbox__updates[hidden] { display: none; }
.lightbox__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--blue); color: #fff; font-size: 28px; line-height: 1; transition: background .3s;
}
.lightbox__close:hover { background: var(--orange); }

@media (max-width: 760px) {
  .lightbox { width: 100%; max-height: 100vh; height: 100%; margin: 0; }
  .lightbox__panel { display: block; max-height: none; height: 100%; overflow-y: auto; }
  .lightbox__brand { padding: 30px 22px 24px; }
  .lightbox__brand::before { width: 240px; bottom: -110px; right: -60px; }
  .lightbox__contact { margin-top: 4px; }
  .lightbox__form { padding: 26px 22px 30px; overflow: visible; }
  .lightbox__close { top: 10px; right: 10px; background: rgba(255,255,255,.18); }
}
@media (prefers-reduced-motion: reduce) { .lightbox[open], .lightbox.is-closing { animation: none; } }

/* logo boxes must not grow to their images natural width (phones) */
.logo-wall li { min-width: 0; }
.logo-wall img { max-width: 100%; height: auto; }

/* Footer Explore + Services links: orange underline draws in from left to right on hover */
.footer__col ul:not(.footer__social):not(.footer__contact) a {
  background: linear-gradient(var(--orange), var(--orange)) left bottom / 0 1px no-repeat;
  padding-bottom: 3px; transition: color .3s, background-size .4s var(--ease);
}
.footer__col ul:not(.footer__social):not(.footer__contact) a:hover,
.footer__col ul:not(.footer__social):not(.footer__contact) a:focus-visible { background-size: 100% 1px; }

/* ---------- Home service cards: more space between rows + water-fill hover ---------- */
.services .cards { gap: clamp(44px, 4vw, 64px) 10px; }

.card__img--wave { position: relative; }
/* blue "water" with a wavy top edge rises from the bottom */
.card__img--wave::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 135%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12 Q30 0 60 12 T120 12 T180 12 T240 12 V24 H0Z' fill='%233d3e84' fill-opacity='.88'/%3E%3C/svg%3E") 0 0 / 240px 24px repeat-x,
    linear-gradient(rgba(61,62,132,.88), rgba(61,62,132,.88)) 0 23px / 100% 100% no-repeat;
  transform: translateY(100%);
  transition: transform .9s cubic-bezier(.25,.8,.25,1);
  animation: wave-drift 2.4s linear infinite paused;
  pointer-events: none;
}
.card:hover .card__img--wave::before { transform: translateY(14%); animation-play-state: running; }
@keyframes wave-drift { to { background-position: 240px 0, 0 23px; } }

/* service name fades up once the water has risen */
.card__img--wave::after {
  content: attr(data-title); position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center; padding: 0 28px; text-align: center;
  color: #fff; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.2;
  opacity: 0; transform: translateY(18px);
  transition: opacity .4s, transform .5s var(--ease);
  pointer-events: none;
}
.card:hover .card__img--wave::after { opacity: 1; transform: none; transition-delay: .35s; }
.card:hover .card__img--wave img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .card__img--wave::before { transition: none; animation: none; }
}
@media (max-width: 640px) { .services .cards { gap: 40px; } }

/* =========================================================
   Refinements: roomier side margins, smaller images, plain icons,
   clickable photos, dropdown emblem, Contact page polish
   ========================================================= */

/* More space left and right across the whole site (header, hero and sections stay aligned) */
:root { --gutter: clamp(16px, 5vw, 96px); }

/* Photos that link */
.img-link { display: block; cursor: pointer; }
.feature__grid--rev .img-link { order: 2; }
.img-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

/* Image + text sections: image about 20% smaller, sized to sit alongside its text */
.feature__grid { grid-template-columns: .8fr 1fr; gap: 6vw; }
.feature__grid--rev { grid-template-columns: 1fr .8fr; }
.feature__img { aspect-ratio: 1 / 1.05; }
.feature--alt .feature__img { aspect-ratio: 4 / 3.4; }
.feature__text { max-width: 640px; }
.profile__grid { grid-template-columns: 1fr .8fr; gap: 6vw; }
.profile__img { aspect-ratio: .82 / 1; }
.ambition__img { max-width: 72%; aspect-ratio: 5 / 4; }

/* Services dropdown: brand emblem watermark */
.mega { overflow: hidden; }
.mega::after {
  content: ""; position: absolute; right: -50px; bottom: -150px; z-index: 0; width: 320px; aspect-ratio: 497 / 659;
  background: url("../images/bg-branding-line.svg") center / contain no-repeat; opacity: .12; pointer-events: none;
}
.mega__inner { position: relative; z-index: 1; }

/* How We Work: plain icons in the accordion */
.acc__item { grid-template-columns: 38px 1fr; }
.acc__item svg { width: 34px; height: 34px; padding: 0; background: none; fill: var(--blue); }
.acc__body { overflow: hidden; }

/* Media: plain icons on the category cards */
.media-cat svg { width: 40px; height: 40px; padding: 0; border-radius: 0; background: none; fill: var(--orange); }
.media-cat:hover svg { background: none; fill: #fff; }

/* Contact: photo matches the height of the contact content */
.contact-grid { align-items: stretch; grid-template-columns: 1fr .8fr; }
.contact-grid__img { position: relative; top: auto; aspect-ratio: auto; min-height: 520px; height: 100%; }
.contact-grid__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

/* Contact: booking panel bottom lines up with the photo on the left */
.booking { align-self: end; }
/* Book buttons: standard pill, solid colour on hover */
.booking__pill { flex-shrink: 0; }
.booking__pill::before { display: none; }
.booking__pill { transition: background .3s, border-color .3s; }
.booking__pill:hover, .booking__pill:focus-visible { background: var(--orange); border-color: var(--orange); }
.booking__pill:hover::after { animation: none; }

@media (max-width: 960px) {
  .feature__grid, .feature__grid--rev, .profile__grid, .contact-grid { grid-template-columns: 1fr; }
  .feature__grid--rev .img-link { order: 0; }
  .feature__img, .profile__img { aspect-ratio: 4 / 3.4; }
  .contact-grid__img { min-height: 0; height: auto; aspect-ratio: .83 / 1; }
  .ambition__img { max-width: none; }
  .booking { align-self: auto; }
}

/* Contact booking section: left photo stretches so its bottom meets the booking panel bottom */
@media (min-width: 961px) {
  .split:has(> .booking) { align-items: stretch; }
  .split:has(> .booking) > div:first-child { display: flex; flex-direction: column; }
  .split:has(> .booking) .ambition__img { flex: 1; aspect-ratio: auto; min-height: 280px; max-width: 82%; }
  .split:has(> .booking) .booking { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
}

/* ---------- Services overview: large image cards, 3 per row ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc {
  position: relative; isolation: isolate; overflow: hidden; display: block;
  aspect-ratio: 4 / 5; min-height: 440px; background: #1d1e33; color: #fff;
}
.svc img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc::after { /* dark fade so the title always reads */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,15,35,.15) 0%, rgba(15,15,35,0) 35%, rgba(15,15,35,.85) 100%);
}
.svc__num {
  position: absolute; top: 22px; left: 26px;
  font-size: clamp(44px, 4vw, 64px); font-weight: 700; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.85); transition: color .4s, -webkit-text-stroke-color .4s;
}
/* bottom panel: title always visible, tagline + Explore slide up on hover */
.svc__panel {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 30px 30px;
  transition: background .5s var(--ease);
}
.svc__panel h3 { margin: 0; color: #fff; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.2; }
.svc__panel h3::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: 16px; background: var(--orange); transition: width .5s var(--ease); }
.svc__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .55s var(--ease), opacity .4s, margin .55s var(--ease); }
.svc__more > * { min-height: 0; overflow: hidden; }
.svc__more p { margin: 0; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.9); }
.svc__cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.svc__cta svg { width: 40px; height: 40px; padding: 11px; border-radius: 50%; background: var(--orange); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.svc:hover img, .svc:focus-visible img { transform: scale(1.08); }
.svc:hover .svc__panel, .svc:focus-visible .svc__panel { background: rgba(61,62,132,.94); }
.svc:hover .svc__panel h3::before, .svc:focus-visible .svc__panel h3::before { width: 64px; }
.svc:hover .svc__more, .svc:focus-visible .svc__more { grid-template-rows: 1fr; opacity: 1; margin-top: 14px; }
.svc:hover .svc__num, .svc:focus-visible .svc__num { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.svc:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* touch screens / phones: show the tagline without needing hover */
@media (hover: none), (max-width: 760px) {
  .svc__more { grid-template-rows: 1fr; opacity: 1; margin-top: 12px; }
  .svc__panel { background: linear-gradient(transparent, rgba(61,62,132,.9) 30%); }
}
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .svc { min-height: 400px; } }

/* ---------- Contact: "Select an Option" as 2x2 tiles matching the left column height ---------- */
.book-opts { display: flex; flex-direction: column; }
.book-opts .stages__label { margin-bottom: 18px; }
.book-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 12px; }
.book-tile {
  position: relative; isolation: isolate; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; text-align: left;
  min-height: 170px; padding: 26px 26px 24px; border: 0; background: var(--canvas); color: var(--ink);
  font-family: inherit; transition: color .4s;
}
.book-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue);
  transform: scaleX(0); transform-origin: right center; transition: transform .55s var(--ease);
}
.book-tile__top { display: flex; align-items: center; justify-content: space-between; }
.book-tile__num { font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--orange); }
.book-tile__top svg { width: 38px; height: 38px; fill: var(--orange); transition: fill .4s; }
.book-tile h3 { margin: 0; font-size: clamp(21px, 1.7vw, 27px); font-weight: 400; line-height: 1.2; color: inherit; }
.book-tile__cta { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); transition: color .4s; }
.book-tile__cta svg { width: 40px; height: 40px; padding: 11px; border-radius: 50%; background: var(--blue); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: background .4s; }
.book-tile:hover, .book-tile:focus-visible { color: #fff; }
.book-tile:hover::before, .book-tile:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.book-tile:hover .book-tile__top svg, .book-tile:focus-visible .book-tile__top svg { fill: #fff; }
.book-tile:hover .book-tile__cta, .book-tile:focus-visible .book-tile__cta { color: #fff; }
.book-tile:hover .book-tile__cta svg, .book-tile:focus-visible .book-tile__cta svg { background: var(--orange); }
.book-tile:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.book-opts__foot { margin: 16px 0 0; font-size: 15px; color: var(--muted); }

/* left photo stretches so both columns share the same top and bottom */
@media (min-width: 961px) {
  .split:has(> .book-opts) { align-items: stretch; }
  .split:has(> .book-opts) > div:first-child { display: flex; flex-direction: column; }
  .split:has(> .book-opts) .ambition__img { flex: 1; aspect-ratio: auto; min-height: 280px; max-width: none; margin-top: 30px; }
}
@media (max-width: 520px) { .book-grid { grid-template-columns: 1fr; } .book-tile { min-height: 130px; } }

/* ---------- Home hero: photo slideshow of Paul ---------- */
.hero-slider { --hs-time: 5s; background: #1d1e33; }
.hs__slides { position: absolute; inset: 0; }
.hs__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s cubic-bezier(.4,0,.2,1); }
.hs__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); will-change: transform; }
.hs__slide.is-active { opacity: 1; z-index: 1; }
.hs__slide.is-leaving { opacity: 0; z-index: 0; }
/* slow Ken Burns drift on the showing photo */
.hs__slide.is-active img, .hs__slide.is-leaving img { animation: hs-zoom calc(var(--hs-time) + 2s) linear forwards; }
@keyframes hs-zoom { from { transform: scale(1.14) translate3d(1.5%, 0, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }

/* brand-blue wash on the left so the text always reads */
.hero-slider::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(31,32,72,.88) 0%, rgba(31,32,72,.62) 34%, rgba(31,32,72,0) 64%);
}
.hero-slider::after { /* faint brand line-art behind the text */
  content: ""; position: absolute; z-index: 2; left: -70px; bottom: -190px; width: min(460px, 34vw); aspect-ratio: 497 / 659;
  background: url("../images/bg-branding-line-white.svg") center / contain no-repeat; opacity: .1; pointer-events: none;
}

.hs__content {
  position: absolute; z-index: 3; left: clamp(26px, 5vw, 80px); top: 50%; transform: translateY(-50%);
  max-width: min(560px, 46%); color: #fff;
}
/* each line wipes up from behind a mask, one after another */
.hs__line { margin: 0; overflow: hidden; }
.hs__line > span { display: block; transform: translateY(105%); opacity: 0; transition: transform 1.1s cubic-bezier(.2,.8,.2,1), opacity .9s ease; }
.hero-slider.is-ready .hs__line > span { transform: none; opacity: 1; }
.hero-slider.is-ready .hs__name > span { transition-delay: .25s; }
.hero-slider.is-ready .hs__role > span { transition-delay: .45s; }
.hero-slider.is-ready .hs__lead > span { transition-delay: .65s; }
.hero-slider.is-ready .hs__cta > span { transition-delay: .9s; }

.hs__name { font-size: clamp(38px, 4.6vw, 74px); line-height: 1.05; }
.hs__name small { font-size: .32em; letter-spacing: .1em; color: rgba(255,255,255,.75); vertical-align: middle; }
.hs__role { margin-top: 10px; font-size: clamp(18px, 1.6vw, 24px); color: var(--orange); }
.hs__role > span::before { content: ""; display: inline-block; width: 34px; height: 2px; margin-right: 12px; background: currentColor; vertical-align: middle; }
.hs__lead { margin-top: 22px; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: rgba(255,255,255,.92); }
.hs__cta { margin-top: 28px; padding: 6px 0 8px; }
.hs__cta .pill { background: var(--orange); border-color: var(--orange); }
.hs__cta .pill::before { background: #fff; }
.hs__cta .pill:hover, .hs__cta .pill:focus-visible { color: var(--blue); border-color: #fff; }

/* progress bars */
.hs__nav { position: absolute; z-index: 3; right: clamp(20px, 3vw, 44px); bottom: clamp(18px, 2.4vw, 32px); display: flex; gap: 14px; }
.hs__dot { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 4px 0; border: 0; background: none; cursor: pointer; color: rgba(255,255,255,.6); font-family: inherit; }
.hs__num { font-size: 13px; font-weight: 700; letter-spacing: .08em; transition: color .3s; }
.hs__bar { position: relative; display: block; width: clamp(34px, 4vw, 60px); height: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.hs__bar i { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.hs__dot.is-active { color: #fff; }
.hs__dot.is-active .hs__bar i { animation: hs-progress var(--hs-time) linear forwards; }
.hero-slider.is-paused .hs__dot.is-active .hs__bar i { animation-play-state: paused; }
.hs__dot:hover .hs__num, .hs__dot:focus-visible .hs__num { color: var(--orange); }
@keyframes hs-progress { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .hs__slide img, .hs__slide.is-active img { animation: none; transform: none; }
  .hs__line > span { transition: none; }
}
@media (max-width: 760px) {
  .hero-slider::before { background: linear-gradient(0deg, rgba(31,32,72,.92) 0%, rgba(31,32,72,.6) 45%, rgba(31,32,72,0) 75%); }
  .hs__content { top: auto; bottom: 64px; transform: none; left: 20px; right: 20px; max-width: none; }
  .hs__lead { margin-top: 14px; }
  .hs__cta { margin-top: 18px; }
  .hs__nav { left: 20px; right: auto; bottom: 18px; gap: 10px; }
  .hs__num { display: none; }
}

/* Booking tiles: outlined numbers (like the service cards, smaller) + standard button */
.book-tile__num { font-size: clamp(30px, 2.6vw, 40px); line-height: 1; letter-spacing: 0; color: transparent; -webkit-text-stroke: 1.3px var(--blue); transition: color .4s, -webkit-text-stroke-color .4s; }
.book-tile:hover .book-tile__num, .book-tile:focus-visible .book-tile__num { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.book-tile__btn { align-self: flex-start; pointer-events: none; }
.book-tile:hover .book-tile__btn, .book-tile:focus-visible .book-tile__btn { border-color: var(--orange); }
.book-tile:hover .book-tile__btn::before, .book-tile:focus-visible .book-tile__btn::before { transform: scaleX(1); transform-origin: left center; }
.book-tile:hover .book-tile__btn::after { animation: arrow-fly .6s var(--ease); }

/* Hero: brand curtain transition instead of a cross-fade */
.hs__slide { transition: none; }
.hs__curtain { position: absolute; inset: 0; z-index: 2; display: flex; pointer-events: none; }
.hs__curtain span { flex: 1; height: 100%; background: var(--blue); transform: translateY(-101%); }
.hs__curtain span:nth-child(even) { background: #34357a; }
.hs__curtain span:last-child { background: var(--orange); }
.hs__curtain.is-covering span { transform: translateY(0); transition: transform .5s cubic-bezier(.7,0,.3,1); }
.hs__curtain.is-revealing span { transform: translateY(101%); transition: transform .6s cubic-bezier(.7,0,.3,1); }
.hs__curtain.is-covering span:nth-child(2), .hs__curtain.is-revealing span:nth-child(2) { transition-delay: .05s; }
.hs__curtain.is-covering span:nth-child(3), .hs__curtain.is-revealing span:nth-child(3) { transition-delay: .1s; }
.hs__curtain.is-covering span:nth-child(4), .hs__curtain.is-revealing span:nth-child(4) { transition-delay: .15s; }
.hs__curtain.is-covering span:nth-child(5), .hs__curtain.is-revealing span:nth-child(5) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .hs__curtain { display: none; } }

/* ---------- Brand emblem accents ---------- */
/* inner page heroes: small white emblem on the right */
.page-hero::after {
  content: ""; position: absolute; z-index: 1; right: clamp(20px, 5%, 80px); bottom: -14%;
  width: clamp(120px, 15vw, 230px); aspect-ratio: 497 / 659;
  background: url("../images/bg-branding-line-white.svg") center / contain no-repeat;
  opacity: .45; animation: mark-in 1.6s .4s cubic-bezier(.2,.7,.2,1) backwards; pointer-events: none;
}
@keyframes mark-in { from { opacity: 0; transform: translateY(30px); } }

/* long pages: large faint emblem behind a middle section */
.has-brand-mark { position: relative; overflow: hidden; isolation: isolate; }
.brand-mark {
  position: absolute; z-index: -1; top: 50%; right: -90px; width: min(520px, 38vw); aspect-ratio: 497 / 659;
  background: url("../images/bg-branding-line.svg") center / contain no-repeat;
  opacity: .08; transform: translateY(-50%); animation: mark-drift 9s ease-in-out infinite alternate; pointer-events: none;
}
.brand-mark--left { right: auto; left: -90px; }
@keyframes mark-drift { from { transform: translateY(-53%) rotate(-2deg); } to { transform: translateY(-47%) rotate(2deg); } }
@media (max-width: 760px) { .brand-mark { width: 300px; opacity: .06; } .page-hero::after { width: 90px; } }
@media (prefers-reduced-motion: reduce) { .page-hero::after { animation: none; } .brand-mark { animation: none; } }

/* Hero: parallax slide transition (replaces the curtain) */
.hs__curtain { display: none; }
.hs__slide { overflow: hidden; }
.hs__slide.is-entering { opacity: 1; z-index: 2; }

/* Hero: soft feathered wipe between photos (replaces the parallax slide) */
.hs__slide.is-entering {
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
}
.hs__slide.is-entering--back {
  -webkit-mask-image: linear-gradient(270deg, #000 40%, transparent 60%); mask-image: linear-gradient(270deg, #000 40%, transparent 60%);
  -webkit-mask-position: 0% 0; mask-position: 0% 0;
}

/* keep every photo (including the one being revealed) below the text gradient – stops the sudden dark flash */
.hs__slides { z-index: 1; }

/* the incoming photo zooms from the moment the wipe starts, so nothing jumps when it takes over */
.hs__slide.is-entering img { animation: hs-zoom calc(var(--hs-time) + 2s) linear forwards; }

/* Partner logos: seven on one row; on smaller screens the last row is centred */
.logo-wall { grid-template-columns: repeat(7, 1fr); }
@media (max-width: 1320px) {
  .logo-wall { display: flex; flex-wrap: wrap; justify-content: center; }
  .logo-wall li { flex: 0 0 calc(25% - 7.5px); }
}
@media (max-width: 640px) {
  .logo-wall li { flex: 0 0 calc(50% - 5px); }
}
/* all boxes the same height, even with taller logos */
.logo-wall li { padding: 14px 20px; }
.logo-wall img { max-height: 70px; }

/* Partner logos: eight on one row on desktop (4 + 4 on tablet, 2 per row on phones) */
@media (min-width: 1321px) { .logo-wall { grid-template-columns: repeat(8, 1fr); } }

/* About: 3x3 photo gallery (stays 3 across on phones as small thumbnails) */
.strip--gallery figure { aspect-ratio: 4 / 3.2; }
@media (max-width: 640px) { .strip--gallery { grid-template-columns: repeat(3, 1fr); gap: 3px; } }

/* Other Services rows: text only (no thumbnails, so service photos never repeat) */
.row--text { grid-template-columns: minmax(240px, 1.1fr) 1.6fr auto; }
@media (max-width: 1100px) { .row--text { grid-template-columns: 1fr auto; } .row--text h3 { grid-column: 1; grid-row: 1; } .row--text p { grid-column: 1; grid-row: 2; } .row--text .row__link { grid-column: 2; grid-row: 1 / 3; } }
@media (max-width: 640px) { .row--text { grid-template-columns: 1fr; } .row--text .row__link { grid-column: 1; grid-row: 3; } }

/* Podcast name */
.podcast-name { margin: 0 0 12px; font-size: clamp(26px, 2.4vw, 38px); color: var(--blue); }

/* Photographer credit on a project tile */
.ptile__credit { position: absolute; right: 12px; top: 12px; z-index: 1; font-size: 11px; letter-spacing: .04em; color: rgba(255,255,255,.85); background: rgba(15,15,35,.45); padding: 3px 8px; border-radius: 3px; }
/* Media hero: title on the left so the face in the photo stays clear */
.page-hero--left { place-items: center start; }
.page-hero--left .page-hero__title { padding-left: clamp(24px, 6vw, 90px); text-align: left; }

/* ---------- Project photo galleries ---------- */
.ptile[data-gallery] { cursor: pointer; }
.ptile[data-gallery]:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.ptile__count {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 50px;
  background: rgba(15,15,35,.6); color: #fff; font-size: 13px; font-weight: 700; transition: background .3s;
}
.ptile__count svg { width: 15px; height: 15px; fill: #fff; }
.ptile:hover .ptile__count, .ptile:focus-visible .ptile__count { background: var(--orange); }
.ptile:not(.ptile--photo) .ptile__count { background: var(--blue); }

.gallery {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(16,16,36,.96); color: #fff; overflow: hidden;
}
.gallery[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lightbox-fade .35s ease both; }
.gallery::backdrop { background: rgba(16,16,36,.96); }
.gallery__top { display: flex; align-items: center; gap: 20px; padding: 18px var(--gutter) 12px; }
.gallery__title { margin: 0; font-size: clamp(18px, 1.6vw, 24px); }
.gallery__count { margin: 0 0 0 auto; font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--orange); }
.gallery__close { width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; transition: background .3s; }
.gallery__close:hover { background: var(--orange); }
.gallery__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(16px, 7vw, 110px); }
.gallery__img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: 0; transform: scale(.98); transition: opacity .45s ease, transform .6s var(--ease); }
.gallery__img.is-in { opacity: 1; transform: none; }
.gallery__credit { position: absolute; right: clamp(16px, 7vw, 110px); bottom: 6px; margin: 0; font-size: 12px; color: rgba(255,255,255,.75); }
.gallery__nav {
  position: absolute; top: 50%; z-index: 2; width: 54px; height: 54px; margin-top: -27px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: rgba(255,255,255,.12); transition: background .3s;
}
.gallery__nav:hover { background: var(--orange); }
.gallery__nav svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.gallery__nav--prev { left: clamp(10px, 2vw, 34px); }
.gallery__nav--next { right: clamp(10px, 2vw, 34px); }
.gallery__thumbs { display: flex; gap: 8px; justify-content: center; overflow-x: auto; padding: 14px var(--gutter) 20px; scrollbar-width: none; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumbs button { flex: 0 0 auto; width: 76px; height: 54px; padding: 0; border: 2px solid transparent; cursor: pointer; background: none; opacity: .5; transition: opacity .3s, border-color .3s; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button:hover { opacity: .85; }
.gallery__thumbs button.is-active { opacity: 1; border-color: var(--orange); }
@media (max-width: 760px) {
  .gallery__nav { width: 42px; height: 42px; margin-top: -21px; background: rgba(15,15,35,.55); }
  .gallery__stage { padding: 0 8px; }
  .gallery__thumbs { justify-content: flex-start; }
  .gallery__thumbs button { width: 58px; height: 42px; }
}
/* keep the gallery within the screen: the big photo must not stretch its column */
.gallery[open] { grid-template-columns: minmax(0, 1fr); }
.gallery__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); overflow: hidden; }
.gallery__img { width: auto; height: auto; max-height: 100%; justify-self: center; align-self: center; }
.gallery__top { min-width: 0; } .gallery__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
