/* Pacific Property Media
   Palette taken from the brand mark (gold on black) and the twilight photography. */
:root {
  --night: #101826;     /* deep twilight sky: dark sections */
  --dusk: #24324a;      /* lifted twilight blue: secondary dark */
  --gold: #f2c565;      /* PPM logo gold: buttons and the compare line only */
  --fog: #eceeec;       /* coastal haze: alternate light sections */
  --paper: #fafaf8;     /* page background */
  --ink: #1a1f26;       /* text on light */
  --slate: #5e6773;     /* secondary text */

  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  /* modular scale, ratio 1.333 from 17px */
  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.4rem;
  --step-2: 1.875rem;
  --step-3: clamp(2rem, 3.4vw, 2.5rem);
  --step-4: clamp(2.4rem, 5vw, 3.35rem);
  --step-hero: clamp(3rem, 9vw, 8.25rem);

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(5rem, 11vw, 9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
a { color: inherit; }

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

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--night); padding: .6rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

.section-title {
  font: 300 var(--step-4)/1.05 var(--sans);
  letter-spacing: -0.01em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .8rem 1.4rem;
  font: 500 var(--step--1)/1 var(--sans);
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color .2s, color .2s;
}
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #fff; }
.btn-lg { padding: 1.1rem 2rem; font-size: var(--step-0); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--gutter);
  color: #fff;
  transition: background-color .3s, padding .3s;
}
.site-header.is-solid { background: rgba(16, 24, 38, .92); backdrop-filter: blur(8px); padding-block: .6rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 6px; }
.brand-name { font: 400 var(--step--1)/1 var(--sans); letter-spacing: .06em; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.nav-links { display: flex; align-items: center; gap: inherit; }
.nav a:not(.btn) { font-size: var(--step--1); letter-spacing: .04em; text-decoration: none; opacity: .85; }
.nav a:not(.btn):hover { opacity: 1; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; background: var(--night); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,24,38,.88) 0%, rgba(16,24,38,.55) 50%, rgba(16,24,38,.35) 100%);
}
.hero-content { position: relative; width: 100%; padding: 0 var(--gutter) clamp(2.5rem, 6vw, 4.5rem); }
.hero-title {
  font: 200 var(--step-hero)/.95 var(--sans);
  text-transform: uppercase; letter-spacing: -0.01em;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; animation: rise 1.1s cubic-bezier(.2,.7,.1,1) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .15s; }
