/* Dark Neiden-inspired V2 hero
   Ground  #0A0A0A → #111
   Type    solid silver-white
   Accent  #E94235
   Fonts   Inter Tight 800, Geist, Geist Mono
*/

:root {
  --ground: #0A0A0A;
  --ground-2: #111111;
  --ink: #F3F3F0;
  --mute: #8A8A8A;
  --line: rgba(255,255,255,0.18);
  --tick: #3F3F3F;
  --tick-major: #6E6E6E;
  --red: #E94235;
  --font-mark: "Inter Tight", Helvetica, Arial, sans-serif;
  --font-ui: "Geist", "Inter Tight", Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ruler: 22px;
  --book-clear: calc(76px + env(safe-area-inset-bottom, 0px));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--ground); color: var(--ink); }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-ui);
  min-height: 100%;
  overflow-x: hidden;
}
button, a { color: inherit; }
img { display: block; width: 100%; height: auto; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.card img, .case-media > img, .case-side img { height: 100%; }
.card img { object-fit: contain; background: #1a1a1a; }
ul { list-style: none; }

/* ——— Header ——— */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 calc(var(--ruler) + 14px);
  padding-top: env(safe-area-inset-top);
  height: calc(56px + env(safe-area-inset-top));
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.22,.61,.36,1);
  color: var(--ink);
}
.nav.is-hidden { transform: translateY(-110%); }
.logo, .menu, .nav-right { pointer-events: auto; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}
.lang-toggle button {
  appearance: none;
  background: none;
  border: 0;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 6px 5px;
  font: inherit;
  letter-spacing: inherit;
}
.lang-toggle button.is-on,
.lang-toggle button[aria-pressed="true"] { color: var(--ink); }
.lang-toggle button:focus-visible { outline: 1px solid var(--red); outline-offset: 2px; }
.logo {
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.04em;
  text-decoration: none;
  line-height: 1;
}
.logo span {
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0;
  vertical-align: super;
  margin-left: 1px;
}
.menu {
  appearance: none;
  background: none;
  border: 0;
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}
.menu i {
  display: block;
  height: 1.5px;
  width: 18px;
  background: var(--ink);
  margin-left: auto;
}
.menu i:last-child { width: 12px; }

