/* ===============================================================
   MANGO MEDIA
   Brand: Playfair Display + Manrope
   Charcoal / Stone / Slate carry the page. Ripeness is accent.
   =============================================================== */

:root {
  /* Core */
  --charcoal: #111111;
  --stone:    #F2F2F2;
  --slate:    #6B6F76;
  --white:    #FFFFFF;
  --hairline: #E4E4E4;
  --paper:    #FAFAF9;

  /* Ripeness */
  --green:  #2DB24A;
  --yellow: #FFD236;
  --gold:   #FF9A2E;
  --orange: #FF5A1F;
  --red:    #E61E2A;
  --accent: var(--orange);

  /* Type */
  --display: 'Playfair Display', Georgia, serif;
  --body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Scale */
  --step--1: clamp(0.80rem, 0.78rem + 0.10vw, 0.86rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.18vw, 1.10rem);
  --step-1:  clamp(1.25rem, 1.16rem + 0.42vw, 1.50rem);
  --step-2:  clamp(1.60rem, 1.42rem + 0.90vw, 2.15rem);
  --step-3:  clamp(2.10rem, 1.72rem + 1.85vw, 3.20rem);
  --step-4:  clamp(2.70rem, 1.95rem + 3.60vw, 4.80rem);

  /* Rhythm */
  --gut:     clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --max:     1280px;
  --radius:  22px;
  --logo-h:  84px;   /* credential row logo height */
  --logo-header: 46px;  /* your logo in the header */
  --logo-footer: 84px;  /* footer logo. Raise this for a square or circular mark. */   /* credential row logo height. Raise or lower to taste. */
  --radius-s: 12px;
}

/* --- Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 3px; }

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

/* --- Type ----------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -0.015em; }
p  { margin: 0 0 1.15em; max-width: 68ch; }
.lede { font-size: var(--step-1); color: var(--slate); font-weight: 300; line-height: 1.55; }
.lede + .lede { margin-top: -0.3em; }

.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 1.1rem;
  display: block;
}

/* --- Layout --------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * 0.6); }
.bg-stone { background: var(--stone); }
.bg-white { background: var(--white); }
.bg-dark  {
  background-color: var(--charcoal);
  color: var(--white);
  position: relative;
  isolation: isolate;
}
/* Textured ground for dark sections. The image sits behind the
   content with a slight wash over it so type stays legible on
   whichever part of the texture a tall section happens to land on.
   If the file is missing the sections simply stay flat charcoal. */
.bg-dark::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(17,17,17,0.35), rgba(17,17,17,0.35)),
    url('/assets/page-section-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bg-dark .lede, .bg-dark .eyebrow { color: rgba(255,255,255,0.62); }
.bg-dark a { color: var(--white); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.75rem); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* --- Ripeness bar (the signature) ----------------------------- */
.rbar { display: flex; width: 190px; height: 6px; border-radius: 3px; overflow: hidden; }
.rbar span { flex: 1; }
.rbar span:nth-child(1) { background: var(--green); }
.rbar span:nth-child(2) { background: var(--yellow); }
.rbar span:nth-child(3) { background: var(--gold); }
.rbar span:nth-child(4) { background: var(--orange); }
.rbar span:nth-child(5) { background: var(--red); }
.rbar.rbar-sm { width: 92px; height: 4px; }
.rbar.rbar-full { width: 100%; height: 4px; border-radius: 0; }
.rbar.rbar-mb { margin-bottom: 1.75rem; }
.rbar.rbar-mt { margin-top: 1.5rem; }

/* Top edge strip */
.edge-strip { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 200; }

/* Framing corners on imagery */
.frame-corners {
  position: absolute; inset: 12px; pointer-events: none;
  opacity: 0; transition: opacity .35s ease, inset .35s ease;
}
.frame-corners::before, .frame-corners::after {
  content: ''; position: absolute; width: 24px; height: 24px;
  border: 2px solid var(--white);
}
.frame-corners::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame-corners::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* --- Buttons -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-accent { background: var(--orange); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--charcoal); box-shadow: inset 0 0 0 1px var(--hairline); }
.bg-dark .btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28); }
.btn-arrow::after { content: '\2192'; transition: transform .2s ease; }
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(3px); }

.textlink {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; font-size: 0.95rem;
  border-bottom: 1px solid var(--hairline); padding-bottom: 2px;
  transition: border-color .2s ease, gap .2s ease;
}
.textlink:hover { border-color: var(--orange); gap: 0.7rem; }

/* --- Header --------------------------------------------------- */
.site-header {
  position: sticky; top: 14px; z-index: 150;
  padding-inline: var(--gut); margin-top: 18px;
}
.header-pill {
  max-width: 1440px; margin-inline: auto;
  background: var(--white); border-radius: 999px;
  padding: 0.7rem 0.7rem 0.7rem 2rem;
  gap: clamp(1rem, 3vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 1px 2px rgba(17,17,17,0.04), 0 12px 34px rgba(17,17,17,0.07);
}
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex-shrink: 0; }
.brand-word {
  font-family: var(--body); font-weight: 500;
  font-size: 1.06rem; letter-spacing: 0.34em; line-height: 1;
  text-indent: 0.34em;
}
.brand-sub {
  font-family: var(--body); font-size: 0.52rem; font-weight: 500;
  letter-spacing: 0.42em; color: var(--slate); line-height: 1;
  text-indent: 0.42em;
}
.brand .rbar { width: 100%; height: 3px; margin-block: 2px; }
/* Logo image, when one is set in config. Height is the control;
   width follows the artwork. */