.hero-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.3);
  animation: fade 1s .6s both;
}
.hero-foot p { font-size: var(--step-1); font-weight: 300; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Statement */
.statement { background: var(--fog); padding: var(--section) var(--gutter); text-align: center; }
.statement p {
  max-width: 24ch; margin-inline: auto;
  font: 300 var(--step-4)/1.25 var(--sans);
}

/* Compare */
.compare-section {
  background: var(--night); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: var(--section) var(--gutter);
}
.compare-copy h2 { font: 300 var(--step-3)/1.15 var(--sans); margin-bottom: 1.25rem; }
.compare-copy p { color: rgba(255,255,255,.72); max-width: 36ch; }
.compare { position: relative; aspect-ratio: 3 / 2; overflow: hidden; user-select: none; }
.compare img { width: 100%; height: 100%; object-fit: cover; }
.compare-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--gold); pointer-events: none;
}
.compare-line::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.compare-line::before {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; z-index: 1;
  transform: translate(-50%, -54%); color: var(--night);
  font: 500 1.25rem/1 var(--sans); letter-spacing: .2em; white-space: nowrap; padding-left: .2em;
}
.tag {
  position: absolute; bottom: 1rem; padding: .35rem .75rem;
  font-size: var(--step--1); background: rgba(16,24,38,.7); color: #fff; border-radius: 999px;
  pointer-events: none;
}
.tag-left { left: 1rem; }
.tag-right { right: 1rem; }
.compare-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.compare:has(.compare-range:focus-visible) { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Services */
.services { padding: var(--section) var(--gutter); }
.services-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
.services-preview { position: sticky; top: 6rem; aspect-ratio: 4 / 3; overflow: hidden; background: var(--fog); }
.services-preview img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s ease;
}
.services-preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.services-preview video.is-vertical { object-fit: contain; background: var(--night); }
/* Hidden samples stay in place for the fade, so they must not catch taps meant for the Watch buttons */
.services-preview img, .services-preview video { pointer-events: none; }
.services-preview .is-active { opacity: 1; }
.svc-watch {
  position: absolute; left: clamp(.75rem, 2vw, 1.25rem); bottom: clamp(.75rem, 2vw, 1.25rem);
  display: none; padding: 0; border: 0; background: none; color: #fff; font: inherit; cursor: pointer;
  z-index: 2;
}
.services-preview[data-active="video"] .svc-watch[data-for="video"],
.services-preview[data-active="reel"] .svc-watch[data-for="reel"] { display: block; }
.svc-watch .film-cta { border: 1px solid rgba(255, 255, 255, .45); }
.svc-watch:hover .film-cta, .svc-watch:focus-visible .film-cta { background: var(--gold); color: var(--night); }
.services-preview video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.services-preview video::-webkit-media-controls { display: none !important; }
.services-list { list-style: none; padding: 0; border-top: 1px solid #d6d9dc; }
.services-list li { border-bottom: 1px solid #d6d9dc; }
.services-list [data-service] {
  all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer;
  padding: 1.5rem 0;
}
.services-list [data-service]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.svc-name { display: block; font: 300 var(--step-2)/1.15 var(--sans); color: var(--slate); transition: color .25s; }
.svc-desc {
  display: block; max-width: 44ch; color: var(--slate);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .4s ease, opacity .3s ease, margin .4s ease;
}
.services-list [data-service][aria-pressed="true"] .svc-name,
.services-list [data-service]:hover .svc-name { color: var(--ink); }
.services-list [data-service][aria-pressed="true"] .svc-desc { max-height: 14rem; opacity: 1; margin-top: .6rem; }

/* Films */
.films { background: var(--fog); padding: var(--section) var(--gutter); }
.films-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; }
.films-head p { color: var(--slate); max-width: 40ch; }
.films-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2rem, 4vw, 3rem);
}
.film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--dusk); }
.film { position: relative; }
/* The whole clip is a button that opens the full film */
.film-open {
  position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 16 / 9;
  display: flex; align-items: flex-end; padding: clamp(.75rem, 2vw, 1.25rem);
  border: 0; background: linear-gradient(to top, rgba(16, 24, 38, .55), transparent 45%);
  color: #fff; cursor: pointer; font: inherit;
}
.film-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem .55rem .8rem; border-radius: 999px;
  background: rgba(16, 24, 38, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: var(--step--1); letter-spacing: .02em; transition: background .2s, color .2s;
}
.film-cta svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.film-open:hover .film-cta, .film-open:focus-visible .film-cta { background: var(--gold); color: var(--night); }
/* Background clips never show the browser's own play button (iPhone draws one when it waits) */
.hero-media::-webkit-media-controls-start-playback-button,
.film video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero-media::-webkit-media-controls, .film video::-webkit-media-controls { display: none !important; }

