/* ==========================================================================
   Belleroph Rope Access
   Direction: Seattle glass, overcast light. Charcoal slate from the logo,
   cool white ground, gold reserved for the one action, purple as a whisper.
   ========================================================================== */

:root {
  --ink: #1d2428;
  --slate: #354046;
  --steel: #525252;
  --line: #d6dbe0;
  --line-dark: #4a565d;
  --mist: #eef1f4;
  --cloud: #f7f8fa;
  --white: #ffffff;
  --gold: #fdb927;
  --gold-deep: #e6a40f;
  --purple: #552583;
  --purple-soft: #ece4f4;
  --purple-light: #cdb8ea;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wide: clamp(1240px, 86vw, 3200px);
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --rope-x: clamp(10px, 2.6vw, 40px);
  --nav-h: 64px;
  --sky-h: clamp(68px, 9vw, 150px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 900ms;
}

@media (min-width: 900px) {
  :root { --nav-h: 80px; }
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (min-width: 1800px) { html { font-size: 106.25%; } }
@media (min-width: 2300px) { html { font-size: 118.75%; } }
@media (min-width: 3000px) { html { font-size: 137.5%; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button { font: inherit; cursor: pointer; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  padding: 0.6rem 1rem; background: var(--ink); color: var(--white);
  font-family: var(--display); font-weight: 600; border-radius: 2px;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Type ------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-stretch: 78%; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-stretch: 84%; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-stretch: 92%; letter-spacing: -0.01em; line-height: 1.12; }
h4 { font-size: 1.1rem; font-stretch: 100%; letter-spacing: 0; line-height: 1.25; }
p { margin: 0 0 1.1em; max-width: 62ch; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--slate); }
.eyebrow {
  font-family: var(--display); font-stretch: 118%; font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--purple); margin: 0 0 1.25rem; display: block;
}
@media (max-width: 639px) { .eyebrow { font-size: 0.66rem; letter-spacing: 0.12em; } }
.eyebrow--gold { color: var(--gold); }
.eyebrow--purple { color: var(--purple); }
.on-dark .eyebrow, .cta-band .eyebrow { color: var(--purple-light); }
.small { font-size: 0.92rem; color: var(--steel); }
.muted { color: var(--steel); }

/* Layout ----------------------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--mist { background: var(--mist); }
.section--cloud { background: var(--cloud); }
.on-dark { background: var(--slate); color: var(--white); }
.on-dark p { color: #e3e7ea; }
.on-dark a { color: var(--white); }
.hairline { border: 0; border-top: 1px solid var(--line); margin: 0; }
.on-dark .hairline { border-color: var(--line-dark); }

.grid-2 { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-2--tight { gap: clamp(1.5rem, 3vw, 3rem); }
.grid-2--center { align-items: center; }
.sticky { position: sticky; top: calc(var(--nav-h) + 1.5rem); }

/* The rope line ----------------------------------------------------------- */
.rope {
  position: fixed; top: 0; left: var(--rope-x); z-index: 90;
  width: 2px; height: 100vh; height: 100dvh; pointer-events: none;
  background: linear-gradient(to bottom, var(--gold), var(--gold));
  transform: scaleY(0); transform-origin: top center;
  will-change: transform;
}
.rope__knot {
  position: fixed; top: 0; left: calc(var(--rope-x) - 3px); z-index: 90;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  pointer-events: none; will-change: transform;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--display); font-weight: 600; font-stretch: 100%;
  font-size: 0.95rem; letter-spacing: 0.01em; line-height: 1;
  padding: 1rem 1.5rem; min-height: 48px;
  border-radius: 2px; border: 1px solid transparent;
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.on-dark .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.5); }
.on-dark .btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--t-med) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.text-link {
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem;
  border-bottom: 1px solid var(--purple); padding-bottom: 3px;
  transition: gap var(--t-med) var(--ease), color var(--t-fast);
}
.text-link:hover { gap: 0.8rem; color: var(--purple); }
.on-dark .text-link { border-bottom-color: var(--purple-light); }
.on-dark .text-link:hover { color: var(--purple-light); }
.text-link svg { width: 16px; height: 16px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem 1.25rem; align-items: center; margin-top: 2rem; }
.cta-row .phone {
  font-family: var(--display); font-weight: 500; text-decoration: none;
  color: var(--slate); display: inline-flex; align-items: center; gap: 0.5rem;
}
.cta-row .phone:hover { color: var(--purple); }
.on-dark .cta-row .phone { color: var(--white); }
.on-dark .cta-row .phone:hover { color: var(--gold); }

