/* ==========================================================================
   Pearls 360 Design & Planning — Design System
   Typography & palette mirror the Kesh Events (Squarespace) theme:
   Headings: Playfair Display 400 / italic · Body: Almarai 400
   ========================================================================== */

:root {
  
  --white-hsl: 0, 0%, 100%;
  --black-hsl: 0, 0%, 0%;
  --light-hsl: 60, 6.67%, 94.12%;      /* #f1f1ef  site / light sections */
  --accent-hsl: 32.31, 21.31%, 88.04%; /* #e7e0d9  warm sand */
  --plum-hsl: 0, 0%, 0%;               /* black — former plum accent */

  --white: hsl(var(--white-hsl));
  --black: hsl(var(--black-hsl));
  --light: hsl(var(--light-hsl));
  --accent: hsl(var(--accent-hsl));
  --plum: hsl(var(--plum-hsl));
  --ink: #000000;
  --ink-soft: rgba(0, 0, 0, .92);
  --ink-muted: rgba(0, 0, 0, .7);
  --rule: rgba(0, 0, 0, .14);

  /* Type */
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "Almarai", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --heading-ls: -0.02em;
  --heading-lh: 1.2;
  --body-lh: 1.5;

  --h1: clamp(2.6rem, 5.2vw, 4rem);
  --h2: clamp(2.1rem, 3.6vw, 2.8rem);
  --h3: clamp(1.55rem, 2.4vw, 2.2rem);
  --h4: clamp(1.25rem, 1.8vw, 1.6rem);
  --text-lg: clamp(1.1rem, 1.5vw, 1.4rem);
  --text: 1rem;
  --text-sm: .9rem;

  /* Layout */
  --gutter: clamp(1.25rem, 5vw, 6vw);
  --container: 1440px;
  --narrow: 860px;
  --section-y: clamp(5rem, 10vw, 9.5rem);
  --header-h: 108px;

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur: .9s;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text);
  line-height: var(--body-lh);
  color: var(--black);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
::selection { background: var(--accent); color: var(--black); }

/* Page fade */
.js body { opacity: 0; transition: opacity .6s ease; }
.js body.is-ready { opacity: 1; }
body.is-leaving { opacity: 0; transition-duration: .35s; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: var(--heading-ls);
  line-height: var(--heading-lh);
  margin: 0 0 1.1rem;
  text-wrap: balance;
}
h1, .h1 { font-size: var(--h1); }
h2, .h2 { font-size: var(--h2); }
h3, .h3 { font-size: var(--h3); }
h4, .h4 { font-size: var(--h4); }
/* Large headings read as a signature. The home hero stays in the serif. */
h1, h2, .h1, .h2 {
  font-family: var(--font-script);
  letter-spacing: 0;
  line-height: 1.35;
}
.hero__title {
  font-family: var(--font-heading);
  letter-spacing: var(--heading-ls);
  line-height: var(--heading-lh);
}
h1 em, h2 em, .h1 em, .h2 em { font-style: normal; }
h3 em, .h3 em, .hero__title em { font-style: italic; font-weight: 400; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }
.lead { font-size: var(--text-lg); line-height: 1.45; color: var(--ink-soft); }
.small { font-size: var(--text-sm); }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.italic { font-style: italic; }
.serif { font-family: var(--font-heading); }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 0 0 1.6rem;
  color: var(--ink-muted);
}
.eyebrow::before,
.eyebrow.has-rule::after {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin: 0 .8rem 0 0;
  opacity: .6;
}
.eyebrow--plain::before, .center .eyebrow::before, .statement .eyebrow::before, .section-head--center .eyebrow::before,
.cta .eyebrow::before, .page-hero:not(.page-hero--left) .eyebrow::before, .eyebrow.center::before, .testimonials .eyebrow::before, .article__hero .eyebrow::before { display: none; }
.eyebrow.center { text-align: center; }

/* Underlined text links — the dominant CTA style on Kesh */
.link {
  position: relative;
  display: inline-block;
  padding-bottom: .15em;
  font-family: var(--font-body);
  font-size: var(--text);
  letter-spacing: .01em;
}
.link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.link:hover::after { transform: scaleX(0); transform-origin: right; }
.link--arrow::before { content: none; }
.link .arrow { display: inline-block; margin-left: .45em; transition: transform .45s var(--ease-out); }
.link:hover .arrow { transform: translateX(.35em); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 3.25rem;
  padding: .95rem 2.1rem;
  font-family: var(--font-body);
  font-size: var(--text);
  line-height: 1.2;
  letter-spacing: .02em;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--light);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
}
.btn:hover { color: var(--black); }
.btn:hover::before { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost::before { background: var(--black); }
.btn--ghost:hover { color: var(--white); }
.btn--light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--light::before { background: var(--black); }
.btn--light:hover { color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost-light::before { background: var(--white); }
.btn--ghost-light:hover { color: var(--black); }

.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; }
.actions--center { justify-content: center; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: var(--narrow); margin-left: auto; margin-right: auto; }
.narrow--sm { max-width: 680px; }
.narrow-lg { max-width: min(920px, 100%); margin-left: auto; margin-right: auto; }
.wide { max-width: 1100px; margin-left: auto; margin-right: auto; }

.section { position: relative; padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * .6) 0; }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
#founder { padding-bottom: clamp(2.8rem, 5vw, 4.5rem); }
.section--inset {
  padding-top: clamp(2.4rem, 4.5vw, 3.6rem);
  padding-bottom: clamp(2.8rem, 5vw, 4.2rem);
}
.section--inset .container {
  padding-left: clamp(2rem, 8vw, 6rem);
  padding-right: clamp(2rem, 8vw, 6rem);
}
.section--light { background: var(--light); color: var(--black); }
.section--white { background: var(--white); color: var(--black); }
.section--accent { background: var(--accent); color: var(--black); }
.section--dark { background: var(--plum); color: var(--white); }
.section--black { background: var(--black); color: var(--white); }
.section--dark .eyebrow, .section--black .eyebrow { color: rgba(255,255,255,.7); }
.section--dark .muted, .section--black .muted { color: rgba(255,255,255,.72); }
.section--dark .btn, .section--black .btn { background: var(--white); color: var(--black); border-color: var(--white); }
.section--dark .btn::before, .section--black .btn::before { background: var(--accent); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.section--dark .rule, .section--black .rule { background: rgba(255,255,255,.18); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--light);
  transition: transform .6s var(--ease-out), box-shadow .4s ease, background .4s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  min-height: var(--header-h);
  padding-top: 1rem; padding-bottom: 1rem;
  transition: min-height .5s var(--ease-out);
}
.site-header.is-scrolled .site-header__inner { min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .85rem; }
.brand__mark { width: 44px; height: 44px; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(18deg); }
.brand__text { font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.brand__text small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; margin-top: .35rem; color: var(--ink-muted); }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.1rem); }
.nav__item { position: relative; }
.nav__link {
  display: inline-block; padding: .4rem 0; position: relative;
  font-size: .95rem; letter-spacing: .01em; text-transform: none;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__link:hover::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); transform-origin: left; }
.nav__link .chev { display: inline-block; width: 7px; height: 7px; margin-left: .45rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); }

/* Dropdown: two items per row, each label on one line */
.nav__dropdown {
  position: absolute; top: 100%; left: 50%;
  display: grid; grid-template-columns: max-content max-content;
  width: max-content;
  max-width: calc(100vw - 2rem);
  padding-top: .55rem; /* invisible hover bridge between the link and the panel */
  opacity: 0; visibility: hidden; transform: translate(-42%, 6px);
  transition: opacity .3s ease, transform .4s var(--ease-out), visibility 0s .3s;
  z-index: 5;
}
.nav__dropdown::before {
  content: ""; position: absolute; inset: .55rem 0 0 0; z-index: -1;
  background: var(--white); border: 1px solid var(--rule);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.28);
}
.nav__item:hover .nav__dropdown, .nav__item:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: translate(-42%, 0); transition-delay: 0s; }
.nav__dropdown a {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1rem 1.6rem; font-size: .92rem; letter-spacing: .01em; white-space: nowrap;
  border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule);
  position: relative; transition: background .3s ease, padding-left .3s var(--ease-out), color .3s ease;
}
.nav__dropdown a:nth-child(2n) { border-right: 0; }
.nav__dropdown a:nth-last-child(-n+2) { border-bottom: 0; }
.nav__dropdown a::after { content: "→"; font-size: .85rem; opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .35s var(--ease-out); }
.nav__dropdown a:hover { background: var(--light); padding-left: 1.7rem; }
.nav__dropdown a:hover::after { opacity: 1; transform: translateX(0); }
.nav__dropdown a.is-active { color: var(--ink-soft); }
.nav__dropdown a.is-active::after { content: "→"; opacity: .5; transform: none; }
.nav__dropdown .is-new::before { content: "New"; order: 1; margin-left: auto; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; background: var(--accent); padding: .15rem .45rem; }
.nav__dropdown .is-new::after { order: 2; }

