/* Events by Gisele — design tokens & base styles
   Cool-neutral editorial palette, modern serif + italic accents */

:root {
  /* Cool neutral default — porcelain / dove / silver */
  --bg: oklch(0.972 0.003 240);
  --bg-warm: oklch(0.955 0.005 240);
  --surface: oklch(0.945 0.003 240);
  --surface-2: oklch(0.93 0.003 240);
  --hairline: oklch(0.86 0.003 240);
  --silver: oklch(0.78 0.004 240);
  --ink: oklch(0.22 0.008 250);
  --ink-soft: oklch(0.35 0.008 250);
  --muted: oklch(0.5 0.006 250);
  --muted-2: oklch(0.62 0.005 250);
  --accent: oklch(0.62 0.045 75); /* muted champagne */
  --accent-ink: oklch(0.42 0.035 75);

  /* Typography */
  --serif: "Cormorant Garamond", "EB Garamond", "Times New Roman", serif;
  --sans: "Jost", "Inter", system-ui, -apple-system, sans-serif;
  --script: "Pinyon Script", "Allura", "Brush Script MT", cursive;

  /* Spacing scale */
  --space-section: clamp(96px, 12vw, 180px);
  --space-section-tight: clamp(64px, 8vw, 120px);

  /* Page width */
  --maxw: 1920px;
  --maxw-narrow: 1480px;
  --pad: clamp(20px, 5vw, 120px);
}

[data-palette="warm"] {
  --bg: oklch(0.965 0.008 80);
  --bg-warm: oklch(0.945 0.012 75);
  --surface: oklch(0.94 0.01 75);
  --surface-2: oklch(0.92 0.012 75);
  --hairline: oklch(0.84 0.012 75);
  --silver: oklch(0.74 0.012 75);
  --ink: oklch(0.24 0.012 60);
  --ink-soft: oklch(0.37 0.012 60);
  --muted: oklch(0.52 0.012 60);
  --muted-2: oklch(0.64 0.011 60);
  --accent: oklch(0.62 0.05 60);
  --accent-ink: oklch(0.42 0.04 60);
}

[data-palette="onyx"] {
  --bg: oklch(0.98 0.003 250);
  --bg-warm: oklch(0.96 0.003 250);
  --surface: oklch(0.95 0.003 250);
  --surface-2: oklch(0.92 0.003 250);
  --hairline: oklch(0.82 0.003 250);
  --silver: oklch(0.7 0.003 250);
  --ink: oklch(0.14 0.005 250);
  --ink-soft: oklch(0.28 0.005 250);
  --muted: oklch(0.45 0.005 250);
  --muted-2: oklch(0.6 0.005 250);
  --accent: oklch(0.32 0.01 250);
  --accent-ink: oklch(0.18 0.01 250);
}

[data-type="all-serif"] {
  --sans: "Cormorant Garamond", serif;
}

[data-type="sans-display"] {
  --serif: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  font-size: clamp(15px, 1.1vw, 19px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Film-grain overlay — subtle texture across the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.15  0 0 0 0 0.17  0 0 0 0 0.22  0 0 0 0.045 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Subtle radial light wash near the top */
body::after {
  content: "";
  position: fixed;
  top: -20vh;
  left: 50%;
  width: 120vw;
  height: 80vh;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(60% 50% at 50% 40%,
    color-mix(in oklch, var(--accent) 6%, transparent),
    transparent 70%);
}
img { display: block; max-width: 100%; }

.serif { font-family: var(--serif); }
.italic { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--silver);
  display: inline-block;
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::before, .eyebrow.no-rule::before { display: none; }
.eyebrow.bookended::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--silver);
  display: inline-block;
}