/* Header ------------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner {
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 38px; width: auto; }
@media (min-width: 900px) { .brand img { height: 46px; } }

.nav { display: none; }
.nav ul { display: flex; gap: clamp(1.25rem, 2.4vw, 2.25rem); list-style: none; margin: 0; padding: 0; }
.nav a {
  font-family: var(--display); font-weight: 500; font-size: 0.95rem; text-decoration: none;
  color: var(--slate); padding: 0.4rem 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--purple); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: 1.25rem; }
.header__phone {
  display: none; font-family: var(--display); font-weight: 500; font-size: 0.95rem;
  text-decoration: none; color: var(--slate);
}
.header__phone:hover { color: var(--purple); }
.header .btn { padding: 0.8rem 1.15rem; min-height: 44px; font-size: 0.9rem; }
@media (min-width: 900px) {
  .nav { display: block; }
  .header__phone { display: inline; }
}
@media (max-width: 899px) { .header .btn--gold { display: none; } }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: 0; border-radius: 2px; color: var(--ink);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 2px; background: currentColor; position: relative;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 95;
  background: var(--slate); color: var(--white);
  padding: 2rem var(--gutter) 3rem;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s var(--t-med);
  overflow-y: auto;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu ul { list-style: none; padding: 0; margin: 0; }
.menu li + li { border-top: 1px solid var(--line-dark); }
.menu a.menu__link {
  display: block; padding: 1.1rem 0; text-decoration: none;
  font-family: var(--display); font-stretch: 84%; font-weight: 600; font-size: 2rem; letter-spacing: -0.02em;
}
.menu a.menu__link[aria-current="page"] { color: var(--gold); }
.menu__foot { margin-top: 2rem; display: grid; gap: 1rem; }
.menu__foot a:not(.btn) { color: #e3e7ea; text-decoration: none; font-family: var(--display); }
body.menu-open { overflow: hidden; }

/* Hero (home) ------------------------------------------------------------------
   The photo runs full width and is never cropped: its own proportions set the height.
   Desktop lays the headline over the sky on the left; phones put the text underneath. */
.hero { position: relative; }
.hero__banner { position: relative; }
/* the slate sits behind the photo only, so the stacked text below keeps a white ground */
.hero__banner img { width: 100%; height: auto; display: block; background: var(--slate); }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .line { display: block; }
.hero h1 .eyebrow { line-height: 1.4; text-wrap: balance; }
.hero .lede { max-width: 44ch; text-wrap: pretty; }

.hero__overlay { padding-block: clamp(2rem, 6vw, 3rem); }
.hero__lead > *:last-child { margin-bottom: 0; }

@media (min-width: 900px) {
  .hero__overlay {
    position: absolute; inset: 0; display: flex; align-items: center; padding-block: 0;
    background: linear-gradient(100deg,
      rgba(29,36,40,0.86) 0%, rgba(29,36,40,0.72) 26%, rgba(29,36,40,0.36) 46%,
      rgba(29,36,40,0.08) 62%, rgba(29,36,40,0) 74%);
  }
  .hero__lead { max-width: 46ch; color: var(--white); }
  .hero--banner h1, .hero--banner .cta-row .phone { color: var(--white); }
  .hero--banner .lede { color: #e6e9ec; }
  .hero--banner .eyebrow { color: var(--purple-light); }
  .hero--banner .small { color: #cfd6db; }
  .hero--banner .cta-row .phone:hover { color: var(--gold); }
  .hero h1 { font-size: clamp(2.4rem, 4.4vw, 4.6rem); }
}
@media (min-width: 1600px) {
  .hero h1 { font-size: clamp(4.4rem, 4vw, 5.6rem); }
  .hero__lead { max-width: 50ch; }
}

/* About page: pinned photo beside scrolling text ------------------------------- */
.hero__copy {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: center;
}
.hero__grid { display: grid; }
.hero__sticky { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--slate); }
.hero__sticky img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 52% 45%;
}
.hero__more { padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); container-type: inline-size; }

@media (min-width: 600px) and (max-width: 899px) {
  .hero__sticky { aspect-ratio: 16 / 11; }
  .hero__sticky img { object-position: 50% 42%; }
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "copy media" "services media";
    grid-template-rows: auto 1fr;
  }
  .hero__copy {
    grid-area: copy; padding-right: clamp(2rem, 5vw, 5rem);
    min-height: clamp(500px, calc(100vh - var(--nav-h)), 640px);
    min-height: clamp(500px, calc(100svh - var(--nav-h)), 640px);
  }
  .hero__more { grid-area: services; padding-top: clamp(2rem, 4vw, 3rem); padding-right: clamp(2rem, 5vw, 5rem); }
  .hero__media { grid-area: media; margin-right: calc(-1 * var(--gutter)); }
  .hero__sticky {
    position: sticky; top: var(--nav-h); aspect-ratio: auto;
    height: calc(100vh - var(--nav-h));
    height: calc(100svh - var(--nav-h));
  }
}
@media (min-width: 1440px) {
  .hero__media { margin-right: calc(-1 * ((100vw - var(--wide)) / 2)); }
}

