/* Hallmark · macrostructure: Photographic (film chapters) · tone: luxury, quiet · anchor hue: pool water 215 · see tokens.css */
@import url(fonts/fonts.css);
@import url(tokens.css);

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; background: var(--color-paper); color: var(--color-text); }
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 300;
  line-height: 1.55;
  overflow-x: clip;
  transition: background-color 1.2s var(--ease-in-out), color 1.2s var(--ease-in-out);
}
body.is-night { background: var(--color-ink-2); color: var(--color-paper); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
::selection { background: var(--color-accent); color: var(--color-paper); }

h1, h2, h3, p { margin: 0; }
.display, .statement, .title { font-family: var(--font-display); font-weight: 250; font-style: normal; letter-spacing: -0.012em; font-variation-settings: 'opsz' 72; min-width: 0; }
.statement, .title { overflow-wrap: anywhere; }
.display { font-size: var(--text-display); line-height: 0.96; letter-spacing: -0.02em; }
.statement { font-size: var(--text-statement); line-height: 1.1; font-weight: 450; letter-spacing: -0.018em; }
.title { font-size: var(--text-title); line-height: 1.15; font-weight: 300; }
.caption { font-size: var(--text-caption); line-height: 1.45; color: var(--color-muted); letter-spacing: 0.01em; }
.on-ink .caption, .is-night .caption { color: var(--color-muted-on-ink); }
.figure { font-family: var(--font-display); font-weight: 250; font-size: var(--text-figure); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums; font-variation-settings: 'opsz' 72; }

.wrap { padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(0.75rem, 2vw, 2rem); }

/* Entrance: one page-load moment */
.entrance {
  position: fixed; inset: 0; z-index: 2000; background: var(--color-ink-2); color: var(--color-paper);
  display: grid; place-items: center; text-align: center; pointer-events: none;
}
.entrance .display { font-size: clamp(2rem, 6vw, 5.5rem); opacity: 0; }
.entrance .line { display: block; width: 0; height: 1px; background: var(--color-paper); margin: 1.2rem auto 0; opacity: 0.6; }
.entrance .caption { color: var(--color-muted-on-ink); opacity: 0; margin-top: 0.9rem; }
.entrance.is-done { display: none; }

/* Nav: a real bar with its own ground, sans lockup, Enquire as the one filled action */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
  padding: 0.85rem var(--gutter); color: var(--color-ink);
  background: oklch(96.2% 0.004 220 / 0.78); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid oklch(20% 0.02 250 / 0.08);
  font-size: var(--text-small); font-weight: 400; letter-spacing: 0.01em;
  transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.nav.on-photo, .is-night .nav { color: #fff; background: oklch(14% 0.014 250 / 0.42); border-bottom-color: oklch(100% 0 0 / 0.14); }
.nav .brand { font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; letter-spacing: -0.005em; font-variation-settings: 'opsz' 24; white-space: nowrap; line-height: 1; }
.nav .links { display: flex; align-items: center; gap: clamp(0.9rem, 2.2vw, 2rem); }
.nav a, .nav button { position: relative; white-space: nowrap; padding: 0.3rem 0; }
.nav a:not(.pill)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.nav a:not(.pill):hover::after, .nav a:not(.pill):focus-visible::after { transform: scaleX(1); }
.nav .pill { padding: 0.5rem 1rem; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); font-weight: 500; transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.nav .pill:hover { background: var(--color-ink-soft); }
.nav.on-photo .pill, .is-night .nav .pill { background: var(--color-paper); color: var(--color-ink); }
.nav.on-photo .pill:hover, .is-night .nav .pill:hover { background: #fff; }
.sound { display: inline-flex; align-items: center; gap: 0.55rem; }
.sound .bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound .bars i { display: block; width: 2px; height: 3px; background: currentColor; border-radius: 1px; }
.sound[aria-pressed="true"] .bars i { animation: bar 0.9s var(--ease-in-out) infinite alternate; }
.sound .bars i:nth-child(2) { animation-delay: -0.3s; } .sound .bars i:nth-child(3) { animation-delay: -0.6s; } .sound .bars i:nth-child(4) { animation-delay: -0.15s; }
@keyframes bar { from { height: 3px; } to { height: 12px; } }
.sound .label::after { content: 'Sound'; }
.sound[aria-pressed="true"] .label::after { content: 'Sound on'; }
@media (max-width: 560px) { .nav .brand { font-size: 1.2rem; } .nav .links { gap: 0.8rem; } .nav .pill { padding: 0.45rem 0.85rem; } }

/* Film: full-bleed video chapters */
.film { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: clip; background: var(--color-ink); color: var(--color-paper); }
.film video, .film .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film video { opacity: 0; transition: opacity 1.4s var(--ease-out); }
.film video.is-ready { opacity: 1; }
.film .shade { position: absolute; inset: 0; background: linear-gradient(to top, oklch(12% 0.02 250 / 0.62) 0%, oklch(12% 0.02 250 / 0.12) 38%, oklch(12% 0.02 250 / 0) 60%, oklch(12% 0.02 250 / 0.22) 100%); pointer-events: none; }
.film .over { position: absolute; inset: auto 0 0 0; padding: 0 var(--gutter) clamp(1.5rem, 4vh, 3rem); display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-md); }
.film .over .caption { color: oklch(88% 0.008 240); max-width: 34ch; }
.hero .over { align-items: flex-end; }
.hero .display { text-wrap: balance; }
.hero .sub { margin-top: 0.9rem; font-size: clamp(0.95rem, 1.4vw, 1.125rem); font-weight: 300; color: oklch(90% 0.008 240); letter-spacing: 0.01em; }
.hero .right { text-align: right; flex: 0 0 auto; }
.hero .price { font-family: var(--font-display); font-weight: 250; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: lining-nums; font-variation-settings: 'opsz' 48; }
.hero .right .caption { margin-top: 0.6rem; color: oklch(80% 0.01 240); }
.film .hint { position: absolute; right: var(--gutter); bottom: 1.4rem; width: 1px; height: 2.6rem; background: oklch(90% 0 0 / 0.5); overflow: hidden; }
.film .hint::after { content: ''; position: absolute; inset: 0; background: #fff; transform: translateY(-100%); animation: hint 2.2s var(--ease-in-out) infinite; }
@keyframes hint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Opening statement + facts */
.open { padding-block: clamp(5rem, 12vh, 9rem) clamp(4rem, 8vh, 6rem); }
.open .statement { grid-column: 1 / span 11; max-width: 22ch; }
.open .statement .w { display: inline-block; opacity: 0; transform: translateY(0.35em); }
.facts { margin: clamp(3rem, 8vh, 6rem) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule); border-bottom: var(--rule); }
.facts > div { padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2.25rem) clamp(1.5rem, 3vw, 2.25rem) 0; display: grid; grid-template-rows: auto 1fr auto; gap: 0.75rem; }
.facts > div + div { border-left: var(--rule); padding-left: clamp(1rem, 2.5vw, 2.25rem); }
.facts .ico { width: 52px; height: 52px; stroke: var(--color-ink); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.facts .figure { align-self: end; }
.facts .caption { margin: 0; }
.also { list-style: none; margin: clamp(1.25rem, 3vh, 2rem) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem clamp(1.25rem, 3vw, 2.5rem); font-size: var(--text-small); color: var(--color-muted); }
.also li { display: inline-flex; white-space: nowrap; }
.also button { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.3rem 0; color: inherit; border-bottom: 1px solid transparent; transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.also button:hover, .also button:focus-visible { color: var(--color-ink); border-bottom-color: var(--color-ink); }
.also button:focus-visible { outline: none; }
.ico-s { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
@media (max-width: 720px) {
  .hero .over { flex-direction: column; align-items: stretch; gap: 1.25rem; } .hero .right { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; text-align: left; } .hero .right .caption { margin: 0; text-align: right; }
  .open .statement { grid-column: 1 / -1; max-width: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div { padding-right: 1rem; }
  .facts > div:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: var(--rule); }
  .facts .ico { width: 44px; height: 44px; }
}

/* Scroll-driven sequence */
.seq { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: clip; background: var(--color-ink); color: var(--color-paper); }
.seq .frame { position: absolute; inset: 0; }
.seq .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; will-change: opacity, transform; }
.seq .frame img:first-child { opacity: 1; }
.seq .shade { position: absolute; inset: 0; background: linear-gradient(to top, oklch(12% 0.02 250 / 0.6), oklch(12% 0.02 250 / 0) 45%); pointer-events: none; }
.seq .caps { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(1.5rem, 4vh, 3rem); display: grid; }
.seq .caps p { grid-area: 1 / 1; max-width: 40ch; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.25rem, 2.2vw, 1.9rem); line-height: 1.25; opacity: 0; transform: translateY(0.4em); }
.seq .caps p:first-child { opacity: 1; transform: none; }
.seq .progress { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(3.6rem + 1.4rem); display: flex; gap: 5px; z-index: 2; }
.seq .progress span { flex: 1 1 0; height: 3px; border-radius: 2px; background: oklch(100% 0 0 / 0.32); overflow: hidden; }
.seq .progress i { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
@media (max-width: 720px) { .seq .progress { top: calc(3.4rem + 1.4rem); gap: 4px; } .seq .progress span { height: 4px; } }
.seq .next { position: absolute; inset: 0; width: 100%; cursor: pointer; }
.seq .next:focus-visible { outline-offset: -6px; }

/* Editorial spreads */
.spread { padding-block: clamp(5rem, 12vh, 9rem); }
.spread .title { margin-bottom: 1.25rem; }
.spread p.lede { max-width: 52ch; font-size: 1.125rem; line-height: 1.6; }
.spread p + p { margin-top: 1em; }
.spread figure { margin: 0; }
.spread figure img { width: 100%; height: auto; }
.spread figcaption { margin-top: 0.7rem; }
.spread .pimg { overflow: clip; }
.spread .pimg img { will-change: transform; transform: scale(1.08); }
.suite .a { grid-column: 1 / span 7; }
.suite .txt { grid-column: 9 / span 4; align-self: end; padding-bottom: 6%; }
.suite .b { grid-column: 2 / span 5; margin-top: clamp(2rem, 6vh, 5rem); }
.suite .c { grid-column: 8 / span 5; margin-top: clamp(6rem, 16vh, 12rem); }
@media (max-width: 900px) {
  .suite .a, .suite .txt, .suite .b, .suite .c { grid-column: 1 / -1; margin-top: var(--space-md); padding-bottom: 0; }
  .suite .txt { order: -1; margin-top: 0; margin-bottom: var(--space-sm); }
}

/* Evening: horizontal track on desktop, stacked on mobile */
.night { padding-block: clamp(5rem, 12vh, 9rem) 0; }
.night .head { padding-bottom: var(--space-lg); }
.night .head .title { max-width: 20ch; }
.night .track { display: flex; gap: clamp(1rem, 2.5vw, 2.5rem); padding: 0 var(--gutter) clamp(5rem, 12vh, 9rem); will-change: transform; }
.night .track figure { flex: 0 0 auto; width: min(78vw, 1100px); margin: 0; }
.night .track figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.night .track figure.tall { width: min(48vw, 640px); }
.night .track figure.tall img { aspect-ratio: 4 / 5; }
.night .track figcaption { margin-top: 0.7rem; }
.night .track .end { flex: 0 0 auto; width: 40vw; display: flex; align-items: flex-end; }
.night .track .end .caption { max-width: 28ch; }
@media (max-width: 900px) {
  .night .track { flex-direction: column; }
  .night .track figure, .night .track figure.tall { width: 100%; }
  .night .track .end { width: auto; }
}

/* Outdoors mosaic */
.out { padding-block: clamp(4rem, 10vh, 7rem); }
.out figure { margin: 0; }
.out figure img { width: 100%; height: auto; }
.out figcaption { margin-top: 0.7rem; }
.out .o1 { grid-column: 1 / span 8; }
.out .o2 { grid-column: 9 / span 4; align-self: end; }
.out .o3 { grid-column: 1 / span 4; margin-top: clamp(1.5rem, 4vh, 3rem); align-self: start; }
.out .o4 { grid-column: 6 / span 7; margin-top: clamp(1.5rem, 4vh, 3rem); }
.out .o3 img, .out .o2 img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .out .o1, .out .o2, .out .o3, .out .o4 { grid-column: 1 / -1; margin-top: var(--space-md); } }

/* Strand: film with a drive-time list on a glass panel */
.strand .shade { background: linear-gradient(to top, oklch(12% 0.02 250 / 0.78) 0%, oklch(12% 0.02 250 / 0.35) 45%, oklch(12% 0.02 250 / 0.05) 75%, oklch(12% 0.02 250 / 0.2) 100%); }
.strand .over { align-items: flex-end; }
.strand .where { max-width: 36ch; text-shadow: 0 1px 14px oklch(10% 0.02 250 / 0.5); }
.strand .where .title { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
.strand .drives { list-style: none; margin: 0; padding: 0.5rem 1.25rem; min-width: min(22rem, 42vw); font-size: var(--text-small); background: oklch(12% 0.02 250 / 0.58); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid oklch(100% 0 0 / 0.12); }
.strand .drives li { display: flex; justify-content: space-between; gap: var(--space-md); padding: 0.6rem 0; border-top: 1px solid oklch(100% 0 0 / 0.14); }
.strand .drives li:first-child { border-top: 0; }
.strand .drives span:last-child { font-variant-numeric: tabular-nums lining-nums; color: oklch(94% 0.008 240); }
@media (max-width: 720px) {
  .strand .over { flex-direction: column; align-items: stretch; gap: 1rem; }
  .strand .where { max-width: none; }
  .strand .drives { min-width: 0; padding: 0.25rem 1rem; font-size: var(--text-caption); }
  .strand .drives li { padding: 0.5rem 0; }
}

/* Gallery */
.gallery { padding-block: clamp(5rem, 12vh, 9rem) clamp(4rem, 8vh, 6rem); }
.gallery .head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); padding-bottom: var(--space-md); }
.gallery .tiles { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(0.5rem, 1.2vw, 1.25rem); }
.gallery .tiles button { display: block; width: 100%; overflow: clip; grid-column: span 2; }
.gallery .tiles button img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery .tiles button:hover img, .gallery .tiles button:focus-visible img { transform: scale(1.03); }
.gallery .tiles button:nth-child(9n+1) { grid-column: span 4; }
.gallery .tiles button:nth-child(9n+1) img { aspect-ratio: 16 / 9; }
.gallery .tiles button:nth-child(9n+6) { grid-column: span 3; }
.gallery .tiles button:nth-child(9n+7) { grid-column: span 3; }
@media (max-width: 720px) { .gallery .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery .tiles button, .gallery .tiles button:nth-child(9n+1), .gallery .tiles button:nth-child(9n+6), .gallery .tiles button:nth-child(9n+7) { grid-column: span 1; } .gallery .tiles button:nth-child(9n+1) { grid-column: span 2; } }

.lightbox { position: fixed; inset: 0; z-index: 1500; background: oklch(10% 0.015 250 / 0.96); color: var(--color-paper); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease-out); }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox .bar { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem var(--gutter); font-size: var(--text-small); }
.lightbox #lb-title:not(:empty)::after { content: ''; display: inline-block; width: 1px; height: 0.9em; background: currentColor; opacity: 0.4; margin: 0 0.7rem; vertical-align: -0.1em; }
.lightbox .stage { position: relative; display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lightbox .stage img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; max-height: calc(100svh - 9rem); }
.lightbox .foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: 1.1rem var(--gutter); font-size: var(--text-small); }
.lightbox .foot .caption { color: var(--color-muted-on-ink); }
.lightbox .nav-btn { position: absolute; top: 0; bottom: 0; width: 50%; cursor: w-resize; }
.lightbox .nav-btn.next { right: 0; cursor: e-resize; }
.lightbox .nav-btn.prev { left: 0; }
.lightbox .btn { padding: 0.4rem 0; border-bottom: 1px solid transparent; transition: border-color var(--dur-fast) var(--ease-out); }
.lightbox .btn:hover { border-color: currentColor; }

