/* MP Rope Access Painters: Blue Hour soul (D1) with D5 cover numerals.
   Brand navy #102236 and gold #B88C28 are sampled from the client's logo.png. */

@font-face {
  font-family: "Anybody";
  src: url("fonts/anybody-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #102236;
  --navy-deep: #0B1828;
  --navy-raise: #15304B;
  --ink: #F2F4F6;
  --muted: #AEBACB;                     /* 8.8:1 on navy-deep, 6.7:1 on navy-raise */
  --line: rgb(255 255 255 / .14);       /* decorative only */
  --line-strong: rgb(255 255 255 / .42);/* control borders, 3:1+ */
  --gold: #B88C28;
  --gold-rope: rgb(184 140 40 / .62);
  --gold-wash: rgb(184 140 40 / .1);
  --cta: #B88C28;                       /* gold fill, navy label: 5.2:1 */
  --cta-hover: #C79A33;
  --cta-ink: #102236;
  --whatsapp: #25D366;

  --font-display: "Anybody", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

  --nav-h: 72px;
  --radius: 4px;
  --radius-btn: 6px;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --section-y: clamp(88px, 11vw, 168px);
  --measure: 62ch;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 140ms;
  --ease-paint: cubic-bezier(0.33, 1, 0.68, 1);   /* power2.out */
  --dur-ui: 240ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-stretch: 68%; line-height: .95; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
em, i { font-style: normal; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 18px; background: var(--ink); color: var(--navy);
  font-weight: 700; border-radius: var(--radius-btn); text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

section[id], [id].anchor { scroll-margin-top: var(--nav-h); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radius-btn); border: 0;
  font: 700 1.0625rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-ui) ease;
}
.btn:active { transform: scale(.97); }
/* The primary button rests as a gold outline; on hover gold paint sweeps in from the
   left and the label turns navy. Touch screens have no hover, so they get the solid fill. */
.btn-primary {
  position: relative; isolation: isolate; overflow: hidden;
  background: transparent; color: var(--cta); border: 2px solid var(--cta);
  transition: transform var(--dur-press) var(--ease-out), color 200ms ease 80ms;
}
.btn-primary svg { width: 22px; height: 22px; flex: none; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--cta);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 280ms var(--ease-paint);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover, .btn-primary:focus-visible { color: var(--cta-ink); }
  .btn-primary:hover::before, .btn-primary:focus-visible::before { clip-path: inset(0 0 0 0); }
}
@media (hover: none), (pointer: coarse) {
  .btn-primary { background: var(--cta); color: var(--cta-ink); }
  .btn-primary::before { content: none; }
}
.btn-outline {
  background: transparent; color: var(--ink);
  border: 2px solid var(--line-strong);
}
@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover { border-color: var(--ink); }
}
.text-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--ink); font-weight: 700; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 6px;
  transition: text-decoration-color var(--dur-ui) ease;
}
.text-link svg { width: 18px; height: 18px; transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .text-link:hover svg { transform: translateX(4px); }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: var(--navy); border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity 280ms ease;
}
.site-header.is-solid::before,
.site-header.is-open::before { opacity: 1; }
.page-plain .site-header::before { opacity: 1; }
.nav {
  position: relative; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; min-height: 44px;
  background: #fff; border-radius: var(--radius); padding: 3px 6px;
}
.brand img { width: 72px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px;
  font-weight: 700; font-size: .98rem; text-decoration: none; color: var(--ink);
}
.nav-links a:not(.nav-tel)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px;
  background: var(--gold-rope); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:not(.nav-tel):hover::after { transform: scaleX(1); }
}
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-tel { gap: 8px; padding: 0 14px; border: 2px solid var(--line-strong); border-radius: var(--radius-btn); }
.nav-tel svg { width: 18px; height: 18px; }
.nav-actions { display: none; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-btn);
  background: transparent; border: 2px solid var(--line-strong); color: var(--ink); cursor: pointer;
  text-decoration: none;
}
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle .bar { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform var(--dur-ui) var(--ease-out), opacity 160ms ease; }
.menu-toggle .bars { display: grid; gap: 4px; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49;
  background: var(--navy); border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter) 28px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform var(--dur-ui) var(--ease-out), opacity 200ms ease, visibility 0s linear 240ms;
}
.mobile-menu.is-open { transform: none; opacity: 1; visibility: visible; transition: transform var(--dur-ui) var(--ease-out), opacity 200ms ease; }
.mobile-menu a {
  display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line);
  font: 800 1.6rem/1 var(--font-display); font-stretch: 70%; text-decoration: none;
}
.mobile-menu .mobile-tel { gap: 10px; font: 700 1.05rem/1 var(--font-body); border-bottom: 0; margin-top: 8px; }
.mobile-menu .mobile-tel svg { width: 20px; height: 20px; }