.h-display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(64px, 9.5vw, 168px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.h-display em {
  font-style: italic;
  font-weight: 400;
}

.h-section {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 120px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.h-section em { font-style: italic; }

.h-3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  margin: 0;
}
.h-3 em { font-style: italic; }

.body-lg {
  font-family: var(--sans);
  font-size: clamp(17px, 1.25vw, 22px);
  line-height: 1.7;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 56ch;
  text-wrap: pretty;
}
.body {
  font-family: var(--sans);
  font-size: clamp(15px, 1.1vw, 19px);
  line-height: 1.7;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 60ch;
  text-wrap: pretty;
}
.caption {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 18px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: var(--ink);
  transition: right 0.4s cubic-bezier(.2,.7,.2,1);
}
.cta:hover::after { right: 40%; }
.cta .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.cta:hover .arrow { transform: translateX(6px); }

.cta-filled {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  padding: 18px 32px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}
.cta-filled:hover {
  background: var(--accent-ink);
}

.section {
  padding-block: var(--space-section);
  padding-inline: var(--pad);
  position: relative;
  overflow: hidden;
}
.section.tight { padding-block: var(--space-section-tight); }
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  width: 100%;
}
.container.narrow { max-width: var(--maxw-narrow); }

.rule {
  width: 100%;
  height: 1px;
  background: var(--hairline);
}

/* Image slot defaults — override the starter's pale gray background */
image-slot::part(frame) {
  background: var(--surface-2);
}
image-slot::part(ring) {
  border-color: color-mix(in oklch, var(--ink) 22%, transparent);
}

/* Real <img> slots — recreate the editorial frame the prototype's
   <image-slot> provided. Default to cover-fitting the slot's box. */
.slot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--surface-2);
}

.hero-img-main picture,
.hero-img-detail picture,
.about-img-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Editorial label numerals */
.numeral {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(64px, 8vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: block;
}

.divider-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--silver);
  margin-inline: 14px;
  vertical-align: middle;
}

/* Sticky nav */
.nav-root {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav-root[data-scrolled="true"] {
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--hairline);
}

/* Smooth scrolling for anchor nav */
html { scroll-behavior: smooth; }

/* Atmospheric display word — sits in the background of sections */
.atmos {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  pointer-events: none;
  user-select: none;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in oklch, var(--ink) 12%, transparent);
  font-size: clamp(180px, 28vw, 440px);
  line-height: 0.78;
  letter-spacing: -0.02em;
  white-space: nowrap;
  z-index: 0;
}
.atmos.fill {
  -webkit-text-stroke: 0;
  color: color-mix(in oklch, var(--ink) 4%, transparent);
}

/* Section index — tiny italic mark in upper-left of each section */
.sec-index {
  position: absolute;
  top: clamp(40px, 6vw, 80px);
  left: var(--pad);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.sec-index::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--silver);
}

/* Now Booking — thin pill, bottom-right */
.now-booking {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  background: color-mix(in oklch, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--hairline);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
  transition: background 0.3s ease, transform 0.3s ease;
  border-radius: 999px;
}
.now-booking:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* Monogram */
.monogram {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Marquee */
.marquee {
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 26px 0;
  background: var(--bg-warm);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 48px;
  align-items: center;
  padding-right: 48px;
  animation: marq 110s linear infinite;
  white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
.marquee-item {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.005em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-style: italic;
}
.marquee-item .mq-quote { color: var(--ink); }
.marquee-item .mq-attr {
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-item .mq-sep {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--silver); display: inline-block;
  flex: 0 0 6px;
  align-self: center;
}

/* Portfolio hover */
.pf-card {
  position: relative;
  padding: 14px;
  background: var(--surface);
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1), box-shadow 0.5s;
  box-shadow: 0 16px 40px -32px rgba(20,24,40,.22);
}
.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 70px -36px rgba(20,24,40,.32);
}
.pf-card .pf-img-wrap {
  position: relative;
  overflow: hidden;
}
.pf-card .pf-img-wrap img.slot {
  transition: transform 0.9s cubic-bezier(.2,.7,.2,1);
  transform-origin: center;
}
.pf-card:hover .pf-img-wrap img.slot {
  transform: scale(1.04);
}
.pf-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 5;
}
.scroll-cue .line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--silver), var(--ink));
  animation: cue 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Hero ornament corner */
.ornament {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent-ink);
  opacity: 0.7;
}

