/* =====================================================================
   BKE INSTALLATIONS · styles.css
   Contemporary luxury · Midnight navy + brushed chrome
   Palette derived from the logo (deep navy + metallic silver type)
   ===================================================================== */

:root {
  /* ---- navy (dominant) ---- */
  --navy-deep:  #0E1230;   /* logo background, darkest */
  --navy:       #141838;   /* primary surface */
  --navy-2:     #1C2148;   /* elevated surface */
  --navy-3:     #262C5A;   /* highest elevation, hover */

  /* ---- silver / chrome ---- */
  --silver-1:   #EAEAEE;
  --silver-2:   #B8BAC3;
  --silver-3:   #6E737F;
  --steel:      #4A4F5E;

  /* ---- warm contrast neutrals ---- */
  --off-white:  #F2EFE8;
  --stone:      #E0DBD0;
  --stone-2:    #C7C0B0;

  /* ---- text ---- */
  --ink:        #0E1230;
  --ink-soft:   #1C2148;
  --text-light: #E7E7EC;
  --text-dim:   #A6A9B5;
  --mute-light: #8C8F9C;
  --mute-dark:  #6B7080;

  /* ---- accents ---- */
  --gold:       #B89A5E;        /* sparing warm metallic accent */
  --hair-dark:  rgba(232,232,238,0.14);
  --hair-light: rgba(20,24,56,0.16);

  /* ---- chrome gradient ---- */
  --chrome: linear-gradient(135deg,
            #F4F4F8 0%,
            #D1D3DB 18%,
            #9CA0AC 35%,
            #EEEEF2 52%,
            #B0B3BF 70%,
            #8C8F9C 85%,
            #E8E8EC 100%);

  /* ---- type ---- */
  --serif: "Fraunces", "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Manrope", "Inter", system-ui, -apple-system, sans-serif;

  /* ---- spacing ---- */
  --gap-xs: 0.5rem;
  --gap-s:  1rem;
  --gap-m:  2rem;
  --gap-l:  4rem;
  --gap-xl: 8rem;

  --page: clamp(20rem, 92vw, 80rem);

  /* ---- timing ---- */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  background: var(--navy-deep);
  color: var(--text-light);
  font-family: var(--sans);
  font-feature-settings: "ss01", "ss02", "kern";
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  letter-spacing: 0.005em;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---- selection ---- */
::selection { background: var(--silver-2); color: var(--navy-deep); }

/* ---- vignette / atmosphere ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(184,154,94,0.07), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(184,186,195,0.06), transparent 55%);
  /* promote to own compositor layer so scroll doesn't repaint it */
  transform: translateZ(0);
  will-change: transform;
}

/* =====================================================================
   IMAGE LAZY-LOAD FADE-IN
   Native `loading="lazy"` triggers an immediate paint when the image
   arrives. Smooth that with a quick fade so it doesn't snap in.
   ===================================================================== */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.6s ease;
}
img[loading="lazy"].is-loaded,
img[loading="lazy"][data-loaded="true"] {
  opacity: 1;
}
/* If JS doesn't fire (or for already-cached images), still show them: */
img[loading="lazy"].is-cached { opacity: 1; transition: none; }

/* =====================================================================
   CONTENT-VISIBILITY
   Lets the browser skip layout + paint for off-screen sections until
   they scroll into view. Massive scroll-perf win for image-heavy pages.
   `contain-intrinsic-size` reserves a sensible placeholder size so the
   scrollbar doesn't jump as content paints in.
   ===================================================================== */
.story,
.stats,
.services,
.gallery,
.process,
.reviews,
.cta,
.about__body,
.about__pull,
.projects-page__grid {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

/* =====================================================================
   CHROME / METALLIC TEXT
   ===================================================================== */
.chrome {
  background: var(--chrome);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: chromeShift 14s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(232,232,238,0.05);
}
@keyframes chromeShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--gap-m);
  padding: 1.1rem clamp(1.5rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--navy-deep) 82%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--hair-dark);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.brand__mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 6px;
  overflow: hidden;
  background: var(--navy-deep);
  border: 1px solid var(--hair-dark);
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.brand__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-1);
}
.brand__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  margin-top: 3px;
}

.nav__links {
  justify-self: center;
  display: flex;
  gap: clamp(1.1rem, 2vw, 2rem);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--text-light);
  white-space: nowrap;
}
.nav__links a {
  position: relative;
  padding: 0.45rem 0;
  transition: color 0.2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--silver-1);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.is-current::after { transform: scaleX(1); }
.nav__links a.is-current {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--silver-1);
}

.nav__cta {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.65rem 1.2rem;
  background: var(--silver-1);
  color: var(--navy-deep);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 0 0 rgba(232,232,238,0);
}
.nav__cta:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -10px rgba(232,232,238,0.25);
}
.nav__cta svg { transition: transform 0.3s ease; }
.nav__cta:hover svg { transform: translateX(3px); }

.nav__burger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 28px; padding: 6px 0;
}
.nav__burger span {
  display: block; width: 100%; height: 1px; background: var(--silver-1);
  transition: transform 0.3s ease;
}