@media (max-width: 899px) {
  .nav-links { display: none; }
  .nav-actions { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 24px) 0 clamp(40px, 7vh, 88px);
}
.hero-sky {
  position: absolute; inset: 0 0 auto 0; height: 80%; z-index: -3;
  overflow: hidden;
}
.hero-sky img {
  /* 9% slack above and below so the scroll parallax never shows an edge. */
  position: absolute; left: 0; top: -9%;
  width: 100%; height: 118%; object-fit: cover; object-position: 50% 62%;
  transform-origin: 50% 40%;
}
.hero-sky::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(11 24 40 / .72) 0%, rgb(11 24 40 / .3) 30%, rgb(11 24 40 / 0) 52%),
    linear-gradient(0deg, var(--navy-deep) 2%, rgb(11 24 40 / .86) 26%, rgb(11 24 40 / .2) 58%, rgb(11 24 40 / 0) 74%);
}

.hero-numerals {
  position: absolute; z-index: -2; right: calc(var(--gutter) - 1vw); top: calc(var(--nav-h) + 4vh);
  display: grid; justify-items: end; gap: 0;
  pointer-events: none;
}
.numeral {
  display: grid; justify-items: end;
}
.numeral-figure {
  font-family: var(--font-display); font-weight: 900; font-stretch: 58%;
  font-size: clamp(9rem, 24vw, 25rem); line-height: .78; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: rgb(184 140 40 / .1);
  -webkit-text-stroke: 2px var(--gold);
}
.numeral-label {
  margin-top: 6px; color: var(--ink);
  font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
}
.numeral + .numeral { margin-top: 1.6vw; }

