/* Black Rock Studios Mykonos
   One stylesheet for every page. Sections: tokens, base, header and menu, buttons,
   reveals, shared layout pieces, home, inner pages, forms, footer, responsive. */

/* ---------- Tokens ---------- */
:root {
  --plaster: #F2F3F0;
  --panel: #E3E5E1;
  --graphite: #23272C;
  --steel: #646C75;
  --mist: #A9B0B7;
  --pool: #1597AB;
  --rule: #CDD1CC;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --header: 84px;          /* compact header, once the page scrolls */
  --header-big: 124px;     /* at the top of the page */
  --header-now: var(--header-big);
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 12vh, 140px);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--plaster); scroll-padding-top: calc(var(--header) + 16px); }
body { background: var(--plaster); color: var(--graphite); font: 400 1rem/1.6 var(--sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--pool); outline-offset: 3px; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--graphite); color: var(--plaster); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.h2 { font: 300 clamp(2rem, 3.6vw, 3.2rem)/1.05 var(--sans); font-stretch: 118%; letter-spacing: -.01em; }
.h3 { font: 400 clamp(1.3rem, 1.8vw, 1.6rem)/1.2 var(--sans); font-stretch: 112%; }
.lead { font: 300 clamp(1.15rem, 1.6vw, 1.45rem)/1.5 var(--sans); max-width: 56ch; }
.muted { color: var(--steel); }
.mono { font-family: var(--mono); font-size: .88em; }
.prose p + p { margin-top: 1em; }
.prose { max-width: 62ch; }
.text-link { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease-out), color .2s ease; }
.text-link:hover { color: var(--pool); }

/* ---------- Header and mobile menu ---------- */
/* The header is fixed; the page keeps room for its tall state so nothing jumps when it shrinks */
html.scrolled { --header-now: var(--header); }
body { padding-top: var(--header-big); }
header.top { border-bottom: 1px solid var(--rule); background: var(--plaster); position: fixed; left: 0; right: 0; top: 0; z-index: 30; }
header.top .wrap { display: flex; justify-content: space-between; align-items: center; height: var(--header-now); transition: height .45s var(--ease-out); }
.brand img { width: clamp(300px, 30vw, 440px); height: auto; transition: width .45s var(--ease-out); }
.scrolled .brand img { width: clamp(220px, 21vw, 300px); }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); font-size: .95rem; }
.main-nav a:not(.btn) { color: var(--steel); position: relative; transition: color .2s ease; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current]:not(.btn) { color: var(--graphite); }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current]:not(.btn)::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle .bars, .menu-toggle .bars::before { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--graphite); transition: transform .35s var(--ease-out); }
.menu-toggle .bars { top: 18px; }
.menu-toggle .bars::before { content: ""; left: 0; right: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(-7px) rotate(-90deg); }
.menu[hidden] { display: none; }
.menu { position: fixed; inset: var(--header-now) 0 0; z-index: 25; background: var(--plaster); padding: 32px var(--gutter); display: flex; flex-direction: column; justify-content: space-between; }
.menu nav { display: grid; gap: 6px; }
.menu nav a { font: 300 clamp(2rem, 9vw, 3rem)/1.15 var(--sans); font-stretch: 118%; opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .6s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.menu.open nav a { opacity: 1; transform: none; }
.menu nav a[aria-current] { color: var(--pool); }
.menu-contact { color: var(--steel); font-size: .95rem; }

/* ---------- Buttons: pill fill from the pointer, label rolls up ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; white-space: nowrap; padding: 14px 28px; background: var(--graphite); color: var(--plaster); border: 0; border-radius: 10px; font: 500 1rem/1.3 var(--sans); cursor: pointer; transition: transform .16s var(--ease-out); }
.btn::before { content: ""; position: absolute; z-index: -1; left: var(--x, 50%); top: var(--y, 50%); width: var(--d, 320px); aspect-ratio: 1; border-radius: 50%; background: var(--pool); transform: translate(-50%, -50%) scale(0); transition: transform .6s var(--ease-out); }
.btn .t { display: inline-block; overflow: hidden; vertical-align: top; }
.btn .t > span { display: inline-block; position: relative; transition: transform .5s var(--ease-out); }
.btn .t > span::after { content: attr(data-l); position: absolute; left: 0; top: 100%; }
@media (hover: hover) {
  .btn:hover::before { transform: translate(-50%, -50%) scale(1); }
  .btn:hover .t > span { transform: translateY(-100%); }
}
.btn:active { transform: scale(.97); }
.btn.light { background: var(--plaster); color: var(--graphite); }
.btn.light::before { background: var(--pool); }
.btn.light:hover { color: var(--plaster); }
.btn.ghost { background: transparent; color: var(--graphite); box-shadow: inset 0 0 0 1px var(--graphite); }
.btn.ghost:hover { color: var(--plaster); }
.btn.ghost.on-dark { color: var(--plaster); box-shadow: inset 0 0 0 1px var(--plaster); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn[hidden] { display: none; }

/* ---------- Reveal on scroll ---------- */
.rv-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.rv-words .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms); }
.rv-words.in .w > span { transform: none; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms + 120ms); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Shared layout ---------- */
.section { padding: var(--section) 0; }
.section.dark { background: var(--graphite); color: var(--plaster); }
.section.dark .muted { color: var(--mist); }
.section.panel { background: var(--panel); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 6vh, 56px); }
.sec-head p { max-width: 46ch; }
.eyebrow-num { font: 400 .85rem/1 var(--mono); color: var(--pool); }