/* Numbered process — vertical rail */
.proc-rail {
  position: relative;
}
.proc-rail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--hairline);
  transform: translateX(-0.5px);
}
.proc-item {
  position: relative;
  padding: 56px clamp(40px, 5vw, 80px);
  transition: background 0.4s ease;
  cursor: default;
}
.proc-item:hover { background: color-mix(in oklch, var(--surface) 60%, transparent); }
.proc-item:hover .numeral {
  color: var(--accent-ink);
  transform: translateX(-4px);
}
.proc-item .numeral {
  transition: color 0.4s ease, transform 0.4s ease;
}

/* Editorial mark before section title */
.mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 12px;
}

/* Subtle reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Form */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 12px;
}
.field label {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  border: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  font-weight: 300;
  padding: 0;
  outline: none;
  resize: none;
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in oklch, var(--muted-2) 35%, var(--bg));
  font-style: italic;
  opacity: 1;
}
.field:focus-within {
  border-bottom-color: var(--ink);
}

/* Misc */
::selection {
  background: color-mix(in oklch, var(--accent) 45%, transparent);
  color: var(--ink);
}

/* ── Static layout (moved here from React inline styles) ───────────── */

/* Nav */
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-left  { display: flex; gap: 36px; justify-content: flex-start; }
.nav-right { display: flex; gap: 36px; justify-content: flex-end; }
.nav-link {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 400;
}
.nav-brand {
  text-decoration: none;
  text-align: center;
  color: var(--ink);
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-brand-logo {
  height: 90px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Hero */
.hero {
  padding-top: clamp(140px, 16vw, 220px);
  padding-bottom: clamp(64px, 8vw, 120px);
  min-height: 100vh;
}
.hero-corner {
  position: absolute;
  top: clamp(96px, 12vw, 160px);
  right: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  z-index: 3;
}
.hero-monogram { font-size: 36px; color: var(--accent-ink); }
.hero-est {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy { max-width: 640px; }
.hero-ctas {
  margin-top: 40px;
  display: flex;
  gap: 36px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-img-stack {
  position: relative;
  aspect-ratio: 4 / 5.2;
  min-height: 540px;
}
.hero-img-main {
  position: absolute;
  inset: 0;
  background: var(--surface-2);
}
.hero-img-detail {
  position: absolute;
  right: -6%;
  bottom: -8%;
  width: 42%;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -30px rgba(20,24,40,.25);
  background: var(--bg);
  padding: 8px;
}

/* Marquee — two side-by-side identical tracks */
.marquee { gap: 0; }
.marquee .marquee-track { flex-shrink: 0; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-img-wrap { position: relative; }
.about-img {
  width: 100%;
  aspect-ratio: 4 / 5.3;
  min-height: 520px;
}
.about-img-frame {
  position: absolute;
  top: -24px;
  left: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  border: 1px solid var(--hairline);
  pointer-events: none;
  z-index: -1;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--hairline);
}
.stat-n {
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
}
.stat-label { margin-top: 12px; }

/* Client revision: improve readability in the two text-heavy sections. */
#about .body-lg,
.process-head .body-lg {
  font-size: clamp(18px, 1.3vw, 22px);
}
#about .body,
.process-body {
  font-size: clamp(18px, 1.25vw, 21px);
  line-height: 1.75;
}

/* Process */
.process-wrap { position: relative; z-index: 1; }
.process-head {
  text-align: center;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(48px, 6vw, 96px);
  row-gap: 0;
}
.process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--hairline);
}
.process-item--last-row { border-bottom: 1px solid var(--hairline); }
.process-head-3 { margin-top: 10px; color: var(--ink); }
.process-body  { margin-top: 14px; max-width: 46ch; }

/* Featured */
.featured-wrap { position: relative; z-index: 1; }
.featured-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: end;
  margin-bottom: 56px;
}
.featured-meta { margin-top: 18px; }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 16px;
}
.ft-cell { position: relative; overflow: hidden; background: var(--surface-2); }
.ft-cell img.slot { width: 100%; height: 100%; object-fit: cover; }
.ft-1 { grid-column: span 8; grid-row: span 4; }
.ft-2 { grid-column: span 4; grid-row: span 4; }
.ft-3 { grid-column: span 4; grid-row: span 3; }
.ft-4 { grid-column: span 5; grid-row: span 3; }
.ft-5 { grid-column: span 3; grid-row: span 3; }
.featured-cta { margin-top: 56px; text-align: center; }