.header-cta { display: inline-flex; }
.header-cta .btn { min-height: 2.75rem; padding: .7rem 1.4rem; font-size: .9rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; position: relative; z-index: 130;
}
.nav-toggle span {
  position: absolute; left: 9px; right: 9px; height: 1px; background: var(--black);
  transition: transform .5s var(--ease-out), opacity .3s ease, top .5s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
body.menu-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile overlay */
.menu-overlay {
  position: fixed; inset: 0; z-index: 120; background: var(--light);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 1rem) var(--gutter) 3rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-in-out);
  overflow-y: auto;
}
body.menu-open .menu-overlay { clip-path: inset(0 0 0 0); }
.menu-overlay__list > li { border-bottom: 1px solid var(--rule); }
.menu-overlay__list > li > a, .menu-overlay__list > li > button {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 1.1rem 0; font-family: var(--font-heading); font-size: clamp(1.6rem, 6vw, 2.4rem); letter-spacing: var(--heading-ls);
  text-align: left;
}
.menu-overlay__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.menu-overlay__sub > div { overflow: hidden; }
.menu-overlay__sub a { display: block; padding: .5rem 0 .5rem 1rem; font-size: 1.05rem; color: var(--ink-soft); }
.menu-overlay__sub a:last-child { padding-bottom: 1.25rem; }
li.is-open .menu-overlay__sub { grid-template-rows: 1fr; }
.menu-plus { position: relative; width: 18px; height: 18px; flex: none; }
.menu-plus::before, .menu-plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: currentColor;
  transform: translate(-50%, -50%);
}
.menu-plus::before { width: 14px; height: 1.5px; }
.menu-plus::after { width: 1.5px; height: 14px; transition: transform .35s var(--ease-out); }
li.is-open .menu-plus::after { transform: translate(-50%, -50%) scaleY(0); }
.menu-overlay__meta { margin-top: 2.5rem; color: var(--ink-soft); font-size: .92rem; display: grid; gap: .5rem; }
.menu-overlay__list > li { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .8s var(--ease-out); }
body.menu-open .menu-overlay__list > li { opacity: 1; transform: none; }
body.menu-open .menu-overlay__list > li:nth-child(1) { transition-delay: .25s }
body.menu-open .menu-overlay__list > li:nth-child(2) { transition-delay: .3s }
body.menu-open .menu-overlay__list > li:nth-child(3) { transition-delay: .35s }
body.menu-open .menu-overlay__list > li:nth-child(4) { transition-delay: .4s }
body.menu-open .menu-overlay__list > li:nth-child(5) { transition-delay: .45s }
body.menu-open .menu-overlay__list > li:nth-child(6) { transition-delay: .5s }
body.menu-open .menu-overlay__list > li:nth-child(7) { transition-delay: .55s }
body.menu-open .menu-overlay__list > li:nth-child(8) { transition-delay: .6s }
body.menu-open .menu-overlay__list > li:nth-child(9) { transition-delay: .65s }

@media (max-width: 1100px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  :root { --header-h: 88px; }
}
@media (min-width: 1101px) { .menu-overlay { display: none; } }

/* --------------------------------------------------------------------------
   Hero (home) — slideshow with Ken Burns + arrows like the Kesh gallery hero
   -------------------------------------------------------------------------- */
.hero { position: relative; display: flex; flex-direction: column; min-height: min(88vh, 960px); overflow: hidden; background: var(--black); color: var(--white); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.6s var(--ease-in-out); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s linear; will-change: transform; }
.hero__slide.is-active img { transform: scale(1); }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.3) 48%, rgba(0,0,0,.22)),
    linear-gradient(to right, rgba(0,0,0,.45), rgba(0,0,0,0) 62%);
}
/* Content sits in normal flow so a short viewport grows the hero instead of pushing text under the header */
.hero__content { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 3rem; padding-bottom: clamp(3rem, 7vw, 6rem); }
.hero__eyebrow { color: rgba(255,255,255,.8); }
.hero__title { font-size: clamp(2.6rem, 6vw, 5.2rem); max-width: 16ch; margin-bottom: 1.4rem; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero__lead { max-width: 46ch; font-size: var(--text-lg); color: rgba(255,255,255,.9); text-shadow: 0 1px 12px rgba(0,0,0,.35); }
@media (max-height: 760px) and (min-width: 900px) { .hero__title { font-size: clamp(2.4rem, 4.6vw, 4rem); } .hero__lead { font-size: 1.05rem; } .hero__actions { margin-top: 1.4rem; } }
.hero__actions { margin-top: 2rem; opacity: 1; transform: none; }
.js .hero__actions { opacity: 1; transform: none; }
.hero .btn--ghost-light { border-color: rgba(255,255,255,.7); }
.hero__nav { position: absolute; right: var(--gutter); bottom: clamp(3rem, 7vw, 6rem); display: flex; gap: .5rem; align-items: center; z-index: 3; }
.hero__arrow { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: var(--white); transition: background .4s ease, color .4s ease, transform .4s var(--ease-out); }
.hero__arrow:hover { background: var(--white); color: var(--black); }
.hero__arrow svg { width: 16px; height: 16px; }
.hero__counter { font-family: var(--font-heading); font-size: 1rem; letter-spacing: .05em; margin: 0 .9rem; min-width: 5ch; text-align: center; }
.hero__counter i { font-style: normal; opacity: .55; margin: 0 .3em; }
.hero__progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(255,255,255,.2); z-index: 3; }
.hero__progress span { display: block; height: 100%; width: 0; background: var(--white); }
@media (max-width: 720px) {
  .hero { height: 86vh; }
  .hero__nav { right: auto; left: var(--gutter); bottom: 1.5rem; }
  .hero__content { padding-bottom: 6.5rem; }
}

/* Inner page hero — compact so the next section arrives quickly (homepage uses .hero) */
.page-hero { padding-top: clamp(1.5rem, 3vw, 2.4rem); padding-bottom: clamp(1.1rem, 2.2vw, 1.8rem); text-align: center; }
.page-hero h1 { max-width: 20ch; margin: 0 auto .7rem; }
.page-hero .lead { max-width: 56ch; margin: 0 auto; color: var(--ink-soft); }
.page-hero p { max-width: 68ch; margin: 0 auto; color: var(--ink-soft); font-size: var(--text); }
.page-hero + .section { padding-top: clamp(2rem, 4vw, 3.25rem); }
.page-hero + .section.section--flush-top,
.page-hero + .section.section--tight { padding-top: 0; }
.page-hero--left { text-align: left; }
.page-hero--left h1, .page-hero--left .lead { margin-left: 0; }
.page-hero--divided { border-bottom: 1px solid var(--rule); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Media blocks
   -------------------------------------------------------------------------- */
.media { position: relative; overflow: hidden; background: var(--accent); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--3x4 { aspect-ratio: 3 / 4; }
.media--1x1 { aspect-ratio: 1; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--21x9 { aspect-ratio: 21 / 9; }
.media--9x16 { aspect-ratio: 9 / 16; }
.media--portrait { aspect-ratio: 2 / 3; }
[data-parallax] img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; will-change: transform; }

/* Image hover: gentle zoom + soft wash + hairline inset frame (composes with GSAP via individual `scale`) */
.card__media::after, .mosaic figure .media::after, .split__media .media::after, .profile__media .media::after, .member .media::after, .post-card .media::after, .post__media::after, .article__body figure .media::after, .gallery figure::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(43,32,50,.32), rgba(43,32,50,0) 55%);
  opacity: 0; transition: opacity .8s ease;
}
.card__media::before, .mosaic figure .media::before, .split__media .media::before, .profile__media .media::before, .member .media::before, .post-card .media::before, .article__body figure .media::before {
  content: ""; position: absolute; inset: 14px; z-index: 1; pointer-events: none;
  border: 1px solid rgba(255,255,255,.55); opacity: 0; transform: scale(1.04);
  transition: opacity .8s ease, transform 1s var(--ease-out);
}
.card:hover .card__media::after, .mosaic figure:hover .media::after, .split__media:hover .media::after, .profile__media:hover .media::after, .member:hover .media::after, .post-card:hover .media::after, .post:hover .post__media::after, .article__body figure:hover .media::after, .gallery figure:hover::after { opacity: 1; }
.card:hover .card__media::before, .mosaic figure:hover .media::before, .split__media:hover .media::before, .profile__media:hover .media::before, .member:hover .media::before, .post-card:hover .media::before, .article__body figure:hover .media::before { opacity: 1; transform: scale(1); }
.split__media .media img, .profile__media .media img, .article__body figure .media img { transition: scale 1.5s var(--ease-out); }
.split__media:hover .media img, .profile__media:hover .media img, .article__body figure:hover .media img { scale: 1.05; }
.card__index { transition: transform .6s var(--ease-out), color .4s ease; }
.card:hover .card__index { transform: translateX(6px); color: var(--black); }
.card h3 { transition: transform .6s var(--ease-out); }
.card:hover h3 { transform: translateX(4px); }
.mosaic figcaption span, .mosaic figcaption { transition: color .4s ease; }
.mosaic figure:hover figcaption { color: var(--black); }
@media (hover: none) { .card__media::before, .card__media::after, .split__media .media::before, .split__media .media::after { display: none; } }