@media (max-width: 1024px) {
  .nav { grid-template-columns: auto auto; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; justify-self: end; }
  .nav__links.is-open {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--navy-deep);
    border-bottom: 1px solid var(--hair-dark);
    padding: 1.5rem 2rem 2rem;
    gap: 1rem;
  }
}

/* =====================================================================
   BUTTONS / LINKS
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn--primary { background: var(--silver-1); color: var(--navy-deep); }
.btn--primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 16px 35px -14px rgba(232,232,238,0.35); }
.btn--ghost { border: 1px solid var(--silver-2); color: var(--silver-1); }
.btn--ghost:hover { background: var(--silver-1); color: var(--navy-deep); }
/* dark button, for use on light sections (e.g. reviews) */
.btn--dark { background: var(--navy); color: var(--silver-1); }
.btn--dark:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 16px 35px -16px rgba(14,18,48,0.4); }
.btn--lg { padding: 1.15rem 1.9rem; font-size: 0.92rem; }
.btn svg { transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(4px); }

.link-underline {
  display: inline-flex;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--silver-1);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--silver-2);
  transition: padding-left 0.3s ease, color 0.2s ease, border-color 0.2s ease;
}
.link-underline:hover { padding-left: 6px; color: #fff; border-color: #fff; }
.link-underline--lg { font-size: 1.5rem; margin-top: var(--gap-m); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: end;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.85) contrast(1.05);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,18,48,0.75) 0%, rgba(14,18,48,0.55) 35%, rgba(14,18,48,0.95) 100%),
    linear-gradient(90deg, rgba(14,18,48,0.8) 0%, transparent 60%);
}

.hero__inner {
  width: var(--page);
  margin: 0 auto;
  position: relative;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver-2);
  margin-bottom: var(--gap-m);
  opacity: 0; animation: reveal 0.9s 0.1s forwards ease;
}
.hero__eyebrow .bar {
  height: 1px; width: 36px; background: var(--silver-2);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 10vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  margin-bottom: var(--gap-l);
  color: var(--silver-1);
  max-width: 14ch;
}
.hero__title .line {
  display: block;
  opacity: 0; transform: translateY(2rem);
  animation: revealUp 1s forwards var(--ease);
}
.hero__title .line:nth-child(1) { animation-delay: 0.2s; }
.hero__title .line:nth-child(2) { animation-delay: 0.45s; padding-left: clamp(2rem, 8vw, 8rem); }
.hero__title .line:nth-child(3) { animation-delay: 0.7s; }
.hero__title em {
  font-style: italic;
  font-weight: 300;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-m);
  padding: var(--gap-m) 0;
  border-top: 1px solid var(--hair-dark);
  border-bottom: 1px solid var(--hair-dark);
  opacity: 0; animation: reveal 1s 0.9s forwards ease;
}
.hero__meta-col {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 0.85rem;
}
.hero__meta-col .label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--silver-2);
}
.hero__meta-col .value {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--silver-1);
}
.hero__meta-col .caption { color: var(--text-dim); font-size: 0.85rem; }

.hero__cta-row {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: var(--gap-m);
  opacity: 0; animation: reveal 1s 1.1s forwards ease;
}

.hero__scroll {
  position: absolute;
  right: 0; bottom: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver-2);
  display: flex; align-items: center; gap: 0.5rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 1rem 0;
}
.hero__scroll::after {
  content: "";
  height: 80px; width: 1px;
  background: linear-gradient(180deg, var(--silver-2), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50%      { transform: scaleY(0.4); }
}

@media (max-width: 680px) {
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .hero__meta-col:nth-child(3) { grid-column: 1 / -1; }
  .hero__title .line:nth-child(2) { padding-left: 1.5rem; }
  .hero__scroll { display: none; }
}

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee {
  border-block: 1px solid var(--hair-dark);
  background: var(--navy);
  overflow: hidden;
  padding: 1.2rem 0;
}
.marquee__track {
  display: inline-flex;
  white-space: nowrap;
  gap: 2.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  color: var(--silver-1);
  animation: marquee 38s linear infinite;
  padding-left: 2.6rem;
}
.marquee__dot { color: var(--gold); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =====================================================================
   SECTION HEAD
   ===================================================================== */
.section__head {
  display: flex; align-items: baseline; gap: 1rem;
  width: var(--page); margin: 0 auto var(--gap-l);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-2);
}
.section__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--silver-1);
}
.section__kicker { position: relative; padding-left: 1rem; }
.section__kicker::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 0.5rem; height: 1px; background: var(--silver-2);
}

/* light section variants */
.light { background: var(--off-white); color: var(--ink); }
.light .section__head { color: var(--mute-dark); }
.light .section__num { color: var(--ink); }
.light .section__kicker::before { background: var(--mute-dark); }

/* =====================================================================
   STORY
   ===================================================================== */