.brand img { height: var(--logo-header, 46px); width: auto; max-width: 100%; align-self: flex-start; display: block; object-fit: contain; }
.brand.brand-lg img { height: var(--logo-footer, 54px); }
@media (max-width: 1180px) {
  .brand img { height: calc(var(--logo-header, 46px) * 0.85); }
}
@media (max-width: 520px) {
  .brand img { height: calc(var(--logo-header, 46px) * 0.74); }
}

.nav { display: flex; align-items: center; gap: clamp(0.1rem, 1.6vw, 1.7rem); }
.nav-item { position: relative; }
.nav-item.has-mega:hover { z-index: 5; }
.nav-link {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.6rem 0.92rem; border-radius: 999px;
  font-weight: 500; font-size: 0.93rem; white-space: nowrap;
  transition: background .2s ease;
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link[aria-expanded="true"] { background: var(--stone); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .25s ease; }
.nav-item:hover .chev { transform: rotate(180deg); }
.header-cta { flex-shrink: 0; }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: max-content; max-width: calc(100vw - 3rem);
  background: var(--white); border-radius: var(--radius);
  padding: 2.2rem 2.4rem 1.6rem;
  box-shadow: 0 2px 4px rgba(17,17,17,0.04), 0 26px 60px rgba(17,17,17,0.13);
  opacity: 0; visibility: hidden; pointer-events: none;
  /* Closing is delayed so a cursor crossing the gap or cutting a
     corner does not drop the menu mid-move. Opening stays instant. */
  transition: opacity .22s ease .28s, transform .22s ease .28s, visibility .22s .28s;
}
/* Invisible bridge across the gap between the nav item and the panel,
   so the pointer never leaves a hoverable surface on the way down. */
.mega::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -20px;
  height: 20px;
}
.nav-item:hover .mega, .mega:hover, .nav-item:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
/* first and last dropdowns hug their side so they never run off screen */
.nav-item:first-child .mega,
.nav-item:nth-child(2) .mega { left: 0; transform: translateX(0) translateY(-8px); }
.nav-item:first-child:hover .mega, .nav-item:first-child:focus-within .mega,
.nav-item:nth-child(2):hover .mega, .nav-item:nth-child(2):focus-within .mega { transform: translateX(0) translateY(0); transition-delay: 0s; }
.nav-item:last-child .mega, .nav-item:nth-last-child(2) .mega { left: auto; right: 0; transform: translateX(0) translateY(-8px); }
.nav-item:last-child:hover .mega, .nav-item:last-child:focus-within .mega,
.nav-item:nth-last-child(2):hover .mega, .nav-item:nth-last-child(2):focus-within .mega { transform: translateX(0) translateY(0); transition-delay: 0s; }
.mega-cols { display: grid; gap: 2.6rem; }
.mega[data-cols="1"] .mega-cols { grid-template-columns: minmax(240px, 1fr); }
.mega[data-cols="2"] .mega-cols { grid-template-columns: repeat(2, minmax(230px, 1fr)); }
.mega[data-cols="3"] .mega-cols { grid-template-columns: repeat(3, minmax(215px, 1fr)); }
.mega-note { font-size: .84rem; color: var(--slate); }
.mega-head {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--slate);
  margin: 0 0 1.1rem; display: block;
}
.mega-lead {
  display: block; font-family: var(--display); font-size: 1.15rem;
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.9rem;
}
.mega-lead:hover { color: var(--orange); }
.mega-link { display: block; padding: 0.42rem 0; line-height: 1.3; }
.mega-link strong { display: block; font-weight: 600; font-size: 0.92rem; }
.mega-link span { display: block; font-size: 0.79rem; color: var(--slate); }
.mega-link:hover strong { color: var(--orange); }
.mega-foot {
  margin-top: 1.7rem; padding-top: 1.2rem;
  border-top: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

/* Mobile nav */
.burger { display: none; width: 44px; height: 44px; border-radius: 999px; align-items: center; justify-content: center; }
.burger span { display: block; width: 19px; height: 1.5px; background: var(--charcoal); position: relative; transition: .25s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 19px; height: 1.5px; background: var(--charcoal); transition: .25s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .burger { display: flex; }
  .nav {
    position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-radius: var(--radius);
    padding: 1.2rem; max-height: 74vh; overflow-y: auto;
    box-shadow: 0 24px 60px rgba(17,17,17,0.15);
    display: none;
  }
  .nav.open { display: flex; }
  .header-pill { position: relative; padding-right: 0.7rem; flex-wrap: wrap; }
  .header-cta { display: none; }
  .mega {
    position: static; transform: none; width: 100%; opacity: 1;
    visibility: visible; pointer-events: auto; box-shadow: none;
    padding: 0.6rem 0 1.2rem; display: none;
  }
  .nav-item.open .mega { display: block; }
  .nav-item:hover .mega { transform: none; }
  .mega[data-cols="1"] .mega-cols,
  .mega[data-cols="2"] .mega-cols,
  .mega[data-cols="3"] .mega-cols { grid-template-columns: 1fr; gap: 1.6rem; }
  .mega { width: 100%; max-width: none; left: 0 !important; right: auto !important; transition-delay: 0s; }
  .mega::before { display: none; }
  .mega-foot { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .nav-link { justify-content: space-between; padding: 0.85rem 0.6rem; }
  .nav-item.open .chev { transform: rotate(180deg); }
}

/* --- Hero ----------------------------------------------------- */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) 0; }
.hero-inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lede { max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.25rem; }
.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--stone); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-note {
  display: flex; align-items: center; gap: 0.6rem;
  margin-top: 2.4rem; padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.88rem; color: var(--slate);
}
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3; }
}

