/* =========================================================
   Google Fonts: Baskervville (editorial text serif)
   Used for thesis ledes, bridge ledes, closing statement,
   and research descriptions — readable editorial prose.
   Freight Display Pro remains for display headlines.
   Inter remains for UI/body text.
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400;1,400&display=swap');

/* =========================================================
   Interlink Typography Utilities (Adobe Fonts: Freight Display Pro)
   Family: "freight-display-pro"
   This sheet gives you:
   - Base font class
   - Size utilities
   - Weight + italic utilities (mapped to Adobe weights)
   - Color utilities
   - Alignment utilities
========================================================= */

/* ------------------------------
   Base Typography
------------------------------ */

.nhm {
  font-family: "freight-display-pro", serif !important;
  line-height: 1.25 !important;
  letter-spacing: 0.01em !important;
}

/* Optional: a slightly tighter version for large headlines */
.nhm-tight {
  line-height: 1.08 !important;
  letter-spacing: 0.005em !important;
}

/* ------------------------------
   Font Sizes
   (Adjust as needed; these are utilities only)
------------------------------ */

.nhm-xs { font-size: 14px !important; }
.nhm-sm { font-size: 18px !important; }
.nhm-md { font-size: 42px !important; }
.nhm-lg { font-size: 50px !important; }

/* ------------------------------
   Font Weights + Styles
   (Adobe Project provides 300/400/500/600/700 + italics for 500/600/700)
------------------------------ */

.nhm-light    { font-weight: 300 !important; }
.nhm-book     { font-weight: 400 !important; }
.nhm-medium   { font-weight: 500 !important; }
.nhm-semibold { font-weight: 600 !important; }
.nhm-bold     { font-weight: 700 !important; }

.nhm-italic   { font-style: italic !important; }
.nhm-roman    { font-style: normal !important; }

/* Convenience combos */
.nhm-medium-italic   { font-weight: 500 !important; font-style: italic !important; }
.nhm-semibold-italic { font-weight: 600 !important; font-style: italic !important; }
.nhm-bold-italic     { font-weight: 700 !important; font-style: italic !important; }

/* ------------------------------
   Font Colors
------------------------------ */

