/* ==========================================================================
   HJW The Caterer â€” Stylesheet
   Fonts: Eames Century Modern (display serif), Brown (logo/nav/labels),
          Effra (body)
   ========================================================================== */

@font-face {
  font-family: "Eames Century Modern";
  src: url("../fonts/Eames Century Modern-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Eames Century Modern";
  src: url("../fonts/Eames Century Modern-Regular Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Brown";
  src: url("../fonts/Brown-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Brown";
  src: url("../fonts/Brown-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Effra";
  src: url("../fonts/Effra-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Effra Light";
  src: url("../fonts/EffraLight-Regular.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --color-orange: #CD212A;
  
  --color-orange-deep: #e2351f;
  --color-black: #0c0c0c;
  --color-near-black: #141414;
  --color-cream: #f1ede7;
  --color-blush: #f8eee9;
  --color-white: #ffffff;
  --color-ink: #1c1c1c;
  --color-ink-soft: #4a4a48;

  --font-display: "Eames Century Modern", Georgia, serif;
  --font-nav: "Brown", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Effra", "Helvetica Neue", Arial, sans-serif;
  --font-body-light: "Effra Light", "Helvetica Neue", Arial, sans-serif;

  --h1: clamp(2.75rem, 3vw + 2.2rem, 8.25rem);
  /* 132px desktop / 80px mobile handled via clamp */
  --h2: clamp(2.1rem, 1.4vw + 1.7rem, 4rem);
  /* 64px */
  --h3: clamp(1.7rem, 1vw + 1.4rem, 3rem);
  /* 48px */
  --body-lg: clamp(1.05rem, 0.3vw + 1rem, 1.5625rem);
  /* 25px */
  --body: 1rem;
  --label: 0.875rem;

  --container-max: 1440px;
  --gutter: clamp(20px, 4vw, 60px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed-slow: 900ms;
  --speed-med: 600ms;
  --speed-fast: 300ms;
}

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

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--color-orange);
  color: var(--color-white);
}

:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}


/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-nav);
  font-size: var(--label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h1,
.h1 {
  font-size: var(--h1);
  line-height: 1.02;
}

h2,
.h2 {
  font-size: var(--h2);
  line-height: 1.1;
}

h3,
.h3 {
  font-size: var(--h3);
  line-height: 1.15;
}

em,
i {
  font-style: italic;
}

.body-lg {
  font-size: var(--body-lg);
  line-height: 1.5;
}

.body-copy {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
  max-width: 38em;
}

/* ---------- Buttons / Links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-nav);
  font-size: var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.1em 2em;
  border: 1px solid currentColor;
  transition: background var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease);
}

.btn--light {
  color: var(--color-white);
}

.btn--light:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.btn--dark {
  color: var(--color-ink);
}

.btn--dark:hover {
  background: var(--color-ink);
  color: var(--color-white);
}

.link-underline {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: opacity var(--speed-fast) var(--ease);
}

.link-underline:hover {
  opacity: 0.6;
}

.text-link {
  font-family: var(--font-nav);
  font-size: var(--label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 0.3em;
  transition: opacity var(--speed-fast) var(--ease);
}

.text-link:hover {
  opacity: 0.55;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  /* padding: clamp(20px, 2.5vw, 34px) var(--gutter); */
  mix-blend-mode: normal;
  background-color: transparent;
  color: var(--color-white);
  transition: padding var(--speed-med) var(--ease),
              background-color var(--speed-fast) var(--ease);
}

/* Bleed the header background a couple of px above the viewport edge so no
   hairline of page background can flash at the top while scrolling (mobile
   URL-bar collapse / sub-pixel rounding). Tracks the transparent->black bg. */
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 2px;
  background: inherit;
}

.site-header.is-scrolled {
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-family: var(--font-nav);
  font-weight: 500;
  color: var(--color-orange);
  font-size: clamp(31px, 1.7vw, 35px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
}

.main-nav a {
  font-family: var(--font-nav);
  /* font-size: var(--label); */
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  color: var(--color-orange);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--speed-fast) var(--ease);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 22px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: currentColor;
  width: 100%;
  color: var(--color-orange);
  transition: transform var(--speed-fast) var(--ease), opacity var(--speed-fast) var(--ease);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0vh;
}

.hero__panel {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  /* position: absolute; inset: 0; */
  transform: scale(1.06);
  transition: transform 1.6s var(--ease);
}

.hero.is-loaded .hero__panel img {
  transform: scale(1);
}

.hero__headline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  color: var(--color-white);
  width: 90%;
  max-width: 1100px;
  /* font-size: 910px; */

}

.hero__headline h1 {
  /* font-size: var(--h1); */
  font-size: 92px;
  color: var(--color-orange);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
   Section spacing / generic blocks
   ========================================================================== */
.section {
  padding: clamp(70px, 9vw, 150px) 0;
}

.section--tight {
  padding: clamp(50px, 6vw, 100px) 0;
}

.section--cream {
  background: var(--color-cream);
}

.section--blush {
  background: var(--color-blush);
}

.section--black {
  background: var(--color-black);
  color: var(--color-white);
}

.section--orange {
  background: var(--color-orange);
  color: var(--color-ink);
}

.section--white {
  background: var(--color-white);
}

.intro {
  text-align: center;
  margin: 0 auto;
}

.intro h2 {
  margin-bottom: 0.4em;
}

.intro p {
  font-size: 17px;
}

.intro .body-lg {
  color: var(--color-ink-soft);
  margin-bottom: 1em;
}

/* Split layout: image | text (and reverse) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.split__media {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.split__text {
  padding: clamp(40px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split__text .eyebrow {
  margin-bottom: 1.5em;
  opacity: 0.7;
}

.split__text h3 {
  margin-bottom: 0.7em;
}

.split__text .body-copy+.body-copy {
  margin-top: 1.2em;
}

.split--dark {
  background: var(--color-near-black);
  color: var(--color-white);
}

.split--dark .body-copy {
  color: rgba(255, 255, 255, 0.78);
}

/* Feature split: dark photo+overlay text | collage */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-cream);
}