/* Page hero for subpages */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { max-width: 60ch; }
.page-hero-media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 21 / 8; background: var(--stone);
  margin-top: clamp(2.75rem, 5.5vw, 4.75rem);
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.crumb { font-size: 0.82rem; color: var(--slate); margin-bottom: 1.2rem; }
.crumb a:hover { color: var(--orange); }

/* --- Credential bar ------------------------------------------- */
.creds { border-block: 1px solid var(--hairline); padding-block: 3rem; }
.creds-label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); text-align: center; margin-bottom: 2rem; }
.creds-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: clamp(0.9rem, 1.8vw, 1.9rem);
}
.creds-row img {
  width: 100%;
  height: auto;
  max-height: var(--logo-h);
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1);
  transition: opacity .25s ease, filter .25s ease;
}
.creds-row img:hover { opacity: 1; filter: grayscale(0); }

@media (max-width: 900px) {
  .creds-row { grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2rem; }
  .creds-row img { max-height: calc(var(--logo-h) * 0.8); }
}
@media (max-width: 520px) {
  .creds-row { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1.6rem; }
  .creds-row img { max-height: calc(var(--logo-h) * 0.68); }
}

/* --- Service cards -------------------------------------------- */
.svc-card {
  position: relative; display: block;
  background: var(--white); border-radius: var(--radius);
  padding: 2rem 1.9rem 2.1rem;
  box-shadow: inset 0 0 0 1px var(--hairline);
  transition: transform .28s ease, box-shadow .28s ease;
  overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, var(--green) 0 20%, var(--yellow) 20% 40%, var(--gold) 40% 60%, var(--orange) 60% 80%, var(--red) 80% 100%);
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px transparent, 0 18px 44px rgba(17,17,17,0.09); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card h3 { font-size: var(--step-1); margin-bottom: 0.55rem; }
.svc-card p { font-size: 0.92rem; color: var(--slate); margin-bottom: 1.1rem; }
.svc-card ul { list-style: none; margin: 0; padding: 0; }
.svc-card li { font-size: 0.85rem; color: var(--slate); padding: 0.18rem 0; }
.svc-num {
  font-family: var(--display); font-size: 0.85rem; color: var(--slate);
  display: block; margin-bottom: 1.1rem;
}

/* --- Gallery -------------------------------------------------- */
/* Uniform 3 across, all landscape. Twelve images makes 3 x 4. */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.1vw, 16px); }
.gallery-item {
  position: relative; margin: 0; border-radius: var(--radius-s);
  overflow: hidden; background: var(--stone); aspect-ratio: 3 / 2;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover .frame-corners { opacity: 1; inset: 16px; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* --- Work cards ----------------------------------------------- */
.work-card { display: block; position: relative; }
.work-thumb {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--stone); margin-bottom: 0;
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.work-card:hover .work-thumb img { transform: scale(1.045); }
.work-card:hover .frame-corners { opacity: 1; inset: 18px; }
/* A hairline separates the image from its caption, with a short
   ripeness rule drawing across it on hover. */
.work-card h3 {
  position: relative;
  font-size: var(--step-1);
  margin: 1.6rem 0 0.35rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}
.work-card h3::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--green) 0 20%, var(--yellow) 20% 40%, var(--gold) 40% 60%, var(--orange) 60% 80%, var(--red) 80% 100%);
  transition: width .45s cubic-bezier(.2,.7,.3,1);
}
.work-card:hover h3::before, .work-card:focus-within h3::before { width: 62px; }
.work-card:hover h3 { color: var(--charcoal); }
.work-meta { font-size: 0.85rem; color: var(--slate); }
.tagrow { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 0.28rem 0.7rem; border-radius: 999px;
  background: var(--stone); color: var(--slate);
}
.tag:hover { background: var(--charcoal); color: var(--white); }

/* --- Stats / why ---------------------------------------------- */
.why-item { padding-top: 1.4rem; border-top: 2px solid var(--charcoal); }
.why-item h4 { margin-bottom: 0.4rem; }
.why-item p { font-size: 0.9rem; color: var(--slate); margin: 0; }
.bg-dark .why-item { border-top-color: rgba(255,255,255,0.35); }
.bg-dark .why-item p { color: rgba(255,255,255,0.6); }