/* Full-bleed media with parallax (photo or film) */
.bleed { position: relative; height: 88vh; min-height: 520px; overflow: hidden; background: var(--graphite); }
.bleed .layer { position: absolute; inset: -12% 0; will-change: transform; }
.bleed video { display: block; width: 100%; height: 100%; object-fit: cover; }
.bleed .info { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4vh, 40px); display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.18); border-radius: 4px; overflow: hidden; max-width: 880px; }
.bleed .info div { background: rgba(35,39,44,.78); color: #fff; padding: 18px 20px; }
.bleed .info b { display: block; font: 300 1.9rem/1 var(--sans); font-stretch: 118%; }
.bleed .info span { font-size: .9rem; opacity: .8; }
.bleed .card { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(20px, 5vh, 56px); width: min(520px, calc(100% - 40px)); background: var(--plaster); border-radius: 4px; padding: clamp(24px, 3vw, 40px); }
.bleed .card p { margin: 18px 0 20px; color: var(--steel); }

/* Key facts, as rows of label and value */
.facts { list-style: none; border-top: 1px solid var(--rule); }
.facts li { padding: 11px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 16px; }
.facts li span:last-child { font-family: var(--mono); font-size: .9rem; text-align: right; }
.dark .facts, .dark .facts li { border-color: rgba(242,243,240,.16); }

/* Page head for inner pages */
.page-head { padding: clamp(56px, 11vh, 128px) 0 clamp(40px, 7vh, 80px); }
.page-head h1 { font: 300 clamp(2.6rem, 7vw, 7rem)/.98 var(--sans); font-stretch: 122%; letter-spacing: -.025em; }
.page-head .lead { margin-top: clamp(24px, 4vh, 40px); }
.page-head .head-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.page-head .head-grid .lead { margin-top: 0; }
.photo-credit { margin-top: 14px; font: 400 .85rem/1.4 var(--mono); color: var(--muted, #646C75); letter-spacing: .02em; }

/* Alternating text and pictures */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split + .split { margin-top: var(--section); }
.split.flip > :first-child { order: 2; }
.split .pics { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 4 / 3.2; }
.split .pics figure { overflow: hidden; border-radius: 4px; background: var(--panel); }
.split .pics figure:first-child { grid-row: 1 / 3; }
.split .pics.single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
/* Four photographs: an even 2 × 2 grid */
.split .pics.four { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.split .pics.four figure:first-child { grid-row: auto; }
.split h2 + .muted, .split .h2 + p { margin-top: 18px; }
.split .facts { margin-top: 28px; }
.size-tag { display: inline-block; font: 400 .85rem/1 var(--mono); padding: 7px 10px; border: 1px solid currentColor; border-radius: 6px; margin-bottom: 18px; }

/* Filter chips (equipment and gallery) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 .9rem/1 var(--sans); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; color: var(--graphite); cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.chip:hover { border-color: var(--graphite); }
.chip[aria-pressed="true"] { background: var(--graphite); color: var(--plaster); border-color: var(--graphite); }
.chip .n { font: 400 .78rem/1 var(--mono); opacity: .6; margin-left: 6px; }

/* Closing call to action */
.cta-band { background: var(--graphite); color: var(--plaster); padding: var(--section) 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.cta-band .h2 { max-width: 16ch; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Home ---------- */
.hero { padding-top: clamp(64px, 13vh, 150px); }
.hero h1 { font: 300 clamp(2.1rem, 5.3vw, 6rem)/1 var(--sans); letter-spacing: -.02em; margin-bottom: clamp(56px, 11vh, 128px); }
.hero h1 .line { display: block; }
/* each word is its own mask, so the lines can reflow freely on small screens */
.hero h1 .w { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 .ch { display: inline-block; font-stretch: 62%; transform: translateY(108%); opacity: 0; filter: blur(8px); }
.ready .hero h1 .ch { animation: rise 1.25s var(--ease-out) forwards; animation-delay: calc(var(--l) * 160ms + var(--i) * 22ms); }
@keyframes rise {
  55% { opacity: 1; filter: blur(0); }
  to { transform: none; opacity: 1; filter: none; font-stretch: 125%; }
}
.hero .bleed { height: 82vh; min-height: 480px; }
/* The film is revealed by a plaster-coloured cover sliding away, not by clip-path:
   Safari drops a video to software rendering when an ancestor has a clip-path */
.hero .bleed .cover { position: absolute; inset: 0; z-index: 3; background: var(--plaster); transform-origin: 50% 0; }
.ready .hero .bleed .cover { animation: uncover 1.5s .75s var(--ease-in-out) forwards; }
@keyframes uncover { to { transform: scaleY(0); } }
.hero .bleed video { transform: scale(1.18); transition: transform 2.6s .75s var(--ease-out); }
.ready .hero .bleed video { transform: scale(1); }
.hero .bleed .info { opacity: 0; transform: translateY(12px); transition: opacity .8s 2s ease, transform .9s 2s var(--ease-out); }
.ready .hero .bleed .info { opacity: 1; transform: none; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding-top: clamp(40px, 7vh, 72px); padding-bottom: clamp(40px, 7vh, 72px); }
.hero-foot p { max-width: 52ch; font: 300 clamp(1.2rem, 1.7vw, 1.5rem)/1.45 var(--sans); }

/* Floor plan */
.plan { background: var(--graphite); color: var(--plaster); padding: clamp(64px, 11vh, 128px) 0; position: relative; overflow: hidden; }
.plan::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(242,243,240,.07) 3px, transparent 3.5px); background-size: 22px 22px; pointer-events: none; }
.plan .wrap { position: relative; }
.plan-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.plan-head p { color: var(--mist); max-width: 44ch; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); }
/* Four rooms of nearly equal size, control room first */
.rooms { align-self: start; min-width: 0; display: grid; grid-template-columns: 1.06fr 1fr; grid-template-rows: 1.04fr 1fr; gap: 6px; aspect-ratio: 1 / .78; }
.room { position: relative; overflow: hidden; border: 1px solid rgba(242,243,240,.28); background: rgba(242,243,240,.03); color: var(--plaster); text-align: left; padding: 16px; cursor: pointer; font: inherit; border-radius: 2px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .room:hover { border-color: rgba(242,243,240,.85); box-shadow: inset 0 0 0 2px rgba(242,243,240,.85); } }
.room::before { content: ""; position: absolute; inset: 0; background: var(--pool); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-out); }
.room[aria-pressed="true"] { border-color: var(--pool); box-shadow: inset 0 0 0 2px var(--pool); }
.room[aria-pressed="true"]::before { transform: scaleY(1); }
.room > * { position: relative; }
.room b { font-weight: 500; }
.room span { font: 400 .85rem/1 var(--mono); opacity: .8; }
.room i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,.7); transform: scaleX(0); transform-origin: left; }
.touring .room[aria-pressed="true"] i { animation: tour 4.5s linear forwards; }
@keyframes tour { to { transform: scaleX(1); } }
.room.control { grid-row: 1; grid-column: 1; }
.room.live { grid-row: 1; grid-column: 2; }
.room.vocal { grid-row: 2; grid-column: 1; }
.room.iso { grid-row: 2; grid-column: 2; }
.plan .room { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease-in-out), border-color .2s ease, box-shadow .2s ease; }
.plan.seen .room { clip-path: inset(0 0 0 0); }
.plan.seen .live { transition-delay: .1s; } .plan.seen .vocal { transition-delay: .2s; } .plan.seen .iso { transition-delay: .3s; }
.view { display: grid; grid-template-rows: 1fr auto; gap: 20px; }
.view figure { position: relative; overflow: hidden; border-radius: 4px; min-height: 380px; }
.view figure img { position: absolute; inset: 0; }
.view figure img.incoming { clip-path: inset(0 0 0 100%); animation: wipe .7s var(--ease-in-out) forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
.view .spec { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.view h3 { font: 400 1.5rem/1.2 var(--sans); font-stretch: 112%; }
.view .spec p { color: var(--mist); max-width: 52ch; }

/* Annotated control room */
.annotated { position: relative; overflow: hidden; background: #111; }
.annotated .frame { position: relative; aspect-ratio: 2000 / 1331; max-height: 100vh; margin: 0 auto; }
.annotated .layer { position: absolute; inset: -6%; will-change: transform; }
.annotated .layer img { position: absolute; inset: 0; }
.annotated .title { position: absolute; z-index: 3; top: calc(var(--header) + clamp(16px, 4vh, 40px)); left: var(--gutter); color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.annotated .title p { font-size: 1rem; opacity: .85; margin-top: 8px; max-width: 34ch; }
.spot { position: absolute; z-index: 2; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.spot button { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0,0,0,.35); transform: scale(0); transition: transform .5s var(--ease-out); }
.spot button::before, .spot button::after { content: ""; position: absolute; background: var(--graphite); width: 12px; height: 2px; transition: transform .3s var(--ease-out); }
.spot button::after { transform: rotate(90deg); }
.spot button[aria-expanded="true"]::after { transform: rotate(0); }
.spot button:focus-visible { outline: 2px solid var(--pool); outline-offset: 4px; }
.spot .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); animation: ping 2.4s ease-out infinite; opacity: 0; pointer-events: none; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.2); opacity: 0; } }
.spot .label { position: absolute; left: 46px; top: 50%; width: max-content; max-width: 240px; background: rgba(255,255,255,.96); color: var(--graphite); padding: 12px 14px; border-radius: 4px; font-size: .9rem; line-height: 1.4; box-shadow: 0 10px 30px rgba(0,0,0,.3); opacity: 0; transform: translate(-6px, -50%); pointer-events: none; transition: opacity .2s ease, transform .25s var(--ease-out); }
.spot .label b { display: block; font-weight: 600; }
.spot.left .label { left: auto; right: 46px; transform: translate(6px, -50%); }
.spot button[aria-expanded="true"] + .label, .spot:hover .label { opacity: 1; transform: translate(0, -50%); }
.annotated.seen .spot button { transform: scale(1); }
/* The hint says hover with a mouse, tap on touch screens */
.on-pointer { display: none; }
@media (hover: hover) and (pointer: fine) { .on-pointer { display: inline; } .on-touch { display: none; } }
.annotated.seen .spot:nth-of-type(2) button { transition-delay: .15s; } .annotated.seen .spot:nth-of-type(3) button { transition-delay: .3s; } .annotated.seen .spot:nth-of-type(4) button { transition-delay: .45s; } .annotated.seen .spot:nth-of-type(5) button { transition-delay: .6s; }