.feature-split__media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--color-near-black);
}

.feature-split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.feature-split__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.feature-split__overlay {
  position: absolute;
  top: 130px;
  z-index: 2;
  color: var(--color-white);
  padding: clamp(15px, 3vw, 30px);
}

.feature-split__overlay h3 {
  margin-bottom: 0.6em;
}

.feature-split__overlay .body-copy {
  color: rgba(255, 255, 255, 0.82);
  max-width: 32em;
}

/* Collage grid (4 images on cream bg) */
.collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  
  padding: clamp(30px, 4vw, 60px);
  align-content: center;
}


.collage img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.collage__item:nth-child(1) {
  /* border: 20px solid var(--color-cream); */
}

.collage__item--low {
  align-self: end;
}

.collage__item--high {
  align-self: start;
}


/* Values band (4-col orange) */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  padding-left: 100px;
}

.values__item h3 {
  font-size: clamp(1.9rem, 1.6vw, 3rem);
  margin-bottom: 0.5em;
}

.values__item .rule {
  display: block;
  width: 20px;
  height: 2px;
  background: black;
  opacity: 0.5;
  margin-top: 1.4em;
}

/* Full-bleed image with overlay statement */
.statement-photo {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.statement-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.statement-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
}

/*.statement-photo__text {*/
/*  position: absolute;*/
/*  top: 190px;*/
/*  z-index: 2;*/
/*  color: var(--color-white);*/
/*  padding: clamp(25px, 5vw, 70px) var(--gutter);*/
/*  max-width: 800px;*/
/*font-size: var(--h3);*/
/*font-size: 1.5rem;*/
/*  font-family: var(--font-display);*/
/*}*/


.statement-photo__text {
  position: absolute;
  bottom: 11rem;
  z-index: 2;
  color: var(--color-white);
  padding: clamp(25px, 5vw, 70px) var(--gutter);
  max-width: 800px;
  font-size: 2.4rem; /* R1: increased — was 1.8rem (smaller than 'Some gatherings...' at 32px) */
  font-family: var(--font-display);
}