.story {
  padding: var(--gap-xl) 0;
  position: relative;
}
.story__grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-areas:
    "title  aside"
    "body   aside";
  gap: var(--gap-l) var(--gap-l);
}
.story__title {
  grid-area: title;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 22ch;
  color: var(--silver-1);
}
.story__title em { font-style: italic; }
.story__body { grid-area: body; max-width: 40ch; display: flex; flex-direction: column; gap: 1rem; }
.story__lede { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.35; color: var(--silver-1); }
.story__body p { color: var(--text-dim); }
.story__body .link-underline { margin-top: 0.6rem; align-self: flex-start; }

.story__aside { grid-area: aside; }
.story__aside img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
  border: 1px solid var(--hair-dark);
}
.story__caption {
  margin-top: 1rem;
  display: flex; flex-direction: column;
  font-family: var(--serif);
  font-size: 1.15rem;
}
.muted { color: var(--mute-light); font-family: var(--sans); font-size: 0.88rem; font-style: normal; }

@media (max-width: 880px) {
  .story__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "aside" "body";
  }
}

/* =====================================================================
   STATS
   ===================================================================== */
.stats {
  background: var(--navy);
  padding: var(--gap-l) 0;
  border-block: 1px solid var(--hair-dark);
  position: relative;
}
.stats__list {
  width: var(--page);
  margin: 0 auto;
  list-style: none; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-l);
}
.stat {
  display: flex; flex-direction: column; gap: 0.6rem;
  border-left: 1px solid var(--hair-dark);
  padding-left: 1.4rem;
}
.stat__figure {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  background: var(--chrome);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: chromeShift 16s ease-in-out infinite;
}
.stat__plus {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--silver-2);
  margin-top: -2.3rem;
  display: inline-block;
  align-self: flex-end;
}
/* When there's no +/%/★, hide the element so its negative margin
   doesn't drag the label up into the figure. */
.stat__plus:empty { display: none; }
.stat__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-2);
}
@media (max-width: 880px) {
  .stats__list { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   SERVICES
   ===================================================================== */
.services {
  padding: var(--gap-xl) 0;
}
.service {
  width: var(--page);
  margin: 0 auto var(--gap-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "media copy";
  gap: var(--gap-l);
  align-items: center;
}
.service--alt { grid-template-areas: "copy media"; }
.service__media {
  grid-area: media;
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.7);
  border: 1px solid var(--hair-dark);
}
.service__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.service:hover .service__media img { transform: scale(1.04); }
.service__media-tag {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  padding: 0.4rem 0.85rem;
  background: rgba(14,18,48,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--hair-dark);
  color: var(--silver-1);
  border-radius: 999px;
}

.service__copy { grid-area: copy; display: flex; flex-direction: column; gap: 1.3rem; position: relative; }
.service__index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--silver-2);
  letter-spacing: 0.04em;
}
.service__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--silver-1);
}
.service__title em { font-style: italic; }
.service__copy p { color: var(--text-dim); max-width: 38ch; font-size: 1.05rem; }
.service__list { list-style: none; padding: 0; margin-top: 0.5rem; display: flex; flex-direction: column; }
.service__list li {
  padding: 0.95rem 0;
  border-top: 1px solid var(--hair-dark);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--silver-1);
  position: relative;
  padding-left: 1.6rem;
}
.service__list li::before {
  content: "✦";
  position: absolute; left: 0; top: 0.9rem;
  font-style: normal; color: var(--gold); font-size: 0.7rem;
}
.service__list li:last-child { border-bottom: 1px solid var(--hair-dark); }

@media (max-width: 880px) {
  .service,
  .service--alt {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "copy";
  }
}

/* services outro note: "no job too small" */
.services__note {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--gap-l);
  padding-top: var(--gap-l);
  border-top: 1px solid var(--hair-dark);
}
.services__note-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  color: var(--silver-1);
}
.services__note p {
  color: var(--text-dim);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 54ch;
}
.services__note p::first-line { color: var(--silver-2); }
@media (max-width: 880px) {
  .services__note { grid-template-columns: 1fr; gap: var(--gap-m); }
}

/* =====================================================================
   GALLERY  (mosaic of recent work, used on homepage)
   ===================================================================== */
.gallery {
  padding: var(--gap-xl) 0;
  background: var(--navy);
  border-block: 1px solid var(--hair-dark);
}
.gallery__title {
  width: var(--page); margin: 0 auto var(--gap-l);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--silver-1);
  max-width: 18ch;
}
.gallery__title em { font-style: italic; }
.gallery__grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 80px;
  gap: 16px;
}
.gallery__cell {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--hair-dark);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.gallery__cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 0.5s ease;
}
.gallery__cell:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.gallery__cell:hover img { transform: scale(1.06); filter: brightness(1.05); }

/* mosaic positions (12-col grid, varied row spans) */
.gallery__cell:nth-child(1) { grid-column: span 6; grid-row: span 6; }
.gallery__cell:nth-child(2) { grid-column: span 3; grid-row: span 4; }
.gallery__cell:nth-child(3) { grid-column: span 3; grid-row: span 4; }
.gallery__cell:nth-child(4) { grid-column: span 3; grid-row: span 5; }
.gallery__cell:nth-child(5) { grid-column: span 3; grid-row: span 5; }
.gallery__cell:nth-child(6) { grid-column: span 4; grid-row: span 4; }
.gallery__cell:nth-child(7) { grid-column: span 4; grid-row: span 4; }
.gallery__cell:nth-child(8) { grid-column: span 4; grid-row: span 4; }