/* Full-bleed image band (Kesh's black theme image sections) */
.bleed { position: relative; height: clamp(420px, 62vw, 820px); overflow: hidden; background: var(--black); }
.bleed img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.bleed--tall { height: clamp(520px, 80vh, 900px); }
/* Centered full original photo (About) */
.feature-photo {
  margin: 0 auto;
  max-width: min(920px, 100%);
  text-align: center;
}
.feature-photo--portrait { max-width: min(520px, 100%); }
.feature-photo + .feature-photo { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.feature-photo img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background: transparent;
}
.feature-photo__caption {
  margin-top: clamp(1.8rem, 3.5vw, 2.8rem);
  text-align: center;
}
.feature-photo__caption .eyebrow { margin-bottom: 1rem; }
.feature-photo__caption p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: var(--heading-ls);
}
.feature-photo__place {
  margin-top: 1.15rem !important;
  font-family: var(--font-body) !important;
  font-size: .78rem !important;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Founder long-form story on About — heading, then full-width body */
.founder-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 3vw, 2.75rem);
}
.founder-story__intro { max-width: none; }
.founder-story__intro h2 {
  max-width: none;
  white-space: nowrap;
}
.founder-story__body { max-width: none; width: 100%; }
.founder-story__body.article__body > p:first-of-type::first-letter { float: none; font-size: inherit; font-family: inherit; margin: 0; line-height: inherit; }
.founder-story__body p { color: var(--ink-soft); max-width: none; }
.founder-story__body blockquote { margin-top: 2rem; margin-bottom: 0; }
@media (max-width: 700px) {
  .founder-story__intro h2 { white-space: normal; }
}
.bleed__caption { position: absolute; left: var(--gutter); bottom: 2.2rem; color: var(--white); z-index: 2; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.bleed__caption::before { content: ""; display: inline-block; width: 40px; height: 1px; background: currentColor; vertical-align: middle; margin-right: .8rem; }
.bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.35), transparent 40%); pointer-events: none; }
.bleed--quote::after { background: rgba(20, 14, 24, .52); }
.bleed__quote { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; color: var(--white); text-align: center; padding: 0 var(--gutter); }
.bleed__quote blockquote { margin: 0; max-width: 24ch; font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.2; letter-spacing: var(--heading-ls); }
.bleed__quote cite { display: block; margin-top: 1.5rem; font-family: var(--font-body); font-style: normal; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }

/* Image-reveal mask (curtain) */
.reveal-mask { position: relative; overflow: hidden; }
.reveal-mask__cover { position: absolute; inset: -1px; background: var(--light); transform-origin: top; z-index: 2; pointer-events: none; }
.section--white .reveal-mask__cover { background: var(--white); }
.section--accent .reveal-mask__cover { background: var(--accent); }
.section--dark .reveal-mask__cover { background: var(--plum); }
.section--black .reveal-mask__cover { background: var(--black); }
.js .reveal-mask > img, .js .reveal-mask > .media, .js .reveal-mask > video { transform: scale(1.15); will-change: transform; }
.js .profile__media .reveal-mask > img { transform: none; } /* keep heads fully in frame */

@keyframes marquee { to { transform: translateX(var(--loop, -50%)); } }

/* --------------------------------------------------------------------------
   Intro / statement blocks (centered Playfair statements)
   -------------------------------------------------------------------------- */
/* Textured surfaces: paper grain + faint seal rings */
.section--textured, .section--glow { position: relative; isolation: isolate; }
.section--textured { overflow: visible; }
.section--glow { overflow: hidden; }
.section--textured::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}
.section--textured::after { display: none; }
.section--glow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 60% at 86% 18%, rgba(226,216,207,.75), rgba(226,216,207,0) 70%),
    radial-gradient(40% 50% at 8% 92%, rgba(226,216,207,.45), rgba(226,216,207,0) 70%);
}

/* Editorial intro: statement left, copy right */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: start; position: relative; z-index: 1; }
.editorial__lead { grid-column: auto; position: relative; display: flex; flex-direction: column; align-items: flex-start; padding-right: clamp(2rem, 4vw, 4rem); }
.editorial__lead h2 { font-size: clamp(2.4rem, 4.4vw, 4rem); max-width: 14ch; margin-bottom: 0; position: relative; z-index: 1; }
.editorial__lead .eyebrow { position: relative; z-index: 1; }
.editorial__body {
  grid-column: auto;
  padding-top: 0;
  padding-left: clamp(2rem, 4vw, 4rem);
  border-left: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.editorial__body .lead { color: var(--ink-soft); }
.editorial__body p + p { margin-top: 1.1rem; }
.editorial__body .press-line { margin-top: 1.6rem; font-size: var(--text-sm); }
.editorial__body .actions { margin-top: 2rem; }
.editorial__seal {
  grid-column: 1 / -1;
  justify-self: center;
  position: relative;
  z-index: 1;
  pointer-events: none;
  display: block;
  width: clamp(96px, 9vw, 128px);
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  animation: seal-spin 48s linear infinite;
  transform-origin: center center;
}
.editorial__seal img { width: 100%; height: auto; display: block; }
@keyframes seal-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.stats--rule { margin-top: clamp(3.5rem, 6vw, 6rem); padding: clamp(2rem, 3.5vw, 3rem) 0 0; border-top: 1px solid var(--rule); position: relative; z-index: 1; }
.stats--rule .stat__value { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.stats--rule .stat { position: relative; }
.stats--rule .stat + .stat::before { content: ""; position: absolute; left: -1rem; top: .3rem; bottom: .3rem; width: 1px; background: var(--rule); }
@media (max-width: 900px) {
  .editorial { grid-template-columns: 1fr; }
  .editorial__lead, .editorial__body { grid-column: auto; }
  .editorial__lead { padding-right: 0; padding-bottom: 2rem; }
  .editorial__body { border-left: 0; padding-left: 0; padding-top: 0; }
  .editorial__seal { width: 88px; margin-top: 1.4rem; }
  .stats--rule .stat:nth-child(3)::before { display: none; }
}

/* Manifesto: philosophy copy with a side figure + tenets */
/* Manifesto: philosophy copy left, image right */
.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; }
.manifesto__text { padding-right: clamp(2rem, 4vw, 4rem); }
.manifesto__text h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); max-width: 18ch; }
.manifesto__pull { font-family: var(--font-heading); font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.35; letter-spacing: var(--heading-ls); padding-left: 1.4rem; border-left: 1px solid var(--black); margin: 0 0 1.8rem; max-width: 34ch; }
.manifesto__text .lead { color: var(--ink-soft); }
.manifesto__text p + p { margin-top: 1.1rem; }
.manifesto__text .actions { margin-top: 2rem; }
.manifesto__figure { margin: 0; padding-left: clamp(2rem, 4vw, 4rem); border-left: 1px solid var(--rule); }
.manifesto__figure figcaption { margin-top: .7rem; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
@media (max-width: 900px) {
  .manifesto { grid-template-columns: 1fr; }
  .manifesto__text { padding-right: 0; padding-bottom: 2.5rem; }
  .manifesto__figure { padding-left: 0; border-left: 0; max-width: 420px; }
}

.statement { text-align: center; }
.statement h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.statement .lead { color: var(--ink-soft); }
.statement .actions { margin-top: 2.2rem; }
.statement .lead + .lead { margin-top: 1rem; }
.press-line { font-style: italic; color: var(--ink-soft); }

/* Marquee */
.marquee { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 1.1rem 0; color: var(--black); }
.marquee__track { display: inline-flex; gap: 0; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; font-family: var(--font-heading); font-size: clamp(1rem, 1.5vw, 1.3rem); letter-spacing: .02em; color: var(--black); }
.marquee__item i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--black); opacity: 1; }
.marquee--big .marquee__item { font-size: clamp(2rem, 5vw, 4.5rem); gap: 4rem; padding-right: 4rem; }
.marquee--big .marquee__item i { width: 8px; height: 8px; }
.marquee--big { border: 0; padding: 0; }