/* Centered statement text block */
.statement {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.statement .lead {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 0.1em;
}

.statement .sub {
  font-size: 1.05rem;
  color: var(--color-ink-soft);
  margin-bottom: 0.4em;
}

.statement .lead--small {
  font-size: var(--body-lg);
  font-family: var(--font-body);
  color: var(--color-ink-soft);
  margin-bottom: 0.3em;
}

.statement .closing {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  margin-top: 0.1em;
}

/* Gatherings split-with-list section */
.gatherings {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.gatherings__media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.gatherings__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* R1: restored headline over the left-hand gatherings image */
.gatherings__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.gatherings__headline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2.4vw, 3rem);
  line-height: 1.1;
  padding: clamp(24px, 4vw, 48px);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.gatherings__panel {
  background: var(--color-orange);
  padding: clamp(10px, 3vw, 20px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.3em;
  padding: 40px 20px;
}

.gatherings__panel .pair {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  line-height: 1;
}

.gatherings__panel .pair .reg {
  display: block;
}

.gatherings__panel .pair .it {
  display: block;
  font-style: italic;
}

.gatherings__panel .divider {
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

/* Moment photo + closing line */
.moment-photo {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.moment-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moment-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.45) 10%, rgba(0, 0, 0, 0) 60%);
}

.moment-photo h2 {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  padding: 0 var(--gutter);
  font-size: clamp(2.4rem, 6vw, 5rem);
  max-width: 700px;
}

.closing-line {
  text-align: center;
  padding: clamp(60px, 8vw, 120px) var(--gutter);
}

.closing-line p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-orange);
  font-size: clamp(6rem, 5vw, 7.8rem);
}

/* ==========================================================================
   Marquee / infinite scroll logos
   ========================================================================== */
.marquee-wrap {
  background: var(--color-white);
  overflow: hidden;
  width: 100vw  ;
}

.marquee-intro {
  max-width: max-content; 
  text-align: center;
  padding: 100px 100px;
  margin: 0 auto;
}

.marquee-intro .body-lg {
  font-size: clamp(1rem, 4vw, 28px);
  line-height: 1.4;
  font-family: var(--font-display);
  max-width: 1000px;
}

/* Client logo grid — every brand appears exactly once, no repeats
   (replaces the animated marquee, which required duplicated tracks) */
/* ── Logo marquee ─────────────────────────────────────────── */
.marquee-wrap {
  background: var(--color-cream);
  overflow: hidden;
  padding: clamp(40px, 5vw, 64px) 0;
}

.logo-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
  animation: logo-scroll 36s linear infinite;
}

/* pause on hover / keyboard focus for accessibility */
.marquee-wrap2:hover .logo-grid,
.marquee-wrap2:focus-within .logo-grid {
  animation-play-state: paused;
}

.logo-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 clamp(28px, 3.5vw, 56px);
}

.logo-grid img {
  max-height: 38px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  display: block;
}

.logo-grid img.logo--badge {
  max-height: 46px;
}

.logo-grid img.logo--wide {
  max-height: 28px;
  max-width: 160px;
}

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Mobile: slightly smaller marks, same speed */
@media (max-width: 880px) {
  .logo-grid img          { max-height: 28px; max-width: 90px; }
  .logo-grid img.logo--badge { max-height: 34px; }
  .logo-grid img.logo--wide  { max-height: 22px; max-width: 120px; }
  .logo-grid li           { padding: 0 clamp(20px, 5vw, 36px); }
}
.logo-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.logo-grid img {
  max-height: 40px;
  max-width: 132px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
}

/* near-square marks read small at wordmark height — let them sit taller */
.logo-grid img.logo--badge {
  max-height: 48px;
}

/* very wide wordmarks need more width at a lower height */
.logo-grid img.logo--wide {
  max-height: 30px;
  max-width: 176px;
}