.gallery__footer {
  width: var(--page);
  margin: var(--gap-l) auto 0;
  display: flex; justify-content: space-between; align-items: end;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.gallery__caption { font-family: var(--serif); font-style: italic; color: var(--silver-2); font-size: 1rem; max-width: 36ch; }

@media (max-width: 880px) {
  .gallery__grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 70px; }
  .gallery__cell:nth-child(n) { grid-column: span 3; grid-row: span 4; }
  .gallery__cell:nth-child(1) { grid-column: span 6; grid-row: span 5; }
}

/* =====================================================================
   PROCESS
   ===================================================================== */
.process {
  width: var(--page);
  margin: 0 auto;
  padding: var(--gap-xl) 0;
}
.process__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--gap-l);
  max-width: 22ch;
  color: var(--silver-1);
}
.process__title em { font-style: italic; }
.process__steps {
  list-style: none; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-m);
}
.process__steps li {
  padding-top: 1.4rem;
  border-top: 1px solid var(--silver-2);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
}
.process__steps h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--silver-1);
}
.process__steps p { color: var(--text-dim); font-size: 0.95rem; }
@media (max-width: 880px) {
  .process__steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .process__steps { grid-template-columns: 1fr; }
}

/* =====================================================================
   REVIEWS
   ===================================================================== */
.reviews {
  background: var(--off-white);
  color: var(--ink);
  padding: var(--gap-xl) 0;
  border-block: 1px solid var(--hair-light);
  position: relative;
}
.reviews .section__head { color: var(--mute-dark); }
.reviews .section__num { color: var(--ink); }
.reviews .section__kicker::before { background: var(--mute-dark); }

.reviews__lead {
  width: var(--page);
  margin: 0 auto var(--gap-l);
  display: flex; align-items: baseline; gap: 1.5rem;
  flex-wrap: wrap;
}
.reviews__lead .btn { margin-left: auto; align-self: center; }
@media (max-width: 620px) {
  .reviews__lead .btn { margin-left: 0; }
}
.big-num {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
  color: var(--ink);
}
.percent {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--gold);
}
.reviews__caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--mute-dark);
}
.reviews__caption span { font-style: normal; font-family: var(--sans); font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; }
.reviews__grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-m);
}
.quote {
  background: #fff;
  border: 1px solid var(--hair-light);
  padding: 2.1rem 1.85rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}
.quote::before {
  content: "";
  position: absolute; top: -1px; left: -1px;
  width: 28px; height: 28px;
  border-top: 1px solid var(--ink); border-left: 1px solid var(--ink);
}
.quote::after {
  content: "";
  position: absolute; bottom: -1px; right: -1px;
  width: 28px; height: 28px;
  border-bottom: 1px solid var(--ink); border-right: 1px solid var(--ink);
}
.quote:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(14,18,48,0.18); }
.quote blockquote p {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.quote blockquote p em { color: var(--gold); font-style: italic; }
.quote figcaption { display: flex; flex-direction: column; }
.quote__name { font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--ink); }
.quote__src { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute-dark); }
@media (max-width: 880px) {
  .reviews__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .reviews__grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   CTA
   ===================================================================== */
.cta {
  background: var(--navy-deep);
  color: var(--silver-1);
  padding: var(--gap-xl) 0;
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--hair-dark);
}
.cta::before {
  content: "BKE";
  position: absolute;
  font-family: var(--serif);
  font-weight: 200;
  font-style: italic;
  font-size: clamp(20rem, 42vw, 44rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: rgba(232,232,238,0.035);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta__inner {
  width: var(--page);
  margin: 0 auto;
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  gap: var(--gap-m);
}
.cta__eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver-2);
}
.cta__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.cta__title em {
  font-style: italic;
  background: var(--chrome);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: chromeShift 14s ease-in-out infinite;
}
.cta__row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  background: var(--navy);
  padding: var(--gap-l) 0 var(--gap-m);
  border-top: 1px solid var(--hair-dark);
}
.footer__top {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1fr;
  gap: var(--gap-m);
  padding-bottom: var(--gap-l);
  border-bottom: 1px solid var(--hair-dark);
}
.footer__col { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.95rem; color: var(--text-dim); }
.footer__col h5 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-2);
  margin-bottom: 0.8rem;
}
.footer__col a { transition: color 0.2s ease; color: var(--silver-1); }
.footer__col a:hover { color: #fff; }
.footer__col--brand { gap: 1.1rem; }
.footer__brand-row { display: flex; align-items: center; gap: 0.85rem; }
.footer__brand-row .brand__mark { width: 52px; height: 52px; }
.footer__about { color: var(--text-dim); max-width: 36ch; font-size: 0.95rem; line-height: 1.55; }
.footer__bottom {
  width: var(--page);
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--gap-m);
  font-size: 0.8rem; color: var(--mute-light);
}
.footer__credit { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--silver-1); }

