    /* ============================================================
       PASAJCAP — design tokens
       ============================================================ */
    :root {
      /* Warm clay (default) */
      --paper:        #efe8d9;
      --paper-deep:   #e6dcc7;
      --ink:          #1f1d18;
      --ink-soft:     #3a352c;
      --muted:        #877f6e;
      --line:         rgba(31,29,24,0.16);
      --line-soft:    rgba(31,29,24,0.09);
      --accent:       #b25538;   /* volcanic clay */
      --accent-2:     #2f5d57;   /* lake teal */

      --serif: 'Cormorant Garamond', 'Cormorant', serif;
      --sans:  'Manrope', ui-sans-serif, system-ui, sans-serif;
      --mono:  'JetBrains Mono', ui-monospace, Menlo, monospace;

      --container: 1400px;
      --gutter: clamp(20px, 4vw, 64px);
    }

    /* Tweakable palettes */
    [data-palette="paper"] {
      --paper: #f4f1ea;
      --paper-deep: #ebe6da;
      --ink: #16140f;
      --ink-soft: #2c2922;
      --muted: #7a7466;
      --line: rgba(22,20,15,0.14);
      --line-soft: rgba(22,20,15,0.07);
      --accent: #8a4a2d;
      --accent-2: #2a5249;
    }
    [data-palette="sage"] {
      --paper: #e9ebe1;
      --paper-deep: #dde0d2;
      --ink: #1b1f1a;
      --ink-soft: #2e342b;
      --muted: #6b7363;
      --line: rgba(27,31,26,0.16);
      --line-soft: rgba(27,31,26,0.08);
      --accent: #5e6b3f;
      --accent-2: #2f4a4a;
    }
    [data-palette="ink"] {
      --paper: #15140f;
      --paper-deep: #1c1a14;
      --ink: #f1ead7;
      --ink-soft: #d6cdb6;
      --muted: #897f6a;
      --line: rgba(241,234,215,0.16);
      --line-soft: rgba(241,234,215,0.07);
      --accent: #d97a4a;
      --accent-2: #6da59d;
    }

    /* Tweakable display font */
    [data-display="crimson"]  { --serif: 'Crimson Pro', serif; }
    [data-display="lora"]     { --serif: 'Lora', serif; }

    * { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; }
    body {
      background: var(--paper);
      color: var(--ink);
      font-family: var(--sans);
      font-weight: 400;
      font-size: 16px;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
      text-rendering: geometricPrecision;
      overflow-x: hidden;
    }
    img { max-width: 100%; display: block; }

    /* Per-image focal point, small-screen variant (inc/focal-point.php). Images
       that carry a phones-only point render with a `--pjc-fp-sm` custom property
       in their inline style (`--pjc-bp-sm` for the few painted as CSS
       backgrounds); below the breakpoint that point wins. !important because the
       wide-screen point is an inline declaration, which no normal stylesheet
       rule can override. Breakpoint matches the hero's art-directed <source>
       and the preload media in functions.php. */
    @media (max-width: 700px) {
      [style*="--pjc-fp-sm"] { object-position: var(--pjc-fp-sm) !important; }
      [style*="--pjc-bp-sm"] { background-position: var(--pjc-bp-sm) !important; }
    }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; }

    /* ----- typography ----- */
    .display {
      font-family: var(--serif);
      font-weight: 400;
      letter-spacing: -0.015em;
      line-height: 0.98;
    }
    .display-italic { font-style: italic; font-weight: 300; }

    .eyebrow {
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 400;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .small-caps {
      font-family: var(--sans);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    /* ----- container ----- */
    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 var(--gutter);
    }

    /* ----- nav ----- */
    .nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 50;
      padding: 22px var(--gutter);
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 24px;
      transition: background 300ms ease, backdrop-filter 300ms ease, padding 300ms ease, color 300ms ease;
      color: var(--paper);
    }
    .nav.is-light { color: var(--paper); }
    .nav.is-scrolled {
      background: color-mix(in oklab, var(--paper) 88%, transparent);
      backdrop-filter: saturate(160%) blur(12px);
      -webkit-backdrop-filter: saturate(160%) blur(12px);
      color: var(--ink);
      padding: 14px var(--gutter);
      border-bottom: 1px solid var(--line-soft);
    }
    .nav-logo {
      font-family: var(--serif);
      font-size: 26px;
      line-height: 1;
      letter-spacing: -0.01em;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .nav-logo .sub {
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: 0.32em;
      text-transform: uppercase;
      opacity: 0.7;
    }
    .nav-links {
      display: flex;
      gap: 28px;
      justify-content: center;
      font-size: 13.5px;
      font-weight: 500;
      letter-spacing: 0.02em;
    }
    .nav-links a { position: relative; padding: 6px 0; }
    .nav-links a:hover::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: 0;
      height: 1px; background: currentColor; opacity: 0.6;
    }
    .nav-right {
      display: flex; gap: 18px; justify-content: flex-end; align-items: center;
      font-size: 12.5px;
    }
    .lang { display: flex; gap: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; }
    .lang span { padding: 4px 6px; opacity: 0.55; }
    .lang span.active { opacity: 1; border: 1px solid currentColor; border-radius: 2px; }
    .nav-cta {
      border: 1px solid currentColor;
      padding: 9px 16px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      background: transparent;
      color: inherit;
      transition: background 200ms, color 200ms;
    }
    .nav-cta:hover { background: var(--btn-fill, var(--ink)); border-color: var(--btn-fill, var(--ink)); }
    .nav.is-scrolled .nav-cta { --btn-fill: var(--paper); }
    .nav-cta { white-space: nowrap; }

    /* Secondary navbar link (e.g. "Contact Us") — same weight as .nav-back,
       without its "←". The pill is reserved for the booking CTA. */
    .nav-secondary {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      white-space: nowrap;
    }
    .nav-secondary:hover { opacity: 0.7; }

    /* Phones: the logo + CTA must share one line, so the secondary link steps
       aside and the pill tightens up. */
    @media (max-width: 560px) {
      .nav-right { gap: 10px; }
      .nav-right .nav-secondary, .nav-right .nav-back { display: none; }
      .nav-cta { padding: 8px 13px; font-size: 11px; letter-spacing: 0.05em; }
    }

    /* ----- hero ----- */
    .hero {
      position: relative;
      min-height: 100vh;
      width: 100%;
      overflow: hidden;
      color: var(--paper);
      display: flex;
      align-items: flex-end;
    }
    /* Phones: a shorter hero box is closer to the photo's own shape, so
       object-fit:cover crops far less, and the first section peeks above the
       fold. Breakpoint matches the art-directed <source> in the hero block. */
    @media (max-width: 700px) {
      .hero { min-height: 64vh; min-height: 64svh; }
    }
    .hero-bg {
      position: absolute; inset: 0;
      z-index: 0;
      background-color: #14110c; /* placeholder while the hero image loads */
      background-size: cover;
      background-position: center 65%;
      transform: scale(1.01);
      animation: kenburns 28s ease-out forwards;
    }
    /* Hero image is now a real <img> (LCP, preloadable); reproduce the former
       background-cover framing. The Ken Burns scale stays on the parent. */
    .hero-bg-img {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      object-position: center 65%;
    }
    /* Keep the drift subtle: a big start scale (was 1.18) crops away the pool
       deck and volcano flanks during the first impression. Settle at ~full
       frame; the translate stays inside the scale's overflow margin. */
    @keyframes kenburns {
      0%   { transform: scale(1.07) translate(1%, -0.5%); }
      100% { transform: scale(1.01) translate(0, 0); }
    }
    .hero-video {
      position: absolute; inset: 0;
      z-index: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 1400ms ease;
      pointer-events: none;
    }
    .hero-video.is-ready { opacity: 1; }
    .hero-scrim {
      position: absolute; inset: 0;
      z-index: 1;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(15,12,8,0.45) 0%, rgba(15,12,8,0.05) 30%, rgba(15,12,8,0.05) 60%, rgba(15,12,8,0.7) 100%);
    }
    .hero-inner {
      position: relative;
      z-index: 2;
      padding: 0 var(--gutter) 64px;
      width: 100%;
      max-width: var(--container);
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 48px;
      align-items: end;
    }
    .hero-title {
      font-family: var(--serif);
      font-weight: 300;
      font-size: clamp(48px, 7.4vw, 104px);
      line-height: 0.96;
      letter-spacing: -0.02em;
      margin: 0;
      max-width: none;
      display: block;
      text-shadow: 0 1px 3px rgba(0,0,0,0.45), 0 0 18px rgba(0,0,0,0.35);
    }
    .hero-title em {
      font-style: italic;
      font-weight: 300;
    }
    .hero-meta {
      display: flex;
      flex-direction: column;
      gap: 22px;
      padding-bottom: 12px;
    }
    .hero-meta p {
      font-size: 15px;
      line-height: 1.65;
      margin: 0;
      opacity: 0.85;
      max-width: 38ch;
      font-weight: 300;
    }
    .hero-top {
      position: absolute;
      top: 110px; left: 0; right: 0;
      z-index: 2;
      padding: 0 var(--gutter);
      max-width: var(--container);
      margin: 0 auto;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }
    .hero-coord {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      opacity: 0.85;
    }
    .scroll-hint {
      position: absolute;
      right: var(--gutter);
      bottom: 72px;
      z-index: 2;
      writing-mode: vertical-rl;
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      opacity: 0.7;
      display: flex; align-items: center; gap: 14px;
    }
    .scroll-hint::after {
      content: ""; width: 1px; height: 60px;
      background: currentColor;
      animation: scrollline 2.4s ease-in-out infinite;
      transform-origin: top;
    }
    @keyframes scrollline {
      0% { transform: scaleY(0); }
      50% { transform: scaleY(1); }
      100% { transform: scaleY(0); transform-origin: bottom; }
    }

    .btn {
      display: inline-flex; align-items: center; gap: 12px;
      padding: 14px 24px;
      border: 1px solid currentColor;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      background: transparent;
      color: var(--btn-rest, inherit);
      transition: background 200ms, color 200ms;
      width: fit-content;
    }
    .btn .arr {
      width: 18px; height: 1px; background: currentColor; position: relative;
      transition: width 200ms;
    }
    .btn .arr::after {
      content: ""; position: absolute; right: 0; top: -3px;
      width: 7px; height: 7px;
      border-top: 1px solid currentColor;
      border-right: 1px solid currentColor;
      transform: rotate(45deg);
    }
    .btn:hover { background: var(--btn-fill, var(--ink)); border-color: var(--btn-fill, var(--ink)); color: var(--btn-text, var(--paper)); }
    .btn:hover .arr { width: 26px; }
    .btn.solid {
      background: var(--ink);
      color: var(--paper);
      border-color: var(--ink);
    }
    .btn.solid:hover { background: var(--accent); border-color: var(--accent); }

    /* ----- sections ----- */
    section { position: relative; }
    .sec {
      padding: clamp(80px, 12vw, 160px) 0;
    }
    .sec-head {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      justify-items: start;
      margin-bottom: 64px;
    }
    .sec-no {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
      display: flex;
      gap: 12px;
      align-items: center;
    }
    .sec-no::before {
      content: ""; width: 28px; height: 1px; background: var(--muted);
    }
    .sec-title {
      font-family: var(--serif);
      font-weight: 300;
      font-size: clamp(40px, 5.5vw, 80px);
      line-height: 1;
      letter-spacing: -0.015em;
      margin: 0;
      max-width: 18ch;
    }

    /* ----- manifesto ----- */
    .manifesto {
      padding: clamp(100px, 14vw, 180px) 0 clamp(80px, 10vw, 140px);
    }
    .manifesto-inner {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: clamp(40px, 6vw, 100px);
    }
    .manifesto-left {
      display: flex;
      flex-direction: column;
      gap: 24px;
      padding-top: 14px;
    }
    .manifesto-left .spanish {
      font-family: var(--serif);
      font-style: italic;
      font-weight: 300;
      font-size: 40px;
      line-height: 1;
      color: var(--accent);
    }
    .manifesto-text {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(28px, 3.2vw, 44px);
      line-height: 1.18;
      letter-spacing: -0.005em;
      color: var(--ink);
      max-width: 22ch;
    }
    .manifesto-text em {
      font-style: italic;
      color: var(--accent);
      font-weight: 300;
    }
    .manifesto-foot {
      display: flex;
      gap: 28px;
      align-items: center;
      margin-top: 40px;
      padding-top: 28px;
      border-top: 1px solid var(--line);
    }

    /* ----- collection ----- */
    .coll-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      align-items: start;
    }
    .coll-card {
      cursor: pointer;
      display: flex;
      flex-direction: column;
      gap: 18px;
    }
    .coll-card .ph {
      position: relative;
      width: 100%;
      aspect-ratio: 3/4;
      overflow: hidden;
      background: var(--paper-deep);
    }
    .coll-card.tall .ph { aspect-ratio: 3/4.4; margin-top: 60px; }
    .coll-card.short .ph { aspect-ratio: 4/4.6; }
    .coll-card .ph img {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform 900ms cubic-bezier(.2,.6,.2,1);
    }
    .coll-card:hover .ph img { transform: scale(1.04); }
    .coll-card .ph .num {
      position: absolute; top: 14px; left: 14px;
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.16em;
      color: var(--paper);
      background: rgba(0,0,0,0.25);
      backdrop-filter: blur(8px);
      padding: 6px 10px;
      border-radius: 999px;
    }
    .coll-card .ph .count {
      position: absolute; bottom: 14px; right: 14px;
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.18em;
      color: var(--paper);
      text-transform: uppercase;
      background: rgba(0,0,0,0.35);
      backdrop-filter: blur(8px);
      padding: 6px 10px;
      border-radius: 999px;
    }
    .coll-meta {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
    }
    .coll-name {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 32px;
      line-height: 1.05;
      margin: 0;
    }
    .coll-name em { font-style: italic; font-weight: 300; }
    .coll-desc {
      font-size: 13.5px;
      color: var(--ink-soft);
      max-width: 32ch;
      margin-top: 4px;
    }
    .coll-link {
      font-family: var(--mono);
      font-size: 10.5px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
      display: inline-flex; align-items: center; gap: 8px;
    }
    .coll-link::after {
      content: "→"; font-size: 12px;
      transition: transform 200ms;
    }
    .coll-card:hover .coll-link::after { transform: translateX(4px); }

    /* ----- why ----- */
    .why {
      background: var(--paper-deep);
    }
    .why-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(28px, 2.6vw, 44px) clamp(28px, 3vw, 56px);
    }
    .why-item {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding-top: 20px;
      border-top: 1px solid var(--line);
    }
    .why-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 4px;
    }
    .why-icon {
      color: var(--accent);
      display: flex;
      transition: transform 600ms cubic-bezier(.2,.6,.2,1);
    }
    .why-icon svg { width: 38px; height: 38px; display: block; }
    .why-item:hover .why-icon { transform: translateY(-2px); }
    .why-num {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.18em;
      color: var(--muted);
    }
    .why-name {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 23px;
      line-height: 1.12;
      margin: 0;
      max-width: 20ch;
    }
    .why-name em { font-style: italic; font-weight: 300; color: var(--accent); }
    .why-desc {
      font-size: 13.5px;
      color: var(--ink-soft);
      line-height: 1.6;
      margin: 0;
    }
    .why-tags {
      list-style: none;
      margin: 4px 0 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
    }
    .why-tags li {
      font-family: var(--mono);
      font-size: 9.5px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent-2);
      background: color-mix(in oklab, var(--accent-2) 10%, var(--paper-deep));
      border-radius: 999px;
      padding: 6px 11px;
      white-space: nowrap;
    }

    /* ----- life on the property ----- */
    .life {
      padding: clamp(80px, 12vw, 160px) 0 clamp(40px, 6vw, 90px);
    }
    .life-blocks {
      margin-top: clamp(40px, 6vw, 80px);
      display: flex;
      flex-direction: column;
    }
    .life-block {
      display: grid;
      grid-template-columns: 1.25fr 1fr;
      align-items: stretch;
      border-top: 1px solid var(--line);
    }
    .life-block:last-child { border-bottom: 1px solid var(--line); }
    .life-block.alt { grid-template-columns: 1fr 1.25fr; }
    .life-block.alt .life-img { order: 2; }
    .life-block.alt .life-text { order: 1; }
    .life-img {
      position: relative;
      min-height: 56vh;
      background-size: cover;
      background-position: center;
      background-color: var(--paper-deep);
    }
    .life-tag {
      position: absolute;
      left: 18px; bottom: 18px;
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--paper);
      background: rgba(0,0,0,0.32);
      backdrop-filter: blur(8px);
      padding: 7px 12px;
      border-radius: 999px;
    }
    .life-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 20px;
      padding: clamp(40px, 6vw, 88px) clamp(28px, 5vw, 80px);
    }
    .life-text h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(30px, 3.4vw, 46px);
      line-height: 1.05;
      letter-spacing: -0.01em;
      margin: 0;
      max-width: 16ch;
    }
    .life-text p {
      font-size: 15px;
      line-height: 1.7;
      color: var(--ink-soft);
      max-width: 44ch;
      margin: 0;
    }

    /* ----- community & surroundings ----- */
    .community {
      padding: clamp(80px, 12vw, 160px) 0;
      background: var(--paper-deep);
    }
    .comm-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(40px, 6vw, 96px);
      align-items: center;
    }
    .comm-img {
      position: relative;
      aspect-ratio: 5/4;
      overflow: hidden;
      background-size: cover;
      background-position: center;
      background-color: var(--paper);
    }
    .comm-text h2 {
      font-family: var(--serif);
      font-weight: 300;
      font-size: clamp(36px, 4.6vw, 64px);
      line-height: 1;
      letter-spacing: -0.015em;
      margin: 18px 0 24px;
    }
    .comm-text h2 em { font-style: italic; }
    .comm-text p {
      font-size: 15px;
      line-height: 1.7;
      max-width: 46ch;
      margin: 0 0 20px 0;
      color: var(--ink-soft);
    }
    .comm-lists {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(40px, 6vw, 96px);
      margin-top: clamp(56px, 7vw, 96px);
      padding-top: clamp(36px, 4vw, 56px);
      border-top: 1px solid var(--line);
    }
    .comm-list h4 {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
      margin: 0 0 20px 0;
      font-weight: 400;
    }
    .comm-list ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .comm-list li {
      font-family: var(--serif);
      font-size: 22px;
      font-weight: 400;
      color: var(--ink);
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 8px 18px;
    }
    .comm-list li:hover { border-color: var(--accent); color: var(--accent); }

    /* ----- gallery ----- */
    .gal {
      padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 9vw, 120px);
    }
    .gal-strip {
      display: flex;
      gap: 14px;
      overflow-x: auto;
      padding: 0 var(--gutter);
      margin: 0;
      list-style: none;
      scrollbar-width: none;
      scroll-snap-type: x mandatory;
    }
    .gal-strip::-webkit-scrollbar { display: none; }
    .gal-strip li {
      flex-shrink: 0;
      scroll-snap-align: start;
    }
    .gal-img {
      height: 62vh;
      max-height: 640px;
      min-height: 380px;
      background-size: cover;
      background-position: center;
      background-color: var(--paper-deep);
    }
    .gal-strip li.w1 .gal-img { width: 28vw; min-width: 280px; }
    .gal-strip li.w2 .gal-img { width: 38vw; min-width: 360px; }
    .gal-strip li.w3 .gal-img { width: 22vw; min-width: 230px; }
    .gal-cap {
      margin-top: 12px;
      font-family: var(--mono);
      font-size: 10.5px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
      display: flex; gap: 14px;
    }
    .gal-cap span:last-child { color: var(--ink-soft); }

    /* ----- work ----- */
    .work {
      position: relative;
      padding: clamp(80px, 12vw, 160px) 0;
      background: var(--ink);
      color: var(--paper);
      overflow: hidden;
    }
    .work-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(40px, 6vw, 100px);
      align-items: center;
    }
    .work-img {
      position: relative;
      aspect-ratio: 4/5;
      background-size: cover;
      background-position: center;
      overflow: hidden;
    }
    /* Cross-fade slideshow when the editor picks more than one photo. */
    .work-img-frame {
      position: absolute; inset: 0;
      background-size: cover; background-position: center;
      opacity: 0;
      transition: opacity 1800ms ease-in-out;
      will-change: opacity;
    }
    .work-img-frame.is-active { opacity: 1; }
    @media (prefers-reduced-motion: reduce) {
      .work-img-frame { transition: none; }
    }
    .work-text { padding: 20px 0; }
    .work-text h2 {
      font-family: var(--serif);
      font-weight: 300;
      font-size: clamp(40px, 5vw, 76px);
      line-height: 1;
      letter-spacing: -0.015em;
      margin: 18px 0 32px 0;
    }
    .work-text h2 em { font-style: italic; }
    .work-text p {
      font-size: 15px;
      line-height: 1.7;
      max-width: 42ch;
      margin: 0 0 36px 0;
      opacity: 0.8;
      font-weight: 300;
    }
    .price-block {
      display: flex;
      gap: 40px;
      margin: 40px 0;
      padding: 28px 0;
      border-top: 1px solid rgba(255,255,255,0.18);
      border-bottom: 1px solid rgba(255,255,255,0.18);
    }
    .price-block div { display: flex; flex-direction: column; gap: 6px; }
    .price-block .label {
      font-family: var(--mono);
      font-size: 10.5px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      opacity: 0.6;
    }
    .price-block .val {
      font-family: var(--serif);
      font-size: 28px;
      font-weight: 400;
    }
    .price-block .val em { font-style: italic; font-weight: 300; }

    /* ----- testimonial ----- */
    /* ----- guest reviews ----- */
    .reviews {
      padding: clamp(80px, 12vw, 150px) 0;
    }
    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(28px, 3vw, 52px);
      margin-top: clamp(40px, 5vw, 64px);
      align-items: start;
    }
    .review {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin: 0;
      padding-top: 26px;
      border-top: 1px solid var(--line);
    }
    .review-stars {
      color: var(--accent);
      font-size: 14px;
      letter-spacing: 3px;
      line-height: 1;
    }
    .review-quote {
      font-family: var(--serif);
      font-weight: 400;
      font-style: italic;
      font-size: clamp(19px, 1.5vw, 23px);
      line-height: 1.42;
      letter-spacing: -0.005em;
      margin: 0;
      color: var(--ink);
    }
    .review-attr {
      display: flex;
      flex-direction: column;
      gap: 5px;
      margin-top: 4px;
    }
    .review-name {
      font-family: var(--serif);
      font-size: 18px;
      color: var(--ink);
    }
    .review-meta {
      font-family: var(--mono);
      font-size: 10.5px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
    }

    /* ----- location ----- */
    .location {
      padding: clamp(80px, 12vw, 160px) 0;
      background: var(--paper-deep);
    }
    .loc-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: clamp(40px, 6vw, 96px);
      align-items: center;
    }
    .loc-map {
      position: relative;
      aspect-ratio: 1000/760;
      background: var(--paper);
      border: 1px solid var(--line);
      overflow: hidden;
    }
    .loc-map .lake {
      position: absolute;
      width: 78%; height: 60%;
      left: 12%; top: 22%;
      background: var(--accent-2);
      opacity: 0.4;
      border-radius: 48% 52% 42% 58% / 60% 45% 55% 40%;
    }
    .loc-map .pin {
      position: absolute;
      width: 14px; height: 14px;
      border-radius: 999px;
      background: var(--accent);
      transform: translate(-50%, -50%);
      box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 22%, transparent);
    }
    .loc-map .pin.us {
      width: 18px; height: 18px;
      animation: pulse 2.4s ease-in-out infinite;
    }
    @keyframes pulse {
      0%, 100% { box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 22%, transparent); }
      50%      { box-shadow: 0 0 0 14px color-mix(in oklab, var(--accent) 10%, transparent); }
    }
    .loc-map .label {
      position: absolute;
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--ink-soft);
      transform: translate(-50%, -50%);
    }
    .loc-map .label.us {
      color: var(--accent);
      font-weight: 500;
    }
    .loc-map .topo {
      position: absolute; inset: 0;
      background-image:
        radial-gradient(circle, var(--line) 1px, transparent 1px);
      background-size: 18px 18px;
      opacity: 0.45;
    }
    .loc-text h2 {
      font-family: var(--serif);
      font-weight: 300;
      font-size: clamp(36px, 4.6vw, 64px);
      line-height: 1;
      letter-spacing: -0.015em;
      margin: 18px 0 24px;
    }
    .loc-text h2 em { font-style: italic; }
    .loc-text p {
      font-size: 15px;
      line-height: 1.7;
      max-width: 42ch;
      margin: 0 0 24px 0;
      color: var(--ink-soft);
    }
    .loc-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 36px;
      padding-top: 32px;
      border-top: 1px solid var(--line);
    }
    .loc-stat .v {
      font-family: var(--serif);
      font-size: 36px;
      font-weight: 400;
      line-height: 1;
    }
    .loc-stat .v em { font-style: italic; font-weight: 300; }
    .loc-stat .l {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
      margin-top: 8px;
    }
    .loc-cta { margin-top: 36px; }

    /* ----- footer ----- */
    footer {
      padding: clamp(80px, 10vw, 140px) 0 40px;
      background: var(--paper);
      border-top: 1px solid var(--line);
    }
    .foot-top {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr 1fr;
      gap: 48px;
      padding-bottom: 80px;
      border-bottom: 1px solid var(--line);
    }
    .foot-brand {
      display: flex; flex-direction: column; gap: 18px;
    }
    .foot-brand .mark {
      font-family: var(--serif);
      font-weight: 300;
      font-size: 56px;
      line-height: 0.92;
      letter-spacing: -0.015em;
      max-width: 12ch;
    }
    .foot-brand .mark em { font-style: italic; }
    .foot-brand p {
      max-width: 36ch;
      font-size: 14px;
      line-height: 1.6;
      color: var(--ink-soft);
      margin: 0;
    }
    .foot-col h4 {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
      margin: 0 0 18px 0;
      font-weight: 400;
    }
    .foot-col ul {
      list-style: none; padding: 0; margin: 0;
      display: flex; flex-direction: column; gap: 10px;
    }
    .foot-col a { font-size: 14px; color: var(--ink); }
    .foot-col a:hover { color: var(--accent); }
    .foot-bot {
      padding-top: 36px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: var(--mono);
      font-size: 10.5px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
      gap: 24px;
      flex-wrap: wrap;
    }
    .foot-bot .links { display: flex; gap: 22px; }

    /* tiny decorations */
    .marquee {
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      padding: 22px 0;
      overflow: hidden;
      white-space: nowrap;
      font-family: var(--serif);
      font-style: italic;
      font-weight: 300;
      font-size: clamp(28px, 4vw, 48px);
      color: var(--ink-soft);
    }
    .marquee-track {
      display: inline-flex;
      gap: 48px;
      animation: marq 38s linear infinite;
    }
    .marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
    .marquee-track span::after {
      content: "✦";
      font-size: 18px;
      color: var(--accent);
      font-style: normal;
    }
    @keyframes marq {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    /* responsive */
    @media (max-width: 1200px) {
      .why-grid { grid-template-columns: repeat(2, 1fr); }
      .reviews-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 1000px) {
      .nav { grid-template-columns: 1fr auto; }
      .nav-links { display: none; }
      /* Single-column hero: drop the eyebrow row, keep the title clear of
         the fixed nav with generous top padding (the hero only sets
         min-height, so on short viewports it grows instead of overlapping),
         and tighten the space under the CTA. These overrides live here, after
         the base .hero-* rules, so they actually win the cascade. */
      .hero-top { display: none; }
      .hero-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 170px; padding-bottom: 28px; }
      .hero-title { font-size: clamp(38px, 11.5vw, 52px); }
      .manifesto-inner, .loc-grid, .work-grid { grid-template-columns: 1fr; gap: 32px; }
      .coll-grid { grid-template-columns: 1fr; gap: 48px; }
      .coll-card.tall .ph { margin-top: 0; }
      .why-grid { grid-template-columns: 1fr; }
      .reviews-grid { grid-template-columns: 1fr; }
      .life-block, .life-block.alt { grid-template-columns: 1fr; }
      .life-block.alt .life-img { order: 0; }
      .life-block.alt .life-text { order: 0; }
      .life-img { min-height: 52vh; }
      .comm-grid, .comm-lists { grid-template-columns: 1fr; }
      .foot-top { grid-template-columns: 1fr 1fr; }
      .scroll-hint { display: none; }
    }

    /* fade-in on scroll — hidden state gated by body.js-ready so content stays
       visible if JS never runs */
    .reveal { transition: opacity 1400ms cubic-bezier(.16,.84,.28,1), transform 1400ms cubic-bezier(.16,.84,.28,1); }
    body.js-ready .reveal:not(.in) { opacity: 0; transform: translateY(28px); }
    .clip-reveal { opacity: 1; }

    /* hero title line clip-up */
    .hero-line {
      display: block;
      overflow: hidden;
      padding: 0.06em 0;
      white-space: nowrap;
    }
    .hero-line > span {
      display: inline-block;
      transform: translateY(102%);
      animation: hero-rise 1400ms cubic-bezier(.16,.84,.28,1) forwards;
    }
    .hero-line.l1 > span { animation-delay: 350ms; }
    .hero-line.l2 > span { animation-delay: 520ms; }
    .hero-line.l3 > span { animation-delay: 690ms; }
    @keyframes hero-rise {
      0%   { transform: translateY(102%); }
      100% { transform: translateY(0); }
    }

    /* hero meta fade-up after title */
    .hero-meta > * {
      opacity: 0;
      transform: translateY(14px);
      animation: hero-fade 1200ms cubic-bezier(.16,.84,.28,1) forwards;
    }
    .hero-meta > *:nth-child(1) { animation-delay: 1100ms; }
    .hero-meta > *:nth-child(2) { animation-delay: 1300ms; }
    @keyframes hero-fade {
      to { opacity: 1; transform: translateY(0); }
    }

    .hero-top, .scroll-hint {
      opacity: 0;
      animation: hero-fade 1400ms cubic-bezier(.16,.84,.28,1) 1500ms forwards;
    }

    /* word-stagger reveal on big section titles — gated */
    .word-stagger { display: inline; }
    .word-stagger .w {
      display: inline-block;
      overflow: hidden;
      padding: 0.04em 0.01em 0.18em;
      vertical-align: top;
    }
    .word-stagger .w > span {
      display: inline-block;
      transition: transform 1100ms cubic-bezier(.16,.84,.28,1);
    }
    body.js-ready .word-stagger:not(.in) .w > span { transform: translateY(102%); }

    /* section number underline draw — gated */
    .sec-no::before { transition: width 900ms cubic-bezier(.16,.84,.28,1) 200ms; }
    body.js-ready .sec-no:not(.in)::before { width: 0; }

    /* hover lift for cards & buttons (subtle) */
    .coll-card { transition: transform 700ms cubic-bezier(.16,.84,.28,1); }
    .coll-card:hover { transform: translateY(-6px); }

    /* number counter (uses CSS custom prop) */
    .counter {
      display: inline-block;
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
      }
      .hero-bg { transform: scale(1.01); animation: none; }
    }

    html { scroll-behavior: smooth; }