.nhm-black  { color: #000000 !important; }
.nhm-white  { color: #ffffff !important; }

/* Fixed bug: single # */
.nhm-grey   { color: #6B6B6B !important; }

/* Keep your accent, but make it important */
.nhm-accent { color: #61CE70 !important; }

/* ------------------------------
   Text Alignment
------------------------------ */

.nhm-left   { text-align: left !important; }
.nhm-center { text-align: center !important; }
.nhm-right  { text-align: right !important; }

/* ------------------------------
   Optional: smoother rendering on macOS
------------------------------ */

.nhm,
.nhm * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*Responsive Scaling*/
@media (max-width:1024px){
  .nhm-lg { font-size:clamp(62px,8vw,92px); }
  .nhm-md { font-size:clamp(22px,3.5vw,28px); }
}
@media (max-width:767px){
  .nhm-lg { font-size:clamp(62px,10vw,56px); line-height:1.1; }
  .nhm-md { font-size:clamp(20px,4vw,24px); line-height:1.3; }
}
/* Project Info layout */
.project-info .info-row{
  display:grid;
  grid-template-columns:minmax(140px,260px) 1fr;
  column-gap:24px;
  align-items:start;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.project-info{
  max-width:1200px;
  margin:2em auto;
  font-size:11px;
  line-height:1.5;
  border-top:1px solid rgba(255,255,255,0.08);
}
.project-info .info-label{font-weight:500;color:#888;}
.project-info .info-value{color:#ddd;font-weight:500;font-size:14px;}
@media (max-width:640px){
  .project-info{font-size:13px;}
  .project-info .info-row{
    grid-template-columns:1fr;
    row-gap:6px;
    padding:14px 0;
  }
  .project-info .info-value{font-size:15px;}
}


/* ============================================================
   HERO BRIDAL IMAGE (01-hero.html)
   - Full-bleed, fixed behind content so it stays pinned
   - White wash overlay at 15% opacity
   - JS handles fixed positioning + spacer on .splat-hero
   - CSS handles the stacking: all sections after the first
     scroll above the hero via z-index.
   - IMPORTANT: In Squarespace, set the background color on
     each section AFTER the hero (via section settings, not
     just the site-level background). This makes them opaque
     so they visually cover the fixed hero image.
============================================================ */

.splat-hero{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;

  /* Image delivered via inline background-image (no right-click save) */
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}

/* White wash overlay — airy, romantic tone across entire image */
.splat-hero-wash{
  position:absolute;
  inset:0;
  background:rgba(255,255,255,0.15);
  pointer-events:none;
}

/* Gradient scrim — darkens lower portion for title legibility
   and fades smoothly into the dark content section below.
   Multi-stop gradient: transparent top → dark bottom. */
.splat-hero-scrim{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    transparent 25%,
    rgba(26,25,23,0.08) 42%,
    rgba(26,25,23,0.35) 62%,
    rgba(26,25,23,0.65) 78%,
    rgba(26,25,23,0.88) 90%,
    #1a1917 100%
  );
  pointer-events:none;
}

/* Title overlay — lower third of hero */
.splat-hero-title{
  position:absolute;
  left:0; right:0;
  bottom:0;
  z-index:2;
  padding:0 24px 40px;
  text-align:center;
  pointer-events:none;
}

.splat-hero-heading{
  font-family:"freight-display-pro", serif;
  font-weight:300;
  font-size:clamp(28px, 4.5vw, 54px);
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:#fff;
  margin:0;
  line-height:1.1;
}

.splat-hero-subtitle{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-size:clamp(11px, 1.2vw, 15px);
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.65);
  margin:10px 0 0;
}

@media (max-width: 767px){
  .splat-hero-title{
    padding:0 20px 28px;
  }
  .splat-hero-heading{
    font-size:clamp(24px, 7vw, 36px);
    letter-spacing:0.05em;
  }
  .splat-hero-subtitle{
    font-size:clamp(10px, 2.8vw, 13px);
    letter-spacing:0.14em;
    margin-top:6px;
  }
}

/* All page sections scroll above the fixed hero.
   The first section (hero's container) stays at z:0.
   Every subsequent section needs position:relative + z-index
   AND its own opaque background (set in Squarespace section settings). */
section.page-section{
  position:relative !important;
  z-index:1 !important;
}

/* The hero's own section sits behind everything.
   :has(.splat-hero) targets ONLY the section containing our hero —
   unlike :first-of-type which also matched footer sections. */
section.page-section:has(.splat-hero){
  z-index:0 !important;
  overflow:visible !important;
  padding:0 !important;
  margin:0 !important;
}
section.page-section:has(.splat-hero) .content-wrapper,
section.page-section:has(.splat-hero) .content{
  padding:0 !important;
  margin:0 !important;
}
section.page-section:has(.splat-hero) .fluid-engine{
  display:block !important;
  padding:0 !important;
  margin:0 !important;
  min-height:0 !important;
}
section.page-section:has(.splat-hero) .fe-block{
  height:auto !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;
}

/* Squarespace header and footer must stay above the fixed hero */
header,
#header,
.header,
[data-header-inner-wrapper],
.header-announcement-bar-wrapper{
  z-index:100 !important;
}

/* Hide Squarespace's native site footer — we use a custom footer
   section (05-footer.html + Form Block + 06-copyright.html) instead.
   Set to display:none; if the native footer is fully emptied in
   the Squarespace editor, this rule is a safety net. */
footer,
#footer-sections,
.footer-sections{
  display:none !important;
}

/* ── Mobile: hero scrolls normally (no parallax) ──
   On mobile, position:fixed causes two issues:
   1. Hero overlaps the footer at the bottom of the page.
   2. Elastic overscroll detaches the hero from the header.
   Setting the hero to relative flow on mobile fixes both. */
@media (max-width: 767px){
  section.page-section:has(.splat-hero){
    position:relative !important;
    z-index:1 !important;
    overflow:hidden !important;
  }
}

/* Tighter vertical rhythm: reduce gap between hero and content section.
   The gradient scrim creates a visual bridge, so we pull the next
   section closer for a cohesive hero → viewer flow. */
section.page-section:has(.splat-hero) + section.page-section{
  padding-top:20px !important;
}

/* Soft bleed gradient on the content section that scrolls over the
   fixed hero.  This lives on the scrolling element, so the fade
   tracks perfectly with scroll position — no harsh line mid-scroll. */
section.page-section:has(.splat-hero) + section.page-section::before{
  content:'';
  position:absolute;
  top:-60px;
  left:0;
  right:0;
  height:60px;
  background:linear-gradient(to bottom, transparent, #1a1917);
  pointer-events:none;
  z-index:1;
}

@media (max-width: 767px){
  section.page-section:has(.splat-hero) + section.page-section{
    padding-top:8px !important;
  }
  /* On mobile the hero scrolls normally — no fixed overlap to blend,
     so we can skip the pseudo-element or reduce it. */
  section.page-section:has(.splat-hero) + section.page-section::before{
    display:none;
  }
}


/* ============================================================
   FLUID ENGINE OVERRIDE — VIEWER SECTION
   Squarespace's fluid engine positions code blocks with fixed
   CSS Grid coordinates calculated in the editor's browser.
   Different engines (Blink/Chrome, WebKit/Safari) and OS-level
   font metrics (Windows vs macOS) produce different row heights,
   causing controls + switcher to drift or overlap the viewer.

   Fix: for the section containing our viewer, collapse the
   fluid engine grid into normal document flow. Blocks stack in
   DOM order with our own margins controlling spacing. Scoped
   via :has() so it ONLY affects the section with .splat-wrap.
============================================================ */
section.page-section:has(.splat-wrap) .fluid-engine{
  display:block !important;
  min-height:0 !important;

  /* Restore horizontal inset lost when we collapsed the grid.
     Squarespace 7.1 typically uses ~4vw site gutter; we match
     that so the viewer aligns with the rest of the site. */
  padding:0 4vw !important;
}

section.page-section:has(.splat-wrap){
  /* Override Squarespace's section padding so the help panel
     sits close to the footer section below.  Top padding is
     already handled by the hero + section rule above. */
  padding-bottom:16px !important;
}

section.page-section:has(.splat-wrap) .fe-block{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  transform:none !important;
  grid-area:auto !important;
  padding:0 !important;
  margin:0 !important;
}

/* Tighter join between viewer section and footer section.
   Squarespace inserts default section gaps; pull the footer
   section up so it sits snugly after the help panel. */
section.page-section:has(.splat-wrap) + section.page-section{
  padding-top:0 !important;
  margin-top:0 !important;
}


/* ============================================================
   CONTEXT NOTE (03-context.html)
   Quiet curator's note between hero and viewer. Orients both
   venue operators (what this is, where it lives) and first-time
   visitors (what to do). Styled to feel editorial, not like UI.
============================================================ */
/* Style 3 (Editorial) — dark-on-light equivalent: Baskervville medium */
.splat-context{
  max-width:960px;
  margin:0 auto 24px;
  padding:0 4vw;
  font-family:'Baskervville',serif;
  font-weight:400;
  font-style:normal;
  font-size:clamp(15px, 1.8vw, 20px);
  line-height:1.55;
  color:rgba(255,255,255,0.65);
  text-align:center;
}
@media (max-width:767px){
  .splat-context{
    margin:0 auto 18px;
    font-size:clamp(14px, 3.6vw, 18px);
    line-height:1.5;
  }
}


/* ============================================================
   SUPERSPLAT OVERLAY SYSTEM (02-viewer.html)
============================================================ */

/* Viewer sizing: aspect-ratio is width-relative, so it scales
   consistently across zoom levels (unlike vh which is viewport-relative).
   !important overrides the inline height:75vh on the wrapper. */
.splat-wrap{
  height:auto !important;
  aspect-ratio:16 / 9;
  min-height:420px;
  max-height:80vh;

  /* Framed viewer: top corners rounded, bottom flush with
     editorial panel below. overflow:hidden clips the iframe. */
  border-radius:12px 12px 0 0;
  overflow:hidden;
  box-shadow:
    0 2px 20px rgba(0,0,0,0.50),
    0 0 0 1px rgba(255,255,255,0.06);
}

/* Desktop catcher: captures first click to start sequence */
.splat-wrap .splat-catcher{
  position:absolute;
  inset:0;
  z-index:1;
  background:transparent;
  border:0;
  padding:0;
  margin:0;
  cursor:pointer;
}

/* Disable catcher on mobile so drag works immediately */
@media (pointer: coarse), (max-width: 767px){
  .splat-wrap .splat-catcher{
    display:none;
    pointer-events:none;
  }
}

/* Hint panel: softened translucent white pill.
   Style 3 (Baskervville Editorial) — unified with 4-style system. */
.splat-wrap .splat-hint{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  z-index:2;

  max-width:min(92%, 760px);
  padding:10px 24px;
  border-radius:20px;
  background:rgba(255,255,255,0.60);
  color:rgba(0,0,0,0.70);

  border:1px solid rgba(255,255,255,0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);

  font-family:'Baskervville',serif;
  font-weight:400;
  font-style:normal;
  letter-spacing:0.005em;
  line-height:1.35;

  font-size:clamp(15px, 1.4vw, 20px);
  text-align:center !important;

  pointer-events:none;
  user-select:none;

  opacity:1;
  transition:opacity 2s ease, transform 2s ease;
  will-change:opacity, transform;
}

@media (max-width: 767px){
  .splat-wrap{ aspect-ratio:1 / 1 !important; min-height:0 !important; max-height:none; border-radius:10px 10px 0 0; }
  .splat-wrap .splat-hint{
    font-size:clamp(15px, 3.8vw, 19px);
  }
}

/* Single text layer — no crossfade needed with one message */
.splat-wrap .splat-hint-sizer{
  display:none;
}

.splat-wrap .splat-hint-layer{
  display:block;
  text-align:center;
  opacity:0;
  transition:opacity 2s ease;
}
.splat-wrap .splat-hint-layer.is-active{ opacity:1; }

.splat-wrap .splat-hint.is-hidden{
  opacity:0;
  transform:translateX(-50%) translateY(2px);
}

/* Desktop attention pulse: gentle breathe every 2.5s */
@keyframes splatPulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50%      { opacity: 0.4; transform: translateX(-50%) scale(1.01); }
}

.splat-wrap .splat-hint.is-attn{
  animation: splatPulse 2.5s ease-in-out infinite;
}


/* ============================================================
   COLLAPSIBLE CONTROLS GUIDE (03-controls.html)
============================================================ */

.splat-controls{
  max-width:760px;
  margin:8px auto 0;
  border-radius:10px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  overflow:hidden;

  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  color:rgba(255,255,255,0.5);
  font-size:13px;
  font-weight:400;
  letter-spacing:.01em;
}

.splat-controls-toggle{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:10px 16px;
  cursor:pointer;
  list-style:none;            /* remove default marker */
  user-select:none;
  transition:color .2s ease;
}

/* Remove default <details> marker across browsers */
.splat-controls-toggle::-webkit-details-marker{ display:none; }
.splat-controls-toggle::marker{ content:''; }

.splat-controls-toggle:hover{
  color:rgba(255,255,255,0.75);
}

.splat-controls-icon{
  flex-shrink:0;
  opacity:0.6;
}

.splat-controls-chevron{
  flex-shrink:0;
  opacity:0.5;
  transition:transform .25s ease;
}

/* Rotate chevron when open */
.splat-controls[open] .splat-controls-chevron{
  transform:rotate(180deg);
}

.splat-controls-body{
  padding:0 16px 12px;
  text-align:center;
  color:rgba(255,255,255,0.45);
  font-size:13px;
  line-height:1.6;
}

.splat-controls-body p{
  margin:0;
}

/* Show desktop instructions, hide mobile (and vice versa) */
.splat-controls-mobile{ display:none; }

@media (pointer: coarse), (max-width: 767px){
  .splat-controls-desktop{ display:none; }
  .splat-controls-mobile{ display:block; }
}


/* ============================================================
   EDITORIAL PANEL (04-switcher.html)
   Glass extension below the viewer. Two view states (Overview /
   Formal Garden) with crossfade text and navigation arrows.
   Connects seamlessly to .splat-wrap above (shared border-radius
   scheme: viewer top-only, panel bottom-only).
============================================================ */

.splat-editorial{
  box-sizing:border-box;
  width:100%;
  padding:40px 48px 36px;
  border-radius:0 0 12px 12px;

  /* Frosted glass — matches site glass treatment */
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);
  border-top:none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  position:relative;
  overflow:hidden;
}

/* ── View state container — crossfade between views ── */
.splat-editorial-view{
  display:none;
  opacity:0;
  transition:opacity 0.5s ease;
}
.splat-editorial-view.is-active{
  display:block;
  opacity:1;
}

/* ── Statement — Style 1 (Baskervville large) for dark context.
     Mirrors .landing-thesis-lede sizing, centered. ── */
.splat-editorial-label{
  font-family:'Baskervville',serif;
  font-weight:400;
  font-style:normal;
  font-size:clamp(24px, 3.2vw, 38px);
  line-height:1.45;
  letter-spacing:0.01em;
  text-transform:none;
  text-align:center;
  color:rgba(255,255,255,0.82);
  margin:0 0 32px;
}

/* ── Body text — Style 4 (Inter) for dark context ── */
.splat-editorial-text{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-size:clamp(15px, 1.3vw, 17px);
  line-height:1.75;
  letter-spacing:0.01em;
  color:rgba(255,255,255,0.72);
  margin:0 0 20px;
}

/* ── Hint — POI instruction (italic body) ── */
.splat-editorial-hint{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-size:clamp(13px, 1.1vw, 15px);
  color:rgba(255,255,255,0.55);
  margin:8px 0 28px;
  font-style:italic;
}

/* ── Navigation arrow — page-nav design language, dark-on-glass ── */
.splat-editorial-nav{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:none;
  border:none;
  padding:14px 0;
  cursor:pointer;

  font-family:'Baskervville',serif;
  font-weight:400;
  font-style:normal;
  font-size:clamp(17px, 1.6vw, 21px);
  letter-spacing:0.01em;
  color:rgba(210,190,155,0.70);
  transition:color 0.25s ease;
}
.splat-editorial-nav:hover,
.splat-editorial-nav:focus-visible{
  color:rgba(210,190,155,0.95);
}

.splat-editorial-arrow{
  font-size:1.2em;
  transition:transform 0.25s ease;
}
.splat-editorial-nav--next:hover .splat-editorial-arrow{
  transform:translateX(3px);
}
.splat-editorial-nav--prev:hover .splat-editorial-arrow{
  transform:translateX(-3px);
}

/* ── Mobile adjustments ── */
@media (max-width:767px){
  .splat-editorial{
    padding:28px 24px 24px;
    border-radius:0 0 10px 10px;
  }
  .splat-editorial-label{
    font-size:clamp(20px, 5.5vw, 28px);
    letter-spacing:0.01em;
    margin:0 0 22px;
  }
  .splat-editorial-text{
    font-size:clamp(14px, 3.4vw, 16px);
    line-height:1.65;
    margin:0 0 14px;
  }
  .splat-editorial-hint{
    font-size:clamp(12px, 3vw, 14px);
    margin:4px 0 20px;
  }
  .splat-editorial-nav{
    font-size:clamp(15px, 3.8vw, 18px);
    padding:10px 0;
  }
}


/* ============================================================
   HELP PANEL (05-help.html) — collapsible glass pill
   Complements the SuperSplat viewer's built-in ⓘ controls.
============================================================ */

/* Collapsed pill — centered below the switcher card */
.splat-help{
  max-width:760px;
  margin:12px auto 0;
  border-radius:20px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow:hidden;
  transition:border-radius .25s ease;
}
.splat-help.is-open{
  border-radius:16px;
}

/* Toggle button — always visible */
.splat-help-toggle{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  padding:10px 20px;
  border:0;
  background:transparent;
  cursor:pointer;
  color:rgba(255,255,255,0.85);
  transition:color .2s ease;
}
.splat-help-toggle:hover{
  color:rgba(255,255,255,1);
}

/* ⓘ icon */
.splat-help-icon{
  flex-shrink:0;
}

/* "Help" label — matches hero subtitle / "Select View" treatment */
.splat-help-label{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-size:clamp(11px, 1.2vw, 14px);
  text-transform:uppercase;
  letter-spacing:0.18em;
}

/* Expandable content area */
.splat-help-content{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease, padding .3s ease;
  padding:0 24px;
}
.splat-help.is-open .splat-help-content{
  max-height:300px;
  padding:0 24px 18px;
}

/* Tip list — single-line items, lightweight and scannable */
.splat-help-list{
  list-style:none;
  margin:0;
  padding:0;
}
.splat-help-item{
  padding:5px 0;
}
.splat-help-item + .splat-help-item{
  border-top:1px solid rgba(255,255,255,0.05);
}
.splat-help-text{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-size:12.5px;
  color:rgba(255,255,255,0.55);
  line-height:1.4;
}

/* Closing note — points to SuperSplat's built-in help */
.splat-help-note{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-style:italic;
  font-size:11px;
  color:rgba(255,255,255,0.35);
  text-align:center;
  margin:12px 0 0;
  padding:8px 0 0;
  border-top:1px solid rgba(255,255,255,0.06);
}
.splat-help-icon-inline{
  vertical-align:-2px;
  color:rgba(255,255,255,0.50);
}

/* Mobile adjustments */
@media (max-width:767px){
  section.page-section:has(.splat-wrap){
    padding-bottom:12px !important;
  }
  .splat-help{
    margin:10px auto 0;
  }
  .splat-help-toggle{
    padding:8px 16px;
  }
  .splat-help.is-open .splat-help-content{
    padding:0 16px 14px;
  }
  .splat-help-text{
    font-size:11.5px;
  }
  .splat-help-note{
    font-size:10px;
  }
}


/* ── Mobile landscape: viewer aspect ratio ──
   On touch devices in landscape, 1:1 is too tall for the
   short viewport.  Switch to 16:9 which fits naturally. */
@media (pointer: coarse) and (orientation: landscape){
  .splat-wrap{
    aspect-ratio:16 / 9 !important;
    min-height:0 !important;
    max-height:70vh;
  }
}


/* ============================================================
   CUSTOM FOOTER SECTION (05-footer.html + 06-copyright.html)
   This replaces Squarespace's native site footer with a custom
   page section we fully control. The section background is set
   to #161615 in Squarespace's section settings. The fluid engine
   override below ensures consistent block stacking.

   Block order within the footer section:
     1. Code Block: 05-footer.html  (logo, social, divider, heading)
     2. Form Block: Squarespace native  (handles submissions)
     3. Code Block: 06-copyright.html  (copyright line)
============================================================ */

/* ── Fluid engine override for footer section ──
   Handled by inline JS in 05-footer.html (not CSS) so the
   Squarespace editor's grid remains functional for adding
   and positioning blocks. The JS runs only on the published
   page, collapsing the grid into normal document flow. */

/* ── Footer wrapper ── */
.splat-footer{
  max-width:760px;
  margin:0 auto;
  padding:48px 0 0;
}

/* ── Top row: centered wordmark ── */
.splat-footer-top{
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Logo as background-image (no right-click save) */
.splat-footer-logo{
  width:180px;
  height:32px;
  background-size:contain;
  background-position:center center;
  background-repeat:no-repeat;
  flex-shrink:0;
}

/* ── Divider ── */
.splat-footer-rule{
  border:none;
  border-top:1px solid rgba(255,255,255,0.08);
  margin:28px 0 32px;
}

/* ── Contact email link ── */
.splat-footer-email{
  display:block;
  text-align:center;
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-size:14px;
  letter-spacing:0.04em;
  color:rgba(255,255,255,0.45);
  text-decoration:none;
  transition:color 0.2s ease;
}
.splat-footer-email:hover{
  color:rgba(255,255,255,0.80);
}

/* ── Copyright line ── */
.splat-footer-bottom{
  max-width:760px;
  margin:0 auto;
  padding:32px 0 40px;
  text-align:center;
}

.splat-footer-copy{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-size:12px;
  font-weight:400;
  letter-spacing:0.02em;
  color:rgba(255,255,255,0.25);
  margin:0;
}

/* ── Mobile adjustments ── */
@media (max-width:767px){
  .splat-footer{
    padding:36px 0 0;
  }
  .splat-footer-logo{
    width:140px;
    height:26px;
  }
  .splat-footer-rule{
    margin:20px 0 24px;
  }
  .splat-footer-bottom{
    padding:24px 0 32px;
  }
}


/* ============================================================
   ===================== LANDING PAGE =========================
   ============================================================
   All landing page styles use the .landing- prefix to avoid
   collisions with demo page styles. These coexist in the same
   global Squarespace Custom CSS.
============================================================ */


/* ============================================================
   LANDING HERO (01-hero.html)
   Full-bleed cinematic venue photograph with centered text
   overlay. Fixed on desktop (parallax pin), relative on mobile.
============================================================ */

/* ── Hero: Seated-style layout ──
   Whitespace at top for text, venue image pushed to bottom
   of the viewport. Background-image for save protection. */
.landing-hero{
  position:relative;
  width:100%;
  height:100vh;
  overflow:hidden;
  background:#FDFCFA;
}

/* Image container: anchored to the bottom of the hero,
   covers the lower portion of the viewport */
.landing-hero-image{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:65%;
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}

/* White wash: softens image for text legibility and romantic tone */
.landing-hero-wash{
  position:absolute;
  inset:0;
  background:rgba(255,255,255,0.15);
  pointer-events:none;
  z-index:1;
}

/* Top blend: background color fades into image */
.landing-hero-blend-top{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:35%;
  background:linear-gradient(
    to bottom,
    #FDFCFA 0%,
    rgba(253,252,250,0.80) 30%,
    rgba(253,252,250,0.35) 60%,
    transparent 100%
  );
  pointer-events:none;
  z-index:1;
}

/* Bottom blend: image fades into next section (#F7F4F0) */
.landing-hero-blend-bottom{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:35%;
  background:linear-gradient(
    to top,
    #F7F4F0 0%,
    rgba(247,244,240,0.80) 30%,
    rgba(247,244,240,0.35) 60%,
    transparent 100%
  );
  pointer-events:none;
  z-index:1;
}

/* Text content: pushed down so buttons sit on the image */
.landing-hero-content{
  position:relative;
  z-index:3;
  padding:260px 24px 48px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* Headline: Freight Display Pro, italic, light on image */
.landing-hero-headline{
  font-family:"freight-display-pro", serif;
  font-weight:300;
  font-style:italic;
  font-size:clamp(32px, 5vw, 64px);
  letter-spacing:0.04em;
  color:rgba(44,41,38,0.88);
  margin:0;
  line-height:1.15;
  max-width:800px;
}

/* Subtitle: Inter, uppercase */
.landing-hero-subtitle{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-size:clamp(13px, 1.3vw, 17px);
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:rgba(44,41,38,0.50);
  margin:14px 0 0;
  line-height:1.4;
}

/* CTA wrapper: side-by-side buttons */
.landing-hero-ctas{
  display:flex;
  align-items:center;
  gap:16px;
  margin:28px 0 0;
}

/* Primary CTA (Get in Touch): warm gold liquid glass */
.landing-hero-cta{
  display:inline-block;
  padding:14px 36px;
  border:1px solid rgba(140,120,81,0.25);
  border-radius:10px;

  /* Gold-tinted liquid glass: high blur + saturate for
     the light-warping refractive look */
  background:rgba(140,120,81,0.12);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);

  color:rgba(110,94,62,0.85);
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-size:13px;
  font-weight:400;
  letter-spacing:0.08em;
  text-transform:uppercase;
  text-decoration:none;
  cursor:pointer;
  pointer-events:auto;

  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.landing-hero-cta:hover{
  background:rgba(140,120,81,0.20);
  border-color:rgba(140,120,81,0.40);
  color:rgba(100,85,55,0.95);
  transform:scale(1.03);
  box-shadow:0 4px 24px rgba(140,120,81,0.15);
}

/* Secondary CTA (Experience a Tour): neutral liquid glass */
.landing-hero-cta-secondary{
  display:inline-block;
  padding:14px 36px;
  border:1px solid rgba(255,255,255,0.35);
  border-radius:10px;

  /* Neutral liquid glass: high blur + saturate for
     the refractive light-warping effect */
  background:rgba(255,255,255,0.10);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);

  color:rgba(44,41,38,0.75);
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-size:13px;
  font-weight:400;
  letter-spacing:0.08em;
  text-transform:uppercase;
  text-decoration:none;
  cursor:pointer;
  pointer-events:auto;

  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.landing-hero-cta-secondary:hover{
  background:rgba(255,255,255,0.18);
  border-color:rgba(255,255,255,0.50);
  color:rgba(44,41,38,0.90);
  transform:scale(1.03);
  box-shadow:0 2px 20px rgba(0,0,0,0.08);
}

/* ── Landing hero: Squarespace section overrides ── */
section.page-section:has(.landing-hero){
  z-index:0 !important;
  overflow:visible !important;
  padding:0 !important;
  margin:0 !important;
}
section.page-section:has(.landing-hero) .content-wrapper,
section.page-section:has(.landing-hero) .content{
  padding:0 !important;
  margin:0 !important;
}
section.page-section:has(.landing-hero) .fluid-engine{
  display:block !important;
  padding:0 !important;
  margin:0 !important;
  min-height:0 !important;
}
section.page-section:has(.landing-hero) .fe-block{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  transform:none !important;
  grid-area:auto !important;
  padding:0 !important;
  margin:0 !important;
}

/* Section after hero: pull close, no gap */
section.page-section:has(.landing-hero) + section.page-section{
  padding-top:0 !important;
  margin-top:-2px !important;
}

/* ── Mobile hero ── */
@media (max-width:767px){
  .landing-hero{
    height:100vh;
    height:100dvh;
  }
  .landing-hero-image{
    height:50%;
  }
  .landing-hero-content{
    padding:0 20px 32px;
    height:50%;
    justify-content:flex-end;
    box-sizing:border-box;
  }
  .landing-hero-ctas{
    flex-direction:column;
    gap:12px;
    margin-top:22px;
  }
  .landing-hero-headline{
    font-size:clamp(26px, 7.5vw, 40px);
    letter-spacing:0.03em;
  }
  .landing-hero-subtitle{
    font-size:clamp(10px, 2.8vw, 13px);
    letter-spacing:0.10em;
    margin-top:10px;
  }
  .landing-hero-cta{
    padding:12px 28px;
    font-size:12px;
  }
  .landing-hero-cta-secondary{
    padding:12px 28px;
    font-size:12px;
  }
}


/* ============================================================
   LANDING THESIS (02-thesis.html)
   Central insight: the singularity of weddings is both what
   makes them meaningful and what makes them hard to plan.
   Narrow-column editorial prose with hairline rules.
============================================================ */

.landing-thesis{
  max-width:960px;
  margin:0 auto;
  padding:60px 24px 48px;
  text-align:center;
}

.landing-thesis-rule{
  border:none;
  border-top:1px solid rgba(140,120,81,0.30);
  margin:0 auto;
  max-width:60px;
}

/* Lede: Baskervville, editorial pullquote treatment */
.landing-thesis-lede{
  font-family:'Baskervville', serif;
  font-weight:400;
  font-style:normal;
  font-size:clamp(28px, 3.6vw, 42px);
  letter-spacing:0.015em;
  color:rgba(44,41,38,0.88);
  margin:0 0 32px;
  line-height:1.40;
  text-align:center;
}

/* Fluid engine override */
section.page-section:has(.landing-thesis) .fluid-engine{
  display:block !important;
  min-height:0 !important;
  padding:0 4vw !important;
}
section.page-section:has(.landing-thesis) .fe-block{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  transform:none !important;
  grid-area:auto !important;
  padding:0 !important;
  margin:0 !important;
}

@media (max-width:767px){
  .landing-thesis{
    padding:40px 20px 36px;
  }
  .landing-thesis-lede{
    font-size:clamp(22px, 6vw, 30px);
    margin:0 0 24px;
  }
}


/* ============================================================
   LANDING RESEARCH (03-research.html)
   Three statistics from couple interviews. Approach C:
   large centered Freight Display numbers with Inter
   explanations below. Generous whitespace between blocks.
============================================================ */

/* Full-bleed cooler-white band behind research stats */
/* ── Research: Glass Card Grid ── */
.landing-research{
  position:relative;
  max-width:1080px;
  margin:0 auto;
  padding:40px 24px 64px;
  text-align:center;
}

/* Intro label above the cards */
.landing-research-intro{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-size:clamp(12px, 1.2vw, 14px);
  letter-spacing:0.10em;
  text-transform:uppercase;
  color:rgba(44,41,38,0.45);
  margin:0 0 32px;
}

/* Three-column grid */
.landing-research-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}

/* Individual glass card */
.landing-research-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:48px 28px 44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.45);
  background:rgba(255,255,255,0.30);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow:
    0 2px 16px rgba(44,41,38,0.04),
    0 0 0 1px rgba(44,41,38,0.03);
}

/* Large percentage: Freight Display Pro */
.landing-research-number{
  font-family:"freight-display-pro", serif;
  font-weight:300;
  font-style:italic;
  font-size:clamp(56px, 6.5vw, 80px);
  line-height:1;
  letter-spacing:-0.01em;
  color:rgba(44,41,38,0.85);
  margin:0 0 18px;
}

/* Description: centered */
.landing-research-desc{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-size:clamp(14px, 1.2vw, 16px);
  line-height:1.6;
  letter-spacing:0.01em;
  color:rgba(44,41,38,0.55);
  margin:0;
}

/* Fluid engine override */
section.page-section:has(.landing-research) .fluid-engine{
  display:block !important;
  min-height:0 !important;
  padding:0 4vw !important;
}
section.page-section:has(.landing-research) .fe-block{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  transform:none !important;
  grid-area:auto !important;
  padding:0 !important;
  margin:0 !important;
}

@media (max-width:767px){
  .landing-research{
    padding:48px 16px 60px;
  }
  .landing-research-intro{
    margin-bottom:28px;
  }
  .landing-research-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  .landing-research-card{
    padding:32px 20px 28px;
  }
  .landing-research-number{
    font-size:clamp(40px, 12vw, 52px);
    margin-bottom:12px;
  }
  .landing-research-desc{
    font-size:14px;
  }
}



/* ============================================================
   LANDING PROPOSITION (05-proposition.html)
   Value proposition statement. CSS classes retain the legacy
   "landing-bridge" name; the component now uses the shared
   landing-thesis pullquote style in the HTML.
   Full-bleed cooler-white band for visual contrast against
   the warm ivory (#F7F4F0) page background.
============================================================ */

.landing-bridge{
  max-width:960px;
  margin:0 auto;
  padding:60px 24px 80px;
  text-align:left;
}

.landing-bridge-rule{
  border:none;
  border-top:1px solid rgba(44,41,38,0.10);
  margin:0;
}

/* Lede: Style 3 — Editorial (Baskervville, medium) */
.landing-bridge-lede{
  font-family:'Baskervville', serif;
  font-weight:400;
  font-style:normal;
  font-size:clamp(19px, 2vw, 23px);
  letter-spacing:0.005em;
  color:rgba(44,41,38,0.78);
  margin:40px 0 28px;
  line-height:1.55;
}

/* Body: Style 4 — Inter paragraphs */
.landing-bridge-body{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-size:clamp(15px, 1.2vw, 17px);
  line-height:1.75;
  letter-spacing:0.01em;
  color:rgba(44,41,38,0.65);
  margin:0 0 24px;
}

.landing-bridge-body:last-of-type{
  margin-bottom:40px;
}

/* Fluid engine override */
section.page-section:has(.landing-bridge) .fluid-engine{
  display:block !important;
  min-height:0 !important;
  padding:0 4vw !important;
}
section.page-section:has(.landing-bridge) .fe-block{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  transform:none !important;
  grid-area:auto !important;
  padding:0 !important;
  margin:0 !important;
}

@media (max-width:767px){
  .landing-bridge{
    padding:48px 20px 60px;
  }
  .landing-bridge-lede{
    font-size:clamp(17px, 4.5vw, 20px);
    margin:32px 0 24px;
  }
  .landing-bridge-body{
    font-size:15px;
    margin-bottom:20px;
  }
  .landing-bridge-body:last-of-type{
    margin-bottom:32px;
  }
}


/* ============================================================
   LANDING CLOSING (05-closing.html)
   Positioning statement — no CTA, no ask. Lands the thesis
   and positions Interlink's philosophy. The page-nav arrow
   handles forward navigation.
============================================================ */

.landing-closing{
  max-width:960px;
  margin:0 auto;
  padding:60px 24px 80px;
  text-align:left;
}

/* Style 3 — Editorial (Baskervville, medium) */
.landing-closing-text{
  font-family:'Baskervville', serif;
  font-weight:400;
  font-style:normal;
  font-size:clamp(19px, 2vw, 23px);
  letter-spacing:0.005em;
  color:rgba(44,41,38,0.78);
  margin:0;
  line-height:1.55;
}

/* Fluid engine override */
section.page-section:has(.landing-closing) .fluid-engine{
  display:block !important;
  min-height:0 !important;
  padding:0 4vw !important;
}
section.page-section:has(.landing-closing) .fe-block{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  transform:none !important;
  grid-area:auto !important;
  padding:0 !important;
  margin:0 !important;
}

@media (max-width:767px){
  .landing-closing{
    padding:48px 20px 60px;
  }
  .landing-closing-text{
    font-size:clamp(17px, 4.5vw, 20px);
  }
}


/* ============================================================
   FRONT PAGE — Viewer overlay, caption, offering, smooth scroll
   Single-page story funnel additions.
============================================================ */

/* Smooth scroll for #front-contact anchor */
html{
  scroll-behavior:smooth;
}

/* ── Glass Vitrine Viewer ──
   Frosted glass card containing the SuperSplat preview.
   Cinematic 2:1 ratio. Bottom bar with property name and
   gold glass arrow circle. */

/* Outer wrapper: centers and constrains the card */
.front-viewer{
  max-width:960px;
  margin:0 auto;
  padding:0 24px 64px;
}

/* Glass card: subtle frosted border, rounded corners */
.front-viewer-card{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.40);
  box-shadow:
    0 2px 20px rgba(44,41,38,0.06),
    0 0 0 1px rgba(44,41,38,0.04);
  background:rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Viewer frame: cinematic 2:1 aspect ratio */
.front-viewer-frame{
  position:relative;
  width:100%;
  aspect-ratio:2/1;
  overflow:hidden;
  background:#1a1917;
}

/* Click overlay — transparent layer over the iframe */
.front-viewer-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  cursor:pointer;
  background:transparent;
}

/* Frosted bottom bar: clickable, spans full width */
.front-viewer-bar{
  display:flex;
  align-items:center;
  padding:14px 18px;
  text-decoration:none;
  cursor:pointer;
  background:rgba(255,255,255,0.45);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top:1px solid rgba(255,255,255,0.30);
  transition:background 0.3s ease;
}
.front-viewer-bar:hover{
  background:rgba(255,255,255,0.60);
}

/* Property name: left-aligned, editorial serif */
.front-viewer-bar-name{
  font-family:'Baskervville', serif;
  font-weight:400;
  font-style:italic;
  font-size:clamp(15px, 1.6vw, 18px);
  color:rgba(44,41,38,0.80);
  letter-spacing:0.01em;
}

/* "Explore the full tour" label */
.front-viewer-bar-label{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:400;
  font-size:12px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:rgba(44,41,38,0.40);
  margin-left:auto;
  margin-right:14px;
}

/* Gold glass arrow circle */
.front-viewer-bar-arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  flex-shrink:0;
  border-radius:50%;

  /* Gold-tinted frosted glass — matches primary CTA */
  background:rgba(140,120,81,0.18);
  border:1px solid rgba(140,120,81,0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);

  color:rgba(110,94,62,0.80);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Arrow nudge animation on bar hover */
.front-viewer-bar:hover .front-viewer-bar-arrow{
  background:rgba(140,120,81,0.28);
  border-color:rgba(140,120,81,0.40);
  transform:translateX(3px);
  box-shadow:0 2px 12px rgba(140,120,81,0.15);
}

/* ── Mobile viewer ── */
@media (max-width:767px){
  .front-viewer{
    padding:0 16px 60px;
  }
  .front-viewer-frame{
    aspect-ratio:16/10;
  }
  .front-viewer-bar{
    padding:12px 14px;
    flex-wrap:wrap;
    gap:8px;
  }
  .front-viewer-bar-label{
    display:none;
  }
  .front-viewer-bar-arrow{
    width:34px;
    height:34px;
  }
}

/* ── Elaboration: Editorial prose expanding on the statement ──
   Centered Baskervville paragraph, same scale as offering text.
   Sits between the viewer (04) and the bridge (05). */

.front-elaboration{
  max-width:960px;
  margin:0 auto;
  padding:48px 24px 56px;
  text-align:center;
}
.front-elaboration-text{
  font-family:'Baskervville', serif;
  font-weight:400;
  font-style:normal;
  font-size:clamp(19px, 2vw, 23px);
  letter-spacing:0.005em;
  color:rgba(44,41,38,0.72);
  margin:0;
  line-height:1.6;
}

/* Fluid engine overrides for front-elaboration */
section.page-section:has(.front-elaboration) .fluid-engine{
  display:block !important;
  min-height:0 !important;
  padding:0 4vw !important;
}
section.page-section:has(.front-elaboration) .fe-block{
  position:relative !important;
  left:0 !important;
  top:0 !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  transform:none !important;
  grid-area:auto !important;
  padding:0 !important;
  margin:0 !important;
}

@media(max-width:600px){
  .front-elaboration{
    padding:36px 20px 44px;
  }
  .front-elaboration-text{
    font-size:clamp(17px, 4.5vw, 20px);
  }
}

/* ── Use Case Visual: Centered single image ──
   Phone mockup (portrait) floating on ivory at a natural
   reading size. No glass card — rounded corners and subtle
   shadow only. Sub-block of the proposition (05). */

.front-usecase{
  margin:0 auto;
  padding:0 24px 64px;
  display:flex;
  justify-content:center;
}

.front-usecase-img{
  width:360px;
  max-width:90vw;
  aspect-ratio:701/1052;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 4px 24px rgba(44,41,38,0.08), 0 1px 4px rgba(44,41,38,0.04);
  -webkit-user-select:none;
  user-select:none;
}

/* Strip any Squarespace wrapper styling from the usecase block */
section.page-section:has(.front-usecase) .sqs-block,
section.page-section:has(.front-usecase) .sqs-block-content,
section.page-section:has(.front-usecase) .sqs-block-code{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  padding:0 !important;
  border-radius:0 !important;
}

/* Fluid engine overrides for front-usecase */
section.page-section:has(.front-usecase) .fluid-engine{
  display:block !important;
  min-height:0 !important;
  padding:0 4vw !important;
}
section.page-section:has(.front-usecase) .fe-block{
  position:relative !important;
  left:0 !important;
  top:0 !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  transform:none !important;
  grid-area:auto !important;
  padding:0 !important;
  margin:0 !important;
}

@media(max-width:600px){
  .front-usecase{
    padding:0 20px 48px;
  }
  .front-usecase-img{
    max-width:300px;
  }
}

/* ── Generator Visual: Before/After Slider ──
   Glass panel with floating prompt pill, rounded-corner
   image slider, and three segmented UI controls. */

/* Outer wrapper: matches research block width (1080px) */
.front-generator{
  max-width:1080px;
  margin:0 auto;
  padding:0 24px 64px;
}

/* Glass panel: the main container */
.front-generator-card{
  position:relative;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.45);
  box-shadow:
    0 4px 32px rgba(44,41,38,0.06),
    0 0 0 1px rgba(44,41,38,0.03);
  background:rgba(255,255,255,0.25);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding:48px 28px 28px;
  overflow:visible;
}

/* Floating prompt pill: overlaps top edge of card */
.front-generator-prompt{
  position:absolute;
  top:-22px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 24px;
  border-radius:100px;
  white-space:nowrap;
  max-width:calc(100% - 48px);

  background:rgba(255,255,255,0.70);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border:1px solid rgba(255,255,255,0.50);
  box-shadow:
    0 2px 16px rgba(44,41,38,0.06),
    0 0 0 1px rgba(44,41,38,0.03);
}

/* Sparkle icon */
.front-generator-prompt-icon{
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(140,120,81,0.55);
}

/* Prompt text: styled to look like typed input */
.front-generator-prompt-text{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:400;
  font-size:clamp(13px, 1.3vw, 15px);
  color:rgba(44,41,38,0.55);
  letter-spacing:0.01em;
  line-height:1.4;
}

/* Blinking cursor */
.front-generator-cursor{
  display:inline-block;
  width:2px;
  height:1.1em;
  margin-left:2px;
  vertical-align:text-bottom;
  background:rgba(140,120,81,0.70);
  animation:cursorBlink 1s step-end infinite;
}
@keyframes cursorBlink{
  0%,100%{ opacity:1; }
  50%{ opacity:0; }
}

/* Slider container: cinematic 2:1, rounded top corners */
.front-generator-slider{
  position:relative;
  width:100%;
  aspect-ratio:2/1;
  overflow:hidden;
  cursor:ew-resize;
  background:#e8e5e0;
  border-radius:12px 12px 0 0;
  -webkit-user-select:none;
  user-select:none;
}

/* Both images: fill the slider, cover */
.front-generator-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  pointer-events:none;
}