@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-page { padding: var(--gap-xl) 0; }
.contact__hero {
  width: var(--page);
  margin: 0 auto var(--gap-l);
}
.contact__hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 14ch;
  color: var(--silver-1);
}
.contact__hero h1 em {
  font-style: italic;
  background: var(--chrome);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: chromeShift 14s ease-in-out infinite;
}
.contact__hero p {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--silver-2);
  max-width: 40ch;
}

.contact__grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--gap-l);
}

.form { display: flex; flex-direction: column; gap: 1.7rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-2);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--silver-2);
  padding: 0.7rem 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--silver-1);
  outline: none;
  transition: border-color 0.25s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute-light); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--silver-1);
}
.field select { color: var(--silver-1); }
.field select option { background: var(--navy); color: var(--silver-1); }
.field textarea { min-height: 7rem; resize: vertical; line-height: 1.4; }
.field--checkbox {
  flex-direction: row; align-items: flex-start; gap: 0.7rem;
}
.field--checkbox label {
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.field--checkbox input { accent-color: var(--gold); margin-top: 4px; }

.form__submit { align-self: flex-start; margin-top: 1rem; }
/* While an enquiry is in flight, so it cannot be double-sent. */
.form__submit:disabled { opacity: 0.55; cursor: wait; pointer-events: none; }
.form__status { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--gold); }
.form__status.is-error { color: #C97A6E; }

.contact__aside {
  display: flex; flex-direction: column; gap: 2rem;
  padding-left: var(--gap-m);
  border-left: 1px solid var(--hair-dark);
}
.contact__aside h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--silver-1);
}
.contact__aside a, .contact__aside span { display: block; font-size: 1rem; color: var(--text-light); }
.contact__aside a:hover { color: #fff; }
.contact__aside .muted { color: var(--mute-light); font-size: 0.88rem; line-height: 1.55; }

@media (max-width: 880px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__aside { padding-left: 0; border-left: 0; border-top: 1px solid var(--hair-dark); padding-top: var(--gap-m); }
}

/* =====================================================================
   CONTACT MAP  (Google Maps embed)
   ===================================================================== */
.contact-map {
  width: var(--page);
  margin: var(--gap-l) auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.contact-map__frame {
  width: 100%;
  height: clamp(300px, 40vw, 460px);
  border: 1px solid var(--hair-dark);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 70px -35px rgba(0,0,0,0.7);
}
.contact-map__frame iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.3) contrast(1.05);
}
@media (max-width: 680px) {
  .contact-map__frame { height: 340px; }
}

/* =====================================================================
   ABOUT PAGE
   ===================================================================== */
.about-page { padding: 0 0 var(--gap-xl); }

.about__hero {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: end;
  padding: var(--gap-xl) 0 var(--gap-l);
  overflow: hidden;
  isolation: isolate;
}
.about__hero-bg { position: absolute; inset: 0; z-index: -2; }
.about__hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5) saturate(0.85); }
.about__hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,18,48,0.6) 0%, rgba(14,18,48,0.95) 100%);
}
.about__hero-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--gap-l);
  align-items: end;
}
.about__hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 14ch;
  color: var(--silver-1);
}
.about__hero h1 em {
  font-style: italic;
  background: var(--chrome);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: chromeShift 14s ease-in-out infinite;
}
.about__hero p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--silver-2); max-width: 30ch; }

.about__body {
  width: var(--page);
  margin: var(--gap-xl) auto var(--gap-l);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-l);
}
.about__body p { color: var(--text-light); font-size: 1.05rem; margin-bottom: 1rem; line-height: 1.65; }
.about__body p:first-child::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-size: 4.5rem;
  line-height: 0.85;
  float: left;
  padding: 0.5rem 0.7rem 0 0;
  background: var(--chrome);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.about__body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--silver-1);
}

.about__pull {
  width: var(--page);
  margin: var(--gap-l) auto;
  padding: var(--gap-l) 0;
  border-block: 1px solid var(--hair-dark);
  text-align: center;
}
.about__pull p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  color: var(--silver-1);
  max-width: 22ch;
  margin: 0 auto;
}
.about__pull cite { display: block; margin-top: 1.5rem; font-style: normal; font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--silver-2); }

@media (max-width: 880px) {
  .about__hero-inner { grid-template-columns: 1fr; }
  .about__body { grid-template-columns: 1fr; }
}

/* =====================================================================
   PROJECTS PAGE
   ===================================================================== */
.projects-page { padding: var(--gap-xl) 0; }
.projects-page__hero { width: var(--page); margin: 0 auto var(--gap-l); }
.projects-page__hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--silver-1);
}
.projects-page__hero h1 em {
  font-style: italic;
  background: var(--chrome);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: chromeShift 14s ease-in-out infinite;
}
.projects-page__hero p {
  margin-top: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--silver-2);
  max-width: 36ch;
}