/* Featured press — three card treatments: cream, sand, ink */
.press-band { background: var(--white); text-align: center; padding: clamp(3.4rem, 7vw, 5.4rem) 0; }
.press-band .eyebrow { margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.press-rows { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .85rem; }
.press { display: contents; }
.press span {
  display: grid;
  place-items: center;
  min-height: 7.4rem;
  padding: 1.15rem .85rem;
  background: var(--light);
  color: var(--black);
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  border-radius: 1.35rem;
  transition: transform .55s var(--ease-out), background .4s ease, color .4s ease;
}
.press span:nth-child(2),
.press span:nth-child(4) { background: var(--accent); }
.press span:nth-child(3) { background: var(--black); color: var(--white); }
.press span:hover { transform: translateY(-4px); }
.press .wm-serif { font-family: var(--font-heading); font-size: clamp(.95rem, 1.25vw, 1.28rem); letter-spacing: .16em; text-transform: uppercase; }
.press .wm-wide { letter-spacing: .32em; }
.press .wm-script { font-family: var(--font-heading); font-style: italic; font-size: clamp(1.45rem, 2vw, 1.95rem); letter-spacing: 0; text-transform: none; }
.press .wm-nyt { font-family: var(--font-heading); font-style: italic; font-size: clamp(1.05rem, 1.35vw, 1.28rem); letter-spacing: .01em; text-transform: none; }
.press .wm-sans { font-family: var(--font-body); font-weight: 700; font-size: clamp(.68rem, .95vw, .84rem); letter-spacing: .16em; text-transform: uppercase; }
.press .wm-sans-lg { font-size: clamp(.78rem, 1.1vw, 1rem); letter-spacing: .18em; }
.press .wm-stack { display: grid; justify-items: center; align-content: center; gap: .22rem; font-family: var(--font-body); font-weight: 700; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.15; }
.press .wm-stack b { font-family: var(--font-heading); font-weight: 400; font-size: .95rem; letter-spacing: .1em; color: inherit; }
@media (max-width: 900px) { .press-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The Pearls360 Family: division strip */
.family__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.family__head .eyebrow { margin-bottom: 0; }
.family__intro { max-width: 46ch; color: var(--ink-soft); font-size: var(--text-sm); }
.family { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(0,0,0,.14); border-bottom: 1px solid rgba(0,0,0,.14); }
.family__item { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: .9rem; padding: clamp(1.4rem, 2.2vw, 2rem) clamp(1rem, 1.8vw, 1.6rem); min-height: 200px; color: inherit; border-left: 1px solid rgba(0,0,0,.14); overflow: hidden; transition: color .5s ease; }
.family__item:first-child { border-left: 0; }
.family__item::before { content: ""; position: absolute; inset: 0; background: var(--black); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out); z-index: 0; }
.family__item > * { position: relative; z-index: 1; }
.family__num { font-family: var(--font-heading); font-style: italic; font-size: 1rem; color: var(--ink-muted); transition: color .5s ease; }
.family__name { font-family: var(--font-heading); font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.15; letter-spacing: var(--heading-ls); }
.family__name em { font-style: italic; }
.family__role { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); transition: color .5s ease; }
.family__arrow { position: absolute; right: clamp(1rem, 1.8vw, 1.6rem); top: clamp(1.4rem, 2.2vw, 2rem); font-size: 1.1rem; opacity: 0; transform: translate(-10px, 10px) rotate(-45deg); transition: opacity .5s ease, transform .6s var(--ease-out); }
.family__item:hover { color: var(--white); }
.family__item:hover::before { transform: scaleY(1); transform-origin: top; }
.family__item:hover .family__num, .family__item:hover .family__role { color: rgba(255,255,255,.72); }
.family__item:hover .family__arrow { opacity: 1; transform: translate(0, 0) rotate(-45deg); }
@media (max-width: 1024px) { .family { grid-template-columns: repeat(2, 1fr); border-bottom: 0; } .family__item { border-left: 0; border-bottom: 1px solid rgba(0,0,0,.14); min-height: 0; } .family__item:nth-child(odd) { border-right: 1px solid rgba(0,0,0,.14); } .family__item:last-child { grid-column: 1 / -1; border-right: 0; } }
@media (max-width: 560px) { .family { grid-template-columns: 1fr; } .family__item:nth-child(odd) { border-right: 0; } }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card { display: flex; flex-direction: column; gap: 1.4rem; }
.card__media { position: relative; overflow: hidden; }
.card__media img { transition: scale 1.4s var(--ease-out), filter 1s ease; }
.card:hover .card__media img { scale: 1.06; }
.card__index { font-family: var(--font-heading); font-style: italic; font-size: 1.1rem; color: var(--ink-muted); margin-bottom: .6rem; display: block; }
.card h3 { margin-bottom: .6rem; font-size: var(--h4); }
.card p { color: var(--ink-soft); }
.card .link { margin-top: .5rem; }
.card--center { text-align: center; align-items: center; }
.card--center .link { margin-top: .4rem; }
.cards--pillars { padding-bottom: 0; }
.cards--pillars .card__media,
.cards--pillars .media {
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  background: var(--white);
}
.cards--pillars .card:first-child .media { background: var(--white); }
.cards--pillars .card h3 { font-size: var(--h3); }

/* Service tiles: text overlaid on image (Kesh "For the Ways You Gather") */
.tile { position: relative; overflow: hidden; display: block; aspect-ratio: 3 / 4; color: var(--white); background: var(--black); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), opacity .8s ease; opacity: .9; }
.tile:hover img { transform: scale(1.06); opacity: .75; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.1) 55%, transparent); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.4rem, 3vw, 2.4rem); z-index: 2; transform: translateY(1.5rem); transition: transform .8s var(--ease-out); }
.tile:hover .tile__body { transform: translateY(0); }
.tile__index { font-family: var(--font-heading); font-style: italic; opacity: .8; margin-bottom: .5rem; display: block; }
.tile h3 { margin-bottom: .6rem; font-size: var(--h4); }
.tile p { color: rgba(255,255,255,.82); font-size: var(--text-sm); max-width: 32ch; opacity: 0; transform: translateY(8px); transition: opacity .6s ease .1s, transform .7s var(--ease-out) .1s; }
.tile:hover p { opacity: 1; transform: none; }
.tile .link { margin-top: .9rem; font-size: var(--text-sm); }
.tile--wide { aspect-ratio: 16 / 10; }
.tile--tall { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 1024px) { .tile p { opacity: 1; transform: none; } .tile__body { transform: none; } }