.hero--about h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.hero--about .breadcrumb { margin-bottom: 1.25rem; }
.hero--about .hero__sticky img { object-position: 60% 40%; }
.hero--about .hero__more { padding-bottom: clamp(4rem, 8vw, 6rem); }
.hero--about .hero__more .quote { margin-bottom: 2rem; }
.hero--about .hero__more p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .hero--about .hero__more { padding-bottom: clamp(5rem, 10vw, 9rem); }
}

/* Skyline edge ------------------------------------------------------------------
   A Seattle skyline silhouette in the section's own color, rising into the white
   section above. The shape is a mask, so it always matches the background. */
.has-skyline { position: relative; margin-top: var(--sky-h); }
/* The footer skyline rises into the dark quote band instead of leaving a white gap.
   The band gets extra bottom space the same height as the skyline, so nothing overlaps. */
.footer.footer--after-band { margin-top: 0; }
/* Extra breathing room where a skyline follows the pinned hero photo */
.hero--about + .has-skyline { margin-top: calc(var(--sky-h) + clamp(2rem, 5vw, 5rem)); }
.section.cta-band--before-footer { padding-bottom: calc(clamp(4rem, 9vw, 8rem) + var(--sky-h)); }
.has-skyline::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: var(--sky-h);
  background: inherit; pointer-events: none;
  -webkit-mask: url("/assets/img/skyline.svg?v=3") center bottom / auto 100% no-repeat;
          mask: url("/assets/img/skyline.svg?v=3") center bottom / auto 100% no-repeat;
}

/* Page hero (interior pages) ------------------------------------------------ */
.page-hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.page-hero .lede { max-width: 56ch; }
.page-hero--split { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .page-hero--split { grid-template-columns: 7fr 5fr; align-items: end; }
}
.page-hero__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.page-hero__media img, .page-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: var(--display); font-size: 0.82rem; color: var(--steel); }
.breadcrumb a { text-decoration: none; color: var(--steel); }
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }

/* Section heading --------------------------------------------------------- */
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1rem; }
@media (min-width: 860px) {
  .section-head { grid-template-columns: 1.1fr 1fr; align-items: end; }
  .section-head .lede { margin: 0; }
}
.section-head h2 { margin: 0; }

/* Services: one lead service, two secondary ---------------------------------- */
.svc-layout { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .svc-layout { grid-template-columns: 2fr 1fr; } }
.svc-main {
  background: var(--white); color: inherit; text-decoration: none; position: relative;
  display: grid; transition: background-color var(--t-med) var(--ease);
}
@media (min-width: 640px) { .svc-main { grid-template-columns: 1fr 1fr; } }
.svc-main__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.svc-main__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (min-width: 640px) { .svc-main__media { aspect-ratio: auto; min-height: 380px; } }
.svc-main:hover .svc-main__media img { transform: scale(1.03); }
.svc-main__body { padding: 2rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: flex-end; }
.svc-main__body .eyebrow { margin: 0; color: var(--purple); }
.svc-main .service__h, .svc-main h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); font-stretch: 84%; line-height: 1.02; }
.svc-main p { margin: 0; color: var(--steel); }
.svc-main:hover { background: var(--cloud); }
.svc-side { display: grid; gap: 1px; background: var(--line); }

.service {
  background: var(--white); padding: 1.75rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem;
  text-decoration: none; color: inherit; position: relative;
  transition: background-color var(--t-med) var(--ease);
}
.service:hover { background: var(--cloud); }
.service h3, .service .service__h { margin: 0; font-size: 1.4rem; font-stretch: 92%; letter-spacing: -0.01em; line-height: 1.12; }
.service p { margin: 0; font-size: 0.98rem; color: var(--steel); flex: 1; }
.go {
  font-family: var(--display); font-weight: 600; font-size: 0.85rem;
  display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ink); margin-top: 0.5rem;
}
.go svg { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease); }
.service:hover .go svg, .svc-main:hover .go svg { transform: translateX(4px); }
.service::before, .svc-main::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--purple); z-index: 1;
  transform: scaleY(0); transform-origin: bottom; transition: transform var(--t-med) var(--ease);
}
.service:hover::before, .service:focus-visible::before,
.svc-main:hover::before, .svc-main:focus-visible::before { transform: scaleY(1); }