/* --- FAQ ------------------------------------------------------ */
.faq-list { border-top: 1px solid var(--hairline); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--hairline);
  font-family: var(--display); font-size: var(--step-1);
  font-weight: 700; letter-spacing: -0.018em; line-height: 1.25;
}
.faq-q .plus { flex-shrink: 0; width: 18px; height: 18px; position: relative; margin-top: 6px; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ''; position: absolute; background: var(--charcoal); transition: transform .28s ease;
}
.faq-q .plus::before { inset: 8px 0 auto 0; height: 2px; }
.faq-q .plus::after { inset: 0 8px auto 8px; width: 2px; height: 18px; }
.faq-q[aria-expanded="true"] .plus::after { transform: scaleY(0); }
.faq-a { display: none; padding: 0 0 1.6rem; border-bottom: 1px solid var(--hairline); }
.faq-a.open { display: block; }
.faq-a p { color: var(--slate); margin: 0; max-width: 70ch; }
.faq-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 3rem; }
.faq-jump a {
  font-size: 0.85rem; font-weight: 600; padding: 0.5rem 1.05rem;
  border-radius: 999px; background: var(--white);
  box-shadow: inset 0 0 0 1px var(--hairline); transition: .2s;
}
.faq-jump a:hover { background: var(--charcoal); color: var(--white); box-shadow: none; }
.faq-section { scroll-margin-top: 120px; margin-bottom: 4rem; }

/* --- Contact panel -------------------------------------------- */
.cpanel-tab {
  position: fixed; right: 0; top: 50%; transform: translate(100%, -50%);
  z-index: 190; background: var(--charcoal); color: var(--white);
  border-radius: 14px 0 0 14px; padding: 1.15rem 0.62rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  writing-mode: vertical-rl; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  box-shadow: -6px 0 24px rgba(17,17,17,0.16);
  transition: transform .5s cubic-bezier(.2,.8,.3,1), background .2s;
}
.cpanel-tab.ready { transform: translate(0, -50%); }
.cpanel-tab:hover { background: #000; }
.cpanel-tab svg { writing-mode: horizontal-tb; width: 15px; height: 15px; }

.cpanel {
  position: fixed; right: 16px; top: 50%; transform: translate(calc(100% + 24px), -50%);
  z-index: 191; width: min(340px, calc(100vw - 32px));
  background: var(--white); border-radius: var(--radius);
  padding: 1.9rem 1.7rem 1.5rem;
  box-shadow: 0 30px 70px rgba(17,17,17,0.2);
  transition: transform .45s cubic-bezier(.2,.8,.3,1), opacity .3s;
  opacity: 0; visibility: hidden;
}
.cpanel.open { transform: translate(0, -50%); opacity: 1; visibility: visible; }
.cpanel h4 { font-size: var(--step-1); margin-bottom: 1.3rem; }
.cpanel-card {
  display: flex; align-items: flex-start; gap: 0.9rem;
  padding: 0.85rem 0.95rem; border-radius: var(--radius-s);
  box-shadow: inset 0 0 0 1px var(--hairline);
  margin-bottom: 0.6rem; transition: .2s;
}
.cpanel-card:hover { box-shadow: inset 0 0 0 1px var(--charcoal); transform: translateX(2px); }
.cpanel-card.primary { background: var(--stone); box-shadow: none; }
.cpanel-card.primary:hover { background: #EAEAEA; box-shadow: none; }
.cpanel-card .ico { flex-shrink: 0; width: 22px; height: 22px; margin-top: 3px; color: var(--slate); }
.cpanel-card.primary .ico { color: var(--green); }
.cpanel-card strong { display: block; font-size: 0.94rem; font-weight: 700; }
.cpanel-card span { display: block; font-size: 0.79rem; color: var(--slate); line-height: 1.4; }
.cpanel-foot {
  margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--hairline);
  font-size: 0.78rem; color: var(--slate);
}
.cpanel-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--slate); }
.cpanel-close:hover { background: var(--stone); }
@media (max-width: 560px) {
  .cpanel { right: 12px; left: 12px; width: auto; }
}

/* --- Forms ---------------------------------------------------- */
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.95rem;
  padding: 0.85rem 1rem; border-radius: var(--radius-s);
  border: 1px solid var(--hairline); background: var(--white);
  color: var(--charcoal); transition: border-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--charcoal); outline: none; }