/* Lower-thirds dock */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0.75rem var(--gutter); padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  color: var(--color-ink); background: oklch(96.2% 0.004 220 / 0.82); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border-top: 1px solid oklch(20% 0.02 250 / 0.08);
  transform: translateY(110%); transition: transform 0.55s var(--ease-out), background-color 0.5s var(--ease-out), color 0.5s var(--ease-out);
}
.dock.is-on { transform: none; }
.is-night .dock { color: var(--color-paper); background: oklch(14% 0.014 250 / 0.6); border-top-color: oklch(100% 0 0 / 0.14); }
.dock .price { font-family: var(--font-display); font-weight: 350; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: lining-nums; font-variation-settings: 'opsz' 48; white-space: nowrap; }
.dock .fast { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; flex: 1 1 auto; min-width: 0; font-size: var(--text-small); }
.dock .fast li { white-space: nowrap; padding: 0 clamp(0.6rem, 1.4vw, 1.1rem); border-left: 1px solid currentColor; opacity: 0.85; }
.dock .fast li:first-child { border-left: 0; padding-left: 0; }
.dock .cta { padding: 0.65rem 1.15rem; margin-left: auto; }
.is-night .dock .cta { background: var(--color-paper); color: var(--color-ink); border-color: var(--color-paper); }
body.has-dock .film:not(.hero) .over { padding-bottom: calc(clamp(1.5rem, 4vh, 3rem) + 4.25rem); }
body.has-dock .seq .caps { bottom: calc(clamp(1.5rem, 4vh, 3rem) + 4.25rem); }
body.has-dock .film .hint { bottom: 5.5rem; }
@media (max-width: 720px) {
  .dock { flex-wrap: wrap; gap: 0.5rem 0.9rem; padding-top: 0.65rem; }
  .dock .price { order: 1; }
  .dock .cta { order: 2; margin-left: auto; padding: 0.55rem 0.95rem; }
  .dock .fast { order: 3; flex-basis: 100%; font-size: var(--text-caption); }
  .dock .fast .lot { display: none; }
  body.has-dock .film:not(.hero) .over { padding-bottom: calc(clamp(1.5rem, 4vh, 3rem) + 5.6rem); }
  body.has-dock .seq .caps { bottom: calc(clamp(1.5rem, 4vh, 3rem) + 5.6rem); }
}