/* ==========================================================================
   Consultancy
   ========================================================================== */
.consultancy {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.consultancy img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultancy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.15) 100%);
}

.consultancy__text {
  position: relative;
  left: 60px;
  z-index: 2;
  color: var(--color-white);
  max-width: 560px;
  padding: clamp(40px, 6vw, 0px) var(--gutter);
}

.consultancy__text .eyebrow {
  opacity: 0.75;
  margin-bottom: 1.4em;
  display: block;
}

.consultancy__text h2 {
  margin-bottom: 0.8em;
}

.consultancy__text .body-copy {
  color: white;
}

.consultancy__text .body-copy+.body-copy {
  margin-top: 10px;
}

.consultancy__cta {
  margin-top: 2em;
  display: inline-block;
}

.consultancy__more {
  display: none;
}

/* Areas of expertise */
.expertise {
  text-align: center;
  padding: clamp(60px, 8vw, 100px) var(--gutter);
}

.expertise .eyebrow {
  display: block;
  margin-bottom: 1em;
  color: var(--color-ink-soft);
}


  .expertise h2 {
    font-size: 25px;
    margin-bottom: 20px;
  }
.expertise__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0em 4em;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.expertise__grid li {
  font-size: 16px;
  color: var(--color-ink-soft);
  line-height: 1.5;
}

/* Mobile responsive */
@media (max-width: 880px) {
  .expertise {
    padding: clamp(40px, 6vw, 60px) var(--gutter);
  }

  .expertise h2 {
    font-size: 25px;
    margin-bottom: 10px;
  }

  .expertise__grid {
    grid-template-columns: 1fr;
    gap: 0em !important;
    max-width: 100%;
  }

  .expertise__grid li {
    font-size: 15px;
    padding: 0.3em 0;
  }
}

/* About John already covered by .split, .split__media gets specific id if needed */

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact__media {
  position: relative;
  min-height: 740px;
  overflow: hidden;
}

.contact__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

.contact__panel {
  position: relative;
  background: var(--color-near-black);
  color: var(--color-white);
  padding: clamp(10px, 3vw, 20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.contact__panel img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 27% 52%;
  /* opacity: 0.55; */
  z-index: 0;
}

.contact__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none; /* R1 fix: was intercepting mouse events, breaking h2 hover */
}

.contact__panel>* {
  position: relative;
  z-index: 2;
}

.contact__panel h2 {
  font-size: clamp(6px, 3vw, 24px);
  margin-bottom: 0.5em;
}

.contact__panel h2 {
  transition: color var(--speed-fast) var(--ease);
}

.contact__panel h2 u {
  text-decoration-line: underline;
  text-decoration-color: var(--color-orange);
  text-underline-offset: 0.22em; /* R1: underline sits slightly lower */
}

.contact__panel h2:hover {
  color: var(--color-orange); /* R1: entire heading transitions to orange */
}

.contact__panel .body-copy {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.2em;
}

.contact__panel .btn {
  margin-bottom: 2em;
  padding: 0.7em 3em;
  width: fit-content;
}


/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-black); /* R1: black footer */
  color: var(--color-white);
  padding: clamp(40px, 6vw, 64px) clamp(10px, 4vw, 20px) clamp(20px, 3vw, 28px);
}

.site-footer__top {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6em;
  margin-bottom: 20px;
}

.site-footer .container {
  padding-left: 0
}

.site-footer__top .logo-text {
  font-family: var(--font-nav);
  font-weight: 500;
  color: var(--color-orange); /* R1: orange HJW logo */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.site-footer__top .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--color-white);
}