/* After container: clipped by JS via clip-path */
.front-generator-after{
  position:absolute;
  inset:0;
  clip-path:inset(0 70% 0 0);
}
.front-generator-img--after{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Draggable handle: vertical line + circle */
.front-generator-handle{
  position:absolute;
  top:0;
  bottom:0;
  left:30%;
  width:34px;
  transform:translateX(-50%);
  z-index:2;
  cursor:ew-resize;
  background:transparent;
}

/* The visible vertical line */
.front-generator-handle-line{
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  width:2px;
  transform:translateX(-50%);
  background:rgba(255,255,255,0.70);
  box-shadow:0 0 8px rgba(0,0,0,0.10);
}

/* Gold glass circle at center of handle */
.front-generator-handle-circle{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:42px;
  height:42px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(140,120,81,0.22);
  border:1px solid rgba(140,120,81,0.32);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:0 2px 12px rgba(0,0,0,0.10);

  color:rgba(255,255,255,0.90);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.front-generator-handle-circle:hover,
.front-generator-handle:active .front-generator-handle-circle{
  background:rgba(140,120,81,0.35);
  border-color:rgba(140,120,81,0.50);
  box-shadow:0 2px 18px rgba(140,120,81,0.20);
}

/* ── Three UI Control Groups ── */
.front-generator-controls{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:20px 0 0;
}

/* Individual control group */
.front-generator-control{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  flex:1;
}

/* Control label */
.front-generator-control-label{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:400;
  font-size:11px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:rgba(44,41,38,0.40);
}

/* Segmented control: row of options */
.front-generator-control-options{
  display:flex;
  align-items:center;
  gap:2px;
  padding:3px;
  border-radius:10px;
  background:rgba(44,41,38,0.04);
}

/* Individual option pill — fixed width, centered text,
   matching the tour page control buttons */
.front-generator-option{
  position:relative;
  z-index:1;
  width:80px;
  text-align:center;
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:400;
  font-size:clamp(11px, 1.1vw, 13px);
  letter-spacing:0.02em;
  color:rgba(44,41,38,0.40);
  padding:6px 0;
  border-radius:8px;
  cursor:default;
  white-space:nowrap;
}

/* Active state: gold glass pill (Season only — static) */
.front-generator-option.is-active{
  background:rgba(140,120,81,0.14);
  color:rgba(110,94,62,0.85);
  box-shadow:
    0 1px 4px rgba(140,120,81,0.08),
    inset 0 0 0 1px rgba(140,120,81,0.18);
}

/* Sliding highlight: positioned absolutely over the options row,
   JS sets translateX based on eased slider progress */
.front-generator-highlight{
  position:absolute;
  top:3px;
  left:3px;
  width:80px;
  height:calc(100% - 6px);
  border-radius:8px;
  background:rgba(140,120,81,0.14);
  box-shadow:
    0 1px 4px rgba(140,120,81,0.08),
    inset 0 0 0 1px rgba(140,120,81,0.18);
  z-index:0;
  pointer-events:none;
  will-change:transform;
}

/* Fluid engine overrides for generator */
section.page-section:has(.front-generator) .fluid-engine{
  display:block !important;
  min-height:0 !important;
  padding:0 4vw !important;
}
section.page-section:has(.front-generator) .fe-block{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  transform:none !important;
  grid-area:auto !important;
  padding:0 !important;
  margin:0 !important;
}

/* ── Mobile generator ── */
@media (max-width:767px){
  .front-generator{
    padding:0 16px 48px;
  }
  .front-generator-card{
    padding:16px 16px 20px;
    border-radius:14px;
  }
  /* Prompt pill: flow inline above images instead of floating */
  .front-generator-prompt{
    position:relative;
    top:auto;
    left:auto;
    transform:none;
    justify-content:center;
    padding:10px 18px;
    margin:0 0 14px;
    max-width:100%;
    white-space:normal;
    border-radius:14px;
  }
  .front-generator-prompt-text{
    font-size:12px;
    white-space:normal;
  }
  .front-generator-slider{
    aspect-ratio:16/10;
    border-radius:10px 10px 0 0;
  }
  .front-generator-handle-circle{
    width:36px;
    height:36px;
  }
  .front-generator-controls{
    flex-direction:column;
    gap:14px;
    padding:16px 0 0;
  }
  .front-generator-control{
    flex-direction:row;
    justify-content:space-between;
  }
  .front-generator-option{
    width:70px;
    font-size:11px;
    padding:5px 0;
  }
  .front-generator-highlight{
    width:70px;
  }
}


/* ── Outreach block — "Let's Connect" heading + subtitle ──
   Mirrors the ApplyPage hero pattern (01-hero.html) for the
   FrontPage. Sits above a Squarespace Form Block. */
.front-outreach{
  max-width:960px;
  margin:0 auto;
  padding:48px 24px 48px;
  text-align:center;
}
.front-outreach-heading{
  font-family:'freight-display-pro',serif;
  font-weight:300;
  font-style:italic;
  font-size:clamp(32px, 4.5vw, 56px);
  letter-spacing:0.03em;
  color:rgba(44,41,38,0.90);
  margin:0 0 20px;
  line-height:1.15;
}
.front-outreach-subtitle{
  font-family:'Baskervville', serif;
  font-weight:400;
  font-style:normal;
  font-size:clamp(19px, 2vw, 23px);
  letter-spacing:0.005em;
  line-height:1.6;
  color:rgba(44,41,38,0.72);
  margin:0;
}

/* Fluid engine overrides for front-outreach */
section.page-section:has(.front-outreach) .fluid-engine{
  display:block !important;
  min-height:0 !important;
  padding:0 4vw !important;
}
section.page-section:has(.front-outreach) .fe-block{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  transform:none !important;
  grid-area:auto !important;
  padding:0 !important;
  margin:0 !important;
}

/* ── Closing statement — brand tagline below contact form ── */
.front-closing{
  max-width:960px;
  margin:0 auto;
  padding:80px 24px 96px;
  text-align:center;
}
.front-closing-setup{
  font-family:'freight-display-pro',serif;
  font-weight:300;
  font-style:normal;
  font-size:clamp(24px, 3.2vw, 40px);
  letter-spacing:0.02em;
  color:rgba(44,41,38,0.45);
  margin:0 0 12px;
  line-height:1.2;
}
.front-closing-payoff{
  font-family:'freight-display-pro',serif;
  font-weight:300;
  font-style:italic;
  font-size:clamp(28px, 4vw, 50px);
  letter-spacing:0.03em;
  color:rgba(44,41,38,0.80);
  margin:0;
  line-height:1.2;
}

/* Fluid engine overrides for front-closing */
section.page-section:has(.front-closing) .fluid-engine{
  display:block !important;
  min-height:0 !important;
  padding:0 4vw !important;
}
section.page-section:has(.front-closing) .fe-block{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  transform:none !important;
  grid-area:auto !important;
  padding:0 !important;
  margin:0 !important;
}

@media (max-width:767px){
  .front-closing{
    padding:60px 20px 72px;
  }
}

/* Simplified offering block (legacy — 09-offering.html) */
.front-offering{
  max-width:960px;
  margin:0 auto;
  padding:48px 24px 64px;
  text-align:left;
}
.front-offering-text{
  font-family:'Baskervville', serif;
  font-weight:400;
  font-style:normal;
  font-size:clamp(19px, 2vw, 23px);
  letter-spacing:0.005em;
  color:rgba(44,41,38,0.78);
  margin:0;
  line-height:1.55;
}

/* Fluid engine overrides for front-viewer */
section.page-section:has(.front-viewer) .fluid-engine{
  display:block !important;
  min-height:0 !important;
  padding:0 4vw !important;
}
section.page-section:has(.front-viewer) .fe-block{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  transform:none !important;
  grid-area:auto !important;
  padding:0 !important;
  margin:0 !important;
}

/* Fluid engine overrides for front-offering */
section.page-section:has(.front-offering) .fluid-engine{
  display:block !important;
  min-height:0 !important;
  padding:0 4vw !important;
}
section.page-section:has(.front-offering) .fe-block{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  transform:none !important;
  grid-area:auto !important;
  padding:0 !important;
  margin:0 !important;
}

@media (max-width:767px){
  .front-outreach{
    padding:36px 20px 36px;
  }
  .front-outreach-heading{
    font-size:clamp(28px, 7vw, 40px);
  }
  .front-offering{
    padding:36px 20px 48px;
  }
  .front-offering-text{
    font-size:clamp(17px, 4.5vw, 20px);
  }
}


/* ============================================================
   LANDING PAGE — FADE-IN ANIMATIONS
   Sections fade in as they enter the viewport via
   IntersectionObserver (triggered by footer.js).
============================================================ */

/* Fade-in is opt-in: elements are visible by default.
   JS adds .landing-fade-ready to <html> once the observer
   is running, so content never disappears without JS. */
html.landing-fade-ready .landing-fade{
  opacity:0;
  transform:translateY(16px);
  transition:opacity 0.8s ease, transform 0.8s ease;
}

html.landing-fade-ready .landing-fade.is-visible{
  opacity:1;
  transform:translateY(0);
}


/* ============================================================
   PAGE NAVIGATION ARROWS — editorial directional links
   Sits above the footer on every page. Connects:
     About Us  →  Explore The Doheny Estate  →  Apply
   Each instance may have a left arrow, right arrow, or both.
   Styled as quiet editorial links, not UI buttons.
============================================================ */

/* Full-bleed cooler-white band behind page nav (continues research band) */
.page-nav{
  position:relative;
  margin:0 auto;
  padding:48px 4vw 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* When only one arrow exists, positioning via margin-auto */
.page-nav--right-only{
  justify-content:flex-end;
}
.page-nav--left-only{
  justify-content:flex-start;
}
.page-nav::before{
  content:'';
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:100vw;
  background:#1f1e1c;
  z-index:0;
}
.page-nav > *{
  position:relative;
  z-index:1;
}

/* Individual arrow link */
.page-nav-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:rgba(255,255,255,0.85);
  transition:color 0.35s ease;
}
.page-nav-link:hover{
  color:rgba(255,255,255,1);
}

/* Arrow glyphs — thin SVG strokes */
.page-nav-arrow{
  flex-shrink:0;
  width:20px;
  height:20px;
  stroke:currentColor;
  stroke-width:1;
  fill:none;
  transition:transform 0.35s ease;
}

/* Forward arrows: gentle persistent breath animation.
   Creates directional vitality — beckons the eye toward
   the next funnel step. Back arrows stay static. */
@keyframes navArrowBreathRight {
  0%, 100% { transform:translateX(0); }
  50%      { transform:translateX(3px); }
}
@keyframes navArrowBreathLeft {
  0%, 100% { transform:translateX(0); }
  50%      { transform:translateX(-3px); }
}

.page-nav-arrow--right{
  animation:navArrowBreathRight 3s ease-in-out infinite;
}

/* Hover: arrow travels further, overriding the breath */
.page-nav-link:hover .page-nav-arrow--left{
  transform:translateX(-8px);
}
.page-nav-link:hover .page-nav-arrow--right{
  animation:none;
  transform:translateX(8px);
}

/* Label text — Inter 300, uppercase, wide tracking.
   Hover: gentle scale lift matching CTA motion language. */
.page-nav-label{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-style:normal;
  font-size:clamp(12px, 1.4vw, 16px);
  text-transform:uppercase;
  letter-spacing:0.18em;
  line-height:1.3;
  transition:transform 0.35s ease;
}
.page-nav-link:hover .page-nav-label{
  transform:scale(1.03);
}

/* Subtle top rule to separate from content above */
.page-nav-rule{
  margin:0 auto;
  padding:0 4vw;
}
.page-nav-rule hr{
  border:none;
  border-top:1px solid rgba(255,255,255,0.08);
  margin:0;
}

/* Ruled variant — line segments above each link, no separate hr */
.page-nav--ruled{
  padding-top:0;
}
.page-nav--ruled .page-nav-link{
  border-top:1px solid rgba(255,255,255,0.08);
  padding-top:48px;
}

/* ── Light variant (warm ivory pages — Tour, Connect) ── */
.page-nav--light::before{
  background:transparent;
}
.page-nav--light .page-nav-link{
  color:rgba(44,41,38,0.85);
}
.page-nav--light .page-nav-link:hover{
  color:rgba(44,41,38,1);
}
.page-nav-rule--light hr{
  border-top-color:rgba(44,41,38,0.10);
}

/* Mobile adjustments */
@media (max-width:767px){
  .page-nav{
    padding:36px 4vw 0;
  }
  .page-nav-rule{
    margin:36px auto 0;
  }
  .page-nav-arrow{
    width:16px;
    height:16px;
  }
  .page-nav-label{
    font-size:clamp(11px, 3vw, 14px);
    letter-spacing:0.14em;
  }
}


/* ============================================================
   CONNECT PAGE (ConnectPage/)
   Direct-access contact page for warm leads arriving from
   emails, referrals, or follow-ups. Heading + form + page-nav.
   Warm ivory (#F7F4F0). No images, no columns.
============================================================ */

/* Hero — centered headline and subtitle */
.connect-hero{
  max-width:960px;
  margin:0 auto;
  padding:120px 24px 48px;
  text-align:center;
}
.connect-hero-heading{
  font-family:'freight-display-pro',serif;
  font-weight:300;
  font-style:italic;
  font-size:clamp(32px, 4.5vw, 56px);
  letter-spacing:0.03em;
  color:rgba(44,41,38,0.90);
  margin:0 0 20px;
  line-height:1.15;
}
.connect-hero-subtitle{
  font-family:'Baskervville', serif;
  font-weight:400;
  font-style:normal;
  font-size:clamp(17px, 1.8vw, 21px);
  letter-spacing:0.005em;
  line-height:1.6;
  color:rgba(44,41,38,0.65);
  margin:0;
}

/* Fluid engine override for connect page */
section.page-section:has(.connect-hero) .fluid-engine{
  display:block !important;
  min-height:0 !important;
  padding:0 4vw !important;
}
section.page-section:has(.connect-hero) .fe-block{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  transform:none !important;
  grid-area:auto !important;
  padding:0 !important;
  margin:0 !important;
}

/* Mobile adjustments */
@media (max-width:767px){
  .connect-hero{
    padding:80px 20px 36px;
  }
  .connect-hero-heading{
    font-size:clamp(28px, 7vw, 40px);
  }
}

/* ── Squarespace Form — shared styles (FrontPage + ConnectPage) ── */

/* Section spacing — match landing page rhythm */
section.page-section:has(.form-block){
  padding-top:20px !important;
  padding-bottom:40px !important;
}

/* Constrain form width */
section.page-section:has(.form-block) .form-block{
  max-width:960px;
  margin-left:auto;
  margin-right:auto;
  padding:0 24px;
  box-sizing:border-box;
}

/* Prevent inputs from overflowing container */
section.page-section:has(.form-block) .field-list,
section.page-section:has(.form-block) .form-wrapper{
  max-width:100%;
  box-sizing:border-box;
}
section.page-section:has(.form-block) .field-list input,
section.page-section:has(.form-block) .field-list textarea{
  max-width:100%;
  box-sizing:border-box;
}

/* Field labels — match editorial Baskervville style */
section.page-section:has(.form-block) .field-list .title,
section.page-section:has(.form-block) .field-list .caption,
section.page-section:has(.form-block) .form-item .title,
section.page-section:has(.form-block) .form-item .caption{
  font-family:'Baskervville', serif !important;
  font-weight:400 !important;
  font-size:clamp(19px, 2vw, 23px) !important;
  letter-spacing:0.005em !important;
  line-height:1.6 !important;
  color:rgba(44,41,38,0.72) !important;
}

/* Text inputs — clean underline style */
section.page-section:has(.form-block) .field-list input[type="text"],
section.page-section:has(.form-block) .field-list input[type="email"],
section.page-section:has(.form-block) .field-list textarea,
section.page-section:has(.form-block) .form-item input[type="text"],
section.page-section:has(.form-block) .form-item input[type="email"],
section.page-section:has(.form-block) .form-item textarea{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif !important;
  font-weight:300 !important;
  font-size:15px !important;
  color:rgba(44,41,38,0.85) !important;
  background:transparent !important;
  border:none !important;
  border-bottom:1px solid rgba(44,41,38,0.12) !important;
  border-radius:0 !important;
  padding:12px 0 !important;
  max-width:100%;
  box-sizing:border-box;
  transition:border-color 0.35s ease;
}
section.page-section:has(.form-block) .field-list input[type="text"]:focus,
section.page-section:has(.form-block) .field-list input[type="email"]:focus,
section.page-section:has(.form-block) .field-list textarea:focus{
  outline:none;
  border-bottom-color:rgba(44,41,38,0.40);
}

/* Submit button — liquid glass (light background variant) */
section.page-section:has(.form-block) .form-button-wrapper .sqs-block-button-element,
section.page-section:has(.form-block) input[type="submit"]{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif !important;
  font-size:13px !important;
  font-weight:400 !important;
  letter-spacing:0.08em !important;
  text-transform:uppercase !important;
  padding:14px 36px !important;
  border:1px solid rgba(44,41,38,0.15) !important;
  border-radius:10px !important;
  background:#EBE8E4 !important;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  color:rgba(44,41,38,0.70) !important;
  cursor:pointer;
  transition:background 0.35s ease, border-color 0.35s ease,
             color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
section.page-section:has(.form-block) .form-button-wrapper .sqs-block-button-element:hover,
section.page-section:has(.form-block) input[type="submit"]:hover{
  background:#E2DFDB !important;
  border-color:rgba(44,41,38,0.30) !important;
  color:rgba(44,41,38,0.90) !important;
  transform:scale(1.03);
  box-shadow:0 2px 20px rgba(44,41,38,0.08);
}

@media (max-width:767px){
  section.page-section:has(.form-block){
    padding-top:16px !important;
    padding-bottom:32px !important;
  }
  section.page-section:has(.form-block) .form-block{
    padding:0 20px;
  }
}


/* ============================================================
   TOUR PAGE (TourPage/)
   Light-theme redesign of the demo page. Warm ivory (#F7F4F0)
   background, glass vitrine viewer, scene switcher panel,
   animated description, and editorial typography.
   All classes use `.tour-` namespace.
============================================================ */

/* ── Section padding overrides for tight stacking ── */
section.page-section:has(.tour-hero),
section.page-section:has(.tour-layout),
section.page-section:has(.tour-desc){
  padding:0 !important;
}
section.page-section:has(.tour-help){
  padding-top:0 !important;
  padding-bottom:0 !important;
}

/* ── Content wrapper overrides for tour blocks ── */
section.page-section:has(.tour-hero) .content-wrapper,
section.page-section:has(.tour-hero) .content,
section.page-section:has(.tour-layout) .content-wrapper,
section.page-section:has(.tour-layout) .content,
section.page-section:has(.tour-desc) .content-wrapper,
section.page-section:has(.tour-desc) .content,
section.page-section:has(.tour-help) .content-wrapper,
section.page-section:has(.tour-help) .content{
  padding:0 !important;
  margin:0 !important;
}

/* ── Fluid engine overrides for tour blocks ── */
section.page-section:has(.tour-hero) .fluid-engine,
section.page-section:has(.tour-layout) .fluid-engine,
section.page-section:has(.tour-desc) .fluid-engine,
section.page-section:has(.tour-help) .fluid-engine{
  display:block !important;
  min-height:0 !important;
  padding:0 !important;
}
section.page-section:has(.tour-hero) .fe-block,
section.page-section:has(.tour-layout) .fe-block,
section.page-section:has(.tour-desc) .fe-block,
section.page-section:has(.tour-help) .fe-block{
  position:relative !important;
  left:0 !important;
  top:0 !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  transform:none !important;
  grid-area:auto !important;
  padding:0 !important;
  margin:0 !important;
}

/* ── Tour Hero ── */
/* ── Tour Hero: FrontPage pattern ──
   Non-fixed, in document flow. Image fills lower portion,
   title text overlays, double blend gradients for seamless
   transitions into page background above and viewer below. */
.tour-hero{
  position:relative;
  width:100%;
  height:85vh;
  min-height:500px;
  overflow:hidden;
  background:#F7F4F0;
}

/* Image container: fills the hero, couple centered */
.tour-hero-image{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center 30%;
  background-repeat:no-repeat;
}

/* White wash: softens image for text legibility and romantic tone */
.tour-hero-wash{
  position:absolute;
  inset:0;
  background:rgba(255,255,255,0.15);
  pointer-events:none;
  z-index:1;
}

/* Top blend: page background fades into image */
.tour-hero-blend-top{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:30%;
  background:linear-gradient(
    to bottom,
    #F7F4F0 0%,
    rgba(247,244,240,0.80) 30%,
    rgba(247,244,240,0.35) 60%,
    transparent 100%
  );
  pointer-events:none;
  z-index:1;
}

/* Bottom blend: image fades into viewer section */
.tour-hero-blend-bottom{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:35%;
  background:linear-gradient(
    to top,
    #F7F4F0 0%,
    rgba(247,244,240,0.80) 30%,
    rgba(247,244,240,0.35) 60%,
    transparent 100%
  );
  pointer-events:none;
  z-index:1;
}

/* Text content: pushed down so title sits on the blended area */
.tour-hero-content{
  position:relative;
  z-index:3;
  padding-top:52vh;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.tour-hero-heading{
  font-family:'freight-display-pro',serif;
  font-weight:300;
  font-style:italic;
  font-size:clamp(36px, 5.5vw, 64px);
  letter-spacing:0.03em;
  color:rgba(44,41,38,0.90);
  margin:0 0 8px;
  line-height:1.1;
}

.tour-hero-subtitle{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-size:clamp(13px, 1.3vw, 16px);
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:rgba(140,120,81,0.65);
  margin:0;
}

/* ── Compact variant: no image, just title + subtitle ──
   Top padding uses calc() to clear the Squarespace header
   (set to 0.4vw height in site settings) plus breathing room. */
/* Squarespace header renders at ~67px. The 0.4vw site setting
   is an internal scale factor — the actual height barely changes
   across viewports. 70px covers it with a small safety margin. */
.tour-hero--compact{
  height:auto;
  min-height:0;
  max-width:100%;
  padding:calc(70px + 48px) 4vw 32px;
  box-sizing:border-box;
}
.tour-hero--compact .tour-hero-content{
  padding-top:0;
  max-width:1440px;
  margin:0 auto;
  width:100%;
}


/* ── Tour Layout: Two-column grid ── */
/* Two-column flex layout: left col stacks viewer + description,
   right col holds the scene switcher. No grid row-span issues. */
.tour-layout{
  display:flex;
  gap:24px;
  max-width:1440px;
  margin:0 auto;
  padding:0 3vw 24px;
  align-items:flex-start;
}

/* Left column: takes remaining space, stacks vertically */
.tour-left-col{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:24px;
}


/* ── Left column: Viewer glass card ──
   Padded panel wrapping the viewer + controls, matching the
   FrontPage generator card treatment. The padding creates a
   visible glass border around the entire perimeter. */
.tour-viewer-card{
  background:rgba(255,255,255,0.25);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.45);
  border-radius:18px;
  padding:20px 20px 24px;
  box-shadow:
    0 4px 32px rgba(44,41,38,0.06),
    0 0 0 1px rgba(44,41,38,0.03);
}

/* Viewer frame: 16:9, rounded corners, sits inside the padded card */
.tour-viewer-frame{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background:#E8E5E1;
  overflow:hidden;
  border-radius:12px;
}

/* Desktop click-catcher: transparent button covering iframe,
   captures first click to prevent scroll-through interactions */
.tour-viewer-catcher{
  position:absolute;
  inset:0;
  z-index:2;
  background:transparent;
  border:0;
  padding:0;
  margin:0;
  cursor:pointer;
}
/* Hide catcher on mobile so drag works immediately */
@media (pointer: coarse), (max-width: 767px){
  .tour-viewer-catcher{
    display:none;
    pointer-events:none;
  }
}

/* Hint overlay */
.tour-viewer-hint{
  position:absolute;
  bottom:16px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(255,255,255,0.20);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.35);
  border-radius:100px;
  padding:8px 20px;
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:400;
  font-size:12px;
  letter-spacing:0.06em;
  color:rgba(44,41,38,0.60);
  pointer-events:none;
  transition:opacity 0.8s ease;
  z-index:3;
}

/* Hidden state: fade out */
.tour-viewer-hint.is-hidden{
  opacity:0;
  pointer-events:none;
}

/* Attention state: gentle pulse on desktop before first click */
@keyframes tourHintPulse{
  0%, 100% { transform:translateX(-50%) scale(1); }
  50%      { transform:translateX(-50%) scale(1.04); }
}
.tour-viewer-hint.is-attn{
  animation:tourHintPulse 2.5s ease-in-out infinite;
}

/* ── Viewer placeholder: blank "Coming Soon" for unfinished scenes ── */
.tour-viewer-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#F7F4F0;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.4s ease;
  z-index:2;
}
.tour-viewer-placeholder.is-visible{
  opacity:1;
  pointer-events:auto;
}
.tour-viewer-placeholder-text{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-size:13px;
  letter-spacing:0.10em;
  text-transform:uppercase;
  color:rgba(44,41,38,0.30);
}

/* ── Controls panel: full opacity, hover-to-reveal "Coming Soon" ── */
.tour-controls-wrap{
  padding:16px 20px 18px;
  position:relative;
  cursor:default;
}

/* "Coming Soon" overlay: hidden by default, revealed on hover */
.tour-controls-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  /* Offset for label row so text centers on the button line */
  padding-top:18px;
  background:rgba(247,244,240,0.70);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  border-radius:0 0 12px 12px;
  opacity:0;
  transition:opacity 0.3s ease;
  z-index:2;
  pointer-events:none;
  box-sizing:border-box;
}