/* Full-film player */
.player {
  width: min(92vw, 1400px); max-width: none; max-height: none; padding: 0; border: 0;
  background: transparent; color: #fff;
}
.player::backdrop { background: rgba(10, 14, 22, .92); }
.player-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .75rem; }
.player-title { font: 400 var(--step-1)/1.3 var(--sans); }
.player-close {
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; background: none; color: #fff;
  padding: .45rem 1.1rem; font: inherit; font-size: var(--step--1); cursor: pointer;
}
.player-close:hover { background: #fff; color: var(--night); }
.player-video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
/* Vertical reels: phone-shaped and sized to fit the screen height */
.player.is-vertical { width: min(92vw, calc((100dvh - 7rem) * 9 / 16)); }
.player.is-vertical .player-video { aspect-ratio: 9 / 16; }
.film figcaption { margin-top: .75rem; font: 400 var(--step-1)/1.3 var(--sans); }

/* Work */
.work { padding: var(--section) var(--gutter); }
/* A calm two-column grid: every photo shown whole at its own 3:2 shape */
.work-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem); margin-top: clamp(2rem, 4vw, 3.5rem);
}
.work-grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* Process */
.process { background: var(--fog); padding: var(--section) var(--gutter); }
.steps {
  list-style: none; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(2rem, 4vw, 3.5rem);
}
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.steps li::before {
  content: counter(step);
  display: block; margin-bottom: 1.5rem;
  font: 300 var(--step-3)/1 var(--sans); color: var(--slate);
}
.steps h3 { font: 400 var(--step-1)/1.2 var(--sans); margin-bottom: .5rem; }
.steps p { color: var(--slate); max-width: 34ch; }

/* Reviews */
.reviews { padding: var(--section) var(--gutter); }
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; }
.reviews-score { display: flex; align-items: center; gap: .75rem; color: var(--slate); }
.reviews-score strong { color: var(--ink); font-weight: 500; }
.stars { color: #d9a93f; letter-spacing: .12em; font-size: var(--step-1); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 5rem); margin-top: clamp(2rem, 4vw, 3.5rem);
}
.review { border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.review blockquote { margin: 0; font: 300 var(--step-1)/1.45 var(--sans); max-width: 40ch; }
.review figcaption { margin-top: 1rem; color: var(--slate); font-size: var(--step--1); letter-spacing: .02em; }
.reviews-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.reviews-all { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--slate); padding-bottom: 2px; }
.reviews-all:hover { border-color: var(--gold); }
@media (max-width: 860px) {
  /* Phones: swipe through the reviews sideways */
  .reviews-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.25rem;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 82%; scroll-snap-align: start; }
  .review blockquote { font-size: 1.2rem; }
}

/* Booking */
.book { position: relative; color: #fff; background: var(--night); overflow: hidden; }
.book-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.book-inner { position: relative; padding: calc(var(--section) * 1.2) var(--gutter); max-width: 60rem; }
.book h2 { font: 200 clamp(2.5rem, 6vw, 5.25rem)/1 var(--sans); text-transform: uppercase; letter-spacing: -0.01em; max-width: 16ch; }
.book p { font-size: var(--step-1); font-weight: 300; margin: 1.5rem 0 2.25rem; max-width: 34ch; }
.book-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }

/* Footer */
.site-footer {
  background: var(--night); color: rgba(255,255,255,.7);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  padding: 2.5rem var(--gutter); font-size: var(--step--1);
}
.site-footer img { border-radius: 6px; }
.site-footer .copy { margin-left: auto; }