/* R1: email, phone and Follow Us relocated from the contact panel */
.site-footer__contact {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.site-footer__contact p {
  margin-bottom: 0.4em;
  font-size: 1.05rem;
}

.site-footer__contact a {
  transition: color var(--speed-fast) var(--ease);
}

.site-footer__contact a:hover {
  color: var(--color-orange);
}

.site-footer__contact .link-underline {
  display: inline-block;
  margin-top: 1em;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  
  padding-top: 1.2em;
}

/* ==========================================================================
   Scroll reveal animation
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-group]>* {
  transition-delay: var(--d, 0ms);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .values {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.5em;
  }

  .expertise__grid {
    gap: 0.8em 2.4em;
  }
}


@media (max-width: 880px) {
  
  .values {
    grid-template-columns: 1fr;
    gap: 2.2em;
  }
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.mobile-open {
    background: var(--color-black);
    mix-blend-mode: normal;
  }

  .mobile-nav {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--color-black);
    color: var(--color-white);
    z-index: 99;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.6rem;
    padding: var(--gutter);
    transform: translateY(-100%);
    transition: transform var(--speed-med) var(--ease);
  }

  .mobile-nav.is-open {
    transform: translateY(0);
  }

  .mobile-nav a {
    font-family: var(--font-display);
    font-size: 2.2rem;
  }

  .hero {
    grid-template-columns: 1fr;
    height: 100vh;
  }

  .hero__panel {
    overflow: hidden;
  }

  .hero__panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top right;
  }

  .hero__panel:nth-of-type(2) {
    display: none;
  }

  .hero__headline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    z-index: 5;
    text-align: center; /* R1: centred within the image */
  }

  .hero__headline h1 {
    font-size: clamp(4.5rem, 13vw, 6rem); /* R1: slightly larger */
    text-align: center;
    color: var(--color-orange); /* R1: orange rather than white */
    line-height: 1.05;
    word-spacing: 2px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
  }

  .hero__headline h1 em {
    padding-top: 40px;
  }

  .section .intro{
    text-align: left;
    padding: 0 30px;
  }

  .split,
  .gatherings,
  .contact,
  .feature-split {
    grid-template-columns: 1fr;
  }

  .split__media,
  .gatherings__media,
  .contact__media,
  .feature-split__media {
    min-height: 64vw;
  }

  /* R1: taller crop, top-anchored, so more of the subject
     (forehead / upper body) is visible on mobile */
  .gatherings__media {
    min-height: 108vw;
  }

  .gatherings__media img {
    object-position: center top;
  }


  .feature-split__media {
    min-height: 780px;
  }

  .feature-split__overlay{
    position: relative;
    top:30px;
    left: 10px;
  }
 .feature-split__overlay h3 {
    font-size: clamp(1.8rem, 7vw, 3rem);
    line-height: 1.2;
    margin-bottom: 0.6em;
    color: var(--color-white);
    width: 80%;
    padding-right:40px;
  }
  
  .marquee-intro {
    text-align: left;
    padding: clamp(40px, 6vw, 60px) var(--gutter);
    max-width: 100%;
  }

  .marquee-intro .body-lg {
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: 1.3;
    max-width: 100%;
  }

  a.logo {
    font-size: clamp(21px, 6.4vw, 26px); /* R1: as large as fits beside the menu icon */
  }

  /* Logo grid on mobile — smaller marks, tighter gaps, still one of each */
  .logo-grid {
    gap: 26px 30px;
    padding: 40px var(--gutter);
  }

  .logo-grid img {
    max-height: 30px;
    max-width: 100px;
  }

  .logo-grid img.logo--badge {
    max-height: 38px;
  }

  .logo-grid img.logo--wide {
    max-height: 22px;
    max-width: 130px;
  }
}

  .feature-split__overlay h3 em {
    font-style: italic;
  }

  .feature-split__overlay .body-copy {
    font-size: 16px;
    line-height: 1.6;
    color: white(255, 254, 254, 0.85);
    width: 90%;
    padding-right: 20px;
  }



  .collage {
    padding: clamp(20px, 6vw, 40px);
    grid-template-columns: repeat(2, 1fr);
  }



  .consultancy {
    min-height: 70vh;
  }

  .consultancy__more {
    display: inline-block;
    margin-top: 1.4em;
  }

  
  .site-footer__top .logo-text {
    font-size: clamp(1rem, 4vw, 1.3rem);
  }

  .site-footer__top {
    display: flex;
    flex-direction: row;
  }