/* Track sheet (home summary of the equipment) */
.sheet-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; align-items: end; }
.sheet-head p { color: var(--steel); max-width: 48ch; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 16px 12px 16px 0; border-top: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 500; width: 22%; }
td { color: var(--steel); }
tr { transition: background .2s ease; }
tbody tr:hover { background: var(--panel); }
tr:last-child th, tr:last-child td { border-bottom: 1px solid var(--rule); }
.sheet-more { margin-top: 28px; }

/* Teaser row of gallery pictures on the home page */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.strip a { overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 4; }
.strip a img { transition: transform 1.2s var(--ease-out); }
.strip a:hover img { transform: scale(1.04); }

/* ---------- Studio ---------- */
.credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(242,243,240,.16); border-radius: 4px; overflow: hidden; }
.credits div { background: var(--graphite); padding: clamp(24px, 3vw, 40px); }
.credits b { display: block; font: 300 clamp(1.5rem, 2.4vw, 2.1rem)/1.1 var(--sans); font-stretch: 118%; margin-top: 10px; }
.legacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.legacy .years { font: 300 clamp(6rem, 16vw, 14rem)/.85 var(--sans); font-stretch: 125%; letter-spacing: -.04em; color: var(--pool); }
.legacy figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
/* Legacy page */
.legacy .legacy-wide { aspect-ratio: 3 / 2; }
.artists-band .h3 { max-width: 34ch; color: var(--mist); }
.artists { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: clamp(28px, 5vh, 48px); }
.artists li { font: 300 clamp(1.9rem, 4.4vw, 4rem)/1.12 var(--sans); font-stretch: 118%; letter-spacing: -.02em; }
.artists li:not(:last-child)::after { content: "/"; color: var(--pool); margin: 0 .35em; font-weight: 200; }
.legacy-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.legacy-pair figure { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; }
.legacy-pair img { width: 100%; height: 100%; object-fit: cover; }
.legacy-text { margin-top: clamp(32px, 6vh, 56px); }
.legacy-text .prose { max-width: 62ch; font-size: 1.1rem; }
.legacy-close { max-width: 980px; }
.kicker-line { font: 400 .95rem/1.4 var(--mono); color: var(--pool); }
.legacy-close blockquote { margin-top: 18px; font: 300 clamp(1.7rem, 3.4vw, 3rem)/1.2 var(--sans); font-stretch: 112%; letter-spacing: -.015em; }

