/* 11th Hour Racing — Press Kit 2026
   Real web page: 1440px container, fluid below it.
   Text styles come from the Figma "Media Kit 2026" file,
   structure and behaviour from the Readymag prototype. */

@font-face {
  font-family: "Neue Haas Grotesk Text Pro";
  src: url("assets/fonts/nhg-text-roman.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Haas Grotesk Text Pro";
  src: url("assets/fonts/nhg-text-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #231f20;
  --white: #ffffff;
  --grey: #f1f2f7;
  --grey-line: #dbdee3;
  --muted: #e8e8e8;
  --orange: #f58320;

  --text: "Neue Haas Grotesk Text Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Figma uses Neue Haas Grotesk Display Pro for a few blocks. The tracking
     below makes the Text Pro fallback match it; set to 0 when the real
     Display Pro webfont is added. */
  --display: "Neue Haas Grotesk Display Pro", "Neue Haas Grotesk Text Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display-tracking: 0; /* 0%, as requested; was -0.05em to imitate Display Pro */

  --container: 1440px;
  --gutter: 50px;   /* content inset inside the container */
  --inset: 10px;    /* gap between full-bleed media and the viewport edge */
  --radius: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--text);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; font-weight: inherit; }
ul { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Full-bleed blocks keep a 10px inset from the edge, capped at the container */
.bleed {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--inset);
}

.section { position: relative; }

/* ---------- Slide change (02 About → 11 Contacts) ----------
   script.js adds .has-slides to <html>, .slide to each section from About on, and
   wraps every slide after About in a .slide-wrap. Each slide is at least one
   screen (--slide-l) tall and sits on white. The wrapper starts one screen
   early, underneath the previous slide, and the slide inside it is sticky, so
   the browser itself holds it in place while the previous slide scrolls off
   (no JS positioning, so no shake). JS only sets the darkening
   (--slide-in: 1 = fully covered) and the shadow of the outgoing slide (--slide-out). */
/* 100vh, not svh: on iPhone Safari vh is the full screen with the toolbars
   collapsed, so a slide never ends short of the screen and lets the next,
   darkened slide show through underneath. */
.has-slides { --slide-l: 100vh; }
.has-slides .slide {
  min-height: var(--slide-l);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, calc(0.35 * var(--slide-out, 0)));
}
/* in a flex column, auto side margins would shrink a block to its content;
   keep every slide's content full width as in normal flow */
.has-slides .slide > * { width: 100%; }
.has-slides .slide-wrap { margin-top: calc(-1 * var(--slide-l)); }
/* room for the sticky slide to be held in (padding wouldn't count: sticky
   only moves within its parent's content box) */
.has-slides .slide-wrap::after { content: ""; display: block; height: var(--slide-l); }
.has-slides .slide-wrap > .slide {
  position: sticky;
  top: 0;
}
.has-slides .slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #000;
  opacity: calc(0.5 * var(--slide-in, 0));
  pointer-events: none;
}

/* ---------- Text styles (Figma) ---------- */

.h2 { font-size: clamp(36px, 3.48vw, 50px); line-height: 1.05; font-weight: 400; }
.h6 { font-size: 16px; line-height: 21px; font-weight: 500; letter-spacing: 0.32px; }
.p-m { font-size: 14px; line-height: 21px; letter-spacing: 0.28px; }
.p-s { font-size: 11px; line-height: 17px; letter-spacing: 0.22px; }
.caption { font-size: 10px; line-height: 12px; font-weight: 500; }


/* Pill button */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 24px; /* same in both states, so nothing moves on hover */
  padding: 10px 14px;
  border-radius: 40px;
  background: var(--grey);
  color: #000;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease);
}
/* the arrow sits in a circle that fills with the section's colour on hover
   (--cta-hover; the arrow is white unless --cta-arrow is set to none);
   negative margins keep the 32px circle from changing the pill's 40px height */