@media (max-width: 560px) {

  .consultancy::before{
    background: transparent !important;
  }
  .consultancy__text.is-visible * {
    color: black !important;
}
.consultancy{
  display: block;
}
.consultancy img {
    position: relative;
}

.consultancy__text {
    left: 0;
}
.split__media img {
    position: relative;
}
div#about .split__text.is-visible {
    padding: 40px 20px;
}.contact__panel {
    height: 70vh;
}

.contact__panel h2 {
    font-size: 30px;
}

.collage a:nth-child(2) {
    border-left-width: 20px !important;
    border-bottom-width: 15px !important;
}

.collage a:last-child {
    width: 90% !important;
    left: -30px !important;
}

.collage a:nth-child(3) {
    border-width: 10px 20px 0px 0px !important;
}
.statement-photo {
    min-height: 50vh !important;
}

.statement-photo__text {
    width: 70% !important;
}
section#gatherings {
    padding: 20px 0;
}

section#gatherings * {
    text-align: left;
}

.statement .lead {
    font-size: 25px;
    padding-top: 20px;
}

section#gatherings p.closing {
    padding-top: 20px;
    font-size: 25px;
}.mhide{
  display: none;
}
.section--orange {
    padding: 20px 0 !important;
}
  .container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .statement-photo__text {
    font-size: clamp(1.7rem, 6.5vw, 2.4rem); /* R1: increased */
  }

  .moment-photo h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }
}

/* Client feedback R1: on scroll the header becomes black,
   with the logo and navigation remaining in the brand orange. */
.site-header.is-scrolled {
  background-color: var(--color-black);
}

.site-header.is-scrolled .logo,
.site-header.is-scrolled .main-nav a,
.site-header.is-scrolled .nav-toggle span {
  color: var(--color-orange);
}

.collage a:nth-child(3) {border-color: var(--color-cream);border-style: solid;border-width: 15px 20px 0px 10px;width: 85%;display: block;margin: 0 55px 0 auto;}

.collage a:nth-child(2) {border-color: var(--color-cream);border-style: solid;border-width: 0px 10px 20px 40px;display: block;margin: auto 0 45px 0;width: 80%;}


.collage a:last-child {
    left: -50px;
    position: relative;
    top: -50px;
}

.collage__item:nth-child(1) {
    width: 90%;
    margin: 0 0 0 auto;
}
/* ==========================================================================
   R1 mobile refinements — kept last so they win over earlier overrides
   ========================================================================== */
@media (max-width: 880px) {
  /* Four-image grid: even, consistent spacing — neutralise the desktop
     editorial offsets and borders on small screens */
 /* Mobile: organic desktop composition, centred in the narrower space */
.collage {
  padding: 30px 16px;
  gap: 10px;
  left: 10px;

}.feature-split {
    width: 100%;
    overflow-x: hidden;
}

.collage a:nth-child(n) {
  border-width: 0 !important; /* keep borders off — too heavy at mobile scale */
}

.collage__item--low {
  align-self: end;
}

.collage__item--high {
  align-self: start;
}

/* Scale down the desktop offsets proportionally for a ~390px viewport */
.collage a:nth-child(3) {
  width: 85% !important;
  margin: 0 30px 0 auto !important;
}

.collage a:nth-child(2) {
  margin: auto 0px 45px 10px !important;
  width: 70% !important;
}

.collage a:last-child {
  position: relative !important;
  left: -30px !important;
  top: -40px !important;
}

.collage__item:nth-child(1) {
  width: 90%;
  margin: 0 0 0 auto;
}
  .gatherings__headline {
    font-size: clamp(2.2rem, 9vw, 3rem);
    padding: 26px 22px;
  }
}
.contact__panel {
    position: relative;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.contact__content {
    position: relative;
    z-index: 1;
}

/* Optional dark overlay for readability */
.contact__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
}

.bg-video {
    z-index: -1;
}

.contact__content {
    z-index: 1;
}