/* --------------------------------------------------------------------------
   Split (image + text) sections
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(2rem, 4vw, 5rem); align-items: center; }
.split__media { grid-column: 1 / span 6; }
.split__body { grid-column: 8 / span 5; }
.split--reverse .split__media { grid-column: 7 / span 6; order: 2; }
.split--reverse .split__body { grid-column: 1 / span 5; order: 1; }
.split__body h2 { margin-bottom: 1.4rem; }
.split__body .lead { color: var(--ink-soft); }
.split__body .actions { margin-top: 2rem; }
.split__body .eyebrow { margin-bottom: 1.4rem; }
.split--offset .split__media { margin-top: clamp(2rem, 6vw, 6rem); }
.split__media--stack { position: relative; }
.split__media--stack .media + .media { position: absolute; width: 46%; right: -8%; bottom: -12%; border: 10px solid var(--light); }
/* Column-span variants (body narrow / media wide, and vice versa) */
.split--4-7 .split__body { grid-column: 1 / span 4; } .split--4-7 .split__media { grid-column: 6 / span 7; }
.split--5-6 .split__body { grid-column: 1 / span 5; } .split--5-6 .split__media { grid-column: 7 / span 6; align-self: center; }
.split--m4-7 .split__media { grid-column: 1 / span 4; } .split--m4-7 .split__body { grid-column: 6 / span 7; }
.split--m5-6 .split__media { grid-column: 1 / span 5; } .split--m5-6 .split__body { grid-column: 7 / span 6; }
.split--b7-m4 .split__body { grid-column: 1 / span 7; order: 1; } .split--b7-m4 .split__media { grid-column: 9 / span 4; order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split > * { grid-column: 1 / -1 !important; order: initial; }
  .split__media--stack .media + .media { right: 0; bottom: -8%; }
  .split--offset .split__media { margin-top: 0; }
}

/* Feature list with checkmarks */
.checklist { display: grid; gap: .85rem; }
.checklist li { display: flex; gap: .9rem; align-items: flex-start; line-height: 1.5; }
.checklist li::before { content: ""; flex: none; width: 14px; height: 8px; margin-top: .5em; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(-45deg); }
.checklist--2col { grid-template-columns: repeat(2, 1fr); gap: .9rem 2rem; }
@media (max-width: 640px) { .checklist--2col { grid-template-columns: 1fr; } }

/* Definition list (Our Planning Includes) */
.deflist { border-top: 1px solid var(--rule); }
.deflist__row { display: grid; grid-template-columns: 4rem 1fr auto; gap: 1.5rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); position: relative; overflow: hidden; }
.deflist__row::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out); z-index: -1; }
.deflist__row:hover::before { transform: scaleY(1); transform-origin: top; }
.deflist__num { font-family: var(--font-heading); font-style: italic; font-size: 1.15rem; color: var(--ink-muted); }
.deflist__row h3 { margin: 0; font-size: var(--h4); }
.deflist__row .arrow { width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; transition: transform .6s var(--ease-out), background .4s ease, color .4s ease; }
.deflist__row:hover .arrow { transform: rotate(-45deg); background: var(--black); color: var(--white); }
.deflist__row .arrow svg { width: 14px; height: 14px; }
.deflist__row p { grid-column: 2; margin: 0; color: var(--ink-soft); }
.deflist--services { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 4vw, 5rem); }
.deflist--services .deflist__row { padding: 1.65rem 0; gap: 1.25rem 1.75rem; }
@media (max-width: 800px) { .deflist--services { grid-template-columns: 1fr; } }
.deflist--services .deflist__num { font-style: normal; font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; color: rgba(0,0,0,.42); }
.deflist--services .deflist__row h3 { font-size: clamp(1.2rem, 1.6vw, 1.7rem); letter-spacing: var(--heading-ls); font-weight: 400; }
@media (max-width: 640px) { .deflist__row { grid-template-columns: 3rem 1fr; } .deflist__row .arrow { display: none; } }

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.step { padding: 2.4rem 2rem 2.4rem 0; border-right: 1px solid var(--rule); position: relative; }
.step + .step { padding-left: 2rem; }
.step:last-child { border-right: 0; }
.step__num { font-family: var(--font-heading); font-size: clamp(2.2rem, 3.5vw, 3rem); font-style: italic; line-height: 1; display: block; margin-bottom: 1.6rem; color: var(--ink-muted); }
.step h3 { font-size: var(--h4); margin-bottom: .8rem; }
.step p { color: var(--ink-soft); font-size: var(--text-sm); }
.step__line { position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--black); }
.section--dark .step, .section--dark .steps { border-color: rgba(255,255,255,.18); }
.section--dark .step__line { background: var(--white); }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } .step:nth-child(2) { border-right: 0; } .step:nth-child(3) { padding-left: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0 !important; padding-left: 0 !important; } .step + .step { border-top: 1px solid var(--rule); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat__value { font-family: var(--font-heading); font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: var(--heading-ls); display: block; margin-bottom: .8rem; color: var(--black); }
.stat__value sup { font-size: .45em; vertical-align: top; margin-left: .1em; font-style: italic; }
.stat__label { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--black); opacity: .75; }
.section--dark .stat__label { color: rgba(255,255,255,.7); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials { position: relative; text-align: center; }
.testimonials__track { position: relative; min-height: 300px; }
.testimonial { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 var(--gutter); }
.testimonial.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.testimonial blockquote { margin: 0 0 2rem; max-width: 30ch; font-family: var(--font-heading); font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.3; letter-spacing: var(--heading-ls); }
.testimonial blockquote::before { content: "\201C"; display: block; font-size: 3.5rem; line-height: .6; margin-bottom: 1.2rem; opacity: .5; }
.testimonial cite { font-style: normal; display: block; }
.testimonial cite strong { display: block; font-weight: 400; font-size: 1rem; letter-spacing: .04em; }
.testimonial cite span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); }
.stars { display: inline-flex; gap: .3rem; margin-bottom: 1.5rem; }
.stars svg { width: 14px; height: 14px; fill: currentColor; }
.testimonials__dots { display: flex; justify-content: center; gap: .6rem; margin-top: 2.2rem; }
.testimonials__dots button { width: 32px; height: 2px; background: var(--rule); position: relative; overflow: hidden; }
.testimonials__dots button::after { content: ""; position: absolute; inset: 0; background: var(--black); transform: scaleX(0); transform-origin: left; }
.testimonials__dots button.is-active::after { transform: scaleX(1); transition: transform 7s linear; }
.section--dark .testimonials__dots button, .section--black .testimonials__dots button { background: rgba(255,255,255,.2); }
.section--dark .testimonials__dots button::after, .section--black .testimonials__dots button::after { background: var(--white); }
.section--dark .testimonial cite span, .section--black .testimonial cite span { color: rgba(255,255,255,.7); }

/* --------------------------------------------------------------------------
   Portfolio / gallery
   -------------------------------------------------------------------------- */
.gallery { columns: 3; column-gap: 1.25rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1.25rem; position: relative; overflow: hidden; background: var(--accent); cursor: zoom-in; }
.gallery img { width: 100%; transition: scale 1.2s var(--ease-out); }
.gallery figure:hover img { scale: 1.05; }
.gallery figcaption { z-index: 2; position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.2rem; color: var(--white); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .6s var(--ease-out); }
.gallery figure:hover figcaption { opacity: 1; transform: none; }
.gallery--4 { columns: 4; }
@media (max-width: 1024px) { .gallery, .gallery--4 { columns: 2; } }
@media (max-width: 560px) { .gallery, .gallery--4 { columns: 2; column-gap: .75rem; } .gallery figure { margin-bottom: .75rem; } .gallery figcaption { display: none; } }

/* Featured celebrations: editorial mosaic */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 2rem); align-items: start; }
.mosaic > * { position: relative; overflow: hidden; }
.mosaic__a { grid-column: 1 / span 4; }
.mosaic__b { grid-column: 7 / span 6; margin-top: clamp(3rem, 8vw, 8rem); }
.mosaic__c { grid-column: 2 / span 3; margin-top: clamp(-4rem, -6vw, -2rem); align-self: start; }
.mosaic__d { grid-column: 7 / span 4; }
.mosaic__e { grid-column: 1 / span 6; }
.mosaic__f { grid-column: 8 / span 3; margin-top: clamp(2rem, 5vw, 5rem); }
.mosaic figure { position: relative; }
.mosaic figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .8rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.mosaic img { transition: scale 1.4s var(--ease-out); }
.mosaic figure:hover img { scale: 1.05; }
@media (max-width: 720px) {
  .mosaic > * { grid-column: 1 / -1 !important; margin-top: 0 !important; }
}