.tour-controls-wrap:hover .tour-controls-overlay{
  opacity:1;
}

.tour-controls-overlay-text{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:400;
  font-size:11px;
  letter-spacing:0.10em;
  text-transform:uppercase;
  color:rgba(140,120,81,0.65);
}

/* Toggle button — hidden on desktop, visible on mobile */
.tour-controls-toggle{
  display:none;
}

.tour-controls{
  display:flex;
  justify-content:center;
  gap:24px;
  pointer-events:none;
}

.tour-control{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}

.tour-control-name{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:400;
  font-size:10px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:rgba(44,41,38,0.40);
}

.tour-control-options{
  display:flex;
  gap:2px;
  padding:3px;
  border-radius:8px;
  background:rgba(44,41,38,0.04);
}

.tour-control-option{
  width:80px;
  text-align:center;
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:400;
  font-size:11px;
  color:rgba(44,41,38,0.40);
  padding:4px 0;
  border-radius:6px;
  white-space:nowrap;
}

.tour-control-option.is-placeholder{
  background:rgba(140,120,81,0.14);
  color:rgba(110,94,62,0.70);
  box-shadow:inset 0 0 0 1px rgba(140,120,81,0.18);
}

/* Ghost option: invisible but preserves pill width for layout stability */
.tour-control-option.is-ghost{
  visibility:hidden;
  pointer-events:none;
}