/* ——— Hero ——— */
.hero-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  z-index: 1;
}
.hero {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  background: radial-gradient(120% 80% at 30% 40%, #141414 0%, #0A0A0A 55%, #080808 100%);
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  isolation: isolate;
}

/* Edge rulers + fixed red playheads */
.ruler {
  position: absolute;
  top: 0; bottom: 0;
  width: var(--ruler);
  z-index: 80;
  pointer-events: none;
  overflow: hidden;
}
.ruler.left { left: 0; }
.ruler.right { right: 0; }
.ruler .ticks {
  position: absolute;
  left: 0; right: 0;
  top: -20%;
  height: 140%;
  background:
    repeating-linear-gradient(to bottom, var(--tick-major) 0 1.5px, transparent 1.5px 40px),
    repeating-linear-gradient(to bottom, var(--tick) 0 1px, transparent 1px 8px);
}
.ruler.left .ticks {
  -webkit-mask-image: linear-gradient(to right, #000 0 7px, #000 7px 7px, transparent 14px);
          mask-image: linear-gradient(to right, #000 0 7px, #000 7px 7px, transparent 14px);
}
.ruler.right .ticks {
  -webkit-mask-image: linear-gradient(to left, #000 0 7px, #000 7px 7px, transparent 14px);
          mask-image: linear-gradient(to left, #000 0 7px, #000 7px 7px, transparent 14px);
}
.ruler.left::before,
.ruler.right::before {
  content: "";
  position: absolute;
  top: -20%;
  height: 140%;
  width: 18px;
  background: repeating-linear-gradient(to bottom, var(--tick-major) 0 1.5px, transparent 1.5px 40px);
}
.ruler.left::before { left: 0; }
.ruler.right::before { right: 0; }

.playhead {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 2px;
  background: var(--red);
  transform: translateY(-50%);
  z-index: 2;
}
.ruler.left .playhead { left: 0; }
.ruler.right .playhead { right: 0; }
.playhead::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  transform: translateY(-50%);
}
.ruler.left .playhead::after { right: -2px; }
.ruler.right .playhead::after { left: -2px; }

/* Viewfinder — full viewport chrome */
.vf {
  position: absolute;
  inset: calc(56px + env(safe-area-inset-top) + 8px) calc(var(--ruler) + 10px) 28px;
  z-index: 80;
  pointer-events: none;
}
.vf-c {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(255,255,255,0.7);
  border-style: solid;
  border-width: 0;
}
.vf-c.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.vf-c.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.vf-c.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.vf-c.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.vf-cross {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 18px;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.vf-cross::before,
.vf-cross::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.7);
  left: 50%; top: 50%;
}
.vf-cross::before { width: 18px; height: 1px; transform: translate(-50%, -50%); }
.vf-cross::after { width: 1px; height: 18px; transform: translate(-50%, -50%); }

.vf-lab {
  position: absolute;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
}
.vf-lab.iso { left: 6px; top: 10px; }
.vf-lab.awb { right: 6px; top: 10px; }
.vf-lab.exp { left: 6px; top: auto; bottom: 28px; }

.vf-scale {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 10px;
  height: 12px;
  background: repeating-linear-gradient(to right, rgba(255,255,255,0.55) 0 1px, transparent 1px 6px);
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0 4px, #000 4px 5px, transparent 5px 8px, #000 8px 12px);
          mask-image: linear-gradient(to bottom, transparent 0 4px, #000 4px 5px, transparent 5px 8px, #000 8px 12px);
}
.vf-scale::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to right, rgba(255,255,255,0.7) 0 1.5px, transparent 1.5px 30px);
}

/* Orbit + typography sit in one stack; type is always above the cards */
.orbit { position: absolute; inset: 0; z-index: 10; }

/* Type cluster — always above the cards */
.type {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 60;
  width: min(92vw, 920px);
  text-align: center;
  pointer-events: none;
}
.frame {
  position: absolute;
  inset: -14px -8px -16px;
  z-index: 0;
  border: 1px solid rgba(255,255,255,0.2);
  pointer-events: none;
}
.frame .fh {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--ground);
  border: 1px solid rgba(255,255,255,0.75);
}
.frame .fh.tl { top: -4px; left: -4px; }
.frame .fh.tr { top: -4px; right: -4px; }
.frame .fh.bl { bottom: -4px; left: -4px; }
.frame .fh.br { bottom: -4px; right: -4px; }

.svc {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 7.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  line-height: 1.2;
}
.svc i {
  font-style: normal;
  font-family: var(--font-mono);
  font-weight: 400;
  color: rgba(255,255,255,0.32);
  margin-right: 0.45em;
  letter-spacing: 0.08em;
}

.mark {
  position: relative;
  z-index: 1;
}
.kicker {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin-bottom: 6px;
  padding-left: 0.42em;
}
.wordmark {
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: clamp(160px, 52vw, 220px);
  line-height: 0.78;
  letter-spacing: -0.07em;
  color: #F3F3F0;
}
.hero.is-booting .wordmark {
  opacity: 0;
  filter: blur(12px);
  transform: scale(0.9) translateY(14px);
}
.hero.has-booted .wordmark {
  opacity: 1;
  filter: blur(0);
  transform: none;
  transition: opacity 0.55s ease, filter 0.8s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero.is-booting .kicker,
.hero.is-booting .verse,
.hero.is-booting .svc {
  opacity: 0;
  transform: translateY(10px);
}
.hero.has-booted .svc {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease 0.08s, transform 0.55s ease 0.08s;
}
.hero.has-booted .kicker {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease 0.16s, transform 0.55s ease 0.16s;
}
.hero.has-booted .verse {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease 0.28s, transform 0.6s ease 0.28s;
}
.verse {
  margin-top: 18px;
  font-family: var(--font-mark);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--mute);
  line-height: 1.5;
}
.verse cite {
  display: block;
  margin-top: 5px;
  font-style: normal;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 10px;
}

/* Cards — always under typography */
.card {
  position: absolute;
  top: 0; left: 0;
  will-change: transform;
  border-radius: 14px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transform-origin: center center;
  backface-visibility: hidden;
  z-index: 20;
}
.card .shade {
  position: absolute;
  inset: 0;
  background: #0A0A0A;
  opacity: 0;
  pointer-events: none;
}

/* Desktop */
@media (min-width: 760px) {
  :root { --ruler: 28px; }
  .nav { padding-left: calc(var(--ruler) + 22px); padding-right: calc(var(--ruler) + 22px); }
  .logo { font-size: 20px; }
  .vf { inset: 72px calc(var(--ruler) + 18px) 36px; }
  .vf-c { width: 32px; height: 32px; }
  .vf-lab { font-size: 10px; letter-spacing: 0.16em; }
  .vf-lab.iso { left: 10px; top: 12px; }
  .vf-lab.awb { right: 10px; top: 12px; }
  .vf-lab.exp { left: 10px; bottom: 36px; }
  .type { width: min(86vw, 1100px); }
  .frame { inset: -22px -14px -24px; }
  .svc { font-size: 10px; letter-spacing: 0.16em; margin-bottom: 20px; }
  .wordmark { font-size: clamp(300px, 34vw, 520px); }
  .kicker { font-size: 10px; letter-spacing: 0.48em; margin-bottom: 8px; }
  .verse { font-size: 13px; margin-top: 24px; }
  .verse cite { font-size: 11px; margin-top: 6px; letter-spacing: 0.12em; }
  .card { border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .wordmark, .kicker, .verse, .svc, .book-pill { transition: none !important; filter: none !important; }
  .nav { transition: none; }
  .hero.is-booting .wordmark,
  .hero.is-booting .kicker,
  .hero.is-booting .verse,
  .hero.is-booting .svc {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* ========== PAGE SHEET ========== */
.sheet {
  position: relative;
  z-index: 5;
  background: #0A0A0A;
  color: var(--ink);
  border-radius: 28px 28px 0 0;
  margin-top: -24px;
  overflow: visible;
}
.sec-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.sec-kicker span { color: var(--red); margin-right: 0.6em; letter-spacing: 0; }
.sec-head { max-width: 720px; margin: 0 auto 36px; }
.sec-head h2, .who-line, .foot h2, .cases-head h2, .seven-line {
  font-family: var(--font-mark);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.sec-lede, .who-dek, .foot > p, .proj p {
  color: var(--mute);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
}

/* Reveals — JS toggles .is-in; reduced motion shows them */
.reveal { opacity: 0; transform: translate3d(0, 22px, 0); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ========== MENU ========== */
.menu-full {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0A0A0A;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 28px 40px;
  color: var(--ink);
}
.menu-full[hidden] { display: none; }
.menu-grain {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.4; mix-blend-mode: overlay;
  background: url("assets/grain.png") repeat;
  background-size: 180px;
}
.menu-close {
  position: absolute;
  top: calc(18px + env(safe-area-inset-top));
  right: 22px;
  appearance: none; background: none; border: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 1;
}
.menu-links { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.menu-links a {
  display: flex; align-items: baseline; gap: 16px;
  text-decoration: none;
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: clamp(32px, 10vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
}
.menu-links a i {
  font-style: normal;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.32);
  width: 1.8em;
}
.menu-links a:hover { color: var(--red); }
body.is-menu { overflow: hidden; }
body.is-menu .menu i:first-child { transform: rotate(45deg) translate(3px, 3px); }
body.is-menu .menu i:last-child { transform: rotate(-45deg) translate(3px, -3px); width: 18px; }

/* ========== WHO ========== */
.who {
  padding: 100px 24px 90px;
  max-width: 980px;
  margin: 0 auto;
}
.who-line {
  font-size: clamp(28px, 7.2vw, 56px);
  margin-bottom: 22px;
}
.who-dek { font-size: 16px; max-width: 36em; }

/* ========== CASES ========== */
/* Normal-flow layout + church-site (Palabra de Restauración) reveal motion. */
.cases { position: relative; padding: 72px 16px calc(var(--book-clear) + 8px); }
.cases-pin { max-width: 1200px; margin: 0 auto; }
.cases-head { padding: 0 8px 20px; }
.cases-head h2 { font-size: clamp(28px, 6vw, 48px); }
.cases-stage { display: flex; flex-direction: column; gap: 56px; }
.case { position: relative; display: flex; flex-direction: column; }
.case-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  overflow: hidden;
  border-radius: 12px;
  background: #111;
}
.case-media > img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #111;
}
.case-side { display: none; }
.case-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  padding: 14px 4px 0;
  align-items: start;
}
.case-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.32);
  padding-top: 6px;
}
.case-copy h3 {
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.case-copy p { color: var(--mute); font-size: 13px; line-height: 1.45; }
.case-tags {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.case-link {
  grid-column: 2;
  justify-self: start;
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding: 8px 0 2px;
  font-family: var(--font-mono);
}
/* Reveal (ported from the church site: blur + rise, ease-out-expo, one-shot) */
.cases.cr-on [data-cr] {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 40px, 0);
  transition: opacity 1s cubic-bezier(.22,1,.36,1), filter 1s cubic-bezier(.22,1,.36,1), transform 1.1s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--d, 0s);
}
.cases.cr-on [data-cr="scale"] { transform: scale(.92); }
.cases.cr-on [data-cr].is-in { opacity: 1; filter: none; transform: none; }
@media (min-width: 760px) {
  .cases { padding: 96px 40px calc(var(--book-clear) + 16px); }
  .cases-stage { gap: 96px; }
  .case-media { grid-template-columns: 1.6fr 0.8fr; gap: 12px; height: clamp(360px, 62vh, 640px); background: transparent; }
  .case-media > img { height: 100%; border-radius: 8px; }
  .case-side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 0; }
  .case-side img { width: 100%; height: 100%; object-fit: cover; background: #111; border-radius: 8px; }
  .case-copy h3 { font-size: 28px; }
  .case-copy p { font-size: 15px; }
  .case-bar { grid-template-columns: auto 1fr auto auto; align-items: end; gap: 16px; padding-top: 20px; }
  .case-tags, .case-link { grid-column: auto; }
}

/* ========== PROJECTS ========== */
.projects { padding: 80px 20px 40px; max-width: 1200px; margin: 0 auto; }
.proj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
}
.proj {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.proj img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  background: #161616;
  margin-bottom: 10px;
}
.proj.is-wide img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #141414;
}
.proj.is-wide.is-light img { background: #EFEDE8; }
.proj-cat {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.proj h3 {
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.proj p { font-size: 12px; }
@media (min-width: 760px) {
  .projects { padding: 100px 40px 60px; }
  .proj-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
  .proj h3 { font-size: 20px; }
  .proj p { font-size: 14px; }
  .proj img { border-radius: 14px; }
}

/* ========== SEVEN ========== */
.seven {
  padding: 90px 24px;
  text-align: center;
}
.seven-line {
  font-size: clamp(22px, 5.5vw, 42px);
  font-weight: 500;
  color: var(--ink);
}
.seven-line cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--mute);
  font-weight: 400;
}

/* ========== GALLERY ========== */
.gallery { padding: 40px 20px 80px; max-width: 1100px; margin: 0 auto; }
.gal-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gal-thumb {
  appearance: none; border: 0; background: none; padding: 0;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  color: var(--ink);
}
.gal-thumb img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.gal-thumb span {
  position: absolute;
  left: 10px; bottom: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px #000;
}
.gal-more { margin-top: 22px; text-align: center; }
.gal-more a, .lb-pix a {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}
@media (min-width: 760px) {
  .gal-thumbs { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .gal-thumb img { aspect-ratio: 3 / 4; }
}

/* ========== REELS ========== */
.reels { height: 200vh; position: relative; }
.reels-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 72px 16px var(--book-clear);
  overflow: hidden;
}
.reels-pin .sec-head { margin-bottom: 16px; }
.reels-stage {
  position: relative;
  flex: 1;
  min-height: 0;
}
.reel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(34vw, 150px);
  will-change: transform;
}
.reel-frame {
  appearance: none; border: 0; background: #111; padding: 0;
  display: block; width: 100%;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 9 / 16;
}
.reel-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel h3, .reel p { display: none; } /* titles live in the player — keep the cluster clean */
@media (min-width: 760px) {
  .reels-pin { padding: 80px 40px var(--book-clear); }
  .reel { width: min(18vw, 200px); }
}