.svc-other {
  margin: 1.5rem 0 0; max-width: none; font-family: var(--display); font-size: 0.95rem; color: var(--steel);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: baseline;
}
.svc-other strong { color: var(--ink); font-weight: 600; }
.svc-other a { color: var(--ink); }
.svc-other a:hover { color: var(--purple); }

.svc-columns { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 720px) { .svc-columns { grid-template-columns: repeat(3, 1fr); } }
.svc-columns h3 { margin-bottom: 1rem; }
.other-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.other-list li {
  font-family: var(--display); font-size: 0.95rem; padding: 0.55rem 0.9rem;
  border: 1px solid var(--line); background: var(--white);
}

/* Why rope ----------------------------------------------------------------- */
.why { position: relative; }
.why__grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .why__grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.why__media { aspect-ratio: 3 / 4; overflow: hidden; }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0; }
.points li { padding: 1.25rem 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 1.6rem 1fr; gap: 1rem; }
.points li:last-child { border-bottom: 1px solid var(--line-dark); }
.points svg { width: 22px; height: 22px; color: var(--gold); margin-top: 0.2rem; }
.points h3 { font-size: 1.15rem; margin: 0 0 0.3rem; }
.points p { margin: 0; font-size: 0.98rem; }

/* Gallery ------------------------------------------------------------------ */
.gallery { display: grid; gap: 1.25rem; grid-auto-flow: dense; }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; }
.gallery .frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.gallery .frame--tall { aspect-ratio: 3 / 4; }
.gallery .frame--wide { aspect-ratio: 16 / 9; }
.split-shot { margin: 0; }
.split-shot img { width: 100%; height: auto; }
.split-shot figcaption {
  font-family: var(--display); font-stretch: 118%; font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); padding: 0.9rem 0 0;
}
.gallery video { width: 100%; height: 100%; object-fit: cover; background: var(--slate); }
@media (min-width: 640px) { .gallery .figure--wide { grid-column: span 2; } }
@media (min-width: 640px) { .gallery--2 .frame { aspect-ratio: 5 / 4; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  font-family: var(--display); font-stretch: 118%; font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); padding: 0.9rem 0 0;
}

/* About teaser --------------------------------------------------------------- */
.portrait { aspect-ratio: 4 / 5; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.pull {
  font-family: var(--display); font-stretch: 84%; font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 1.5rem; max-width: 22ch;
}
.pull::before { content: ""; display: block; width: 3rem; height: 3px; background: var(--purple); margin-bottom: 1.25rem; }
.quote { margin: 0 0 1.75rem; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--display); font-stretch: 84%; font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); margin: 0; max-width: 24ch; text-wrap: balance;
}
.quote::before { content: ""; display: block; width: 3rem; height: 3px; background: var(--purple); margin-bottom: 1.5rem; }
.quote figcaption {
  margin-top: 1.25rem; font-family: var(--display); font-stretch: 118%; font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple);
}

/* Areas --------------------------------------------------------------------- */
.areas { columns: 2; column-gap: 2rem; list-style: none; padding: 0; margin: 1.5rem 0 0; font-family: var(--display); font-size: 0.98rem; }
@media (min-width: 640px) { .areas { columns: 3; } }
.areas li { padding: 0.35rem 0; color: var(--slate); break-inside: avoid; }
.area-groups { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .area-groups { grid-template-columns: 1fr 1fr; } }
.area-groups h3 { margin-bottom: 0.4rem; }
@media (min-width: 1024px) { .area-groups--3 { grid-template-columns: repeat(3, 1fr); } }
.area-groups ul { list-style: none; padding: 0; margin: 1rem 0 0; font-family: var(--display); }
.area-groups li { padding: 0.35rem 0; color: var(--slate); }