/* ── Right column: Scene switcher glass panel ──
   JS sets an explicit height to match the viewer card.
   Thumbnails scroll internally; a pill indicator hints at more content. */
.tour-switcher-card{
  width:280px;
  flex-shrink:0;
  background:rgba(255,255,255,0.30);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.50);
  border-radius:14px;
  padding:18px 14px 14px;
  box-shadow:
    0 4px 24px rgba(44,41,38,0.06),
    0 1px 4px rgba(44,41,38,0.04);
  display:flex;
  flex-direction:column;
  gap:10px;
  overflow:hidden;
  position:relative;
  box-sizing:border-box;
}

/* Panel label */
.tour-switcher-label{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:400;
  font-size:10px;
  letter-spacing:0.10em;
  text-transform:uppercase;
  color:rgba(44,41,38,0.40);
  padding:0 4px;
}

/* Thumbnail stack inside the panel — scrolls when panel is
   height-constrained by JS-driven explicit height on the card. */
.tour-switcher-scenes{
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  padding-right:4px;
  padding-bottom:4px;
  /* Hide native scrollbar — the custom pill indicator replaces it */
  scrollbar-width:none;
  -ms-overflow-style:none;
  /* Smooth mask transitions via CSS transition on a custom property
     isn't possible, so we use opacity on pseudo-elements instead. */
}
.tour-switcher-scenes::-webkit-scrollbar{
  display:none;
}