/* --- Footer --------------------------------------------------- */
.site-footer { position: relative; padding: 0 var(--gut) 0; overflow: hidden; }
.footer-card {
  max-width: var(--max); margin-inline: auto;
  background: var(--white); border-radius: var(--radius);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.8rem, 4vw, 3.5rem) 2.2rem;
  position: relative; z-index: 2;
  box-shadow: 0 1px 2px rgba(17,17,17,0.03), 0 18px 50px rgba(17,17,17,0.06);
}
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: clamp(1.6rem, 3vw, 2.6rem); }
.footer-about p { font-size: 0.89rem; color: var(--slate); margin-top: 1.5rem; }
.footer-col h5 {
  font-family: var(--display); font-size: 1.02rem; font-weight: 700;
  letter-spacing: -0.015em; margin: 0 0 1.1rem;
}
.footer-col a, .footer-col span { display: block; font-size: 0.88rem; color: var(--slate); padding: 0.33rem 0; }
.footer-col a:hover { color: var(--charcoal); }
.social-row { display: flex; gap: 0.5rem; margin-top: 1.6rem; }
.social-row a {
  width: 38px; height: 38px; border-radius: var(--radius-s);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px var(--hairline); color: var(--slate); transition: .2s;
}
.social-row a:hover { background: var(--charcoal); color: var(--white); box-shadow: none; }
.social-row svg { width: 16px; height: 16px; }
.footer-base {
  margin-top: 2.8rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 0.82rem; color: var(--slate);
}
.footer-base .coords { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.72rem; letter-spacing: 0.04em; }
.footer-base a { text-decoration: underline; text-underline-offset: 3px; }
.footer-ghost {
  position: relative; z-index: 1;
  margin-top: clamp(-1.5rem, -2vw, -2.5rem);
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(4.5rem, 13.5vw, 13rem);
  letter-spacing: -0.01em;
  line-height: 1;
  color: rgba(17,17,17,0.05);
  text-align: center;
  user-select: none; pointer-events: none;
  white-space: nowrap;
  /* Cropped: only the top of the letterforms shows, the rest runs
     off the bottom of the page the way FruitStack does it. */
  height: clamp(3rem, 8vw, 7.5rem);
  overflow: hidden;
}
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Second heading inside a column needs air above it */
.footer-h5-gap { margin-top: 2rem !important; }

/* Contact block in the brand column */
.footer-contact { margin-top: 1.4rem; }
.footer-contact a, .footer-contact span {
  display: block; font-size: 0.88rem; color: var(--slate); padding: 0.28rem 0;
}
.footer-contact a:hover { color: var(--charcoal); }

/* --- Utility -------------------------------------------------- */
.center { text-align: center; }
.center p, .center .lede { margin-inline: auto; }
.center .rbar { margin-inline: auto; }
.mw-60 { max-width: 60ch; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* --- Image credits -------------------------------------------- */
/* A quiet caption on every photograph. Client names doing the
   work of social proof on each image rather than once per page. */

/* figure elements need their default margin removed, but page-hero-media
   keeps its own top margin, set in the layout section above. */
.gallery-item, .work-thumb { margin: 0; }
.hero-media { margin: 0; }
.page-hero-media { margin-inline: 0; margin-bottom: 0; }

.credit {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.6rem 1rem 0.85rem;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.94);
  background: linear-gradient(to top, rgba(17,17,17,0.62) 0%, rgba(17,17,17,0.28) 45%, rgba(17,17,17,0) 100%);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .32s ease, transform .32s ease;
}

/* Hero and feature credits sit visible at rest. They are the proof,
   not a detail, so they should not need a hover to be found. */
.hero-media .credit,
.page-hero-media .credit,
.feature-plate .credit {
  opacity: 1;
  transform: none;
  padding: 3.2rem 1.5rem 1.15rem;
  font-size: 0.7rem;
}

/* Gallery and work card credits reveal on hover so the grid
   stays quiet when you are scanning it. */
.gallery-item:hover .credit,
.work-thumb:hover .credit,
.work-card:hover .credit,
.gallery-item:focus-within .credit,
.work-card:focus-within .credit {
  opacity: 1;
  transform: none;
}

/* Touch devices have no hover, so show them at rest instead. */
@media (hover: none) {
  .gallery-item .credit,
  .work-thumb .credit {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .credit { font-size: 0.62rem; padding: 2rem 0.7rem 0.6rem; letter-spacing: 0.05em; }
  .hero-media .credit, .page-hero-media .credit { padding: 2.4rem 1rem 0.85rem; }
}

/* --- Floating proof cards over the hero ----------------------- */
/* Small white cards that break the edge of the hero image, so the
   credentials read as part of the photograph rather than a list
   further down the page. */

.hero-visual { position: relative; }
.hero-visual .hero-media { margin: 0; }

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(17,17,17,0.05), 0 16px 40px rgba(17,17,17,0.14);
  animation: floatIn .7s cubic-bezier(.2,.8,.3,1) both;
}

.float-card-tl { top: 8%;  left: -3.5rem; animation-delay: .45s; }
.float-card-br { bottom: 14%; right: -3rem; animation-delay: .65s; }

@keyframes floatIn {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none; }
}

.float-ico {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,90,31,0.1);
  color: var(--orange);
}
.float-ico svg { width: 19px; height: 19px; }
.float-ico-alt { background: rgba(45,178,74,0.1); color: var(--green); }

.float-text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.18rem;
}
.float-text strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.005em;
  color: var(--charcoal);
}

/* Pull the cards inside the frame once there is no room beside it */
@media (max-width: 1420px) {
  .float-card-tl { left: -1.5rem; }
  .float-card-br { right: -1rem; }
}
@media (max-width: 860px) {
  .float-card { padding: 0.7rem 0.95rem; gap: 0.6rem; border-radius: 14px; }
  .float-card-tl { top: 1rem; left: 1rem; }
  .float-card-br { bottom: 4.5rem; right: 1rem; }
  .float-ico { width: 32px; height: 32px; border-radius: 9px; }
  .float-ico svg { width: 16px; height: 16px; }
  .float-text strong { font-size: 0.78rem; }
  .float-text small { font-size: 0.57rem; }
}
@media (max-width: 480px) {
  .float-card-br { display: none; }
  .float-card-tl { top: 0.75rem; left: 0.75rem; right: 0.75rem; }
}