/* ============================================================
   BLOCK STYLE MODIFIERS — the shared "Style" controls every
   Pasajcap block gets in the editor sidebar (inc/block-styles.php).
   Colours are applied inline per block; these are the typography
   choices. Nothing here applies unless an editor opts in.
   ============================================================ */
    .pjc-head-serif :is(h1, h2, h3, h4) { font-family: var(--serif); font-style: normal; }
    .pjc-head-serif-italic :is(h1, h2, h3, h4) { font-family: var(--serif); font-style: italic; }
    .pjc-head-sans :is(h1, h2, h3, h4) { font-family: var(--sans); font-style: normal; font-weight: 500; }
    .pjc-text-large :is(p, li) { font-size: clamp(17px, 1.5vw, 21px); }
    .pjc-text-small :is(p, li) { font-size: clamp(14px, 1vw, 16px); }

    /* ----- anchor landing offsets -----
       Single source of truth for "how far below the fixed nav an anchored
       target stops". main.js uses scrollIntoView(), which honors these, and so
       does the browser's own fragment jump — so a landing is correct even when
       the JS re-settle is skipped. Calibrated to the *scrolled* nav (~71px,
       the state it is in by the time any scroll finishes) + breathing room.
       Deliberately matched on [id] rather than a list of anchors, so sections
       the editor anchors later are covered too. */
    section[id], .pjc-prose [id] { scroll-margin-top: 84px; }
    /* The Rentals page also has the 64px sticky .catbar below the nav. */
    .pjc-rentals section[id], .pjc-rentals .pjc-prose [id] { scroll-margin-top: 148px; }