/* ── Gradient fades: pseudo-elements on the switcher card ──
   Using ::before (top) and ::after (bottom) on the card itself,
   so they overlay the scrolling content. Opacity is transitioned
   smoothly via JS-toggled classes. */
.tour-switcher-card::before,
.tour-switcher-card::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  height:36px;
  pointer-events:none;
  z-index:3;
  opacity:0;
  transition:opacity 0.35s ease;
}
.tour-switcher-card::before{
  top:42px;
  background:linear-gradient(to bottom, rgba(255,255,255,0.30) 0%, transparent 100%);
}
.tour-switcher-card::after{
  bottom:0;
  border-radius:0 0 14px 14px;
  background:linear-gradient(to top, rgba(255,255,255,0.35) 0%, transparent 100%);
}
.tour-switcher-card.fade-top::before{
  opacity:1;
}
.tour-switcher-card.fade-bottom::after{
  opacity:1;
}

/* Individual scene thumbnail — uses outline instead of border
   to avoid the gap between border-radius clip and background-image */
.tour-scene{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background-size:cover;
  background-position:center;
  background-color:#E8E5E1;
  border-radius:10px;
  overflow:hidden;
  cursor:pointer;
  border:0;
  outline:2px solid transparent;
  outline-offset:-2px;
  transition:outline-color 0.3s ease, box-shadow 0.3s ease;
  flex-shrink:0;
}