.projects-page__filters {
  width: var(--page);
  margin: 0 auto var(--gap-m);
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-2);
  border-bottom: 1px solid var(--hair-dark);
  padding-bottom: 1.2rem;
}
.projects-page__filters button {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--hair-dark);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.projects-page__filters button.is-active,
.projects-page__filters button:hover {
  background: var(--silver-1);
  color: var(--navy-deep);
  border-color: var(--silver-1);
}

.projects-page__grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 90px;
  gap: 16px;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--hair-dark);
  display: block;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease); }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 32px 70px -30px rgba(0,0,0,0.8); }
.project-card:hover img { transform: scale(1.06); }
.project-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,18,48,0.9) 100%);
  display: flex; align-items: end;
  padding: 1.25rem;
  opacity: 0; transition: opacity 0.4s ease;
}
.project-card:hover .project-card__overlay { opacity: 1; }
.project-card__caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--silver-1);
}
.project-card__num {
  position: absolute;
  top: 1rem; right: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.6rem;
  background: rgba(14,18,48,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--hair-dark);
  color: var(--silver-1);
  border-radius: 999px;
}

/* mosaic spans on projects page */
.projects-page__grid .project-card:nth-child(1)  { grid-column: span 7; grid-row: span 6; }
.projects-page__grid .project-card:nth-child(2)  { grid-column: span 5; grid-row: span 6; }
.projects-page__grid .project-card:nth-child(3)  { grid-column: span 4; grid-row: span 5; }
.projects-page__grid .project-card:nth-child(4)  { grid-column: span 4; grid-row: span 5; }
.projects-page__grid .project-card:nth-child(5)  { grid-column: span 4; grid-row: span 5; }
.projects-page__grid .project-card:nth-child(6)  { grid-column: span 6; grid-row: span 6; }
.projects-page__grid .project-card:nth-child(7)  { grid-column: span 3; grid-row: span 4; }
.projects-page__grid .project-card:nth-child(8)  { grid-column: span 3; grid-row: span 4; }
.projects-page__grid .project-card:nth-child(9)  { grid-column: span 5; grid-row: span 6; }
.projects-page__grid .project-card:nth-child(10) { grid-column: span 7; grid-row: span 6; }

@media (max-width: 880px) {
  .projects-page__grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 70px; }
  .projects-page__grid .project-card:nth-child(n) { grid-column: span 3; grid-row: span 4; }
  .projects-page__grid .project-card:nth-child(1) { grid-column: span 6; grid-row: span 5; }
}

/* =====================================================================
   PROJECTS VIEW TABS  (Before & After  |  All work)
   ===================================================================== */
.view-tabs {
  width: var(--page);
  margin: 0 auto var(--gap-l);
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--hair-dark);
  padding-bottom: 0;
}
.view-tabs button {
  position: relative;
  padding: 0.9rem 0.4rem;
  margin-right: 1.6rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-style: italic;
  color: var(--silver-2);
  transition: color 0.25s ease;
}
.view-tabs button::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--chrome);
  background-size: 200% 200%;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.view-tabs button:hover { color: var(--silver-1); }
.view-tabs button.is-active { color: var(--silver-1); }
.view-tabs button.is-active::after { transform: scaleX(1); }
.view-tabs button span {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  vertical-align: super;
  color: var(--gold);
  margin-left: 0.35rem;
}

.view { display: none; }
.view.is-active { display: block; animation: viewIn 0.5s var(--ease); }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(0.75rem); }
  to   { opacity: 1; transform: none; }
}

/* =====================================================================
   BEFORE / AFTER PROJECTS
   ===================================================================== */
.ba-projects {
  width: var(--page);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
}
.ba-project__head {
  display: flex; align-items: baseline; gap: 1rem;
  margin-bottom: var(--gap-m);
  flex-wrap: wrap;
}
.ba-project__index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
}
.ba-project__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--silver-1);
}
.ba-project__title em { font-style: italic; }
.ba-project__meta {
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-2);
}
.ba-project__pairs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap-m);
}

/* --- the interactive slider --- */
.ba-slider {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--hair-dark);
  box-shadow: 0 30px 70px -35px rgba(0,0,0,0.75);
  user-select: none;
  touch-action: pan-y;
  background: var(--navy-2);
  cursor: ew-resize;
}
.ba-slider__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider__after  { z-index: 1; }   /* base layer, always full */
.ba-slider__before { z-index: 2; clip-path: inset(0 50% 0 0); } /* overlay, revealed left→right */

.ba-slider__label {
  position: absolute;
  bottom: 1rem;
  z-index: 3;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(14,18,48,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--hair-dark);
  color: var(--silver-1);
  pointer-events: none;
}
.ba-slider__label--before { left: 1rem; }
.ba-slider__label--after  { right: 1rem; }