/* Filter bar */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.8rem; margin-bottom: 3rem; }
.filters button { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; padding: .5rem 0; position: relative; color: var(--ink-muted); transition: color .3s ease; }
.filters button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.filters button:hover, .filters button.is-active { color: var(--black); }
.filters button.is-active::after { transform: scaleX(1); transform-origin: left; }
.gallery figure.is-hidden { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,8,12,.94); display: grid; place-items: center; padding: 4vw; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; transform: scale(.96); transition: transform .7s var(--ease-out); box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.lightbox.is-open img { transform: scale(1); }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; color: var(--white); width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; transition: background .3s ease, color .3s ease; }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: var(--white); color: var(--black); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 16px; height: 16px; }
.lightbox__count { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-family: var(--font-heading); letter-spacing: .1em; }

/* Video reels */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2.5rem); align-items: end; }
.reel { position: relative; overflow: hidden; aspect-ratio: 9 / 16; background: var(--black); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel:nth-child(2) { margin-bottom: clamp(2rem, 5vw, 5rem); }
.reel__label { position: absolute; left: 1.2rem; bottom: 1.2rem; color: var(--white); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; z-index: 2; }
.reel__label::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #f0523d; margin-right: .6rem; animation: blink 1.6s infinite; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5), transparent 40%); }
.reel__play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 3; color: var(--white); }
.reel__play span { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); display: grid; place-items: center; backdrop-filter: blur(6px); transition: transform .5s var(--ease-out), background .4s ease, color .4s ease; }
.reel:hover .reel__play span { transform: scale(1.08); background: var(--white); color: var(--black); }
.reel.is-playing .reel__play { opacity: 0; pointer-events: none; }
.reel__play svg { width: 18px; height: 18px; margin-left: 3px; }
@keyframes blink { 50% { opacity: .3; } }
@media (max-width: 720px) { .reels { grid-template-columns: repeat(2, 1fr); } .reel:nth-child(3) { display: none; } }

.embed { position: relative; aspect-ratio: 16 / 9; background: var(--black); overflow: hidden; }
.embed iframe, .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.embed--vertical { aspect-ratio: 9 / 16; }
.films-vertical { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: center; gap: clamp(1.5rem, 3vw, 3rem); }
@media (max-width: 900px) { .films-vertical { grid-template-columns: repeat(2, minmax(0, 320px)); } }
@media (max-width: 640px) { .films-vertical { grid-template-columns: minmax(0, 340px); } }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.7rem 0; text-align: left; font-family: var(--font-heading); font-size: var(--h4); letter-spacing: var(--heading-ls); line-height: 1.25; }
.faq__icon { flex: none; width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: 50%; position: relative; transition: transform .6s var(--ease-out), background .4s ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease-out); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(180deg); background: var(--black); color: var(--white); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--ink-soft); max-width: 62ch; padding-bottom: 1.8rem; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: stretch; }
.member { position: relative; display: flex; flex-direction: column; height: 100%; }
.member .media { aspect-ratio: 3 / 4; background: transparent; overflow: hidden; border-radius: 10px; }
.member .media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: scale 1.4s var(--ease-out), filter .8s ease; }
.member:hover .media img { scale: 1.04; }
.member__body {
  padding-top: 1.4rem;
  display: grid;
  grid-template-rows: 2.6em auto 1fr;
  gap: .55rem;
  flex: 1;
}
.member__role {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted);
  display: block; margin: 0; line-height: 1.3;
  min-height: 2.6em; /* reserve 2 lines so names line up across cards */
}
.member h3 { margin: 0; }
.member p { color: var(--ink-soft); font-size: var(--text-sm); margin: 0; }
.media--placeholder {
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--black);
  aspect-ratio: 2 / 3;
}
.media--placeholder span {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: var(--heading-ls);
  font-style: italic;
}
@media (max-width: 1100px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } .member__role { min-height: 0; } }

/* Team profile (alternating) — equal portrait size on every bio */
.profile {
  display: grid;
  grid-template-columns: minmax(260px, 400px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}
.profile--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
}
.profile--reverse .profile__media { order: 2; }
.profile--story { align-items: stretch; }
.profile--story .profile__media { display: flex; flex-direction: column; }
.profile__media { width: 100%; }
.profile__note {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--rule);
}
.profile__quote {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.35rem, 1.9vw, 1.8rem);
  line-height: 1.28;
  letter-spacing: var(--heading-ls);
  color: var(--black);
}
.profile__sign {
  margin: 0;
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ink-muted);
}
.profile__marks { border-top: 1px solid var(--rule); }
.profile__marks li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .85rem 0; border-bottom: 1px solid var(--rule);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
}
.profile__marks b { font-family: var(--font-heading); font-weight: 400; font-style: italic; letter-spacing: 0; font-size: 1.05rem; text-transform: none; }
.profile__media .media {
  aspect-ratio: 3 / 4;
  width: 100%;
  background: transparent;
  overflow: hidden;
}
/* Portrait bios: keep faces framed — no parallax overscan crop */
.profile__media .media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.profile__body .eyebrow { margin-bottom: 1rem; }
.profile__body h2 { margin-bottom: 1.2rem; }
.profile__body p { color: var(--ink-soft); }
@media (max-width: 900px) {
  .profile,
  .profile--reverse { grid-template-columns: minmax(0, 1fr); }
  .profile__media { max-width: 400px; margin-inline: auto; }
  .profile--reverse .profile__media { order: initial; }
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.posts { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.post { display: grid; grid-template-columns: 4fr 2fr 5fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; padding: 2.2rem 0; border-bottom: 1px solid var(--rule); position: relative; }
.post__media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.3s var(--ease-out); }
.post:hover .post__media img { scale: 1.06; }
.post__meta { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); display: grid; gap: .4rem; }
.post h3 { margin-bottom: .7rem; }
.post__excerpt { color: var(--ink-soft); font-size: var(--text-sm); }
.post__arrow { width: 52px; height: 52px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; justify-self: end; transition: transform .6s var(--ease-out), background .4s ease, color .4s ease; }
.post:hover .post__arrow { transform: rotate(-45deg); background: var(--black); color: var(--white); }
.post__arrow svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .post { grid-template-columns: 1fr; gap: 1.2rem; } .post__arrow { display: none; } }

.post-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.post-card .media { aspect-ratio: 4 / 3; }
.post-card .media img { transition: scale 1.3s var(--ease-out); }
.post-card:hover .media img { scale: 1.06; }
.post-card__meta { display: block; margin: 1.3rem 0 .6rem; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.post-card h3 { font-size: var(--h4); margin-bottom: .6rem; }
.post-card p { color: var(--ink-soft); font-size: var(--text-sm); }
@media (max-width: 900px) { .post-cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Article */
.article { max-width: 720px; margin: 0 auto; }
.article__hero { text-align: center; padding: clamp(4rem, 8vw, 7rem) 0 3rem; }
.article__hero h1 { max-width: 22ch; margin: 0 auto 1.4rem; }
.article__meta { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); }
.article__meta i { font-style: normal; margin: 0 .6rem; opacity: .5; }
.article__cover { margin: 0 auto 3.5rem; max-width: 1100px; }
.article__body { font-size: 1.08rem; line-height: 1.7; }
.article__body > p:first-of-type::first-letter { font-family: var(--font-heading); font-size: 3.6em; float: left; line-height: .8; margin: .12em .12em 0 0; }
.article__body h2 { font-size: var(--h3); margin-top: 2.6rem; }
.article__body h3 { font-size: var(--h4); margin-top: 2rem; }
.article__body blockquote { margin: 2.5rem 0; padding-left: 1.6rem; border-left: 1px solid var(--black); font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.35; letter-spacing: var(--heading-ls); }
.article__body ul { list-style: none; display: grid; gap: .6rem; margin: 1.2rem 0 1.6rem; }
.article__body ul li { padding-left: 1.4rem; position: relative; }
.article__body ul li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 1px; background: currentColor; }
.article__body figure { margin: 2.5rem 0; }
.article__body figcaption { margin-top: .7rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.article__footer { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-layout { display: grid; gap: clamp(4rem, 8vw, 7rem); }
.contact-form { width: 100%; max-width: 920px; margin: 0 auto; }
.contact-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--rule); }
.contact-info { display: grid; gap: 2.2rem; }
.contact-info h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: .6rem; }
.contact-info a, .contact-info p { font-family: var(--font-heading); font-size: 1.35rem; letter-spacing: var(--heading-ls); line-height: 1.3; }
.contact-info .hours { font-family: var(--font-body); font-size: var(--text-sm); color: var(--ink-soft); display: grid; gap: .3rem; }
.contact-info .hours span { display: flex; justify-content: space-between; max-width: 260px; gap: 1rem; }
.contact-info .hours b { font-weight: 400; color: var(--black); }
.contact-info .hours em { font-style: normal; }
@media (max-width: 800px) {
  .contact-aside { grid-template-columns: 1fr; }
  .contact-aside .media { max-width: 420px; }
}