.tour-scene:hover{
  outline-color:rgba(140,120,81,0.25);
}

/* Hover overlay with name — fills entire thumbnail */
.tour-scene-overlay{
  position:absolute;
  inset:0;
  background:rgba(44,41,38,0.0);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background 0.3s ease, opacity 0.3s ease;
  opacity:0;
}

.tour-scene:hover .tour-scene-overlay{
  background:rgba(44,41,38,0.30);
  -webkit-backdrop-filter:blur(2px);
  backdrop-filter:blur(2px);
  opacity:1;
}

.tour-scene-overlay .tour-scene-name{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:400;
  font-size:12px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.90);
}

/* Active-state bar at bottom of thumbnail */
.tour-scene-active-bar{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:8px 12px;
  background:rgba(140,120,81,0.18);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border-top:1px solid rgba(140,120,81,0.25);
  display:none;
}

.tour-scene-active-bar .tour-scene-name{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:600;
  font-size:11px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.95);
  text-shadow:0 1px 3px rgba(0,0,0,0.30);
}

/* Active scene: gold outline, bar visible, overlay hidden */
.tour-scene.is-active{
  outline-color:rgba(140,120,81,0.40);
  box-shadow:0 2px 12px rgba(140,120,81,0.12);
}

.tour-scene.is-active .tour-scene-active-bar{
  display:block;
}

.tour-scene.is-active .tour-scene-overlay{
  display:none;
}


/* ── Scroll indicator: vertical pill on the right edge of the switcher ──
   Shows when thumbnails overflow. Pill is draggable to scrub scroll. */
.tour-switcher-scroll-indicator{
  position:absolute;
  right:5px;
  top:44px;
  bottom:14px;
  width:10px;
  pointer-events:auto;
  opacity:0;
  transition:opacity 0.3s ease;
  z-index:4;
  cursor:pointer;
}

/* Show when the scenes container is scrollable */
.tour-switcher-scroll-indicator.is-visible{
  opacity:1;
}

.tour-switcher-scroll-pill{
  position:absolute;
  top:0;
  left:2px;
  width:6px;
  height:40px;
  min-height:20px;
  background:rgba(44,41,38,0.14);
  border-radius:3px;
  transition:top 0.15s ease, height 0.15s ease, background 0.2s ease;
  cursor:grab;
}

.tour-switcher-scroll-pill:hover,
.tour-switcher-scroll-pill.is-dragging{
  background:rgba(44,41,38,0.28);
}

.tour-switcher-scroll-pill.is-dragging{
  cursor:grabbing;
  transition:height 0.15s ease, background 0.2s ease;
}