/* ---------- Equipment ---------- */
.eq-bar { position: sticky; top: var(--header); z-index: 10; background: var(--plaster); border-bottom: 1px solid var(--rule); padding: 14px 0; }
.eq-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.eq-group { padding-top: clamp(40px, 7vh, 72px); }
.eq-group[hidden] { display: none; }
.eq-group .eq-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--graphite); }
.eq-group .eq-title span { font: 400 .85rem/1 var(--mono); color: var(--steel); }
.eq-table td, .eq-table th { padding: 15px 12px 15px 0; }
.eq-table tr:first-child th, .eq-table tr:first-child td { border-top: 0; }
.eq-table th { width: 44%; font-weight: 500; color: var(--graphite); }
.eq-table td.qty { width: 90px; text-align: right; font: 400 .9rem/1.6 var(--mono); color: var(--graphite); padding-right: 0; }
.tag { display: inline-block; font: 500 .72rem/1 var(--sans); padding: 5px 8px; border-radius: 999px; background: var(--panel); color: var(--steel); margin-left: 8px; vertical-align: 2px; }
.eq-foot { padding: clamp(48px, 8vh, 88px) 0 var(--section); }
.eq-foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.eq-foot .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Residence ---------- */
.bedrooms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.bedrooms figure { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; }
.bedrooms figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(242,243,240,.94); padding: 6px 10px; border-radius: 6px; font-size: .85rem; }
.services { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.services > div { background: var(--plaster); padding: clamp(24px, 3vw, 40px); }
.services ul { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.services li { display: flex; gap: 12px; align-items: baseline; }
.services li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--pool); transform: translateY(-1px); }
.services .on-request li::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--pool); }