.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2rem; }
.form .full { grid-column: 1 / -1; }
.form--steps { grid-template-columns: 1fr; gap: 1.4rem; }
.form__step { display: grid; gap: 1.5rem; }
.form__step[hidden], .form [hidden] { display: none !important; }
.form__progress { height: 1px; background: var(--rule); }
.form__progress span { display: block; height: 1px; background: var(--black); width: 0; transition: width .45s var(--ease-out); }
.form__page { margin: 0; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); }
.form__kicker { font-size: var(--h3); margin: .4rem 0 0; }
.form__brand { margin: 0; font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: var(--heading-ls); }
.form__tag { margin: .2rem 0 0; font-family: var(--font-heading); font-style: italic; font-size: 1.15rem; }
.form__intro p { color: var(--ink-soft); }
.field { position: relative; }
.field label, .field__label { display: block; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: .6rem; }
.field label { line-height: 1.45; }
.field label.question, .field__label.question { font-family: var(--font-heading); font-size: 1.2rem; letter-spacing: var(--heading-ls); text-transform: none; color: var(--black); line-height: 1.35; }
.field__hint { margin: 0 0 .8rem; font-size: var(--text-sm); color: var(--ink-soft); }
.field__examples { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: .35rem; color: var(--ink-soft); font-size: var(--text-sm); }
.field__examples li { padding-left: 1rem; position: relative; }
.field__examples li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 1px; background: currentColor; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--black); background: transparent;
  border: 0; border-bottom: 1px solid var(--rule); padding: .7rem 0; border-radius: 0; outline: none;
  transition: border-color .4s ease;
}
.field input[type="checkbox"], .field input[type="radio"] { width: 1rem; height: 1rem; padding: 0; border: 1px solid var(--rule); accent-color: var(--black); flex: none; }
.field input[type="file"] { border: 0; padding: .4rem 0; font-size: var(--text-sm); }
.field--choices::after, .field--file::after { display: none; }
.choices { display: grid; gap: .55rem 2.5rem; }
.field label.choice { display: flex; align-items: flex-start; gap: .7rem; margin: 0; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--black); cursor: pointer; line-height: 1.4; }
@media (min-width: 641px) {
  .choices:has(.choice:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .2rem center; }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--black); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); transform-origin: left; }
.field input::placeholder, .field textarea::placeholder { color: rgba(0,0,0,.35); }
.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select { border-bottom-color: #b42318; }
.field.is-invalid label,
.field.is-invalid .field__label,
.field.is-invalid .choice { color: #b42318; }
.field.is-invalid::after { display: none; }
.field__error { margin: .45rem 0 0; font-size: .78rem; letter-spacing: .02em; color: #b42318; }
.form__footer { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.2rem; margin-top: .6rem; }
.form__footer [data-form-next], .form__footer [data-form-submit] { margin-left: auto; }
.form__note { font-size: var(--text-sm); color: var(--ink-soft); max-width: 42ch; }
.form__note.is-error { color: #b42318; }
.form__success { grid-column: 1 / -1; display: none; padding: 2.5rem; border: 1px solid var(--rule); text-align: center; }
.form.is-sent > *:not(.form__success) { display: none; }
.form.is-sent .form__success { display: block; }
.contact-form.is-sent > .eyebrow,
.contact-form.is-sent > h2,
.contact-form.is-sent > .muted { display: none; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.apply-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
}
.apply-form .form__step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem 3rem;
}
.apply-form .full, .apply-form .form__footer { grid-column: 1 / -1; }
.apply-form .field input:not([type="file"]),
.apply-form .field textarea {
  font-size: 1.12rem;
  padding: 1rem 0 1.15rem;
}
.apply-form .field textarea { min-height: 188px; resize: none; }
.apply-form .field label, .apply-form .field__label { margin-bottom: .85rem; }
.apply-file::after { display: none; }
.file-attach {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--rule);
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  line-height: 1.4;
  transition: border-color .4s var(--ease-out), color .4s var(--ease-out);
}
.file-attach:hover, .file-attach:focus-within { border-color: var(--black); color: var(--black); }
.file-attach input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.file-attach__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
}
.file-attach__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.apply-file.has-file .file-attach__name { color: var(--black); }
.file-attach__action {
  flex: none;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid currentColor;
  padding-bottom: .12rem;
}
@media (max-width: 640px) { .apply-form .form__step { grid-template-columns: 1fr; } }

.jobs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.2rem, 4vw, 3.6rem);
  align-items: stretch;
  padding-block: clamp(1rem, 3vw, 2rem);
}
.job {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 2.6rem;
  padding: .6rem 0 0;
}
.job + .job::before {
  content: "";
  position: absolute;
  left: calc(clamp(1.6rem, 3vw, 2.8rem) / -2);
  top: .35rem;
  bottom: .35rem;
  width: 1px;
  background: var(--rule);
}
.job__meta {
  display: flex; flex-wrap: wrap; gap: .35rem 1rem;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 1rem;
}
.job h2 { margin: 0 0 .75rem; font-size: var(--h4); font-family: var(--font-heading); letter-spacing: var(--heading-ls); line-height: var(--heading-lh); }
.job p { margin: 0; color: var(--ink-soft); }
.job .btn { justify-self: start; }
@media (max-width: 900px) {
  .jobs { grid-template-columns: 1fr; gap: 0; }
  .job { padding: 2rem 0; }
  .job + .job::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
}
.page-hero .folio-back { display: inline-block; margin-bottom: 1.2rem; }

.job-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem) clamp(3rem, 6vw, 6rem);
  max-width: none;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(1rem, 3vw, 2rem);
}
.job-block--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(10rem, .34fr) 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule);
}
.job-detail h2 { font-size: var(--h3); margin: 0 0 1.1rem; font-family: var(--font-heading); letter-spacing: var(--heading-ls); line-height: var(--heading-lh); }
.job-detail p { margin: 0; color: var(--ink-soft); }
.job-detail ul { display: grid; gap: .55rem; margin: 0; }
.job-detail li { padding-left: 1.3rem; position: relative; color: var(--ink-soft); }
.job-detail li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 1px; background: currentColor; }
@media (max-width: 800px) {
  .job-detail, .job-block--wide { grid-template-columns: 1fr; }
}