/* About page */
.nav a[aria-current="page"] { opacity: 1; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

.about-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
  padding: calc(var(--section) + 3rem) var(--gutter) var(--section);
}
.headshot, .headshot-placeholder {
  position: sticky; top: 7rem;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
}
.headshot-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  background: linear-gradient(160deg, var(--dusk), var(--night));
  color: rgba(255,255,255,.6); font-size: var(--step--1); letter-spacing: .04em;
  border: 1px dashed rgba(242,197,101,.5);
}
.headshot-placeholder img { border-radius: 8px; opacity: .9; }
.about-kicker { font: 400 var(--step-0)/1.4 var(--sans); color: var(--slate); margin-bottom: 1rem; }
.about-lede {
  font: 300 var(--step-4)/1.12 var(--sans);
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem); max-width: 16ch;
}
.about-intro-copy p:not(.about-lede) { max-width: 60ch; margin-bottom: 1.25em; color: #343b45; }

.about-band { height: clamp(18rem, 55vw, 38rem); overflow: hidden; }
.about-band img { width: 100%; height: 100%; object-fit: cover; }

.about-block { padding: var(--section) var(--gutter); }
.about-block-body {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(2rem, 4vw, 3.5rem);
}
.about-pull { font: 300 var(--step-3)/1.3 var(--sans); max-width: 22ch; }
.about-text p { color: var(--slate); max-width: 52ch; margin-bottom: 1.25em; }

.about-personal {
  background: var(--night); color: #fff; padding: var(--section) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: center;
}
.about-personal-inner { max-width: 44rem; }
.about-personal-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-personal p { color: rgba(255,255,255,.75); max-width: 58ch; margin-top: 1.25em; }
.about-personal .about-promise {
  font: 300 var(--step-3)/1.25 var(--sans); color: var(--gold);
  margin: 1.75rem 0; max-width: 24ch;
}

.about-close { padding: var(--section) var(--gutter); max-width: 52rem; }
.about-close h2 { font: 200 clamp(2.4rem, 5.5vw, 4.75rem)/1.02 var(--sans); text-transform: uppercase; margin-bottom: 2rem; }
.about-close > p { color: var(--slate); max-width: 58ch; margin-bottom: 1.25em; }
.signature { margin: 2.5rem 0; padding-top: 1.5rem; border-top: 1px solid #d6d9dc; color: var(--slate); font-size: var(--step--1); }
.signature-name { font: 300 var(--step-2)/1.2 var(--sans); color: var(--ink); margin-bottom: .4rem; }

/* Responsive */
@media (max-width: 860px) {
  .compare-section, .services-grid { grid-template-columns: 1fr; }
  /* On phones the sample sits inside the open service, right under its description */
  .services-preview { position: relative; top: 0; margin-bottom: 1.5rem; }
  .svc-desc { transition: none; }
  .about-intro, .about-block-body, .about-personal { grid-template-columns: 1fr; }
  .about-personal-img { aspect-ratio: 3 / 2; }
  .headshot, .headshot-placeholder { position: relative; top: 0; max-width: 26rem; }
  .steps { grid-template-columns: 1fr; }
  .films-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brand-name { display: none; }
  /* Phones: the section links fold into a Menu button that opens a panel under the header */
  .nav { gap: .75rem; }
  .nav-toggle {
    display: block; padding: .6rem .9rem; border: 1px solid rgba(255,255,255,.45); border-radius: 999px;
    background: none; color: inherit; font: 500 var(--step--1)/1 var(--sans); letter-spacing: .04em; cursor: pointer;
  }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.5rem; background: var(--night);
  }
  .site-header.menu-open { background: var(--night); }
  .site-header.menu-open .nav-links { display: flex; }
  .site-header.menu-open .nav-links a {
    padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.12);
    font-size: var(--step-1); font-weight: 300; opacity: 1;
  }
  .site-header.menu-open .nav-links a[aria-current="page"] { color: var(--gold); padding-bottom: 1rem; }
  .site-footer .copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Footer contact */
.footer-contact { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-contact a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.footer-contact a:hover { border-color: var(--gold); }

/* Booking: secondary contact line */
.book .book-alt { font-size: var(--step-0); margin: 1.75rem 0 0; color: rgba(255,255,255,.8); max-width: 48ch; }
.book-alt a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); white-space: nowrap; }
.book-alt a:hover { border-color: var(--gold); }