/* ========== FOOTER ========== */
.foot {
  padding: 100px 24px 120px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.foot h2 {
  font-size: clamp(36px, 9vw, 72px);
  margin: 10px 0 16px;
}
.foot-copy {
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ========== LIGHTBOX ========== */
.lb, .rp {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(8,8,8,0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 16px 24px;
  color: var(--ink);
}
.lb[hidden], .rp[hidden] { display: none; }
.lb-close, .rp-close {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top));
  right: 18px;
  appearance: none; background: none; border: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.lb-filters {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top));
  left: 16px;
  right: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lb-filters button {
  appearance: none; background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 99px;
  cursor: pointer;
}
.lb-filters button.is-on { color: #0A0A0A; background: #F3F3F0; border-color: #F3F3F0; }
.lb-figure { max-width: min(92vw, 900px); max-height: 72vh; text-align: center; }
.lb-figure img { max-width: 100%; max-height: 64vh; object-fit: contain; }
.lb-figure h2 { font-family: var(--font-mark); font-weight: 800; font-size: 18px; margin-top: 12px; }
.lb-figure p { color: var(--mute); font-size: 13px; margin-top: 4px; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  appearance: none; background: none; border: 0;
  color: var(--ink);
  font-size: 40px;
  cursor: pointer;
  padding: 10px;
  line-height: 1;
}
.lb-prev { left: 4px; }
.lb-next { right: 4px; }
.lb-index, .lb-pix { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--mute); margin-top: 8px; }
.rp video { max-width: min(92vw, 420px); max-height: 70vh; background: #000; }
.rp-meta { margin-top: 14px; text-align: center; }
.rp-meta h3 { font-family: var(--font-mark); font-weight: 800; font-size: 18px; }
.rp-meta p { color: var(--mute); font-size: 13px; margin-top: 4px; }

@media (prefers-reduced-motion: reduce) {
  .reels { height: auto; }
  .reels-pin { position: relative; height: auto; }
  .cases [data-cr] { opacity: 1 !important; filter: none !important; transform: none !important; }
  .reel { position: relative; top: auto; left: auto; width: 42%; display: inline-block; margin: 8px; transform: none !important; }
  .reels-stage { display: flex; flex-wrap: wrap; justify-content: center; }
}

/* ========== BOOK A MEETING ========== */
.book-pills {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  width: min(366px, calc(100vw - 20px));
  pointer-events: none;
}
.book-pill {
  pointer-events: auto;
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 10px 8px;
  border-radius: 999px;
  background: #111;
  color: #F3F3F0;
  border: 1px solid rgba(255,255,255,0.14);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}
.book-pill:hover,
.book-pill:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  outline: none;
}
body.is-menu .book-pills,
body:has(#lightbox:not([hidden])) .book-pills,
body:has(#reel-player:not([hidden])) .book-pills {
  opacity: 0;
  pointer-events: none;
}
.menu-links a[data-booking] {
  margin-top: 10px;
  color: var(--red);
  font-size: clamp(28px, 8vw, 56px);
}


/* Avoid a flash of English before the saved language is applied */
html.i18n-wait body { visibility: hidden; }

/* ========== SERVICES TEASER (home) ========== */
.svc-teaser {
  padding: 8px 20px 72px;
  max-width: 920px;
  margin: 0 auto;
}
.svc-teaser-line {
  font-family: var(--font-mark);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-size: clamp(24px, 5.4vw, 40px);
  margin-bottom: 18px;
  max-width: 18em;
}
.text-link {
  display: inline-block;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 3px;
  background: none;
  appearance: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  cursor: pointer;
}

/* ========== INNER PAGES ========== */
.page {
  padding: 108px 20px 80px;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 70vh;
}
.page-intro { max-width: 720px; margin-bottom: 48px; }
.page-intro h1,
.svc-block-head h2 {
  font-family: var(--font-mark);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.page-intro h1 { font-size: clamp(36px, 8vw, 72px); margin: 8px 0 16px; }
.page-lede { color: var(--mute); font-size: 16px; line-height: 1.55; max-width: 36em; }

.svc-block { margin-bottom: 72px; }
.svc-block-head { margin-bottom: 28px; max-width: 720px; }
.svc-block-head h2 { font-size: clamp(28px, 6vw, 48px); margin-bottom: 8px; }
.svc-block-head p { color: var(--mute); font-size: 15px; line-height: 1.5; }
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 18px;
}
.svc-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  background: #161616;
  margin-bottom: 12px;
}
.svc-card h3 {
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.svc-card p { color: var(--mute); font-size: 14px; line-height: 1.5; }
.svc-cta {
  margin: 20px 0 40px;
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.svc-cta p { color: var(--mute); font-size: 15px; max-width: 32em; }
@media (min-width: 760px) {
  .page { padding: 128px 40px 96px; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .svc-teaser { padding-left: 40px; padding-right: 40px; }
}

/* ========== BOOKING FORM ========== */
.book-form {
  max-width: 560px;
  display: grid;
  gap: 18px;
}
.book-form label,
.book-form fieldset { display: block; }
.book-form span,
.book-form legend {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.book-form input[type="text"],
.book-form input[type="tel"],
.book-form input[type="email"],
.book-form input[type="datetime-local"],
.book-form input[type="date"],
.book-form input[type="time"],
.book-form select,
.book-form textarea {
  width: 100%;
  appearance: none;
  background: #111;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-ui);
  font-size: 16px;
  color-scheme: dark;
}
.book-form textarea { resize: vertical; min-height: 96px; }
.book-form fieldset { border: 0; padding: 0; }
.book-form .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}
.book-form .check span {
  display: inline;
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin: 0;
}
.book-form .check input { margin-top: 3px; accent-color: var(--red); }
.book-form .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.book-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #0A0A0A;
  border: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.book-submit:hover,
.book-submit:focus-visible { background: var(--red); color: #fff; outline: none; }
.book-submit:disabled { opacity: 0.6; cursor: wait; }
.book-error { color: #ff8a80; font-size: 14px; }
.book-success h2 {
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: clamp(32px, 7vw, 56px);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.book-success p { color: var(--mute); font-size: 16px; margin-bottom: 22px; }

.book-form .form-row {
  display: grid;
  gap: 16px;
}
@media (min-width: 600px) {
  .book-form .form-row { grid-template-columns: 1fr 1fr; }
}

/* ========== PHOTO SESSION CALENDAR + TERMS (church-site motion) ========== */
:root { --ease-expo: cubic-bezier(.22,1,.36,1); }
.bk-motion.cr-on [data-cr] {
  opacity: 0; filter: blur(8px); transform: translate3d(0, 32px, 0);
  transition: opacity .9s var(--ease-expo), filter .9s var(--ease-expo), transform 1s var(--ease-expo);
  transition-delay: var(--d, 0s);
}
.bk-motion.cr-on [data-cr].is-in { opacity: 1; filter: none; transform: none; }
@keyframes stepIn { from { opacity: 0; filter: blur(6px); transform: translate3d(0, 18px, 0); } to { opacity: 1; filter: none; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: translate3d(0, 8px, 0) scale(.96); } to { opacity: 1; transform: none; } }
.step-in { animation: stepIn .7s var(--ease-expo) both; }

.ps-form { max-width: 640px; gap: 28px; }
.ps-step legend { display: flex; align-items: center; gap: 8px; }
.ps-step legend i { font-style: normal; color: var(--red); }
.ps-step legend b { font-weight: 500; color: var(--ink); }
.ps-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: -20px 0 36px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 640px; }
.ps-price-main { font-size: 15px; color: var(--mute); }
.ps-price-main b { font-family: var(--font-mark); font-weight: 800; font-size: 28px; color: var(--ink); letter-spacing: -0.03em; margin-right: 4px; }
.ps-price-dep { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ps-price-inc { flex-basis: 100%; color: var(--mute); font-size: 14px; line-height: 1.5; }
.ps-note { color: var(--mute); font-size: 14px; line-height: 1.5; }

.ps-types, .ps-studio-list { display: grid; gap: 10px; }
@media (min-width: 600px) { .ps-types { grid-template-columns: repeat(3, 1fr); } .ps-studio-list { grid-template-columns: 1fr 1fr; } }
.book-form .ps-type, .book-form .ps-studio {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 14px 14px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: #111;
  cursor: pointer; transition: border-color .35s var(--ease-expo), background .35s var(--ease-expo), transform .35s var(--ease-expo);
}
.ps-type:hover, .ps-studio:hover { border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.ps-type:active, .ps-studio:active { transform: scale(.98); }
.ps-type input, .ps-studio input { position: absolute; opacity: 0; pointer-events: none; }
.ps-type:has(input:checked), .ps-studio:has(input:checked) { border-color: var(--red); background: #1a0f0e; }
.ps-type:has(input:focus-visible), .ps-studio:has(input:focus-visible) { outline: 1px solid var(--red); outline-offset: 2px; }
.book-form .ps-type-name, .book-form .ps-studio-name {
  display: block; margin: 0; font-family: var(--font-mark); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; text-transform: none; color: var(--ink);
}
.book-form .ps-type-name span { display: inline; margin: 0; font: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }
.book-form .ps-type-meta, .book-form .ps-studio-meta { margin: 0; font-family: var(--font-ui); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--mute); }
.book-form .ps-studio-meta span { display: inline; margin: 0; font: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
.ps-badge { display: inline-block; margin-left: 6px; padding: 3px 7px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--font-mono); font-style: normal; font-size: 9px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; vertical-align: 3px; }
.ps-studios { margin-top: 14px; display: grid; gap: 12px; }
.ps-studio a { align-self: flex-start; margin-top: 4px; color: var(--ink); font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--red); position: relative; z-index: 1; }

.cal { border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: #0f0f0f; padding: 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-title { font-family: var(--font-mark); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-transform: capitalize; }
.cal-nav { width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: var(--ink); font-size: 20px; cursor: pointer; transition: background .3s var(--ease-expo), transform .3s var(--ease-expo); }
.cal-nav:hover:not(:disabled) { background: rgba(255,255,255,.08); }
.cal-nav:active:not(:disabled) { transform: scale(.92); }
.cal-nav:disabled { opacity: .25; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.45); padding: 4px 0 6px; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1; min-height: 40px; border: 1px solid transparent; border-radius: 10px; background: transparent;
  color: rgba(255,255,255,.28); font-family: var(--font-ui); font-size: 15px; cursor: default;
  transition: background .3s var(--ease-expo), color .3s var(--ease-expo), border-color .3s var(--ease-expo), transform .3s var(--ease-expo);
}
.cal-day.is-past { color: rgba(255,255,255,.14); }
.cal-day.is-open { color: var(--ink); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); cursor: pointer; }
.cal-day.is-open:hover { border-color: rgba(255,255,255,.5); transform: translateY(-1px); }
.cal-day.is-open:active { transform: scale(.94); }
.cal-day.is-today { box-shadow: inset 0 -2px 0 var(--red); }
.cal-day.is-sel { background: var(--ink); color: #0A0A0A; border-color: var(--ink); animation: popIn .45s var(--ease-expo); }
.cal-day:focus-visible, .ps-slot:focus-visible { outline: 1px solid var(--red); outline-offset: 2px; }
.cal-legend { margin-top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.book-form .cal-legend span { display: inline; margin: 0 10px 0 0; font: inherit; letter-spacing: inherit; color: inherit; }
.cal-legend .dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dot-open { background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3); }
.dot-off { border: 1px solid rgba(255,255,255,.12); }

.ps-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 600px) { .ps-slots { grid-template-columns: repeat(4, 1fr); } }
.ps-slot {
  padding: 12px 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: #111; color: var(--ink);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; cursor: pointer;
  animation: popIn .5s var(--ease-expo) both; animation-delay: calc(var(--i, 0) * 35ms);
  transition: background .3s var(--ease-expo), color .3s var(--ease-expo), border-color .3s var(--ease-expo), transform .3s var(--ease-expo);
}
.ps-slot:hover:not(:disabled) { border-color: rgba(255,255,255,.55); transform: translateY(-2px); }
.ps-slot:active:not(:disabled) { transform: scale(.95); }
.ps-slot.is-sel { background: var(--red); border-color: var(--red); color: #fff; }
.ps-slot.is-taken { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.ps-details { display: grid; gap: 22px; }
.ps-fields { display: grid; gap: 18px; }
.ps-summary { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); padding: 12px 14px; border-left: 2px solid var(--red); background: #111; border-radius: 0 8px 8px 0; }
.ps-consent a { color: var(--ink); border-bottom: 1px solid var(--red); text-decoration: none; }
.book-form .ps-consent > span > span { display: inline; margin: 0; font: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
.book-terms-note { color: var(--mute); font-size: 13px; }
.book-terms-note a { color: var(--ink); border-bottom: 1px solid var(--red); text-decoration: none; }
.book-submit { transition: background .3s var(--ease-expo), color .3s var(--ease-expo), transform .3s var(--ease-expo); }
.book-submit:active:not(:disabled) { transform: scale(.97); }
.foot-links { margin-top: 28px; }

.terms { max-width: 720px; }
.terms section { padding: 28px 0; border-top: 1px solid var(--line); }
.terms h2 { font-family: var(--font-mark); font-weight: 800; font-size: clamp(22px, 4.5vw, 30px); letter-spacing: -0.03em; margin-bottom: 12px; }
.terms p, .terms li { color: var(--mute); font-size: 15px; line-height: 1.6; }
.terms ul { padding-left: 1.1em; display: grid; gap: 8px; }
.terms li::marker { color: var(--red); }
.terms a { color: var(--ink); border-bottom: 1px solid var(--red); text-decoration: none; }
.terms-updated { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); }

@media (prefers-reduced-motion: reduce) {
  .bk-motion.cr-on [data-cr] { opacity: 1; filter: none; transform: none; transition: none; }
  .step-in, .ps-slot, .cal-day.is-sel { animation: none; }
  .ps-type, .ps-studio, .cal-day, .ps-slot, .cal-nav, .book-submit { transition: none; }
}