/* --- Collection page shoot blocks ----------------------------- */
.shoot-head { margin-bottom: 2.2rem; max-width: 70ch; }
.shoot-head h2 { font-size: var(--step-2); margin-bottom: 0.35rem; }
.shoot-head .work-meta { margin: 0 0 0.8rem; }
.shoot-note { font-size: 0.95rem; color: var(--slate); margin: 0; }

/* --- Category cards, home page -------------------------------- */
/* Full bleed image with the label set over it, so the section
   reads as a browsing choice rather than another list. */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
}

.cat-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3.1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal);
  isolation: isolate;
}
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .75s cubic-bezier(.2,.7,.3,1);
}
.cat-card:hover img, .cat-card:focus-visible img { transform: scale(1.055); }

.cat-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(17,17,17,0.82) 0%,
    rgba(17,17,17,0.42) 34%,
    rgba(17,17,17,0.05) 62%,
    rgba(17,17,17,0) 100%);
  transition: opacity .4s ease;
}
.cat-card:hover .cat-scrim { opacity: 0.92; }

.cat-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.6rem 1.6rem;
  color: var(--white);
}
.cat-rule {
  display: block; width: 0; height: 3px; border-radius: 2px;
  margin-bottom: 0.85rem;
  background: linear-gradient(90deg, var(--green) 0 20%, var(--yellow) 20% 40%, var(--gold) 40% 60%, var(--orange) 60% 80%, var(--red) 80% 100%);
  transition: width .5s cubic-bezier(.2,.7,.3,1);
}
.cat-card .cat-rule { width: 34px; }
.cat-card:hover .cat-rule, .cat-card:focus-within .cat-rule { width: 78px; }

.cat-body strong {
  display: block;
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin-bottom: 0.3rem;
}
.cat-body small {
  display: block;
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.76);
  max-width: 30ch;
}

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-body { padding: 1.2rem 1.3rem 1.3rem; }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: 3 / 2; }
}

/* --- Gallery lightbox ----------------------------------------- */
.gallery-item { cursor: zoom-in; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3.5rem);
  background: rgba(10,10,10,0.94);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lb-stage {
  margin: 0; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem;
}
.lb-stage img {
  max-width: 100%;
  max-height: calc(100vh - 11rem);
  width: auto; height: auto;
  border-radius: 6px;
  opacity: 0; transform: scale(.985);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.3,1);
}
.lb-stage img.ready { opacity: 1; transform: none; }

.lb-stage figcaption {
  display: flex; align-items: baseline; gap: 1.2rem;
  flex-wrap: wrap; justify-content: center;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.lb-count { color: rgba(255,255,255,0.42); font-variant-numeric: tabular-nums; }

.lb-close, .lb-nav {
  position: absolute; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.09);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,0.19); color: #fff; }

.lb-close { top: clamp(1rem, 2.6vw, 1.9rem); right: clamp(1rem, 2.6vw, 1.9rem); width: 44px; height: 44px; }
.lb-close svg { width: 15px; height: 15px; }

.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.lb-prev { left: clamp(0.6rem, 2.4vw, 2rem); }
.lb-next { right: clamp(0.6rem, 2.4vw, 2rem); }
.lightbox.single .lb-nav { display: none; }