/* ============================================================
   PAGE TRANSITIONS — native cross-document View Transitions.
   Opts every front-end page into a soft crossfade between full
   page loads (no JS). Browsers without support (e.g. Firefox)
   just navigate normally; wp-admin doesn't load this CSS so the
   editor is unaffected. Honors prefers-reduced-motion below.
   ============================================================ */
@view-transition { navigation: auto; }

/* Brand-paced crossfade (the UA default is a quick ~0.25s linear). */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 520ms;
  animation-timing-function: cubic-bezier(.16, .84, .28, 1);
}

/* Keep the fixed top nav visually anchored across the swap so it
   morphs in place instead of flashing out and back in with the page. */
.nav { view-transition-name: site-nav; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ============================================================
   HOUSE-COMMON: shared house-page styles (vhero, specs, amenities, gallery drag, lightbox)
   ============================================================ */
.nav-back {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 9px;
}
.nav-back::before { content: "←"; font-size: 13px; }
.btn.wa { border-color: var(--accent-2); color: var(--accent-2); }
.btn.wa:hover { background: var(--accent-2); color: var(--paper); }
/* ----- shared hero (video) ----- */
.vhero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  width: 100%;
  overflow: hidden;
  color: var(--paper);
  display: flex;
  align-items: flex-end;
  background: #14110c;
}
.vhero-media {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.vhero-poster {
  position: absolute; inset: 0;
  background-color: #14110c; /* placeholder while the hero image loads */
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
/* YouTube iframe scaled to cover the hero (16:9). The API replaces the
   #hero-yt div with an <iframe id="hero-yt">, so we target both. */
.vhero-yt,
#hero-yt {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;            /* 16:9 based on width */
  min-height: 100svh;
  min-width: 177.78svh;       /* 16:9 based on height */
  border: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1200ms ease;
}
#hero-yt.is-ready { opacity: 1; }
.vhero-scrim {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,12,8,0.5) 0%, rgba(15,12,8,0.05) 26%, rgba(15,12,8,0.05) 52%, rgba(15,12,8,0.78) 100%);
}
.vhero-top {
  position: absolute; top: 104px; left: 0; right: 0; z-index: 3;
  padding: 0 var(--gutter);
  max-width: var(--container); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; opacity: 0.9;
}
.vhero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(40px, 6vw, 76px);
}
.vhero-cat {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; opacity: 0.92; margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.vhero-cat::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.vhero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, 8.5vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4), 0 0 22px rgba(0,0,0,0.3);
}
.vhero-title em { font-style: italic; }
.vhero-tag {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 30px);
  margin: 18px 0 0;
  max-width: 30ch;
  opacity: 0.95;
}
/* sound toggle */
.vhero-sound {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(40px, 6vw, 76px);
  z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(8px);
  color: var(--paper);
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: background 200ms, border-color 200ms;
}
.vhero-sound:hover { background: rgba(0,0,0,0.4); border-color: #fff; }
.vhero-sound .ico {
  width: 14px; height: 14px; display: inline-block; position: relative;
}

/* ----- spec strip ----- */
.specs {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.specs-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.spec {
  padding: clamp(22px, 3vw, 38px) clamp(14px, 2vw, 28px);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.spec:first-child { border-left: none; }
.spec .v {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1;
}
.spec .v em { font-style: italic; font-weight: 300; color: var(--accent); }
.spec .l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----- amenities ----- */
.amen-grid {
  columns: 3;
  column-gap: clamp(28px, 4vw, 64px);
}
.amen-grid li {
  break-inside: avoid;
  list-style: none;
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 9px 0 9px 22px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.amen-grid li::before {
  content: "";
  position: absolute; left: 0; top: 17px;
  width: 7px; height: 7px;
  border: 1px solid var(--accent);
  border-radius: 999px;
}
.amen-grid { padding: 0; margin: 0; }

/* ----- gallery drag cursor ----- */
.gal-strip { cursor: grab; }
.gal-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gal-strip.is-dragging * { pointer-events: none; }
.gal-card { cursor: zoom-in; }
/* ----- lightbox modal ----- */
.lb {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11,9,6,0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 320ms ease, visibility 0s linear 320ms;
}
.lb.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 320ms ease; }
.lb-stage {
  position: relative;
  width: min(92vw, 1500px);
  height: 88svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
}
.lb-media {
  position: relative;
  width: 100%; flex: 1 1 auto; min-height: 0;
  display: flex; align-items: center; justify-content: center;
}
.lb-media img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
  opacity: 0; transform: scale(0.98);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(.16,.84,.28,1);
}
.lb-media img.in { opacity: 1; transform: scale(1); }
.lb-media .lb-video {
  position: relative;
  width: 100%;
  max-width: calc((88svh - 90px) * 1.7778);
  aspect-ratio: 16 / 9;
  max-height: 100%;
  background: #000;
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
}
.lb-media .lb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.lb-cap {
  flex: 0 0 auto;
  display: flex; align-items: baseline; gap: 18px;
  color: var(--paper);
  max-width: 70ch; text-align: center;
  justify-content: center; flex-wrap: wrap;
}
.lb-count {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: color-mix(in oklab, var(--paper) 55%, transparent);
}
.lb-text {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(16px, 1.9vw, 22px); line-height: 1.4;
  color: color-mix(in oklab, var(--paper) 92%, transparent);
}
.lb-close {
  position: absolute; top: 22px; right: 24px; z-index: 3;
  width: 50px; height: 50px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(0,0,0,0.25); color: var(--paper);
  font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background 200ms, border-color 200ms, transform 200ms;
}
.lb-close:hover { background: rgba(255,255,255,0.14); border-color: #fff; transform: rotate(90deg); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 58px; height: 58px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(0,0,0,0.25); color: var(--paper);
  font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background 200ms, border-color 200ms;
}
.lb-nav:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.lb-prev { left: clamp(10px, 3vw, 38px); }
.lb-next { right: clamp(10px, 3vw, 38px); }
.lb-nav[disabled] { opacity: 0.25; pointer-events: none; }
body.lb-locked { overflow: hidden; }

@media (max-width: 640px) {
  .lb-nav { width: 46px; height: 46px; font-size: 22px; }
  .lb-close { top: 14px; right: 14px; width: 44px; height: 44px; }
  .lb-stage { width: 94vw; height: 84svh; }
}

/* ============================================================
   RENTALS LIST PAGE (rhero, catbar, rsec, rgrid, rcard)
   ============================================================ */
    /* ---------- All Rentals page ---------- */
    .rhero {
      /* min-height (not a fixed height): the content is bottom-aligned, so a
         long title or intro used to overflow the top edge and get clipped by
         overflow:hidden — now the hero simply grows with its content. */
      position: relative; min-height: max(78svh, 540px);
      display: flex; align-items: flex-end; overflow: hidden;
      color: var(--paper); background: #14110c;
    }
    .rhero-img {
      position: absolute; inset: 0; background-size: cover; background-position: center;
      background-color: #14110c; /* placeholder while the hero image loads */
      transform: scale(1.03);
    }
    /* The Modern Image Formats plugin wraps images in <picture> to serve AVIF
       with a JPEG fallback. display:contents removes the wrapper from the box
       tree so existing image sizing/positioning (incl. .pjc-cover-img) is
       unaffected. */
    picture { display: contents; }

    /* Shared cover-image element for hero containers that hold a real <img>
       (responsive + preloadable) instead of a CSS background. The container
       keeps its own transform/scale; the image just fills it. */
    .pjc-cover-img {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover; object-position: center;
    }
    .rhero-scrim {
      position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(15,12,8,0.5) 0%, rgba(15,12,8,0.18) 38%, rgba(15,12,8,0.32) 66%, rgba(15,12,8,0.86) 100%);
    }
    .rhero-top {
      position: absolute; top: 104px; left: 0; right: 0;
      padding: 0 var(--gutter); max-width: var(--container); margin: 0 auto;
      display: flex; justify-content: space-between;
      font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.9;
    }
    /* Top padding keeps grown content clear of the fixed navbar. */
    .rhero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin: 0 auto; padding: clamp(110px, 16svh, 150px) var(--gutter) clamp(40px, 6vw, 76px); }
    .rhero-eyebrow {
      font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
      opacity: 0.92; margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
      text-shadow: 0 1px 8px rgba(0,0,0,0.55);
    }
    .rhero-eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
    .rhero h1 {
      font-family: var(--serif); font-weight: 300;
      font-size: clamp(54px, 9vw, 138px); line-height: 0.9; letter-spacing: -0.02em; margin: 0;
      text-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 0 40px rgba(0,0,0,0.4);
    }
    .rhero h1 em { font-style: italic; }
    .rhero p {
      font-family: var(--serif); font-style: italic; font-weight: 300;
      font-size: clamp(19px, 2.3vw, 29px); margin: 18px 0 0; max-width: 74ch; opacity: 0.95;
      text-shadow: 0 1px 8px rgba(0,0,0,0.6), 0 0 24px rgba(0,0,0,0.35);
    }

    /* category quick-nav */
    .catbar {
      position: sticky; top: 0; z-index: 40;
      background: color-mix(in oklab, var(--paper) 92%, transparent);
      backdrop-filter: saturate(160%) blur(12px);
      -webkit-backdrop-filter: saturate(160%) blur(12px);
      border-bottom: 1px solid var(--line-soft);
    }
    .catbar-inner {
      max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
      display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px;
    }
    .catbar-links { display: flex; gap: 28px; }
    .catbar-links a {
      font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--ink-soft); display: flex; align-items: center; gap: 8px; padding: 6px 0; position: relative;
    }
    .catbar-links a .n { color: var(--accent); }
    .catbar-links a:hover { color: var(--ink); }
    .catbar-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
    @media (max-width: 720px){ .catbar-note { display: none; } .catbar-inner { justify-content: center; } }

    /* sections */
    /* scroll-margin-top for these lives with the other anchor offsets (see ~line 1241). */
    .rsec { padding: clamp(70px, 9vw, 130px) 0 clamp(30px, 4vw, 56px); }
    .rsec:first-of-type { padding-top: clamp(56px, 7vw, 96px); }
    .rsec-head {
      display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px);
      align-items: end; margin-bottom: clamp(40px, 5vw, 64px);
    }
    .rsec-no {
      font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
      display: flex; align-items: center; gap: 12px;
    }
    .rsec-no::before { content: ""; width: 28px; height: 1px; background: var(--muted); }
    .rsec-head h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4.6vw, 66px); line-height: 1; letter-spacing: -0.015em; margin: 14px 0 0; }
    .rsec-head h2 em { font-style: italic; color: var(--accent); }
    .rsec-head p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0; max-width: 48ch; }

    /* card grid */
    .rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px) clamp(18px, 2vw, 30px); }
    .rcard { display: flex; flex-direction: column; }
    .rcard-img { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--paper-deep); }
    .rcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.2,.6,.2,1); }
    .rcard:hover .rcard-img img { transform: scale(1.055); }
    .rcard-idx {
      display: none;
      position: absolute; top: 14px; left: 14px; z-index: 2;
      font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--paper); background: rgba(0,0,0,0.32); backdrop-filter: blur(8px);
      padding: 6px 10px; border-radius: 999px;
    }
    .rcard-play {
      display: none;
      position: absolute; top: 14px; right: 14px; z-index: 2;
      font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--paper); background: rgba(0,0,0,0.34); backdrop-filter: blur(8px);
      padding: 6px 10px 6px 9px; border-radius: 999px; align-items: center; gap: 6px;
    }
    .rcard-play::before {
      content: ""; width: 0; height: 0; margin-right: 1px;
      border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 7px solid #fff;
    }
    .rcard-view {
      position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
      display: flex; align-items: center; justify-content: space-between;
      padding: 16px 16px 14px; color: var(--paper);
      background: linear-gradient(180deg, transparent, rgba(15,12,8,0.66));
      font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
      opacity: 0; transform: translateY(8px); transition: opacity 320ms, transform 320ms;
    }
    .rcard:hover .rcard-view { opacity: 1; transform: translateY(0); }
    .rcard-view .arr { width: 20px; height: 1px; background: currentColor; position: relative; }
    .rcard-view .arr::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
    .rcard-body { padding: 18px 2px 4px; display: flex; flex-direction: column; gap: 9px; }
    .rcard-name { font-family: var(--serif); font-weight: 400; font-size: clamp(23px, 2vw, 29px); line-height: 1; letter-spacing: -0.01em; }
    .rcard-name .pre { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 7px; }
    .rcard-tag { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.35; color: var(--ink-soft); margin: 0; max-width: 34ch; }
    .rcard-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
    .rcard-meta span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
    .rcard-meta span + span::before { content: ""; width: 3px; height: 3px; border-radius: 999px; background: var(--line); margin-right: 6px; }

    @media (max-width: 1000px) {
      .rgrid { grid-template-columns: repeat(2, 1fr); }
      .rsec-head { grid-template-columns: 1fr; gap: 16px; }
    }
    @media (max-width: 600px) {
      .rgrid { grid-template-columns: 1fr; }
      .rcard-img { aspect-ratio: 4 / 3.4; }
    }