/* CTA band ------------------------------------------------------------------ */
.cta-band { background: var(--purple); color: var(--white); }
.cta-band .wrap { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .cta-band .wrap { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { margin: 0; font-size: clamp(2rem, 4.2vw, 3.4rem); }
.cta-band p { color: #e4dcef; margin: 0.75rem 0 0; }
.cta-band .cta-row { margin: 0; justify-content: flex-start; }
.cta-band .cta-row .phone { color: #e4dcef; }
.cta-band .cta-row .phone:hover { color: var(--white); }
@media (min-width: 860px) { .cta-band .cta-row { justify-content: flex-end; } }

/* Content blocks (service pages) --------------------------------------------- */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 0.45rem 0 0.45rem 1.9rem; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.85rem; width: 0.8rem; height: 0.4rem;
  border-left: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: rotate(-45deg);
}
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { max-width: 62ch; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--purple); }


.related { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .related { grid-template-columns: 1fr 1fr 1fr; } .related--stack { grid-template-columns: 1fr; } }
.related a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px; padding: 1rem 1.25rem; background: var(--white);
  border: 1px solid var(--line); text-decoration: none;
  font-family: var(--display); font-weight: 600; line-height: 1.25;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.related a svg {
  width: 18px; height: 18px; flex: none; color: var(--purple);
  transition: transform var(--t-med) var(--ease), color var(--t-fast);
}
.related a:hover { border-color: var(--ink); background: var(--cloud); }
.related a:hover svg { transform: translateX(4px); color: var(--ink); }

/* Contact --------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { padding: 1rem 0; border-top: 1px solid var(--line); display: grid; gap: 0.2rem; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .label { font-family: var(--display); font-stretch: 118%; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.contact-list a { font-family: var(--display); font-weight: 600; font-size: 1.15rem; text-decoration: none; }
.contact-list a:hover { color: var(--purple); }

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--display); font-weight: 600; font-size: 0.9rem; }
.field label .opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid #9aa4ab; border-radius: 2px; padding: 0.8rem 0.9rem; min-height: 48px; width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(85,37,131,0.22); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b3261e; }
.field .error { font-family: var(--display); font-size: 0.85rem; color: #b3261e; display: none; }
.field.is-invalid .error { display: block; }
.field .hint { font-family: var(--display); font-size: 0.82rem; color: var(--steel); }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form__status { font-family: var(--display); font-size: 0.95rem; margin: 0; min-height: 1.4em; }
.form__status.is-error { color: #b3261e; }
.form__status.is-ok { color: var(--ink); }
.form__success {
  padding: 2rem; border: 1px solid var(--line); background: var(--cloud);
}
.form__success h2 { font-size: 1.8rem; }
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* Footer ----------------------------------------------------------------------- */
.footer { background: var(--slate); color: #e3e7ea; padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand img { height: 56px; width: auto; margin-bottom: 1.25rem; }
.footer__brand p { max-width: 34ch; color: #c9d1d7; font-size: 0.98rem; }
.footer .footer__h { font-family: var(--display); font-stretch: 118%; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #c9d1d7; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; font-family: var(--display); font-size: 0.95rem; }
.footer li { padding: 0.3rem 0; }
.footer__contact a { font-family: var(--display); font-weight: 600; font-size: 1.05rem; display: block; margin-bottom: 0.4rem; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between;
  font-family: var(--display); font-size: 0.82rem; color: #c9d1d7;
}
.footer__bottom ul { display: flex; gap: 1.5rem; }
.footer__credit {
  margin: 1rem 0 0; max-width: none; font-family: var(--display); font-size: 0.82rem; color: #c9d1d7;
}
.footer .footer__credit a { color: var(--white); border-bottom: 1px solid var(--purple-light); padding-bottom: 1px; }
.footer .footer__credit a:hover { color: var(--gold); border-bottom-color: var(--gold); }
/* On phones the quote bar is pinned to the bottom of the home page; keep the footer's last line clear of it */
@media (max-width: 899px) {
  body:has([data-sticky-after]) .footer { padding-bottom: calc(2rem + 76px + env(safe-area-inset-bottom)); }
}

/* Mobile sticky CTA ------------------------------------------------------------ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); display: flex; gap: 0.75rem;
  transform: translateY(110%); transition: transform var(--t-med) var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1; justify-content: center; }
.sticky-cta .btn--ghost { flex: 0 0 auto; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
body.has-sticky-cta { padding-bottom: 0; }

/* 404 ------------------------------------------------------------------------- */
.notfound { min-height: calc(100vh - var(--nav-h)); display: grid; align-items: center; }
.notfound .big { font-family: var(--display); font-stretch: 78%; font-weight: 700; font-size: clamp(6rem, 22vw, 16rem); line-height: 0.85; color: var(--purple-soft); letter-spacing: -0.04em; margin: 0; }

/* Legal ------------------------------------------------------------------------- */
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.legal p, .legal li { max-width: none; }

/* Motion: reveals ---------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-img { overflow: hidden; }
.js .reveal-img img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
.js .reveal-img.is-in img { transform: scale(1); }
.js .hero__copy .reveal, .js .hero__lead .reveal { transition-delay: calc(120ms + var(--i, 0) * 110ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-img img { transform: none; }
  .rope, .rope__knot { display: none; }
  .gallery figure:hover img { transform: none; }
}

@media (min-width: 900px) { .header .menu-toggle { display: none; } }