/* Portfolio */
.portfolio-wrap { position: relative; z-index: 1; }
.portfolio-head {
  text-align: center;
  margin-bottom: clamp(56px, 7vw, 100px);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.5vw, 56px) clamp(24px, 3vw, 44px);
}
.pf-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.pf-card-body {
  padding: 22px 14px 14px;
  text-align: left;
}
.pf-venue {
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.22;
}
.pf-loc { margin-top: 10px; }
.pf-desc {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: none;
}
.pf-img-wrap { aspect-ratio: 4 / 5; }
.pf-img-wrap img.slot { width: 100%; height: 100%; display: block; }
.pf-view {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
}
.pf-view .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.pf-card:hover .pf-view .arrow { transform: translateX(6px); }
.portfolio-cta { margin-top: 80px; text-align: center; }

/* Testimonials */
.testimonial-wrap {
  text-align: center;
  max-width: 920px;
  position: relative;
  z-index: 1;
}
.testimonial-mark {
  font-size: clamp(56px, 8vw, 110px);
  line-height: 0.6;
  color: var(--silver);
  font-weight: 300;
}
.testimonial-stage {
  position: relative;
  min-height: 220px;
}
.testimonial {
  margin: 0;
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.testimonial.is-on {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
.testimonial-q {
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.35;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
.testimonial-attr { margin-top: 36px; }
.testimonial-attr-name { font-size: 20px; color: var(--ink-soft); }
.testimonial-attr-loc  { margin-top: 8px; }
.testimonial-dots {
  margin-top: 48px;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.testimonial-dot {
  width: 8px;
  height: 1.5px;
  padding: 0;
  background: var(--silver);
  border: 0;
  cursor: pointer;
  transition: width 0.4s ease, background 0.4s ease;
}
.testimonial-dot.is-on {
  width: 36px;
  background: var(--ink);
}

/* Inquiry */
.inquiry-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
  position: relative;
  z-index: 1;
}
.inquiry-intro { position: sticky; top: 120px; }
.inquiry-investment {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--hairline);
}
.inquiry-form-fields {
  display: grid;
  gap: 28px;
}
.inquiry-form-fields[hidden] { display: none; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.form-submit { margin-top: 12px; }
.form-status {
  min-height: 1.5em;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.form-status.is-error {
  padding: 14px 16px;
  border: 1px solid var(--ink-soft);
  color: var(--ink);
}
.form-privacy {
  max-width: 54ch;
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.form-privacy a {
  color: var(--ink-soft);
  text-underline-offset: 3px;
}
.form-submit button:disabled {
  cursor: wait;
  opacity: 0.62;
}
.inquiry-success[hidden] { display: none; }
.inquiry-success {
  min-height: clamp(420px, 52vw, 620px);
  padding: clamp(44px, 7vw, 88px);
  background: var(--ink);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  outline: none;
}
.inquiry-success::after {
  content: "Thank you";
  position: absolute;
  right: -0.08em;
  bottom: -0.14em;
  font-family: var(--serif);
  font-size: clamp(76px, 12vw, 170px);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.055);
  pointer-events: none;
}
.inquiry-success-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 36px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 18px;
}
.inquiry-success-label {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.inquiry-success h3 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.inquiry-success > p:last-of-type {
  max-width: 38ch;
  margin: 28px 0 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}
.inquiry-success-link {
  margin-top: 44px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}
.inquiry-success-link span { margin-left: 10px; }

@media (max-width: 720px) {
  .inquiry-success {
    min-height: 480px;
    padding: 44px 30px;
  }
  .inquiry-success::after {
    right: -0.22em;
    bottom: -0.08em;
  }
}

/* Footer */
.footer {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(48px, 6vw, 96px);
  padding-inline: var(--pad);
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}
.footer-brand-logo {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-tagline { margin-top: 22px; max-width: 34ch; }
.footer-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.footer-list li {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--ink-soft);
}
.footer-list a { color: inherit; text-decoration: none; }
.footer-copy {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-tagline-inline {
  text-transform: none;
  font-size: 13px;
  letter-spacing: 0;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  :root {
    --space-section: clamp(72px, 10vw, 120px);
    --space-section-tight: clamp(48px, 7vw, 88px);
  }

  body { font-size: 17px; line-height: 1.65; }
  .body { font-size: 16px; }
  .body-lg { font-size: 18px; }
  .process-body { font-size: 18px; }

  .cta, .cta-filled {
    font-size: 12.5px;
    padding: 20px 28px;
    min-height: 48px;
  }
  .cta { padding-inline: 4px; }

  .nav-root { background: var(--bg); border-bottom-color: var(--hairline); }
  .nav-inner { grid-template-columns: 1fr; gap: 10px; padding: 14px var(--pad); }
  .nav-left, .nav-right { justify-content: center; flex-wrap: wrap; gap: 20px; }
  .nav-link { font-size: 11.5px; min-height: 44px; display: inline-flex; align-items: center; }
  .nav-brand-logo { height: 68px; }

  .hero { padding-top: clamp(230px, 32vw, 280px); min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-img-stack { min-height: 0; aspect-ratio: 4 / 5; margin-top: 16px; }
  .hero-corner { top: clamp(88px, 18vw, 140px); }
  .hero-ctas { margin-top: 28px; gap: 20px; }

  /* Mobile fallback: ensure reveal sections render even if IntersectionObserver
     threshold doesn't trigger reliably on tall sections */
  .reveal { opacity: 1; transform: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { min-height: 0; aspect-ratio: 4 / 5; }
  .about-stats { margin-top: 36px; padding-top: 28px; gap: 20px; }

  .process-list { grid-template-columns: 1fr; }
  .process-item--last-row { border-bottom: 0; }
  .process-item:last-child { border-bottom: 1px solid var(--hairline); }
  .process-item { padding: 28px 0; gap: 20px; }

  .featured-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .featured-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .ft-1 { grid-column: 1 / -1; grid-row: span 2; }
  .ft-2 { grid-column: span 1; grid-row: span 2; }
  .ft-3 { grid-column: span 1; grid-row: span 2; }
  .ft-4 { grid-column: 1 / -1; grid-row: span 2; }
  .ft-5 { grid-column: 1 / -1; grid-row: span 2; }
  .featured-cta { margin-top: 36px; }

  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .portfolio-head { margin-bottom: 40px; }
  .portfolio-cta { margin-top: 48px; }

  .inquiry-grid { grid-template-columns: 1fr; gap: 36px; }
  .inquiry-intro { position: static; }
  .form-row-2 { grid-template-columns: 1fr; }
  .field input, .field textarea, .field select { font-size: 18px; min-height: 44px; }

  .footer { padding-block: clamp(40px, 6vw, 72px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand-logo { height: 64px; }
  .footer-list li { font-size: 17px; }
  .footer-copy { margin-top: 36px; }
}

@media (max-width: 560px) {
  #about { padding-top: 128px; }
  #about .sec-index { top: 44px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .now-booking { right: 16px; bottom: 16px; padding: 10px 16px; font-size: 9.5px; }
}

/* ── Gallery pages ──────────────────────────────────────────────────── */

.gallery-body { background: var(--bg); }
.gallery-main {
  padding-top: clamp(140px, 14vw, 200px);
  padding-bottom: clamp(80px, 10vw, 160px);
}

@media (max-width: 960px) {
  .gallery-main { padding-top: 230px; }
}

.g-header {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(56px, 6vw, 96px);
  text-align: center;
  position: relative;
}
.g-back {
  position: absolute;
  top: 0;
  left: var(--pad);
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
.g-back:hover { color: var(--ink); transform: translateX(-3px); }
.g-title {
  margin-top: 28px;
  font-size: clamp(54px, 7.5vw, 132px);
}
.g-meta {
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.g-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--silver); display: inline-block;
}

/* Image grid — CSS columns gives a clean masonry feel without JS */
.g-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  column-count: 3;
  column-gap: clamp(16px, 1.5vw, 28px);
}
.g-tile {
  display: block;
  break-inside: avoid;
  margin-bottom: clamp(16px, 1.5vw, 28px);
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
}
.g-tile img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.9s cubic-bezier(.2,.7,.2,1), opacity 0.4s ease;
  opacity: 0.96;
}
.g-tile:hover img {
  transform: scale(1.025);
  opacity: 1;
}
@media (max-width: 1100px) { .g-grid { column-count: 2; } }
@media (max-width: 640px)  { .g-grid { column-count: 1; } }

/* Prev / next pager */
.g-next {
  max-width: var(--maxw-narrow);
  margin: clamp(80px, 9vw, 140px) auto 0;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.g-next-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 156px;
  padding: 28px clamp(24px, 3vw, 48px);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in oklch, var(--surface) 45%, transparent);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.35s ease, color 0.35s ease;
}
.g-next-prev { align-items: flex-start; text-align: left; }
.g-next-fwd  { align-items: flex-end; text-align: right; border-left: 1px solid var(--hairline); }
.g-next-link:hover { background: var(--surface); color: var(--accent-ink); }
.g-next-names {
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 400;
  line-height: 1.15;
}

/* CTA below pager */
.g-cta {
  max-width: var(--maxw-narrow);
  margin: clamp(80px, 9vw, 140px) auto 0;
  padding: 0 var(--pad);
  text-align: center;
}
.g-cta .body-lg {
  margin: 22px auto 36px;
}

@media (max-width: 720px) {
  .g-back { position: static; display: inline-block; margin-bottom: 24px; }
  .g-next { grid-template-columns: 1fr 1fr; }
  .g-next-link { min-height: 136px; padding: 22px 16px; gap: 8px; }
  .g-next-link .caption { font-size: 8px; letter-spacing: 0.2em; }
  .g-next-names { font-size: clamp(18px, 5.3vw, 22px); }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(8, 9, 14, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 64px);
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lb-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.6);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.85);
  font-family: var(--serif);
  font-weight: 300;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
  z-index: 2;
}
.lb-close {
  top: 24px;
  right: 28px;
  font-size: 38px;
  line-height: 1;
  width: 44px;
  height: 44px;
}
.lb-prev, .lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 64px;
  line-height: 1;
  width: 56px;
  height: 56px;
}
.lb-prev { left: clamp(16px, 3vw, 48px); }
.lb-next { right: clamp(16px, 3vw, 48px); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: #fff; }
.lb-prev:hover { transform: translateY(-50%) translateX(-4px); }
.lb-next:hover { transform: translateY(-50%) translateX(4px); }
.lb-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* Privacy policy */
.policy-body { background: var(--bg); }
.policy-main {
  padding-top: clamp(150px, 15vw, 210px);
  padding-bottom: clamp(80px, 10vw, 150px);
}
.policy-hero {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(48px, 6vw, 84px);
  text-align: center;
  border-bottom: 1px solid var(--hairline);
}
.policy-effective {
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.policy-content {
  width: min(760px, calc(100% - (2 * var(--pad))));
  margin: 0 auto;
  padding-top: clamp(48px, 6vw, 80px);
}
.policy-intro {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.45;
  color: var(--ink-soft);
}
.policy-content section {
  margin-top: clamp(42px, 5vw, 64px);
}
.policy-content h2 {
  font-family: var(--serif);
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
.policy-content p,
.policy-content li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.policy-content p { margin-top: 18px; }
.policy-content ul {
  margin: 18px 0 0 1.2em;
  display: grid;
  gap: 10px;
}
.policy-content a {
  color: var(--accent-ink);
  text-underline-offset: 4px;
}
.policy-content address {
  margin-top: 18px;
  font-style: normal;
}

@media (max-width: 960px) {
  .policy-main { padding-top: 230px; }
}

@media (max-width: 560px) {
  .policy-main { padding-top: 210px; }
  .policy-content p,
  .policy-content li { font-size: 16px; }
}