@media (max-width: 640px) {
  .lb-nav { width: 44px; height: 44px; }
  .lb-nav svg { width: 18px; height: 18px; }
  .lb-stage img { max-height: calc(100vh - 9rem); }
  .lb-stage figcaption { font-size: 0.66rem; gap: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lb-stage img { transition: opacity .01ms; transform: none; }
}

/* --- Nav icons ------------------------------------------------ */
/* Icon sits above the label, with the dropdown chevron alongside
   the icon rather than the word, so the labels stay aligned. */

.nav-icorow {
  display: flex; align-items: center; justify-content: center;
  gap: 0.28rem; height: 21px;
}
.nav-ico {
  width: 20px; height: 20px;
  color: var(--slate);
  transition: color .2s ease, transform .25s cubic-bezier(.2,.8,.3,1);
}
.nav-label { display: block; line-height: 1; }

.nav-link {
  flex-direction: column;
  gap: 0.42rem;
  padding: 0.6rem 1.3rem 0.55rem;
}
@media (max-width: 1340px) {
  .nav { gap: 0.35rem; }
  .nav-link { padding: 0.55rem 0.85rem 0.5rem; font-size: 0.9rem; }
  .nav-ico { width: 18px; height: 18px; }
  .header-pill { padding-left: 1.4rem; }
}
@media (max-width: 1260px) {
  .nav { gap: 0.1rem; }
  .nav-link { padding: 0.55rem 0.55rem 0.5rem; font-size: 0.87rem; }
}
.nav-link:hover .nav-ico,
.nav-item:hover > .nav-link .nav-ico,
.nav-link:focus-visible .nav-ico {
  color: var(--ico-hover, var(--charcoal));
  transform: translateY(-1px);
}

.nav-link .chev { width: 9px; height: 9px; color: var(--slate); }

@media (max-width: 1180px) {
  /* In the burger panel the icon sits beside the label instead */
  .nav-link { flex-direction: row; justify-content: flex-start; gap: 0.75rem; padding: 0.8rem 0.6rem; }
  .nav-icorow { height: auto; }
  .nav-link .chev { margin-left: auto; width: 11px; height: 11px; }
}

/* --- Active nav state ----------------------------------------- */
/* The section you are in gets a neutral grey fill. The icon keeps
   its ripeness colour so the band still reads across the nav. */

.nav-item.is-active > .nav-link {
  background: var(--stone);
}
.nav-item.is-active > .nav-link:hover,
.nav-item.is-active:hover > .nav-link {
  background: #EAEAEA;
}
.nav-item.is-active .nav-ico { color: var(--ico-hover); }
.nav-item.is-active .nav-label { font-weight: 700; color: var(--charcoal); }
.nav-item.is-active .chev { color: var(--ico-hover); }

@media (max-width: 1180px) {
  .nav-item.is-active > .nav-link { border-radius: 12px; }
}

/* --- Editorial credential strip ------------------------------- */
/* Two-logo version used on service pages, sized larger than the
   home page wall since there is far less on the line. */
.creds-mini { padding-block: clamp(2.2rem, 4vw, 3rem); }
.creds-mini-row {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}
.creds-mini-row img {
  height: clamp(46px, 5.5vw, 76px);
  width: auto; max-width: 260px; object-fit: contain;
  opacity: 0.72; filter: grayscale(1);
  transition: opacity .25s ease, filter .25s ease;
}
.creds-mini-row img:hover { opacity: 1; filter: grayscale(0); }
@media (max-width: 520px) {
  .creds-mini-row { gap: 2rem; }
  .creds-mini-row img { height: 40px; max-width: 170px; }
}

/* Coordinates: the compass letters take the two ends of the band. */
.footer-base .coords .c-n { color: var(--green); }
.footer-base .coords .c-w { color: var(--red); }

/* Anchor targets sit below the sticky header when jumped to. */
.why-item[id], .svc-card[id], section[id] { scroll-margin-top: 130px; }

/* --- Feature plate -------------------------------------------- */
/* A single large image used below a gallery, for a press feature
   or a frame that deserves more room than the grid gives it. */
.feature-plate {
  position: relative;
  margin: clamp(1.5rem, 3vw, 2.4rem) 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--stone);
  /* No fixed ratio: the image sets the height so nothing is cropped.
     min-height keeps the frame and its caption visible while the
     image is still missing. */
  min-height: 220px;
  line-height: 0;
}
.feature-plate img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform .7s cubic-bezier(.2,.7,.3,1);
}
.feature-plate:hover img { transform: scale(1.015); }
.feature-plate:hover .frame-corners { opacity: 1; inset: 22px; }
.feature-plate .credit { line-height: 1.4; }

/* --- In memoriam ---------------------------------------------- */
/* A quiet gold treatment for images carrying a memorial caption.
   Restrained on purpose: a thin gold rule, a still frame, and a
   caption that is always readable rather than revealed on hover. */

:root { --gold-leaf: #C6A15B; }

.gallery-item.is-memorial {
  box-shadow: inset 0 0 0 1px var(--gold-leaf), 0 0 0 1px rgba(198,161,91,0.25);
}
.gallery-item.is-memorial img {
  filter: saturate(0.92);
}
/* No zoom. The frame stays still. */
.gallery-item.is-memorial:hover img { transform: none; }
.gallery-item.is-memorial .frame-corners::before,
.gallery-item.is-memorial .frame-corners::after { border-color: var(--gold-leaf); }

.memorial-cap {
  opacity: 1 !important;
  transform: none !important;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 3rem 1rem 0.95rem;
  color: var(--gold-leaf);
  letter-spacing: 0.09em;
  background: linear-gradient(to top,
    rgba(17,17,17,0.88) 0%,
    rgba(17,17,17,0.55) 45%,
    rgba(17,17,17,0) 100%);
}
/* Small gold rule standing in for a ribbon. */
.memorial-mark {
  flex-shrink: 0;
  width: 18px; height: 2px;
  background: var(--gold-leaf);
  border-radius: 1px;
}

@media (max-width: 640px) {
  .memorial-cap { padding: 2.2rem 0.7rem 0.7rem; gap: 0.4rem; letter-spacing: 0.06em; }
  .memorial-mark { width: 12px; }
}

/* --- Video grid ----------------------------------------------- */
/* Poster and play button only. The player is created on click. */

.video-grid { display: grid; gap: clamp(1rem, 1.8vw, 1.6rem); }
.video-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.video-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) {
  .video-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .video-grid.cols-2, .video-grid.cols-3 { grid-template-columns: 1fr; }
}

.video-item { margin: 0; }

.video-facade {
  position: relative; display: block; width: 100%; padding: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--charcoal);
  cursor: pointer;
}
.video-facade img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.3,1);
}
.video-facade:hover img, .video-facade:focus-visible img { transform: scale(1.035); }