/* Enquire */
.enquire { padding-block: clamp(5rem, 12vh, 9rem); border-top: var(--rule); }
.enquire .lead { grid-column: 1 / span 5; }
.enquire .lead .title { max-width: 14ch; margin-bottom: 1.5rem; }
.enquire .agent { margin-top: 2.5rem; padding-top: 1.25rem; border-top: var(--rule); font-size: var(--text-small); line-height: 1.7; }
.enquire .agent b { font-weight: 500; }
.enquire .agent a { border-bottom: 1px solid var(--color-rule); transition: border-color var(--dur-fast) var(--ease-out); }
.enquire .agent a:hover { border-color: var(--color-accent); }
.enquire form { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.25rem; align-content: start; }
.enquire .field { display: grid; gap: 0.35rem; }
.enquire .field.wide { grid-column: 1 / -1; }
.enquire label { font-size: var(--text-caption); color: var(--color-muted); letter-spacing: 0.01em; }
.enquire input, .enquire textarea { font: inherit; font-weight: 300; color: var(--color-text); background: transparent; border: 0; border-bottom: 1px solid var(--color-rule); border-radius: 0; padding: 0.5rem 0; width: 100%; transition: border-color var(--dur-fast) var(--ease-out); }
.enquire input:hover, .enquire textarea:hover { border-color: var(--color-muted); }
.enquire input:focus-visible, .enquire textarea:focus-visible { outline: none; border-color: var(--color-accent); }
.enquire input[aria-invalid="true"], .enquire textarea[aria-invalid="true"] { border-color: oklch(55% 0.16 25); }
.enquire textarea { resize: vertical; min-height: 5.5rem; }
.enquire .actions { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--space-md); margin-top: 0.5rem; }
.cta { display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.95rem 1.5rem; border: 1px solid var(--color-ink); border-radius: var(--radius-pill); font-weight: 400; font-size: var(--text-small); letter-spacing: 0.02em; background: var(--color-ink); color: var(--color-paper); transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.cta:hover { background: var(--color-ink-soft); }
.cta:active { transform: translateY(1px); }
.cta[disabled] { opacity: 0.5; cursor: default; }
.cta[data-state="sending"] { color: var(--color-muted-on-ink); }
.enquire .note { font-size: var(--text-caption); color: var(--color-muted); max-width: 30ch; }
.enquire .status { grid-column: 1 / -1; font-size: var(--text-small); min-height: 1.5em; }
.enquire .status.is-error { color: oklch(48% 0.16 25); }
@media (max-width: 900px) { .enquire .lead, .enquire form { grid-column: 1 / -1; } .enquire form { margin-top: var(--space-lg); } }
@media (max-width: 520px) { .enquire form { grid-template-columns: 1fr; } }

/* Footer: a colophon that closes the page */
.foot { padding-block: var(--space-lg) var(--space-md); border-top: var(--rule); font-size: var(--text-caption); color: var(--color-muted); }
.foot .grid { row-gap: var(--space-md); align-items: end; }
.foot .logo { grid-column: 1 / span 4; }
.foot .logo a { display: inline-block; transition: opacity var(--dur-base) var(--ease-out); }
.foot .logo a:hover, .foot .logo a:focus-visible { opacity: 0.7; }
.foot .logo img { width: min(220px, 60%); height: auto; display: block; }
.foot .addr .site { color: var(--color-ink); }
.foot .addr { grid-column: 5 / span 4; line-height: 1.7; }
.foot .legal { grid-column: 9 / span 4; line-height: 1.7; }
.foot .concept { grid-column: 1 / -1; padding-top: var(--space-md); border-top: var(--rule); }
@media (max-width: 900px) { .foot .logo, .foot .addr, .foot .legal { grid-column: 1 / -1; } }

/* Reveal helpers (used once per chapter head, not on every card) */
.reveal { opacity: 0; transform: translateY(1.2rem); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .open .statement .w, .seq .caps p { opacity: 1 !important; transform: none !important; }
  .sound[aria-pressed="true"] .bars i { animation: none; height: 8px; }
  .film .hint::after { animation: none; }
  .spread .pimg img { transform: none; }
  .entrance { display: none; }
}