/* ── Description panel: full width below both columns ──
   Lives outside .tour-layout, so it needs its own centering/padding. */
.tour-desc{
  max-width:1440px;
  margin:0 auto;
  padding:0 3vw 40px;
  overflow:hidden;
  transition:max-height 0.5s ease, opacity 0.4s ease;
}

/* Inner glass card */
.tour-desc-card{
  background:rgba(255,255,255,0.30);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.50);
  border-radius:14px;
  padding:40px 48px 44px;
  box-shadow:
    0 4px 24px rgba(44,41,38,0.06),
    0 1px 4px rgba(44,41,38,0.04);
  overflow:hidden;
}

.tour-desc-title{
  font-family:'freight-display-pro',serif;
  font-weight:300;
  font-style:italic;
  font-size:clamp(24px, 3vw, 36px);
  letter-spacing:0.02em;
  color:rgba(44,41,38,0.88);
  margin:0 0 16px;
  line-height:1.2;
  text-align:center;
  transition:opacity 0.4s ease, transform 0.4s ease;
}

.tour-desc-text{
  font-family:'Baskervville',serif;
  font-weight:400;
  font-style:normal;
  font-size:clamp(16px, 1.6vw, 19px);
  line-height:1.65;
  letter-spacing:0.005em;
  color:rgba(44,41,38,0.68);
  margin:0 auto;
  max-width:780px;
  text-align:center;
  transition:opacity 0.4s ease, transform 0.4s ease;
}

/* Collapse animation: text fades out */
.tour-desc.is-collapsing .tour-desc-title,
.tour-desc.is-collapsing .tour-desc-text{
  opacity:0;
  transform:translateY(-8px);
}

/* Expand animation: text fades in */
.tour-desc.is-expanding .tour-desc-title,
.tour-desc.is-expanding .tour-desc-text{
  opacity:0;
  transform:translateY(8px);
  animation:tourDescFadeIn 0.5s ease forwards;
}

@keyframes tourDescFadeIn{
  to{
    opacity:1;
    transform:translateY(0);
  }
}


/* ── Help pill (light theme) ── */
/* Help panel: single glass card that expands on click.
   The outer wrapper IS the card — toggle is a borderless
   button inside. Content slides open within the same card.
   No visible seam between toggle and content. */
.tour-help{
  max-width:480px;
  margin:0 auto;
  padding:0 3vw 48px;
}

/* The card itself — glass panel, always visible */
.tour-help-card{
  border-radius:20px;
  background:rgba(255,255,255,0.30);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  border:1px solid rgba(44,41,38,0.10);
  overflow:hidden;
  transition:border-radius 0.25s ease, border-color 0.3s ease,
             box-shadow 0.3s ease;
  box-shadow:0 2px 12px rgba(44,41,38,0.03);
}

.tour-help.is-open .tour-help-card{
  border-radius:16px;
  border-color:rgba(140,120,81,0.18);
  box-shadow:
    0 4px 24px rgba(44,41,38,0.05),
    0 1px 4px rgba(44,41,38,0.03);
}

.tour-help-card:hover{
  border-color:rgba(44,41,38,0.16);
}

/* Toggle button — borderless, transparent, inside the card */
.tour-help-toggle{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  padding:10px 24px;
  border:0;
  background:transparent;
  cursor:pointer;
  color:rgba(44,41,38,0.45);
  transition:color 0.2s ease;
}

.tour-help-toggle:hover{
  color:rgba(44,41,38,0.65);
}

.tour-help-icon{
  flex-shrink:0;
}

.tour-help-label{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-size:clamp(11px, 1.2vw, 13px);
  letter-spacing:0.14em;
  text-transform:uppercase;
}

/* Expandable content — slides open inside the card */
.tour-help-content{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.35s ease, padding 0.35s ease;
  padding:0 24px;
}

.tour-help.is-open .tour-help-content{
  max-height:300px;
  padding:0 24px 18px;
}

/* Tip list */
.tour-help-list{
  list-style:none;
  margin:0;
  padding:0;
}

.tour-help-item{
  padding:6px 0;
}

.tour-help-item + .tour-help-item{
  border-top:1px solid rgba(44,41,38,0.06);
}

.tour-help-text{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-size:12.5px;
  color:rgba(44,41,38,0.55);
  line-height:1.5;
}

/* Closing note */
.tour-help-note{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-style:italic;
  font-size:11px;
  color:rgba(44,41,38,0.35);
  text-align:center;
  margin:10px 0 0;
  padding:8px 0 0;
  border-top:1px solid rgba(44,41,38,0.06);
}

.tour-help-icon-inline{
  vertical-align:-2px;
  color:rgba(44,41,38,0.40);
  margin:0 2px;
}


/* ── Light-themed page-nav ruled border ── */
.page-nav--light.page-nav--ruled .page-nav-link{
  border-top-color:rgba(44,41,38,0.10);
}


/* ── Tour Page mobile overrides ── */
@media (max-width:900px){
  .tour-layout{
    flex-direction:column;
    gap:20px;
    padding:0 4vw 32px;
  }
  .tour-left-col{
    width:100%;
  }
  .tour-switcher-card{
    width:100%;
    padding:14px 12px 12px;
    border-radius:12px;
  }
  .tour-switcher-scenes{
    display:flex;
    flex-direction:row;
    gap:6px;
    flex:none;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    -ms-overflow-style:none;
    padding-bottom:4px;
  }
  .tour-switcher-scenes::-webkit-scrollbar{
    display:none;
  }
  .tour-switcher-scenes .tour-scene{
    flex:0 0 calc((100% - 12px) / 3);
    scroll-snap-align:start;
  }
  /* Horizontal scroll indicator below scenes */
  .tour-switcher-scroll-indicator{
    display:block;
    position:relative;
    right:auto;
    top:auto;
    bottom:auto;
    width:100%;
    height:10px;
    margin-top:8px;
    pointer-events:auto;
    opacity:1;
  }
  .tour-switcher-scroll-indicator.is-visible{
    opacity:1;
  }
  .tour-switcher-scroll-pill{
    top:2px;
    left:0;
    width:40px;
    height:6px;
    min-height:6px;
    border-radius:3px;
    transition:left 0.15s ease, width 0.15s ease, background 0.2s ease;
  }
  .tour-desc{
    padding:0 4vw 32px;
  }
  .tour-scene{
    aspect-ratio:1/1;
    border-radius:8px;
  }
  .tour-scene-active-bar{
    padding:4px 6px;
  }
  .tour-scene-active-bar .tour-scene-name{
    font-size:9px;
  }
}

@media (max-width:767px){
  .tour-hero--compact{
    padding:calc(70px + 32px) 4vw 24px;
  }
  .tour-hero-heading{
    font-size:clamp(28px, 8vw, 42px);
  }
  .tour-viewer-frame{
    aspect-ratio:4/3;
  }
  /* Controls toggle — visible on mobile */
  .tour-controls-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    width:100%;
    padding:10px 16px;
    border:0;
    background:transparent;
    cursor:pointer;
    color:rgba(44,41,38,0.40);
    transition:color 0.2s ease;
  }
  .tour-controls-toggle:hover{
    color:rgba(44,41,38,0.60);
  }
  .tour-controls-toggle-text{
    font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
    font-weight:300;
    font-size:11px;
    letter-spacing:0.10em;
    text-transform:uppercase;
  }
  .tour-controls-toggle-chevron{
    transition:transform 0.25s ease;
  }
  .tour-controls-wrap.is-expanded .tour-controls-toggle-chevron{
    transform:rotate(180deg);
  }
  /* On mobile: overlay is always visible when expanded,
     no tap needed. Hidden when collapsed via the wrap. */
  .tour-controls-overlay{
    opacity:0;
    transition:opacity 0.3s ease;
    padding-top:0;
    background:rgba(247,244,240,0.55);
    -webkit-backdrop-filter:blur(4px);
    backdrop-filter:blur(4px);
  }
  .tour-controls-wrap:hover .tour-controls-overlay{
    opacity:0;
  }
  .tour-controls-wrap.is-expanded .tour-controls-overlay{
    opacity:1;
  }
  /* Controls: collapsed by default on mobile */
  .tour-controls{
    flex-direction:column;
    gap:10px;
    max-height:0;
    overflow:hidden;
    transition:max-height 0.35s ease, padding 0.35s ease;
    padding-top:0;
  }
  .tour-controls-wrap.is-expanded .tour-controls{
    max-height:200px;
    padding-top:10px;
  }
  .tour-controls-wrap{
    padding:4px 16px 6px;
  }
  .tour-controls-wrap.is-expanded{
    padding:4px 16px 14px;
  }
  .tour-desc-card{
    padding:28px 24px 32px;
    border-radius:12px;
  }
  .tour-desc-title{
    font-size:clamp(20px, 6vw, 28px);
  }
  .tour-desc-text{
    font-size:clamp(15px, 4vw, 17px);
  }
  .tour-desc{
    padding:0 4vw 28px;
  }
  .tour-help{
    padding:0 4vw 36px;
    max-width:100%;
  }
  .tour-help-toggle{
    padding:8px 16px;
  }
  .tour-help.is-open .tour-help-content{
    padding:0 16px 14px;
  }
  .tour-help-text{
    font-size:11.5px;
  }
  .tour-help-note{
    font-size:10px;
  }
}

/* =========================================================
   Connect Page — Contact Form
   Replaces the Squarespace Form Block. Mailto-action by
   default; swap action= to your form backend (Formspree,
   Netlify Forms, etc.) when ready.
========================================================= */

.connect-form-wrap{
  max-width:520px;
  margin:0 auto;
  padding:0 24px 80px;
}

.connect-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.connect-field{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.connect-field-label{
  font-family:"freight-display-pro", serif;
  font-size:13px;
  font-weight:500;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:#7a6f63;
}

.connect-field input,
.connect-field textarea{
  font-family:"freight-display-pro", serif;
  font-size:16px;
  font-weight:400;
  color:#2a2520;
  background:#fffdfa;
  border:1px solid rgba(122, 111, 99, 0.25);
  border-radius:6px;
  padding:12px 14px;
  outline:none;
  transition:border-color 0.18s ease, box-shadow 0.18s ease;
}

.connect-field input:focus,
.connect-field textarea:focus{
  border-color:rgba(122, 111, 99, 0.6);
  box-shadow:0 0 0 3px rgba(122, 111, 99, 0.12);
}

.connect-field textarea{
  resize:vertical;
  min-height:120px;
  font-family:"freight-display-pro", serif;
  line-height:1.5;
}

.connect-submit{
  align-self:flex-end;
  margin-top:8px;
  font-family:"freight-display-pro", serif;
  font-size:14px;
  font-weight:500;
  letter-spacing:0.04em;
  color:#fffdfa;
  background:#2a2520;
  border:none;
  border-radius:999px;
  padding:14px 28px;
  cursor:pointer;
  transition:background 0.18s ease, transform 0.18s ease;
}

.connect-submit:hover{
  background:#3d362f;
  transform:translateY(-1px);
}

@media (max-width:767px){
  .connect-form-wrap{
    padding:0 20px 60px;
  }
  .connect-submit{
    align-self:stretch;
    text-align:center;
  }
}