.job-apply {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}
.job-apply .eyebrow::before { display: none; }
.job-apply h2 { margin: 0 auto 1.15rem; }
.job-apply .muted { max-width: 44ch; margin: 0 auto 2.8rem; }
.job-apply .apply-form { text-align: left; }
.job-apply .form__footer {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  margin-top: 1.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.job-apply .form__footer [data-form-submit] { margin-left: 0; min-width: 13.5rem; }
.job-apply .form__note { max-width: none; }

/* --------------------------------------------------------------------------
   CTA band (Begin Your Private Inquiry)
   -------------------------------------------------------------------------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 18ch; margin: 0 auto 1.4rem; }
.cta .lead { max-width: 52ch; margin: 0 auto; color: var(--ink-soft); }
.cta .actions { margin-top: 2.4rem; }
.cta__loc { margin-top: 3rem; font-family: var(--font-heading); font-size: var(--h4); letter-spacing: var(--heading-ls); }
.cta__loc i { font-style: normal; opacity: .4; margin: 0 .5em; }
.section--dark .cta .lead { color: rgba(255,255,255,.78); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--light); border-top: 1px solid var(--rule); padding: clamp(4rem, 7vw, 6rem) 0 2rem; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 4rem; }
.site-footer__brand .brand__text { font-size: 1.7rem; }
.site-footer__brand p { margin-top: 1.4rem; color: var(--ink-soft); max-width: 34ch; font-size: var(--text-sm); }
.site-footer h4 { font-family: var(--font-body); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 1.2rem; }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer li a { font-size: var(--text-sm); position: relative; display: inline-block; }
.site-footer li a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.site-footer li a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-footer__contact a, .site-footer__contact p { font-size: var(--text-sm); display: block; }
.site-footer__contact p { color: var(--ink-soft); margin: 0 0 .5rem; }
.site-footer__contact a { margin-bottom: .5rem; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); font-size: .78rem; color: var(--ink-muted); letter-spacing: .04em; }
.site-footer__bottom a:hover { color: var(--black); }
.socials { display: flex; gap: 1.2rem; margin-top: 1.6rem; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; transition: background .4s ease, color .4s ease, transform .5s var(--ease-out); }
.socials a:hover { background: var(--black); color: var(--white); transform: translateY(-3px); }
.socials svg { width: 15px; height: 15px; fill: currentColor; }
.footer-marquee { margin-bottom: 4rem; }
.footer-marquee .marquee__item { font-size: clamp(2.4rem, 7vw, 6.5rem); font-family: var(--font-heading); letter-spacing: var(--heading-ls); color: var(--black); opacity: .92; }
.footer-marquee .marquee__item em { font-style: italic; }
@media (max-width: 1024px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; gap: 2.4rem; } }

/* Back to top */
.to-top { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rule); background: var(--light); display: grid; place-items: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .4s ease, transform .5s var(--ease-out), background .3s ease, color .3s ease; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--black); color: var(--white); }
.to-top svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   Animation primitives — initial states only when JS is running
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); will-change: transform, opacity; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-18px); }
.js [data-reveal="right"] { transform: translateX(18px); }
.js [data-reveal="scale"] { transform: scale(.97); }
.js .split-lines .line { display: block; overflow: hidden; }
.js .split-lines .line > span { display: block; transform: translateY(110%); will-change: transform; }
/* Script swashes need room inside the line mask */
.js h1.split-lines .line, .js h2.split-lines .line { padding: .08em 0 .2em; }
.js .hero__title.split-lines .line { padding: 0; }
.js [data-stagger] > * { opacity: 0; transform: translateY(12px); will-change: transform, opacity; }
.js .hero [data-reveal] { transform: translateY(32px); }
.js .hero [data-reveal="fade"] { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-stagger] > *, .js .split-lines .line > span, .js .reveal-mask > img, .js .reveal-mask > .media { opacity: 1 !important; transform: none !important; }
  .js .reveal-mask::after { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Utilities */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; } .mt-6 { margin-top: 6rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; } .mb-4 { margin-bottom: 4rem; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head--center { text-align: center; }
.section-head--center .lead { max-width: 60ch; margin-left: auto; margin-right: auto; color: var(--ink-soft); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-head--split h2 { margin-bottom: 0; max-width: 20ch; }
.section-head--split .lead { max-width: 44ch; color: var(--ink-soft); }
/* Dark surfaces: keep every soft-ink text legible */
.section--dark .lead, .section--dark .muted, .section--dark .section-head .lead, .section--dark .split__body .lead, .section--dark .statement .lead,
.section--black .lead, .section--black .muted, .section--black .section-head .lead, .section--black .split__body .lead, .section--black .statement .lead { color: rgba(255,255,255,.76); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --------------------------------------------------------------------------
   Portfolio — featured project, category spreads, project galleries
   -------------------------------------------------------------------------- */
.folio-display, .folio-feature h2, .folio-cat__title, .folio-piece h2, .folio-work h1, .folio-work h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.folio-kicker {
  display: block;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.folio-loc { margin: .9rem 0 0; font-size: 1rem; letter-spacing: .02em; color: var(--ink-soft); }
.folio-view { margin-top: 2.4rem; letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; }

.folio-feature-wrap { padding-top: 0; }
.folio-feature {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  min-height: min(72vh, 720px);
  background: var(--accent);
  color: var(--black);
}
.folio-feature__media { position: relative; overflow: hidden; min-height: 52vh; }
.folio-feature__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s var(--ease-out);
}
.folio-feature:hover .folio-feature__media img { transform: scale(1.045); }
.folio-feature__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.8rem, 5vw, 5rem);
}
.folio-feature h2 { font-size: clamp(2.6rem, 4.4vw, 4rem); margin: 0; max-width: 10ch; }
.folio-feature .eyebrow { margin-bottom: 1.2rem; }

.page-hero + .folio-cat {
  padding-top: clamp(2.4rem, 5vw, 4rem);
  border-top: 0;
}
.folio-cat {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(3.5rem, 8vw, 9rem);
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
  background: var(--light);
  color: var(--black);
  border-top: 1px solid var(--rule);
  overflow: hidden;
}
.folio-cat--alt { background: var(--white); }
.folio-cat--sand { background: var(--accent); }
.folio-cat--flip .folio-cat__copy { order: -1; }
.folio-cat__copy { display: flex; flex-direction: column; align-items: flex-start; }
.folio-cat__copy .eyebrow { margin-bottom: 1.6rem; }
.folio-cat__copy .folio-loc { max-width: 34ch; margin-top: 1.6rem; }
.folio-cat__title {
  margin: 0;
  font-size: clamp(3.2rem, 6.6vw, 6.2rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: .92;
  color: var(--black);
  transition: transform .8s var(--ease-out);
}
.folio-cat:hover .folio-cat__title { transform: translateX(8px); }
.folio-cat--flip:hover .folio-cat__title { transform: translateX(-8px); }
.folio-stack { position: relative; height: clamp(420px, 50vw, 640px); }
.folio-stack figure { position: absolute; overflow: hidden; margin: 0; background: var(--accent); }
.folio-stack figure:first-child { width: 62%; height: 74%; left: 0; top: 0; }
.folio-stack figure:last-child { width: 50%; height: 56%; right: 0; bottom: 0; border: 12px solid var(--light); box-shadow: 0 28px 56px -24px rgba(0,0,0,.28); }
.folio-cat--alt .folio-stack figure:last-child { border-color: var(--white); }
.folio-cat--sand .folio-stack figure:last-child { border-color: var(--accent); }
.folio-stack img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-out); }
.folio-cat:hover .folio-stack img { transform: scale(1.06); }

.folio-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 2.6rem);
  align-items: start;
}
.folio-piece { display: block; color: inherit; }
.folio-preview { display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--accent); }
.folio-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.folio-preview img:not(:first-child) { display: none; }
.folio-piece:hover .folio-preview img { transform: scale(1.04); }
.folio-piece h2 { font-size: clamp(1.35rem, 1.8vw, 1.75rem); margin: 1rem 0 0; }
.folio-piece .folio-loc { color: var(--ink-muted); }
.folio-piece .folio-view { margin-top: 1.4rem; }

.folio-work .folio-back { margin-bottom: 1.4rem; }
.folio-work h1 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 14ch; margin-bottom: .4rem; }
.folio-films { display: grid; gap: 2rem; margin-top: 1rem; }
.folio-films .embed { background: var(--black); }
.folio-films .embed:has(video) { aspect-ratio: auto; }
.folio-films .embed video {
  position: static;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  background: var(--black);
}
.folio-films figcaption { margin-top: .7rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }

@media (max-width: 900px) {
  .folio-feature, .folio-cat, .folio-cat--flip { grid-template-columns: 1fr; }
  .folio-cat--flip .folio-cat__copy { order: 0; }
  .folio-feature__media { min-height: 62vw; }
  .folio-feature__body { padding: 2rem var(--gutter) 2.6rem; }
  .folio-cat { min-height: 0; padding: clamp(4rem, 8vw, 6rem) var(--gutter); }
  .folio-stack { height: 420px; }
  .folio-cat:hover .folio-cat__title, .folio-cat--flip:hover .folio-cat__title { transform: none; }
}
@media (max-width: 720px) {
  .folio-index { grid-template-columns: 1fr; }
}
.hide-mobile { } @media (max-width: 720px) { .hide-mobile { display: none !important; } }