.hang-set { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hang {
  position: absolute; top: 0;
  display: flex; flex-direction: column; align-items: center;
  transform-origin: 50% 0;
}
.hang .rope { width: 2px; height: var(--len); background: var(--gold-rope); }
.hang .knot { width: 10px; height: 10px; margin-top: -1px; border: 2px solid var(--gold-rope); border-radius: 50%; }
.hang .rope { transform-origin: 50% 0; }
.hang .card {
  transform-origin: 50% 0;
  margin: 0; margin-top: -1px; padding: 6px 6px 7px;
  width: var(--w); background: #E9EDF1; border-radius: var(--radius);
  box-shadow: 0 30px 60px -28px rgb(0 0 0 / .7);
}
.hang .card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.can-swing .hang .card { pointer-events: auto; cursor: default; }
.hang-1 { left: 46%; --len: 28vh; --w: clamp(150px, 12.5vw, 190px); }
.hang-2 { left: 56%; --len: 14vh; --w: clamp(160px, 14vw, 210px); }
.hang-3 { left: 66.5%; --len: 40vh; --w: clamp(140px, 11.5vw, 170px); }

.hero-content { position: relative; max-width: 50rem; }
.hero .wrap, .hero-content, .hero h1 { pointer-events: none; }
.hero-sub, .hero-actions { pointer-events: auto; }
.hero h1 {
  font-size: clamp(3rem, 8.4vw, 8.4rem); font-stretch: 62%;
  line-height: .9; letter-spacing: -.015em; text-transform: none;
}
.hero h1 .line, .gallery-hero h1 .line { display: block; }
.hero h1 .line-inner, .gallery-hero h1 .line-inner { display: block; }
.word { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; padding-bottom: .16em; margin-bottom: -.16em; }
.hero-sub { margin-top: 22px; max-width: 34rem; font-size: clamp(1.05rem, 1.3vw, 1.22rem); color: var(--ink); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero .btn-primary { min-height: 56px; padding: 0 30px; font-size: 1.1rem; }

@media (max-width: 899px) {
  .hero { padding-bottom: 36px; }
  .hero-sky { height: 62%; }
  /* Narrow screens: the numerals sit in a row just above the headline, cards hang top right. */
  .hero-numerals {
    position: relative; inset: auto; z-index: auto;
    display: flex; align-items: flex-end; gap: 28px;
    width: 100%; max-width: var(--max); margin: 0 auto 14px; padding: 0 var(--gutter);
  }
  .numeral { justify-items: start; }
  .numeral-figure { font-size: clamp(4.2rem, 19vw, 7.5rem); -webkit-text-stroke-width: 1.5px; }
  .numeral + .numeral { margin-top: 0; }
  .hang-1 { left: 54%; --len: 15vh; --w: clamp(84px, 15vw, 128px); }
  .hang-2 { left: 75%; --len: 9vh; --w: clamp(80px, 14vw, 120px); }
  .hang-3 { display: none; }
}
@media (max-width: 599px) {
  .hero { justify-content: flex-end; }
  .hero h1 { font-size: clamp(2.9rem, 14.4vw, 4.4rem); }
  .hero-sub { margin-top: 16px; font-size: 1.02rem; }
  .hero-actions { margin-top: 22px; }
  .hero .btn-primary { min-width: 62%; }
  .numeral-label { font-size: .7rem; letter-spacing: .1em; }
}
@media (min-width: 900px) and (max-height: 760px) {
  .hero h1 { font-size: clamp(3rem, 7vw, 6.6rem); }
}

/* ---------- Rope drop between sections ---------- */
.drop {
  display: block; width: 2px; height: clamp(56px, 8vw, 112px);
  background: var(--gold-rope); transform-origin: 50% 0;
  margin-bottom: clamp(28px, 4vw, 48px);
}

/* ---------- Statement ---------- */
.statement { padding: var(--section-y) 0 calc(var(--section-y) * .7); }
.statement-text {
  font-family: var(--font-display); font-weight: 700; font-stretch: 72%;
  font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: 1.04; letter-spacing: -.01em;
  max-width: 22ch; text-wrap: balance;
}
.statement-text .w { display: inline; }
.statement-note { margin-top: 28px; max-width: 46ch; color: var(--muted); font-size: 1.08rem; }

/* ---------- Services ---------- */
.services { position: relative; padding: var(--section-y) 0; isolation: isolate; }
.services-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.services-head { position: sticky; top: calc(var(--nav-h) + 32px); }
.services-head h2 { font-size: clamp(2.6rem, 5.4vw, 5rem); }
.services-head p { margin-top: 20px; max-width: 36ch; color: var(--muted); }
.svc-group + .svc-group { margin-top: clamp(40px, 5vw, 64px); }
.svc-group h3 {
  font-size: clamp(1.75rem, 2.6vw, 2.35rem); font-stretch: 70%; line-height: 1;
  color: var(--gold);
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.svc-row {
  position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 14px;
  padding: 20px 0 22px; border-bottom: 1px solid var(--line);
}
.svc-row .descender {
  grid-row: 1 / span 2; width: 14px; height: 30px; margin-top: 4px; justify-self: center;
  color: var(--gold); opacity: .35;
  transition: transform var(--dur-ui) var(--ease-out), opacity var(--dur-ui) ease;
}
.svc-name {
  font-family: var(--font-display); font-weight: 800; font-stretch: 74%;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.12;
  transition: transform var(--dur-ui) var(--ease-out);
}
.svc-desc { margin-top: 6px; color: var(--muted); max-width: 52ch; transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .svc-row:hover .descender { transform: translateY(8px); opacity: 1; }
  .svc-row:hover .svc-name,
  .svc-row:hover .svc-desc { transform: translateX(8px); }
}
@media (max-width: 899px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-head { position: static; }
}

/* ---------- Work ---------- */
.work { position: relative; padding: var(--section-y) 0; isolation: isolate; }

/* ---------- Section fill (wiped in by the drip) ---------- */
.sec-fill { position: absolute; inset: 0; z-index: -1; background: var(--navy); }
.sec-fill--texture::before {
  content: ""; position: absolute; inset: 0;
  background: url("images/texture-perforated.webp") repeat;
  background-size: 144px 104px; opacity: var(--tex, .55);
}

/* ---------- Paint drip: falls from the section's top edge and pools ---------- */
.drip {
  position: absolute; top: 0; z-index: 1; pointer-events: none;
  left: calc(max(var(--gutter), (100% - var(--max)) / 2 + var(--gutter)) - 19px);
  width: 40px; height: calc(var(--section-y) - 18px);
  /* A tint, not full-strength gold: in the contact section only the CTA may be solid --cta. */
  --drip: rgb(184 140 40 / .86);
}
.drip-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.drip-trail { fill: none; stroke: var(--drip); stroke-width: 4.5; stroke-linecap: round; }
.drip-head {
  position: absolute; left: 0; top: 0; width: 12px; height: 16px; margin: -9px 0 0 -6px;
  background: var(--drip); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  opacity: 0;
}
.drip-pool {
  position: absolute; left: 50%; bottom: -4px; width: 72px; height: 9px; margin-left: -36px;
  background: var(--drip); border-radius: 50%;
}
@media (max-width: 599px) {
  .drip-pool { width: 48px; margin-left: -24px; height: 7px; }
}

/* ---------- Navy paint smear between services and the work teaser ---------- */
.smear {
  position: absolute; left: 0; right: 0; top: 0; z-index: -1; pointer-events: none;
  height: clamp(44px, 6vw, 96px);
  display: grid; grid-template-rows: 30fr 2fr 22fr 3fr 20fr 3fr 12fr 2fr 6fr;
}
.smear-row { display: block; background: var(--navy); }
.smear-row:nth-child(1) { grid-row: 1; }
.smear-row:nth-child(2) { grid-row: 3; background: #132840; }
.smear-row:nth-child(3) { grid-row: 5; background: #0F2134; }
.smear-row:nth-child(4) { grid-row: 7; background: #14293F; }
.smear-row:nth-child(5) { grid-row: 9; background: #112438; }
.work-head { display: grid; gap: 18px; max-width: 40rem; }
.work-head h2 { font-size: clamp(2.6rem, 5.4vw, 5rem); }
.work-head p { color: var(--muted); }
.work-grid {
  margin-top: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px);
  align-items: start;
}
.panel { margin: 0; }
.panel-media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy-raise); }
.panel-media img { width: 100%; height: 100%; object-fit: cover; }
.panel figcaption { margin-top: 12px; color: var(--muted); font-size: .95rem; max-width: 40ch; }
.panel-a { grid-column: 1 / span 5; }
.panel-a .panel-media { aspect-ratio: 4 / 5; }
.panel-b { grid-column: 7 / span 3; margin-top: clamp(80px, 12vw, 200px); }
.panel-b .panel-media { aspect-ratio: 3 / 4; }
.panel-c { grid-column: 10 / span 3; }
.panel-c .panel-media { aspect-ratio: 3 / 5; }
.work-foot { margin-top: clamp(36px, 5vw, 64px); display: flex; justify-content: flex-end; }
@media (max-width: 899px) {
  .panel-a { grid-column: 1 / -1; }
  .panel-b { grid-column: 1 / span 6; margin-top: 0; }
  .panel-c { grid-column: 7 / span 6; margin-top: 48px; }
  .work-foot { justify-content: flex-start; }
}

/* ---------- Roofs ---------- */
.roofs { position: relative; padding: var(--section-y) 0; isolation: isolate; }
.roofs-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.roofs .panel-media { aspect-ratio: 16 / 10; }
.roofs-copy h2 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
.roofs-copy p { margin-top: 20px; color: var(--muted); max-width: 42ch; }
.roofs-copy ul { margin-top: 26px; display: grid; gap: 0; }
.roofs-copy li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
@media (max-width: 899px) {
  .roofs-grid { grid-template-columns: 1fr; }
}

/* ---------- Areas ---------- */
.areas { position: relative; padding: var(--section-y) 0; overflow: hidden; isolation: isolate; }
.areas-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.areas-figure {
  font-family: var(--font-display); font-weight: 900; font-stretch: 58%;
  font-size: clamp(10rem, 30vw, 30rem); line-height: .78; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--gold-wash); -webkit-text-stroke: 2px var(--gold);
}
.areas-copy h2 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
.areas-copy > p { margin-top: 18px; color: var(--muted); max-width: 40ch; }
.area-list { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.area-list li {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-stretch: 76%; font-size: 1.35rem;
}
.areas-foot { margin-top: 26px; }
@media (max-width: 899px) {
  .areas-grid { grid-template-columns: 1fr; }
  .areas-figure { font-size: clamp(8rem, 44vw, 14rem); }
}

/* ---------- Contact ---------- */
.contact { position: relative; padding: var(--section-y) 0; overflow: hidden; isolation: isolate; }
.contact .sec-fill { --tex: .4; }
.contact h2 { font-size: clamp(2.8rem, 7vw, 6.6rem); max-width: 14ch; }
.contact-lead { margin-top: 22px; max-width: 40ch; font-size: 1.12rem; }
.contact-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.contact-lines { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px 48px; color: var(--muted); }
.contact-lines a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; text-underline-offset: 5px; }
.contact-lines span { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 699px) {
  .contact-lines { flex-direction: column; gap: 6px; }
  .contact .btn-primary { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 120px; border-top: 1px solid var(--line); background: var(--navy-deep); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 36px; }
.foot-grid .brand img { width: 150px; }
.foot-head { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.foot-grid a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-grid li { line-height: 1.4; }
.foot-note { margin-top: 18px; color: var(--muted); max-width: 38ch; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); }
.foot-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 899px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- Floating WhatsApp: a 52px circle, logo only ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 34px -18px rgb(0 0 0 / .8);
  overflow: hidden; isolation: isolate;
  transition: transform var(--dur-press) var(--ease-out), color 200ms ease 80ms;
}
.wa-float svg { width: 28px; height: 28px; flex: none; }
.wa-float:active { transform: scale(.96); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold); clip-path: inset(0 100% 0 0);
  transition: clip-path 280ms var(--ease-paint);
}
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover, .wa-float:focus-visible { color: var(--navy); }
  .wa-float:hover::before, .wa-float:focus-visible::before { clip-path: inset(0 0 0 0); }
}

/* ---------- Gallery page ---------- */
.page-plain main { padding-top: var(--nav-h); }
.gallery-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 3.5vw, 44px); }
.gallery-hero h1 { font-size: clamp(3rem, 6.4vw, 6rem); font-stretch: 62%; max-width: 12ch; }
.gallery-hero p { margin-top: 20px; max-width: 46ch; color: var(--muted); font-size: 1.1rem; }
.gallery-hero .hero-actions { margin-top: 28px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 28px; }
.filter {
  min-height: 44px; padding: 0 16px; border-radius: 6px;
  background: transparent; color: var(--ink); border: 2px solid var(--line-strong);
  font: 700 .95rem/1 var(--font-body); cursor: pointer;
  transition: background-color var(--dur-ui) ease, border-color var(--dur-ui) ease, color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out);
}
.filter:active { transform: scale(.97); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--navy); border-color: var(--ink); }
.filter-count { margin-left: 6px; font-weight: 400; opacity: .8; }