.cta__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: -6px -6px -6px 0;
  border-radius: 50%;
  overflow: hidden; /* the arrows slide in and out of the circle */
  background: transparent;
  transition: background-color 0.35s var(--ease);
}
.cta img { width: 21.714px; height: 20px; }
/* second arrow (the hover one): same icon, white unless --cta-arrow says
   otherwise; waits out of sight to the left of the circle */
.cta__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/img/arrow.svg") center / 21.714px 20px no-repeat;
  filter: var(--cta-arrow, brightness(0) invert(1));
  transform: translateX(-110%);
  opacity: 0;
}
/* hover: the pill fades away, the circle fills with the section colour, the
   dark arrow slides out to the right and the hover arrow slides in from the
   left. On leaving (.cta--out, set by script.js) it runs the other way round,
   still left to right: the hover arrow exits right, the dark one enters from
   the left. */
.cta:hover { background-color: transparent; }
.cta:hover .cta__icon { background: var(--cta-hover, var(--orange)); }
.cta:hover img                    { animation: cta-arrow-out 0.3s var(--ease) both; }
.cta:hover .cta__icon::before     { animation: cta-arrow-in 0.35s var(--ease) 0.08s both; }
.cta.cta--out img                 { animation: cta-arrow-in 0.35s var(--ease) 0.05s both; }
.cta.cta--out .cta__icon::before  { animation: cta-arrow-out 0.3s var(--ease) both; }
@keyframes cta-arrow-out {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(110%); opacity: 0; }
}
@keyframes cta-arrow-in {
  from { transform: translateX(-110%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
/* hover colours per focus area (Media Hub keeps the default orange) */
.pillar--maritime  { --cta-hover: #e9473f; }
.pillar--inclusive { --cta-hover: #fbba16; --cta-arrow: none; }
.pillar--coastal   { --cta-hover: #5abdeb; --cta-arrow: none; }
.pillar--community { --cta-hover: #1bae96; }

/* ---------- 01 Hero ---------- */

/* Fills the viewport at any size: full width, full height (svh so mobile
   browser bars don't push it past the fold). The min-height only stops the
   content overlapping on very short landscape windows. */
.hero {
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 480px;
  padding: var(--inset);
}
.hero__card {
  position: relative;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  background: #0b131d;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}
.hero__inner {
  height: 100%;
  padding: 41px calc(var(--gutter) - var(--inset));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--white);
}
.hero__bar { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; }
.hero__logo { display: block; width: 49.891px; height: 48.279px; }
.hero__logo img { width: 100%; height: 100%; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6.79px;
  height: 24.139px;
  margin-top: 40px;
  padding: 1.698px 8.488px 1.698px 11.883px;
  border-radius: 84.878px;
  background: rgba(255, 255, 255, 0.18);
}
.tag__dot { flex: none; width: 4.821px; height: 4.821px; border-radius: 50%; background: var(--orange); }
.tag__text {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20.924px;
  letter-spacing: 0.4829px;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero__title {
  margin-top: 40px;
  /* scales with width, and also with height so short wide windows don't crowd */
  font-size: clamp(44px, min(6.95vw, 11vh), 100px);
  line-height: 1;
  font-weight: 400;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .line > span { display: block; }
.hero__intro {
  width: 354px;
  max-width: 100%;
  margin-top: auto;
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero__intro h2 { font-size: 24px; line-height: 31px; font-weight: 500; padding-bottom: 6.436px; }
.hero__intro p { font-size: 16px; line-height: 21px; }

/* ---------- 02 About ---------- */

/* Space below the paragraph is half a screen minus half the paragraph
   (--lead-h, set by script.js), so About starts lifting off the moment the
   paragraph's hold ends. */
.about { padding-block: 110px calc(50vh - var(--lead-h, 200px) / 2); }
.about__title { text-align: center; }
.about__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px;
  margin-top: 60px;
}
.about__card { display: flex; flex-direction: column; gap: 17px; }
.about__card .media-frame { aspect-ratio: 451 / 248.4; --r: 18px; border-radius: 18px; }
.about__text { max-width: 455px; padding: 20px; } /* 415px of text + 20px padding each side */
.about__text h3 { font-size: 20px; line-height: 32px; font-weight: 500; letter-spacing: 0.4px; }
.about__text p { padding-top: 1.896px; }
/* The paragraph sits in a stage taller than itself by --lead-hold; it sticks in
   the middle of the screen for that distance, then scrolls away with About. */
.about__lead-stage {
  --lead-hold: 45vh;
  margin-top: max(200px, 40vh);
  min-height: calc(var(--lead-h, 0px) + var(--lead-hold));
}
.about__lead {
  position: sticky;
  top: calc(50vh - var(--lead-h, 200px) / 2);
  max-width: 1010px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(24px, 2.64vw, 38px);
  line-height: 1.19;
  color: var(--black);
}
.about__lead strong { font-weight: 500; }
/* line-by-line fade-up: script.js sets each word's opacity and lift by line */
.js .about__lead .w { display: inline-block; will-change: opacity, transform; }

/* ---------- Media frame (image with reveal + parallax) ---------- */

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--grey);
}
.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame[data-parallax] img {
  top: -8%;
  height: 116%;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

/* ---------- 03–06 Focus areas / 10 FAQ (image left, content right) ---------- */

.split { padding-block: 60px; }
.split__grid {
  display: grid;
  grid-template-columns: 53% minmax(0, 1fr);
  align-items: center;
}
.split__media { aspect-ratio: 1 / 1; }
.split__content { padding-left: 72px; padding-right: calc(var(--gutter) - var(--inset)); }
.pillar__body { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.pillar__text { display: flex; flex-direction: column; gap: 10px; }
/* Side by side (>800px): the original layout, with headings on 3 lines and
   copy kept to the design's narrow measure. Stacked (≤800px): no forced
   breaks; the text fills its column, capped for readability. */
.pillar__body { max-width: 560px; }
@media (min-width: 801px) {
  .pillar--maritime .pillar__body { max-width: 284px; }
  .pillar--inclusive .pillar__body { max-width: 315px; }
  .pillar--coastal .pillar__body { max-width: 266px; }
  .pillar--community .pillar__body { max-width: 335px; }
}
@media (max-width: 800px) {
  .pillar h2 br { display: none; }
}

/* Desktop and tablet: the photo (focus areas and FAQ) fills the slide's full height and runs to the
   left edge, keeping the hero card's 10px white inset on top, bottom and left */
@media (min-width: 801px) {
  .split:is(.pillar, .faq) { padding-block: var(--inset); }
  :is(.pillar, .faq) .split__grid { flex: 1; max-width: none; align-items: stretch; }
  :is(.pillar, .faq) .split__media {
    aspect-ratio: auto;
    min-height: calc(var(--slide-l, 100vh) - 2 * var(--inset));
    border-radius: 25px;
  }
  .pillar .split__content { align-self: center; }
  /* FAQ: placed where it would be centred with all questions closed
     (--faq-h from script.js), then anchored at the top, so opening an answer
     grows it downwards instead of pushing the title up */
  .faq .split__content {
    align-self: start;
    padding-top: max(40px, calc(50vh - var(--faq-h, 600px) / 2 - var(--inset)));
  }
}

/* ---------- 07 Media assets ---------- */

.media { padding-block: 40px; }
.media__stage {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
  aspect-ratio: 1024 / 768;
  max-height: 1080px;
}
/* desktop and tablet: always taller than one screen, so the section scrolls
   and the tiles drift against the copy in the middle */
@media (min-width: 801px) {
  .media__stage { min-height: 125vh; }
}
.media__img {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  transform: translate3d(var(--mx, 0px), calc(var(--py, 0px) + var(--my, 0px)), 0);
  will-change: transform;
}
.media__img img { width: 100%; height: 100%; object-fit: cover; }
.media__img--sailor { left: 9.085%; top: 10.74%; width: 18.46%; aspect-ratio: 1; box-shadow: 0 2.282px 38.234px rgba(0, 0, 0, 0.18); }
.media__img--yacht { left: 68.29%; top: 10.74%; width: 26.73%; aspect-ratio: 273.76 / 160.159; box-shadow: 0 2.812px 38.234px rgba(0, 0, 0, 0.18); }
.media__img--waterfront { left: 41.52%; top: 3.68%; width: 16.97%; aspect-ratio: 1; box-shadow: 0 -0.308px 38.234px rgba(0, 0, 0, 0.18); }
.media__img--racing { left: 9.77%; top: 73.7%; width: 25.88%; aspect-ratio: 265 / 152; box-shadow: 0 11.282px 42.057px rgba(0, 0, 0, 0.18); }
.media__img--outdoors { left: 80.96%; top: 39.97%; width: 16.21%; aspect-ratio: 166 / 173.979; box-shadow: 0 8.618px 40.145px rgba(0, 0, 0, 0.18); }
.media__img--mountains { left: 60.16%; top: 71.09%; width: 22.66%; aspect-ratio: 232 / 192; box-shadow: 0 14.819px 55.439px rgba(0, 0, 0, 0.18); }
.media__img--ocean { left: 2.73%; top: 42.71%; width: 14.45%; aspect-ratio: 1; box-shadow: 0 6.693px 38.234px rgba(0, 0, 0, 0.18); }
.media__content {
  position: absolute;
  left: 50%;
  top: 53.6%;
  width: 402px;
  max-width: 44%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  z-index: 1;
}
.media__content .h2 { color: #000; }
.media__copy { display: flex; flex-direction: column; gap: 14px; }
.media__content .cta { padding: 10px 20px; }
@keyframes media-rise {
  from { translate: 0 calc(var(--rise, 20) * 1vh); }
  to   { translate: 0 0; }
}

/* ---------- 08 Ambassadors ---------- */

.ambassadors { padding-block: 120px 110px; }
.amb__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.amb__lead {
  width: min(50vw, 720px); /* half the screen; above 1440px, half the 1440px page frame */
  max-width: 100%;
  font-family: var(--display);
  font-size: 24px;
  line-height: 31px;
  letter-spacing: var(--display-tracking);
}
/* 4-card layout (above 1100px): the intro is exactly two cards wide
   (two cards + one 42px gap = half the row minus half a gap), so it lines
   up over cards 3 and 4 */
@media (min-width: 1101px) {
  .amb__lead { width: calc((100% - 42px) / 2); }
}
.amb__slider { --per: 4; --gap: 42px; margin-top: 70px; }
.amb__viewport { overflow: hidden; touch-action: pan-y; }
.amb__track {
  display: flex;
  gap: var(--gap);
  transition: transform 0.9s var(--ease);
  will-change: transform;
}
.amb {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.6s var(--ease);
}
.amb[aria-hidden="true"] { opacity: 0; }
.amb__photo { aspect-ratio: 1; --r: 18px; border-radius: 18px; }
.amb__photo img { transition: transform 0.8s var(--ease); }
.amb:hover .amb__photo img { transform: scale(1.05); }
.amb__body { display: flex; flex-direction: column; gap: 12px; }
.amb__name { display: flex; flex-direction: column; gap: 3px; }
.amb__bio { max-width: 216px; }

.amb__controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 56px; }
.amb__arrow {
  flex: none;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--grey);
  display: grid;
  place-items: center;
  transition: background-color 0.3s var(--ease), opacity 0.3s;
}
.amb__arrow img { width: 21.714px; height: 20px; transition: filter 0.3s var(--ease); }
.amb__arrow--prev img { transform: rotate(180deg); }
.amb__arrow:hover:not(:disabled) { background: var(--orange); }
.amb__arrow:hover:not(:disabled) img { filter: brightness(0) invert(1); }
.amb__arrow:disabled { opacity: 0.35; cursor: default; }
.amb__dots { display: flex; align-items: center; gap: 5px; }
.amb__dot { width: 27px; height: 15px; display: grid; place-items: center; }
.amb__dot::before {
  content: "";
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: var(--grey-line);
  transition: background-color 0.3s var(--ease);
}
.amb__dot[aria-current="true"]::before { background: var(--black); }

/* ---------- 09 Partners ---------- */

/* Like the hero: the photo card fills the screen on every device, with the
   same 10px white inset on all four sides; the title and list sit centred in
   it (capped at the container width on very wide screens). If the list is
   taller than the screen, the card grows to fit. */
.partners { padding-block: var(--inset); }
.partners > .bleed { max-width: none; }
.partners__card {
  position: relative;
  min-height: calc(var(--slide-l, 100vh) - 2 * var(--inset));
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 25px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  padding: 63px calc(var(--gutter) - var(--inset)) 40px;
}
.partners__title, .partners__panel {
  width: 100%;
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin-inline: auto;
}
.partners__bg { position: absolute; inset: 0; z-index: -2; border-radius: 0; background: #1d2632; }
.partners__card::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: -1; }
.partners__title { text-align: center; }
.partners__panel {
  margin-top: 49px;
  padding: 35px 21px 40px;
  border: 0.5px solid #a1b8d3;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.36);
  -webkit-backdrop-filter: blur(17.634px);
  backdrop-filter: blur(17.634px);
  display: grid;
  /* one column per category on every screen above 800px */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 17px;
}
.partners__col h3 { min-height: 42px; }
.partners__col ul { margin-top: 16.76px; }
/* Inclusive Ocean Opportunity is one continuous list (its two halves stack) */
.partners__lists ul + ul { margin-top: 0; }

/* ---------- 10 FAQ ---------- */

.faq__body { max-width: 532px; }
.faq__list { margin-top: 30px; display: flex; flex-direction: column; gap: 9px; }
.faq__item {
  border: 1px solid var(--grey-line);
  border-radius: 16px;
  background: var(--grey);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq__item:hover { border-color: #c5c9d1; }
.faq__item.is-open { background: var(--white); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 12px 10px;
  text-align: left;
  border-radius: 16px;
}
.faq__icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--grey-line);
  transition: transform 0.45s var(--ease), background-color 0.3s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--black);
  transform: translate(-50%, -50%);
  transition: transform 0.45s var(--ease), background-color 0.3s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(180deg); background: var(--black); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: var(--white); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding: 0 52px 12px 12px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: 0.1s; }
.faq__a a { text-decoration: underline; text-decoration-skip-ink: none; text-underline-position: from-font; }

/* ---------- 11 Contacts ---------- */

/* Like the hero: the photo card fills the screen on every device, with the
   same 10px white inset on all four sides */
.contacts { padding-block: var(--inset); }
.contacts > .bleed { max-width: none; }
.contacts__card {
  position: relative;
  min-height: calc(var(--slide-l, 100vh) - 2 * var(--inset));
  border-radius: 25px;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: 60px 24px;
  color: var(--white);
  text-align: center;
}
.contacts__bg { position: absolute; inset: 0; z-index: -2; border-radius: 0; background: #6b6a69; }
.contacts__card::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: -1; }
.contacts__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.contacts__people { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.contacts__person { font-style: normal; }
.contacts__person span, .contacts__person a { display: block; }
.contacts__person a:hover { text-decoration: underline; }
.social { display: flex; gap: 9.49px; }
.social a { display: block; width: 15.16px; height: 15.16px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.social a:hover { transform: translateY(-2px); opacity: 0.75; }
.social img { width: 100%; height: 100%; }

/* ---------- Scroll animations (only when JS is running) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Ken Burns (any photo frame marked data-kb): the photo is always visible in
   its frame; each time it comes into view it slowly settles from a slight zoom
   while drifting a little toward its focal point (--kb-origin). script.js adds
   .kb-on on entry and resets it once the photo has left the screen. */
.js [data-kb] img {
  scale: 1.14;
  translate: var(--kb-x, -1.5%) var(--kb-y, 1%);
  transform-origin: var(--kb-origin, 50% 50%);
  transition: scale 9s cubic-bezier(0.22, 0.6, 0.3, 1), translate 9s cubic-bezier(0.22, 0.6, 0.3, 1);
  transition-delay: var(--d, 0s);
  will-change: scale, translate;
}
.js [data-kb].kb-on img { scale: 1.02; translate: 0 0; }
.pillar--maritime  { --kb-origin: 35% 45%; --kb-x: -1.5%; --kb-y: 1%; }
.pillar--inclusive { --kb-origin: 60% 40%; --kb-x: 1.5%;  --kb-y: 1%; }
.pillar--coastal   { --kb-origin: 40% 60%; --kb-x: -1%;   --kb-y: -1.5%; }
.pillar--community { --kb-origin: 55% 50%; --kb-x: 1.5%;  --kb-y: -1%; }

/* scale-in for the scattered media images (translate is left to the parallax) */
.js [data-reveal="pop"] {
  opacity: 0;
  scale: 0.82;
  transform: translate3d(var(--mx, 0px), calc(var(--py, 0px) + var(--my, 0px)), 0);
  transition: opacity 0.9s var(--ease), scale 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="pop"].is-in { opacity: 1; scale: 1; transform: translate3d(var(--mx, 0px), calc(var(--py, 0px) + var(--my, 0px)), 0); }

/* hero entrance */
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .hero__title .line:nth-child(2) > span { transition-delay: 0.12s; }
.js .hero .fade { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js.is-ready .hero__title .line > span { transform: none; }
.js.is-ready .hero .fade { opacity: 1; transform: none; }
.js .hero__media { transform: scale(1.08); transition: transform 2.4s var(--ease); }
.js.is-ready .hero__media { transform: scale(1); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .split__content { padding-left: 48px; }
  .amb__slider { --per: 3; --gap: 28px; }
}

@media (max-width: 800px) {
  :root { --gutter: 24px; --radius: 18px; }
  .hero__intro { align-self: flex-start; }
  .about { padding-top: 72px; }
  .about__cards { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .about__lead-stage { margin-top: max(140px, 30vh); }
  .split { padding-block: 32px; }
  .split__grid { grid-template-columns: 1fr; gap: 32px; }
  .split__content { padding: 0 calc(var(--gutter) - var(--inset)) 16px; }
  .faq__body { max-width: none; }

  /* Taller than one screen, so it keeps scrolling after it has been revealed */
  .media { padding-block: 22vh 18vh; }
  /* Rise in from below while the slide is uncovered. The browser drives it
     from the scroll position (scroll-driven animation on the slide's wrapper,
     --media-in), so it stays in step with the scroll with no stutter. It runs
     over the one screen of scrolling during which the slide is held and
     uncovered. The copy and each tile start lower by a different amount
     (--rise, in vh), so they settle at slightly different speeds; tiles above
     the copy rise less than it and tiles below more, so nothing runs into the
     text. Browsers without scroll-driven animations show it without motion. */
  @supports (animation-timeline: view()) {
    .has-slides .slide-wrap:has(> .media) { view-timeline: --media-in block; }
    .has-slides .media__content,
    .has-slides .media__img {
      animation: media-rise linear both;
      animation-timeline: --media-in;
      animation-range: cover 100vh cover 200vh;
    }
    .has-slides .media__content { --rise: 16; }
  }
  .media__img--waterfront { --rise: 6; }
  .media__img--sailor     { --rise: 12; }
  .media__img--yacht      { --rise: 9; }
  .media__img--ocean      { --rise: 14; }
  .media__img--outdoors   { --rise: 22; }
  .media__img--racing     { --rise: 32; }
  .media__img--mountains  { --rise: 26; }
  /* Phones and portrait tablets: the copy sits in the middle and the tiles are
     scattered above and below it like on desktop (mixed sizes and shapes,
     loose offsets, two bleeding off the edges and tucked in beside the title
     and the button). Sizes are in vw so the arrangement scales with the
     screen. The section is as tall as it needs to be, not one screen. */
  .media__stage {
    aspect-ratio: auto;
    max-height: none;
    padding: 62vw var(--gutter) 60vw;
    overflow-x: clip; /* edge tiles must not cause sideways scrolling; vertical stays visible so nothing is cropped */
  }
  .media__content {
    position: relative;
    left: auto;
    top: auto;
    transform: none; /* undo the desktop centring offset */
    width: auto;
    max-width: 402px; /* same text width as on desktop */
    margin-inline: auto;
  }
  /* all tiles stay at least 7vw clear of the copy (about 26px on a phone) */
  .media__img--sailor     { left: 5%;   top: 4vw;   width: 28vw; }
  .media__img--waterfront { left: 42%;  top: 0;     width: 22vw; }
  .media__img--yacht      { left: 66%;  top: 16vw;  width: 34vw; }
  .media__img--ocean      { left: -3%;  top: 36vw;  width: 18vw; }
  .media__img--outdoors   { left: 80%;  top: auto;  bottom: 32vw; width: 20vw; }
  .media__img--racing     { left: 5%;   top: auto;  bottom: 28vw; width: 38vw; }
  .media__img--mountains  { left: 50%;  top: auto;  bottom: 0;    width: 32vw; }

  .ambassadors { padding-block: 72px; }
  .amb__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .amb__lead { width: auto; }
  /* bios read larger on phones and portrait tablets, using the card's full width */
  .amb__bio { max-width: none; font-size: 16px; line-height: 24px; }
  .amb__name .h6 { font-size: 20px; line-height: 26px; }
  .amb__name .caption { font-size: 12px; line-height: 16px; }
  /* buttons (Discover our stories, Media Hub): larger text and a 44px touch height */
  .cta.caption { font-size: 14px; line-height: 20px; }
  .cta, .media__content .cta { padding: 12px 20px; }
  .amb__slider { --per: 2; --gap: 20px; margin-top: 40px; }
  .amb__controls { margin-top: 40px; }
  .partners__card { padding-top: 48px; }
  /* Portrait tablets and large phones: masonry-style 2 columns. Each card drops
     into the next free space in its column, so a short card isn't followed
     by a gap while a taller card beside it finishes. */
  .partners__panel { display: block; column-count: 2; column-gap: 17px; margin-top: 32px; padding-bottom: 8px; }
  .partners__col { break-inside: avoid; margin-bottom: 32px; }
  .partners__col h3 { min-height: 0; } /* headings fit on one line here; no reserved second line */
}

@media (max-width: 520px) {
  .hero__inner { padding-block: 28px; }
  .amb__slider { --per: 1; }
  .amb__dot { width: 6px; }
  .amb__dots { gap: 4px; }
  .partners__panel { column-count: 1; }
  .partners__col h3 { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="pop"] { opacity: 1; transform: none; scale: 1; clip-path: none; }
  .js [data-kb] img { scale: 1; translate: none; }
  .js .about__lead .w { opacity: 1 !important; transform: none !important; }
  /* buttons: swap the arrows instantly instead of sliding */
  .cta img, .cta__icon::before { animation: none !important; }
  .cta:hover img { opacity: 0; }
  .cta:hover .cta__icon::before { transform: none; opacity: 1; }
}