.ba-slider__handle {
  position: absolute; top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  z-index: 4;
  background: var(--silver-1);
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 18px rgba(232,232,238,0.5);
}
.ba-slider__grip {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--silver-1);
  color: var(--navy-deep);
  display: grid; place-items: center;
  box-shadow: 0 6px 20px -6px rgba(0,0,0,0.6);
}
.ba-slider__grip::before {
  content: "‹ ›";
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
/* invisible range input for keyboard access (arrow keys); pointer
   dragging is handled on the slider itself in script.js */
.ba-slider__range {
  position: absolute; inset: 0;
  z-index: 5;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-appearance: none; appearance: none;
  background: transparent;
}
.ba-slider__range:focus-visible { outline: none; }
.ba-slider:focus-within .ba-slider__handle {
  box-shadow: 0 0 0 3px var(--gold), 0 0 18px rgba(232,232,238,0.5);
}
.ba-slider__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 44px; height: 100%;
}
.ba-slider__range::-moz-range-thumb {
  width: 44px; height: 100%; border: 0; background: transparent;
}

.ba-note {
  width: var(--page);
  margin: 0 auto var(--gap-l);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--silver-2);
  display: flex; align-items: center; gap: 0.6rem;
}
.ba-note::before {
  content: "⇆";
  font-style: normal;
  color: var(--gold);
  font-size: 1.3rem;
}

/* =====================================================================
   ALL-WORK MASONRY  (CSS columns, preserves each photo's natural
   aspect ratio, packs with no dead space, any number of images)
   ===================================================================== */
.masonry {
  width: var(--page);
  margin: 0 auto;
  column-count: 4;
  column-gap: 16px;
}
@media (max-width: 1100px) { .masonry { column-count: 3; } }
@media (max-width: 760px)  { .masonry { column-count: 2; column-gap: 12px; } }
@media (max-width: 760px)  { .masonry__item { margin-bottom: 12px; } }

.masonry__item {
  display: block;
  position: relative;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 16px;
  border: 1px solid var(--hair-dark);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 20px 45px -30px rgba(0,0,0,0.7);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.masonry__item img {
  width: 100%; height: auto; display: block;
  transition: transform 1.2s var(--ease), filter 0.4s ease;
}
.masonry__item { cursor: zoom-in; }
.masonry__item:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -28px rgba(0,0,0,0.85); }
.masonry__item:hover img { transform: scale(1.05); filter: brightness(1.05); }

/* =====================================================================
   LIGHTBOX  (tap image to open; X / tap-off / swipe to close)
   ===================================================================== */
.gallery__cell { cursor: zoom-in; }

.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(8,10,26,0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  touch-action: none;
}
.lightbox.is-open { display: flex; animation: lbFade 0.3s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

.lightbox__img {
  max-width: 92vw;
  max-height: 86vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,0.9);
  animation: lbZoom 0.35s var(--ease);
}
@keyframes lbZoom { from { transform: scale(0.94); opacity: 0; } to { transform: none; opacity: 1; } }

.lightbox__close {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 1rem);
  right: calc(env(safe-area-inset-right, 0px) + 1rem);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--hair-dark);
  color: var(--silver-1);
  font-size: 1.7rem; line-height: 1;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.3s ease, color 0.2s ease;
}
.lightbox__close:hover { background: var(--silver-1); color: var(--navy-deep); transform: rotate(90deg); }

.lightbox__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--hair-dark);
  color: var(--silver-1);
  font-size: 1.9rem; line-height: 1;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background 0.2s ease, color 0.2s ease;
}
.lightbox__nav:hover { background: var(--silver-1); color: var(--navy-deep); }
.lightbox__nav--prev { left: calc(env(safe-area-inset-left, 0px) + 0.75rem); }
.lightbox__nav--next { right: calc(env(safe-area-inset-right, 0px) + 0.75rem); }

.lightbox__count {
  position: absolute;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
  left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-style: italic;
  font-size: 0.95rem;
  color: var(--silver-2);
  letter-spacing: 0.04em;
  pointer-events: none;
}
.lightbox__hint {
  position: absolute;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
  right: calc(env(safe-area-inset-right, 0px) + 1.25rem);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-light);
  pointer-events: none;
}

@media (max-width: 600px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; background: rgba(255,255,255,0.06); }
  .lightbox__img { max-width: 96vw; max-height: 80vh; }
  .lightbox__hint { display: none; }
}

/* =====================================================================
   PRIVACY PAGE
   ===================================================================== */
.privacy-page { padding: var(--gap-xl) 0; }
.privacy-page__wrap { width: min(48rem, 92vw); margin: 0 auto; }
.privacy-page h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  margin-bottom: var(--gap-m);
  color: var(--silver-1);
}
.privacy-page h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: var(--gap-m);
  margin-bottom: 0.7rem;
  color: var(--silver-1);
}
.privacy-page p, .privacy-page li { color: var(--text-dim); font-size: 1.02rem; line-height: 1.65; margin-bottom: 0.8rem; }
.privacy-page ul { padding-left: 1.2rem; }
.privacy-page a { color: var(--silver-1); border-bottom: 1px solid var(--silver-2); }

/* =====================================================================
   AUDIENCE  (your-project page + homepage teaser)
   ===================================================================== */