/* Packages (match the Aryeo order form) */
.packages { margin-top: clamp(4rem, 8vw, 6.5rem); }
.packages-title { font: 300 var(--step-3)/1.1 var(--sans); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.packages-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 2.5rem;
}
.package { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.package h4 { font: 400 var(--step-1)/1.25 var(--sans); margin: 0 0 1rem; }
.package ul { list-style: none; padding: 0; margin: 0; color: var(--slate); font-size: var(--step--1); line-height: 1.5; }
.package li + li { margin-top: .5rem; }
@media (max-width: 1100px) { .packages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .packages-grid { grid-template-columns: 1fr; } }

/* Opening intro (home page, once per visit): the page shows through, dimmed and softened */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: rgba(12, 17, 27, .58);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: pointer;
  transition: opacity .7s ease, visibility 0s .7s;
}
.intro-seen .intro { display: none; }
.intro.is-out { opacity: 0; visibility: hidden; }
.intro-on body { overflow: hidden; }
.intro-logo {
  width: min(46vw, 260px); height: auto;
  opacity: 0; transform: scale(.94);
  transition: opacity .6s ease-out, transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.intro.is-go .intro-logo { opacity: 1; transform: none; }
.intro.is-out .intro-logo { transform: scale(1.04); transition: transform .7s ease-in; }
/* The headline waits for the intro, then rises as it fades */
.intro-on .hero-title .line > span, .intro-on .hero-foot, .intro-on .stamp { animation-play-state: paused; }

/* Service-area stamp, sitting above the headline on the right */
.stamp {
  position: absolute; right: var(--gutter); bottom: 100%; margin-bottom: clamp(1rem, 3vw, 2rem);
  width: clamp(108px, 12vw, 150px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%; background: rgba(16, 24, 38, .32);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: fade 1s .9s both;
}
.stamp-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: stamp-turn 24s linear infinite; }
.stamp-ring text { fill: rgba(255,255,255,.88); font: 500 8.6px var(--sans); letter-spacing: .14em; }
.stamp-mark { width: 44%; height: auto; }
@keyframes stamp-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .stamp-ring { animation: none; } }

/* Trusted-by carousel under the hero line: names and logos drift past in white, fading out at both edges */
.trust {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  animation: fade 1s 1s both;
}
.trust-label { flex: none; font-size: .8rem; font-weight: 400; letter-spacing: .04em; color: rgba(255,255,255,.6); }
.trust-track {
  flex: 1; min-width: 0; overflow: hidden; display: flex;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.trust-list {
  flex: none; display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-right: clamp(2.5rem, 5vw, 4.5rem); margin: 0; list-style: none;
  animation: trust-scroll var(--trust-time, 40s) linear infinite;
}
.trust-list li {
  flex: none; white-space: nowrap;
  font-size: clamp(.95rem, 1.4vw, 1.15rem); font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.trust-list img { display: block; height: clamp(26px, 3vw, 38px); width: auto; filter: brightness(0) invert(1); opacity: .72; }
/* Long, flat wordmarks (like Compass) sit lower so they look the same size as the rest */
.trust-list img.is-wide { height: clamp(13px, 1.4vw, 17px); }
/* Stacked logos (a symbol above small lettering) get more height so the name reads at the same size */
.trust-list img.is-stacked { height: clamp(44px, 5vw, 64px); }
/* Wide logos with fine lettering (Nelson Riddle) need extra height for the name to read */
.trust-list img.is-fine { height: clamp(40px, 4.4vw, 56px); }
/* A little lower for very wide logos with small lettering underneath */
.trust-list img.is-short { height: clamp(24px, 2.7vw, 34px); }
/* Monogram-only logos: the mark with the team's name written beside it */
.trust-pair { display: flex; align-items: center; gap: .75rem; }
.trust-pair img { height: clamp(28px, 3.2vw, 40px); }
/* Names shown as text instead of a logo */
.trust-list li.trust-serif { font-weight: 300; letter-spacing: .18em; }
.trust-track:hover .trust-list { animation-play-state: paused; }
@keyframes trust-scroll { to { transform: translateX(-100%); } }
.intro-on .trust { animation-play-state: paused; }
@media (max-width: 640px) {
  .trust { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .trust-track { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-list { animation: none; flex-wrap: wrap; row-gap: .75rem; }
  .trust-track { -webkit-mask-image: none; mask-image: none; }
}