.video-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.72) 0%, rgba(17,17,17,0.18) 45%, rgba(17,17,17,0.05) 100%);
  transition: opacity .3s ease;
}
.video-facade:hover .video-scrim { opacity: 0.82; }

.video-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.94);
  color: var(--charcoal);
  box-shadow: 0 8px 30px rgba(0,0,0,0.28);
  transition: transform .28s cubic-bezier(.2,.8,.3,1), background .2s ease;
}
.video-play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-facade:hover .video-play, .video-facade:focus-visible .video-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}

.video-title {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.6rem 1.2rem 1rem;
  text-align: left;
  font-family: var(--body);
  color: var(--white);
}
.video-title strong {
  display: block;
  font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.01em; line-height: 1.3;
}
.video-title small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.66);
}

/* Player replaces the facade in place */
.video-player {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: #000;
}
.video-player iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
@media (max-width: 640px) {
  .video-play { width: 54px; height: 54px; }
  .video-play svg { width: 21px; height: 21px; }
  .video-title { padding: 2rem 0.9rem 0.8rem; }
  .video-title strong { font-size: 0.84rem; }
  .video-title small { font-size: 0.68rem; }
}

/* --- Hero that plays a film ------------------------------------ */
/* 16:9 rather than the wide still crop, so the player fills the
   frame with no bars when it opens. */
.page-hero-media.is-video { aspect-ratio: 16 / 9; background: var(--charcoal); }
.page-hero-media.is-video .video-facade { border-radius: 0; aspect-ratio: auto; height: 100%; }
.page-hero-media.is-video .video-play { width: 84px; height: 84px; }
.page-hero-media.is-video .video-play svg { width: 32px; height: 32px; }
.page-hero-media.is-video .video-title { padding: 3.2rem 1.8rem 1.5rem; }
.page-hero-media.is-video .video-title strong { font-size: 1.05rem; }
.page-hero-media.is-video .video-player { border-radius: 0; height: 100%; width: 100%; aspect-ratio: auto; }
@media (max-width: 640px) {
  .page-hero-media.is-video .video-play { width: 60px; height: 60px; }
  .page-hero-media.is-video .video-play svg { width: 24px; height: 24px; }
  .page-hero-media.is-video .video-title { padding: 2.4rem 1.1rem 1rem; }
}

/* Paragraphs following the opening lede sit at body size. */

/* --- Vertical video grid, for reels and Shorts ----------------- */
.video-grid.ratio-vertical .video-facade { aspect-ratio: 9 / 16; }
.video-grid.ratio-vertical .video-player { aspect-ratio: 9 / 16; }
.video-grid.ratio-vertical .video-play { width: 56px; height: 56px; }
.video-grid.ratio-vertical .video-play svg { width: 21px; height: 21px; }
.video-grid.ratio-vertical .video-title { padding: 2.2rem 1rem 0.9rem; }
.video-grid.ratio-vertical .video-title strong { font-size: 0.84rem; }
/* Vertical tiles are narrow, so three across holds much further
   down before the tiles get uncomfortably tall. */
@media (max-width: 1100px) {
  .video-grid.ratio-vertical.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .video-grid.ratio-vertical.cols-2,
  .video-grid.ratio-vertical.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .video-grid.ratio-vertical .video-play { width: 44px; height: 44px; }
  .video-grid.ratio-vertical .video-play svg { width: 17px; height: 17px; }
}

/* --- Matterport tour tiles ------------------------------------- */
/* Reuses the video facade, with a cube mark instead of a play
   triangle so it reads as "walk through" rather than "watch". */
.video-facade.is-tour .tour-mark svg { width: 27px; height: 27px; margin: 0; }
.video-facade.is-tour:hover .video-scrim { opacity: 0.72; }

/* --- Portrait gallery ------------------------------------------ */
/* For pages where the work is vertical. Same 3-across grid, 2:3
   tiles instead of 3:2. */
.gallery.is-portrait .gallery-item { aspect-ratio: 2 / 3; }

/* --- Site cards ------------------------------------------------ */
/* Typographic cards linking to properties we operate. Domain leads,
   because the domain is the proof. */
.site-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem 2rem;
  box-shadow: inset 0 0 0 1px var(--hairline);
  transition: transform .28s ease, box-shadow .28s ease;
  overflow: hidden;
}
.site-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px transparent, 0 18px 44px rgba(17,17,17,0.09);
}
.site-rule {
  display: block; width: 34px; height: 3px; border-radius: 2px;
  margin-bottom: 1.3rem;
  background: linear-gradient(90deg, var(--green) 0 20%, var(--yellow) 20% 40%, var(--gold) 40% 60%, var(--orange) 60% 80%, var(--red) 80% 100%);
  transition: width .5s cubic-bezier(.2,.7,.3,1);
}
.site-card:hover .site-rule { width: 82px; }

.site-domain {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  word-break: break-word;
  margin-bottom: 0.4rem;
}
.site-what {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1rem;
}
.site-detail {
  font-size: 0.92rem; color: var(--slate);
  margin-bottom: 1.4rem; flex-grow: 1;
}
.site-card .textlink { align-self: flex-start; }