/* ============================================================
   HOUSE SINGLE PAGE (lead, story, amen-head, gal-head, gal-vid, contact)
   ============================================================ */
    /* ---- Direction A: Cinematic Editorial ---- */
    .lead { padding: clamp(80px, 11vw, 150px) 0 clamp(56px, 7vw, 90px); }
    .lead-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
    .lead .eyebrow { justify-content: center; margin-bottom: 30px; }
    .lead h2 {
      font-family: var(--serif); font-weight: 300;
      font-size: clamp(32px, 4.2vw, 58px); line-height: 1.1;
      letter-spacing: -0.01em; margin: 0 auto; max-width: 20ch;
    }
    .lead h2 em { font-style: italic; color: var(--accent); }
    .lead p {
      margin: 34px auto 0; max-width: 60ch; font-size: 16.5px;
      line-height: 1.8; color: var(--ink-soft); text-wrap: pretty;
    }

    .story { padding: 0 0 clamp(40px, 6vw, 80px); }
    .story-block {
      display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch;
      border-top: 1px solid var(--line);
    }
    .story-block:last-child { border-bottom: 1px solid var(--line); }
    .story-block.alt { grid-template-columns: 1fr 1.15fr; }
    .story-block.alt .story-img { order: 2; }
    .story-block.alt .story-text { order: 1; }
    .story-img {
      position: relative; min-height: 60vh;
      background-size: cover; background-position: center;
      background-color: var(--paper-deep);
    }
    .story-tag {
      position: absolute; left: 18px; bottom: 18px;
      font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
      text-transform: uppercase; color: var(--paper);
      background: rgba(0,0,0,0.34); backdrop-filter: blur(8px);
      padding: 7px 12px; border-radius: 999px;
    }
    .story-text {
      display: flex; flex-direction: column; justify-content: center; gap: 18px;
      padding: clamp(40px, 6vw, 92px) clamp(28px, 5vw, 84px);
    }
    .story-text .num {
      font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
      color: var(--accent); text-transform: uppercase;
    }
    .story-text h3 {
      font-family: var(--serif); font-weight: 400;
      font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05;
      letter-spacing: -0.01em; margin: 0; max-width: 16ch;
    }
    .story-text p { font-size: 15px; line-height: 1.75; color: var(--ink-soft); max-width: 46ch; margin: 0; }

    /* amenities */
    .amen { padding: clamp(80px, 11vw, 140px) 0; background: var(--paper-deep); }
    .amen-head {
      display: grid; grid-template-columns: 1fr 2fr; gap: 48px;
      align-items: end; margin-bottom: 52px;
    }
    .amen-head .sec-no {
      font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
      text-transform: uppercase; color: var(--muted);
      display: flex; gap: 12px; align-items: center;
    }
    .amen-head .sec-no::before { content: ""; width: 28px; height: 1px; background: var(--muted); }
    .amen-head h2 {
      font-family: var(--serif); font-weight: 300;
      font-size: clamp(34px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.015em; margin: 0;
    }
    .amen-head h2 em { font-style: italic; }

    /* gallery strip */
    .gal { padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 8vw, 110px); }
    .gal-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
    .gal-head h2 {
      font-family: var(--serif); font-weight: 300;
      font-size: clamp(30px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.015em; margin: 0;
    }
    .gal-head h2 em { font-style: italic; }
    .gal-strip {
      display: flex; gap: 16px; overflow-x: auto; padding: 0 var(--gutter);
      margin: 0; list-style: none; scrollbar-width: none; scroll-snap-type: x mandatory;
    }
    .gal-strip::-webkit-scrollbar { display: none; }
    .gal-strip li { flex-shrink: 0; scroll-snap-align: start; width: 30vw; min-width: 320px; max-width: 480px; }
    .gal-card { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--paper-deep); }
    .gal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.2,.6,.2,1); }
    .gal-card:hover img { transform: scale(1.05); }
    .gal-cap {
      margin-top: 13px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft);
      font-family: var(--serif); font-style: italic; font-size: 17px; max-width: 38ch;
      /* keeps the caption off the viewport edge when its card is scrolled flush left */
      padding-left: 14px;
    }
    .gal-vid { cursor: pointer; }
    .gal-vid .play {
      position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
      background: rgba(15,12,8,0.28); transition: background 200ms;
    }
    .gal-vid:hover .play { background: rgba(15,12,8,0.12); }
    .gal-vid .play span {
      width: 70px; height: 70px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.85);
      background: rgba(0,0,0,0.25); backdrop-filter: blur(6px);
      display: flex; align-items: center; justify-content: center;
    }
    .gal-vid .play span::after {
      content: ""; width: 0; height: 0; margin-left: 4px;
      border-top: 9px solid transparent; border-bottom: 9px solid transparent;
      border-left: 15px solid #fff;
    }
    .gal-vid .badge {
      position: absolute; top: 14px; left: 14px; z-index: 2;
      font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--paper); background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
      padding: 6px 11px; border-radius: 999px;
    }
    .gal-vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

    /* contact CTA */
    .contact { padding: clamp(90px, 12vw, 160px) 0; text-align: center; background: var(--ink); color: var(--paper); }
    .contact .eyebrow { color: color-mix(in oklab, var(--paper) 65%, transparent); justify-content: center; display: flex; margin-bottom: 26px; }
    .contact h2 {
      font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 92px);
      line-height: 0.98; letter-spacing: -0.02em; margin: 0 auto; max-width: 16ch;
    }
    .contact h2 em { font-style: italic; }
    .contact p { max-width: 48ch; margin: 28px auto 40px; font-size: 16px; line-height: 1.7; opacity: 0.82; font-weight: 300; }
    .contact .row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
    .contact .btn { color: var(--paper); }
    .contact .btn.solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
    .contact .btn.solid:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
    .contact .btn.wa { border-color: color-mix(in oklab, var(--accent-2) 70%, var(--paper)); color: color-mix(in oklab, var(--accent-2) 60%, var(--paper)); }
    .contact .btn.wa:hover { background: var(--accent-2); color: var(--paper); border-color: var(--accent-2); }

    @media (max-width: 1000px) {
      .story-block, .story-block.alt { grid-template-columns: 1fr; }
      .story-block.alt .story-img, .story-block.alt .story-text { order: 0; }
      .story-img { min-height: 52vh; }
      .amen-head { grid-template-columns: 1fr; gap: 24px; }
    }


/* ============================================================
   STORY BLOCK — crossfade between multiple images
   ============================================================ */
.story-img .story-img-frame {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: 0;
	transition: opacity 1800ms ease-in-out;
	will-change: opacity;
}
.story-img .story-img-frame.is-active { opacity: 1; }
.story-img .story-tag { z-index: 2; }
@media (prefers-reduced-motion: reduce) {
	.story-img .story-img-frame { transition: none; }
}