/* ---------- Gallery ---------- */
.gal-bar { position: sticky; top: var(--header); z-index: 10; background: var(--plaster); padding: 14px 0; border-bottom: 1px solid var(--rule); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); grid-auto-flow: row dense; gap: 10px; padding: 24px 0 var(--section); }
.gallery a { display: block; overflow: hidden; border-radius: 4px; background: var(--panel); position: relative; aspect-ratio: 3 / 2; }
/* portrait photos take two rows, so rows read left to right and nothing is cropped hard */
.gallery a.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery a[hidden] { display: none; }
.gallery img { transition: transform 1.2s var(--ease-out), opacity .6s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery a span { position: absolute; left: 10px; bottom: 10px; background: rgba(242,243,240,.94); padding: 5px 9px; border-radius: 6px; font-size: .8rem; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .3s var(--ease-out); }
.gallery a:hover span, .gallery a:focus-visible span { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; background: rgba(17,19,22,.96); color: var(--plaster); padding: 0; }
.lightbox::backdrop { background: rgba(17,19,22,.96); }
.lightbox .stage { position: absolute; inset: 64px 72px 72px; display: grid; place-items: center; }
.lightbox img { width: auto; height: auto; max-width: calc(100vw - 144px); max-height: calc(100vh - 136px); object-fit: contain; border-radius: 2px; transition: opacity .25s ease; }
.lightbox .lb-btn { position: absolute; background: none; border: 0; color: var(--plaster); cursor: pointer; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s ease; }
.lightbox .lb-btn:hover { background: rgba(242,243,240,.12); }
.lightbox .lb-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.lightbox .lb-close { top: 10px; right: 12px; }
.lightbox .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: .9rem; color: var(--mist); }