.audience {
  padding: var(--gap-xl) 0;
  background: var(--navy);
  border-block: 1px solid var(--hair-dark);
}
.audience__title {
  width: var(--page);
  margin: 0 auto var(--gap-l);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--silver-1);
  max-width: 20ch;
}
.audience__title em { font-style: italic; }
.audience__lede {
  width: var(--page);
  margin: 0 auto var(--gap-l);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--silver-2);
  max-width: 48ch;
}
.audience__grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-m);
}
.audience__card {
  display: flex; flex-direction: column;
  gap: 1.1rem;
  padding: 2rem 1.85rem;
  background: var(--navy-2);
  border: 1px solid var(--hair-dark);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), background 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}
.audience__card:hover {
  transform: translateY(-4px);
  background: var(--navy-3);
  border-color: var(--silver-2);
}
.audience__card::after {
  content: "→";
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--silver-2);
  transition: transform 0.4s var(--ease), color 0.2s ease;
}
.audience__card:hover::after { transform: translate(4px, -2px); color: var(--silver-1); }
.audience__index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.audience__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.05;
  color: var(--silver-1);
}
.audience__name em { font-style: italic; }
.audience__copy {
  font-size: 0.98rem;
  color: var(--text-dim);
  line-height: 1.55;
}
.audience__list {
  list-style: none; padding: 0; margin-top: auto;
  border-top: 1px solid var(--hair-dark);
  padding-top: 1rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.audience__list li {
  font-size: 0.85rem;
  color: var(--silver-2);
  position: relative;
  padding-left: 1rem;
}
.audience__list li::before {
  content: "·";
  position: absolute; left: 0; color: var(--gold);
}
@media (max-width: 880px) {
  .audience__grid { grid-template-columns: 1fr; }
}

/* dedicated audience page banner */
.audience-page { padding: 0 0 var(--gap-xl); }
.audience-page__hero {
  width: var(--page);
  margin: 0 auto;
  padding: var(--gap-xl) 0 var(--gap-l);
}
.audience-page__hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--silver-1);
  max-width: 14ch;
}
.audience-page__hero h1 em {
  font-style: italic;
  background: var(--chrome);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: chromeShift 14s ease-in-out infinite;
}
.audience-page__hero p {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--silver-2);
  max-width: 44ch;
}

.partners {
  width: var(--page);
  margin: var(--gap-xl) auto 0;
  padding: var(--gap-l) 0;
  border-block: 1px solid var(--hair-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-l);
  align-items: start;
}
.partners h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  color: var(--silver-1);
}
.partners h3 em { font-style: italic; color: var(--gold); }
.partners p { color: var(--text-dim); line-height: 1.55; margin-bottom: 1rem; }
@media (max-width: 880px) { .partners { grid-template-columns: 1fr; } }

/* =====================================================================
   LEAVE-A-REVIEW BLOCK
   ===================================================================== */
.review-cta {
  background: var(--navy);
  border-block: 1px solid var(--hair-dark);
  padding: var(--gap-l) 0;
}
.review-cta__inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--gap-m);
  align-items: center;
}
.review-cta__copy { display: flex; flex-direction: column; gap: 0.6rem; }
.review-cta__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-2);
}
.review-cta__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  color: var(--silver-1);
}
.review-cta__title em { font-style: italic; color: var(--gold); }
.review-cta__stars {
  display: inline-flex; gap: 2px;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
@media (max-width: 680px) {
  .review-cta__inner { grid-template-columns: 1fr; }
}

/* =====================================================================
   CUSTOMER-TYPE SEGMENTED CONTROL  (contact form)
   ===================================================================== */
.field--segmented { gap: 0.7rem; }
.segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.3rem;
}
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  display: flex; align-items: center; justify-content: center;
  padding: 0.8rem 0.7rem;
  border: 1px solid var(--hair-dark);
  border-radius: 2px;
  background: var(--navy-2);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver-2);
  text-align: center;
  line-height: 1.25;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.segmented label:hover { border-color: var(--silver-2); color: var(--silver-1); }
.segmented input:checked + label {
  background: var(--silver-1);
  border-color: var(--silver-1);
  color: var(--navy-deep);
}
.field__hint {
  margin-top: 0.25rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  min-height: 1.2em;
}
@media (max-width: 680px) {
  .segmented { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   ABOUT BULLETS  (clean placeholder list while real copy comes in)
   ===================================================================== */
.about__bullets {
  width: var(--page);
  margin: 0 auto var(--gap-l);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-m);
}
.about__bullet {
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid var(--silver-2);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.about__bullet-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
}
.about__bullet h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--silver-1);
}
.about__bullet p { color: var(--text-dim); font-size: 0.95rem; }
@media (max-width: 880px) {
  .about__bullets { grid-template-columns: 1fr; }
}

/* =====================================================================
   ANIMATIONS
   ===================================================================== */
@keyframes reveal {
  to { opacity: 1; transform: none; }
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(2rem); }
  to   { opacity: 1; transform: none; }
}

[data-reveal] { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.9s ease, transform 0.9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