.masonry-stage { position: relative; }
.masonry-ink {
  position: absolute; left: 0; top: 0; right: 0; z-index: 2;
  overflow: hidden; background: var(--navy-deep); pointer-events: none;
}
.masonry { columns: 3 320px; column-gap: clamp(14px, 1.6vw, 22px); padding-bottom: var(--section-y); }
.shot { break-inside: avoid; margin: 0 0 clamp(14px, 1.6vw, 22px); }
.shot[hidden] { display: none; }
.shot-btn {
  display: block; width: 100%; padding: 0; border: 0; background: var(--navy-raise);
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
}
.shot-btn img { width: 100%; transition: transform 420ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .shot-btn:hover img { transform: scale(1.03); }
}
.shot figcaption { padding: 10px 2px 4px; color: var(--muted); font-size: .93rem; line-height: 1.45; }
.shot figcaption strong { display: block; color: var(--ink); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }

.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgb(6 13 22 / .94);
  display: grid; grid-template-rows: 1fr auto; place-items: center;
  padding: 72px 16px 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: calc(100dvh - 180px); width: auto; height: auto; border-radius: var(--radius); }
.lightbox p { margin-top: 14px; color: var(--ink); text-align: center; max-width: 60ch; }
.lb-btn {
  position: absolute; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 6px; border: 2px solid var(--line-strong);
  background: rgb(11 24 40 / .7); color: var(--ink); cursor: pointer;
}
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; align-content: center; padding: calc(var(--nav-h) + 40px) 0 80px; }
.notfound h1 { font-size: clamp(3rem, 9vw, 7rem); }
.notfound p { margin-top: 18px; color: var(--muted); }
.notfound .hero-actions { margin-top: 28px; }

/* ---------- Motion setup ----------
   The head script adds .js; motion.js adds .motion-ready and animates these in.
   If GSAP never starts, the head script adds .no-motion after 3s and everything shows. */
.js [data-reveal],
.js .hero h1,
.js .gallery-hero h1,
.js [data-hero-fade],
.js [data-hang],
.js [data-numeral] { opacity: 0; }
.no-motion [data-reveal],
.no-motion .hero h1,
.no-motion .gallery-hero h1,
.no-motion [data-hero-fade],
.no-motion [data-hang],
.no-motion [data-numeral] { opacity: 1 !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; transition-delay: 0ms !important; }
  .js [data-reveal],
  .js .hero h1,
  .js .gallery-hero h1,
  .js [data-hero-fade],
  .js [data-hang],
  .js [data-numeral] { opacity: 1; }
}