/* ---------- Mykonos ---------- */
.things { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.things article { background: var(--plaster); padding: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 32px) clamp(28px, 3.4vw, 44px) 0; }
.things article:not(:nth-child(3n+1)) { padding-left: clamp(20px, 2.4vw, 32px); }
.things h3 { margin-bottom: 12px; }
.things p { color: var(--steel); }
.location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.location figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.location .map { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--rule); }
.location .map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------- Book ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); }
.book-aside .who { margin-top: 18px; color: var(--steel); }
.book-aside .who b { display: block; color: var(--graphite); font-weight: 500; }
.book-aside .who a:hover { color: var(--pool); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel); border-radius: 12px; margin-bottom: 28px; }
.tabs button { border: 0; background: transparent; font: 500 .95rem/1 var(--sans); padding: 12px 18px; border-radius: 9px; cursor: pointer; color: var(--steel); transition: background .25s ease, color .25s ease; }
.tabs button[aria-selected="true"] { background: var(--plaster); color: var(--graphite); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.tab-note { color: var(--steel); margin: -8px 0 24px; max-width: 60ch; }
[role="tabpanel"][hidden] { display: none; }

/* ---------- Forms ---------- */
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry label { display: grid; gap: 6px; font-size: .9rem; color: var(--steel); }
.enquiry .full { grid-column: 1 / -1; }
.enquiry .opt { font-size: .8rem; opacity: .75; }
.enquiry input:not([type="checkbox"]), .enquiry textarea { font: inherit; font-size: 1rem; color: var(--graphite); padding: 12px 14px; border: 1px solid var(--rule); border-radius: 8px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; width: 100%; }
.enquiry input:focus, .enquiry textarea:focus { outline: none; border-color: var(--pool); box-shadow: 0 0 0 3px rgba(21,151,171,.15); }
.enquiry input[aria-invalid="true"] { border-color: #B4432F; }
.enquiry textarea { min-height: 130px; resize: vertical; }
.enquiry fieldset { border: 0; }
.enquiry legend { font-size: .9rem; color: var(--steel); margin-bottom: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--rule); background: #fff; color: var(--graphite); font-size: .9rem; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.check input:checked + span { background: var(--graphite); color: var(--plaster); border-color: var(--graphite); }
.check input:focus-visible + span { outline: 2px solid var(--pool); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-status { font-size: .95rem; }
.form-status.ok { color: #1D7A4B; }
.form-status.err { color: #B4432F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry.sent > :not(.form-foot) { opacity: .45; pointer-events: none; }

/* ---------- Footer ---------- */
.site-foot { background: var(--graphite); color: var(--mist); padding: clamp(56px, 9vh, 96px) 0 32px; }
.foot-top { display: flex; justify-content: space-between; align-items: start; gap: 40px; flex-wrap: wrap; }
.foot-logo { display: block; width: clamp(220px, 21vw, 300px); height: auto; clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease-in-out); }
.site-foot.in .foot-logo { clip-path: inset(0 0 0 0); }
.foot-nav { display: flex; gap: clamp(40px, 7vw, 112px); }
.foot-nav ul { list-style: none; display: grid; gap: 10px; align-content: start; }
.foot-nav li:first-child { color: #7F8891; font-size: .85rem; margin-bottom: 4px; }
.foot-nav a { color: var(--plaster); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out); }
.foot-nav a:hover { background-size: 100% 1px; }
.foot-legal { margin-top: clamp(48px, 8vh, 88px); padding-top: 22px; border-top: 1px solid rgba(242,243,240,.14); font-size: .85rem; }
.foot-top > :not(:first-child), .foot-legal { opacity: 0; transform: translateY(12px); transition: opacity .8s ease, transform .9s var(--ease-out); transition-delay: calc(.5s + var(--d, 0) * 110ms); }
.site-foot.in .foot-top > :not(:first-child), .site-foot.in .foot-legal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .bedrooms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .things { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .things article:not(:nth-child(3n+1)) { padding-left: 0; }
  .things article:nth-child(even) { padding-left: clamp(20px, 2.4vw, 32px); }
}
@media (max-width: 900px) {
  :root { --header: 68px; --header-big: 92px; }
  .brand img { width: clamp(230px, 70vw, 300px); }
  .scrolled .brand img { width: clamp(200px, 58vw, 240px); }
  .legacy-pair { grid-template-columns: 1fr; }
  .plan-grid, .sheet-head, .hero-foot, .split, .legacy, .location, .book-grid, .page-head .head-grid, .services, .credits { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .hero-foot .btn { justify-self: start; }
  .hero .bleed { height: 62vh; min-height: 0; }
  .hero h1 .line { display: inline; }
  .bleed { height: 70vh; }
  .bleed .info[style*="--cols:4"] { grid-template-columns: 1fr 1fr; }
  .bleed .info div { padding: 12px; }
  .bleed .info b { font-size: 1.3rem; }
  .bleed .info span { font-size: .75rem; }
  .bleed.with-card { height: auto; min-height: 0; padding-top: 60vh; }
  .bleed.with-card .card { position: relative; left: 0; bottom: 0; width: 100%; border-radius: 0; }
  .view figure { min-height: 260px; }
  .spot .label { max-width: 180px; }
  .enquiry { grid-template-columns: 1fr; }
  th { width: auto; display: block; border-bottom: 0; padding-bottom: 0; }
  td { display: block; border-top: 0; padding-top: 4px; }
  tr:last-child th { border-bottom: 0; }
  .eq-table tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; border-top: 1px solid var(--rule); padding: 12px 0; }
  .eq-table tr:first-child { border-top: 0; }
  .eq-table th, .eq-table td { border: 0; padding: 0; width: auto; }
  .eq-table td.qty { grid-row: 1; grid-column: 2; }
  .eq-table td:not(.qty) { grid-column: 1 / -1; }
  .eq-table tr:last-child th, .eq-table tr:last-child td { border-bottom: 0; }
  /* one scrolling row of chips, the rider button moves to the foot of the page */
  .eq-bar .chips, .gal-bar .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; }
  .eq-bar .chips::-webkit-scrollbar, .gal-bar .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .rider-btn { display: none; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bedrooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .things { grid-template-columns: 1fr; }
  .things article, .things article:nth-child(even) { padding-left: 0; }
  .lightbox .stage { inset: 56px 12px 64px; }
  .lightbox img { max-width: calc(100vw - 24px); max-height: calc(100vh - 120px); }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 8px; transform: none; }
  .lightbox .lb-cap { bottom: 24px; padding: 0 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .ch { transform: none; opacity: 1; filter: none; font-stretch: 125%; animation: none !important; }
  .hero .bleed .cover { display: none; }
  .hero .bleed video { transform: none; }
  .hero .bleed .info { opacity: 1; transform: none; }
  .rv, .rv-words .w > span { opacity: 1; transform: none; transition: none; }
  .foot-logo { clip-path: none; }
  .foot-top > :not(:first-child), .foot-legal { opacity: 1; transform: none; }
  .btn .t > span, .btn::before { transition: none; }
  .plan .room { clip-path: none; }
  .spot button { transform: scale(1); }
  .spot .ring { display: none; }
  .view figure img.incoming { animation: none; clip-path: none; }
  .menu nav a { opacity: 1; transform: none; transition: none; }
}
.bleed .card p.card-link { margin: 22px 0 0; }
.split .pics.two { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.split .pics.two figure:first-child { grid-row: auto; }

/* ---------- Print: the equipment page doubles as the tech rider ---------- */
@media print {
  @page { size: A4; margin: 16mm 14mm; }
  header.top, .menu, .eq-bar, .eq-foot, .site-foot, .skip, .cta-band { display: none !important; }
  body { padding-top: 0 !important; }
  html, body { background: #fff; font-size: 10pt; }
  .rv, .rv-words .w > span { opacity: 1 !important; transform: none !important; }
  .page-head { padding: 0 0 8mm; }
  .page-head h1 { font-size: 30pt; }
  .page-head .head-grid { grid-template-columns: 1fr; gap: 4mm; }
  .page-head .lead { font-size: 10.5pt; max-width: none; }
  .print-only { display: block !important; }
  .eq-group { padding-top: 6mm; break-inside: avoid; }
  .eq-group[hidden] { display: block !important; }
  .eq-table th, .eq-table td { padding: 2.2mm 3mm 2.2mm 0; }
  tbody tr:hover { background: none; }
  .wrap { padding: 0; max-width: none; }
}
.print-only { display: none; }
@media print {
  .rider-logo { width: 62mm; height: auto; margin-bottom: 10mm; }
  .rider-contact { margin-top: 10mm; padding-top: 4mm; border-top: 1px solid var(--graphite); font-size: 9pt; color: var(--steel); }
}
@media print {
  /* A4 is narrower than the mobile breakpoint: force the desktop table, two columns of groups */
  #eq-list { columns: 2; column-gap: 9mm; }
  .eq-group { padding-top: 0; margin-bottom: 6mm; display: block; }
  .eq-group .eq-title { padding-bottom: 1.5mm; }
  .eq-group .eq-title .h3 { font-size: 11.5pt; }
  .eq-table tr { display: table-row; border: 0; padding: 0; }
  .eq-table th, .eq-table td { display: table-cell; border-top: .5pt solid var(--rule); padding: 1.4mm 2mm 1.4mm 0; font-size: 8pt; line-height: 1.35; }
  .eq-table tr:first-child th, .eq-table tr:first-child td { border-top: 0; }
  .eq-table th { width: 46%; }
  .eq-table td.qty { width: 9mm; padding-right: 0; }
  .tag { font-size: 6.5pt; padding: .6mm 1.4mm; }
}
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 28px; }
.x { font-family: system-ui, sans-serif; font-weight: 300; font-stretch: 100%; margin: 0 .12em; }
.enquiry .lbl { display: flex; gap: 8px; align-items: baseline; }
.section.flush-top { padding-top: 0; }
.links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Designer credit: the heart beats softly */
.foot-legal { display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; flex-wrap: wrap; }
.credit { display: inline; font-size: .72rem; line-height: 1.8; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); transition: color .25s ease; }
.credit:hover { color: var(--plaster); }
.credit .heart { display: inline-block; vertical-align: -.22em; margin: 0 .3em; width: 1.15em; height: 1.15em; fill: var(--pool); animation: beat 1.8s ease-in-out infinite; transform-origin: 50% 60%; }
.credit:hover .heart { animation-duration: .9s; }
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.16); } 24% { transform: scale(1); } 36% { transform: scale(1.1); } 48% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .credit .heart { animation: none; } }

/* Mykonos hero slideshow: stacked photos crossfade, each drifting in from a slight zoom */
.slides .slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.slides .slide.is-on { opacity: 1; }
.slides .slide img { transform: scale(1.07); transition: transform 0s 1.4s; }
.slides .slide.is-on img { transform: scale(1); transition: transform 8s var(--ease-out); }
.slides::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; z-index: 1; background: linear-gradient(transparent, rgba(20,22,25,.55)); pointer-events: none; }
.slides-ui { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4vh, 40px); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; }
.slide-cap { font-size: 1.05rem; text-shadow: 0 1px 12px rgba(0,0,0,.35); transition: opacity .5s ease; }
.slide-cap.out { opacity: 0; }
.slide-nav { display: flex; align-items: center; gap: 6px; }
.slide-dot { all: unset; cursor: pointer; width: 36px; padding: 12px 0; touch-action: manipulation; }
.slide-dot span { display: block; height: 2px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.slide-dot span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.slide-dot.is-on span::after { animation: slide-fill var(--slide-ms, 6500ms) linear forwards; }
.slides.paused .slide-dot.is-on span::after { animation-play-state: paused; }
.slides.still .slide-dot.is-on span::after { animation: none; transform: none; }
@keyframes slide-fill { to { transform: scaleX(1); } }
.slide-pause { all: unset; cursor: pointer; width: 36px; height: 36px; margin-left: 8px; display: grid; place-items: center; border-radius: 50%; touch-action: manipulation; }
.slide-pause::before { content: ""; width: 10px; height: 12px; border-inline: 3px solid #fff; box-sizing: border-box; }
.slides.held .slide-pause::before { width: 0; height: 0; border-inline: 0; border-block: 7px solid transparent; border-left: 11px solid #fff; margin-left: 3px; }
.slide-dot:focus-visible, .slide-pause:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .slide-dot:hover span { background: rgba(255,255,255,.6); } }
@media (max-width: 720px) { .slide-cap { font-size: .9rem; } .slide-dot { width: 22px; } }
@media (prefers-reduced-motion: reduce) { .slides .slide img, .slides .slide.is-on img { transform: none; transition: none; } }
.slide-nav { flex-shrink: 0; }
.slides .slide-windmills img { object-position: 30% 50%; }
