/* Lungarno Collection — the finishing touches, shared by every page of "The Collection".
   A film-like opening, soft passages between the houses, photographs unveiled as you arrive,
   the room catalogue counted like a sequence of plates, and a colophon that holds the family. */
:root { --fx: var(--accent, var(--red, #9a0b0e)); --fx-paper: var(--paper, var(--cream, #f8f6f2)); --soft: rgba(47,47,47,.76); }  /* soft text at 4.5:1 or better */
::selection { background: var(--fx); color: #fff; }
h2, .big, .wordmark, .heritage blockquote p { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

/* Passages between houses: the old page dissolves, the new one rises from it. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fx-out .45s ease both; }
::view-transition-new(root) { animation: fx-in .9s cubic-bezier(.22,.8,.24,1) both; }
@keyframes fx-out { to { opacity: 0; } }
@keyframes fx-in { from { opacity: 0; } }

/* The opening: the film fades up from black, the name settles like a title card. */
@keyframes fx-open { from { opacity: .01; } to { opacity: 1; } }
@keyframes fx-title { from { opacity: .01; letter-spacing: .14em; filter: blur(8px); } to { opacity: 1; filter: blur(0); } }
@keyframes fx-logo { from { opacity: .01; transform: scale(1.04); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fx-rise { from { opacity: .01; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fx-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero > video, .hero .media, .hero .frame video { animation: fx-open 2.2s cubic-bezier(.22,.8,.24,1) both; }
.hero .wordmark, .hero h1:not(.sr) { animation: fx-title 1.7s cubic-bezier(.22,.8,.24,1) .3s both; }
.hero .logo { animation: fx-logo 1.6s cubic-bezier(.22,.8,.24,1) .3s both; }
.hero .city, .hero .cities { animation: fx-rise 1.3s cubic-bezier(.22,.8,.24,1) .85s both; }
.hero .city::after { content: ""; display: block; width: 56px; height: 1px; margin: 22px auto 0; background: currentColor; opacity: .6; transform-origin: center; animation: fx-line 1.3s cubic-bezier(.22,.8,.24,1) 1.25s both; }
.hero .cap, .hero .note { animation: fx-open 1.2s ease 1.4s both; }
.fx-cue { position: absolute; z-index: 3; left: 50%; bottom: 58px; width: 1px; height: 64px; background: rgba(255,255,255,.28); overflow: hidden; animation: fx-open 1s ease 2.2s both; }
.fx-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: fx-drop 2.6s cubic-bezier(.65,0,.35,1) 2.6s infinite; }
@keyframes fx-drop { to { top: 100%; } }
@media (max-width: 760px) { .fx-cue { display: none; } }

/* The header steps aside while you read and returns when you scroll back. */
header.top { transition: transform .6s cubic-bezier(.22,.8,.24,1), background .5s, color .5s; }
.fx-hide header.top { transform: translateY(-100%); }
.subnav { transition: top .6s cubic-bezier(.22,.8,.24,1); }
.fx-hide .subnav { top: 0; }
.book { transition: background .4s, color .4s, border-color .4s; }

/* Photographs are unveiled from below, as if a curtain were raised; words rise after them. */
.fx .rv { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s cubic-bezier(.7,0,.2,1); }
.fx .rv.in { clip-path: inset(0 0 0 0); }
.fx .rv-t { opacity: 0; transform: translateY(22px); transition: opacity 1.1s cubic-bezier(.22,.8,.24,1), transform 1.1s cubic-bezier(.22,.8,.24,1); }
.fx .rv-t.in { opacity: 1; transform: none; }

/* An editorial initial for the first words of each house. */
.intro .grid > p::first-letter { float: left; font-family: var(--display); font-weight: 300; font-size: 4.4em; line-height: .8; margin: .08em .06em 0 -.02em; color: var(--fx); }

/* Room catalogue: each plate is numbered, the photograph settles as it changes. */
.viewer .pic { position: relative; }
.fx-count { position: absolute; z-index: 1; left: 18px; bottom: 14px; font-family: var(--display); font-size: 22px; color: #fff; text-shadow: 0 1px 18px rgba(0,0,0,.45); letter-spacing: .04em; }
#v-img.fx-settle { animation: fx-settle 1.8s cubic-bezier(.22,.8,.24,1); }
@keyframes fx-settle { from { transform: scale(1.05); } to { transform: none; } }

/* Small courtesies on the links. */
.dining li .nm { transition: transform .7s cubic-bezier(.22,.8,.24,1), color .4s; }
.dining li:hover .nm { transform: translateX(10px); color: var(--fx); }
.contact .row a, .stay .row a { transition: background .4s, color .4s, border-color .4s; }
.contact .row a:not(.primary):hover, .stay .row a:not(.primary):hover { background: var(--ink); color: var(--fx-paper); }
.viewer figcaption a { transition: color .3s; }
.viewer figcaption a:hover { color: var(--fx); }

/* A visitor's cursor over the works of the collection. */
.fx-cursor { position: fixed; z-index: 90; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.fx-cursor span { position: absolute; left: -46px; top: -46px; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: rgba(248,246,242,.92); color: #1d1c1a; font: 500 11px/1 "Figtree", system-ui, sans-serif; letter-spacing: .22em; text-transform: uppercase; transform: scale(0); transition: transform .5s cubic-bezier(.22,.8,.24,1); }
.fx-cursor.on span { transform: scale(1); }
.fx-cursor-host, .fx-cursor-host * { cursor: none; }

/* Walk the collection: the next house shows through as you approach it. */
.walk { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.walk a { position: relative; isolation: isolate; overflow: hidden; display: block; text-decoration: none; padding: clamp(34px, 5vw, 70px) var(--g); }
.walk a + a { text-align: right; border-left: 1px solid var(--rule); }
.walk a::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; opacity: 0; transform: scale(1.08); transition: opacity .8s cubic-bezier(.22,.8,.24,1), transform 1.6s cubic-bezier(.22,.8,.24,1); }
.walk a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12,11,10,.42); opacity: 0; transition: opacity .8s; }
.walk a:hover::before, .walk a:focus-visible::before { opacity: 1; transform: none; }
.walk a:hover::after, .walk a:focus-visible::after { opacity: 1; }
.walk .no { font-family: var(--display); color: var(--soft); font-size: 18px; transition: color .5s; }
.walk .nm { display: block; font-family: var(--display); font-style: italic; font-size: clamp(28px, 3.2vw, 52px); color: var(--ink); line-height: 1.1; transition: color .5s; }
.walk a:hover .no, .walk a:hover .nm, .walk a:focus-visible .no, .walk a:focus-visible .nm { color: #fff; }

/* The colophon: the whole family at the foot of every page. */
footer.colophon { padding: clamp(70px, 8vw, 120px) 0 44px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--soft); }
.colophon .c-top { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; }
.colophon .c-mark { width: 40px; height: auto; }
.colophon .c-line { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(26px, 2.8vw, 44px); line-height: 1.1; color: var(--ink); }
.colophon .c-top a { text-decoration: none; }
.colophon ol { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 22px 0 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 18px; }
.colophon ol a { display: block; text-decoration: none; }
.colophon ol .n { display: block; font-family: var(--display); font-size: 17px; }
.colophon ol .nm { display: block; font-family: var(--display); font-style: italic; font-size: 21px; line-height: 1.15; color: var(--ink); transition: color .3s; }
.colophon ol a:hover .nm, .colophon ol a[aria-current] .nm { color: var(--fx); }
.colophon .c-note { margin: clamp(48px, 6vw, 80px) 0 0; display: flex; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; }
.colophon .c-note p { margin: 0; max-width: 78ch; }
@media (max-width: 860px) {
  .colophon ol { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .colophon .c-top { grid-template-columns: auto 1fr; }
  .colophon .c-top > a.caps { grid-column: 1 / -1; }
  .walk .nm { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .fx .rv { clip-path: none; } .fx .rv-t { opacity: 1; transform: none; }
  .fx-cue { display: none; }
}

/* Phones: the mark and BOOK NOW at the two ends of the header, nothing in between. */
@media (max-width: 760px) {
  header.top:has(.back) { grid-template-columns: 1fr auto; }
  header.top .back .caps { white-space: nowrap; font-size: 11px; }
  header.top .book { padding: 10px 16px; }
  .hero .film-toggle { align-self: flex-start; }
}

/* A film band between chapters: a loop from their own film, loaded only as it comes into view. */
.filmband { padding: clamp(60px, 8vw, 120px) 0 clamp(80px, 10vw, 150px); }
.fb-media { position: relative; overflow: hidden; aspect-ratio: 21 / 9; background: #141311; }
.fb-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.06) saturate(.9); }
.fb-media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 60%, rgba(0,0,0,.35)); }
.fb-media .grain { z-index: 2; }
.fb-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--soft); }
@media (max-width: 760px) { .fb-media { aspect-ratio: 4 / 5; } .fb-cap { flex-direction: column; gap: 4px; } }

/* The film, whole: a still with a quiet play button, sound on when the visitor asks for it. */
.film-player { margin: clamp(60px, 8vw, 110px) 0 0; }
.film-player .frame-16 { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.film-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-player .play { all: unset; position: absolute; inset: 0; z-index: 1; cursor: pointer; display: grid; place-items: center; align-content: center; gap: 18px; color: #fff; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,0,0,.28), rgba(0,0,0,.12)); transition: background .6s; }
.film-player .play:hover { background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,0,0,.4), rgba(0,0,0,.2)); }
.film-player .play:focus-visible { outline: 2px solid #fff; outline-offset: -8px; }
.film-player .disc { width: 92px; height: 92px; border-radius: 50%; border: 1px solid rgba(255,255,255,.75); display: grid; place-items: center; transition: transform .6s cubic-bezier(.22,.8,.24,1); }
.film-player .disc::after { content: ""; margin-left: 6px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.film-player .play:hover .disc { transform: scale(1.08); }
.film-player.on .play { display: none; }
.film-player figcaption { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.75); }

/* Book direct: a quiet panel, in the paper of the house. */
dialog.bk { border: 0; padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 32px); background: var(--fx-paper); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
dialog.bk::backdrop { background: rgba(12,11,10,.55); backdrop-filter: blur(3px); }
dialog.bk[open] { animation: fx-in .5s cubic-bezier(.22,.8,.24,1); }
.bk-in { padding: clamp(22px, 4vw, 40px); }
.bk-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.bk-head p { margin: 0; color: var(--soft); }
.bk-x { all: unset; cursor: pointer; font-size: 30px; line-height: 1; color: var(--ink); padding: 0 4px; }
.bk-tabs { display: flex; gap: 22px; margin: 22px 0 26px; border-bottom: 1px solid var(--rule); }
.bk-tabs button, .bk-cities button { all: unset; cursor: pointer; padding: 10px 0; border-bottom: 1px solid transparent; margin-bottom: -1px; color: var(--soft); }
.bk-tabs button[aria-selected="true"], .bk-cities button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.bk-tabs button:focus-visible, .bk-cities button:focus-visible, .bk-x:focus-visible { outline: 2px solid var(--fx); outline-offset: 3px; }
.bk-pane { display: grid; gap: 14px; }
.bk-pane[hidden] { display: none; }
.bk-cities { display: flex; gap: 26px; }
.bk-pane label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.bk-pane input, .bk-pane select { font: 400 16px/1.3 var(--text-f); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--rule); padding: 8px 0; border-radius: 0; letter-spacing: 0; text-transform: none; }
.bk-pane input:focus, .bk-pane select:focus { outline: none; border-color: var(--fx); }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bk-note { margin: 0; font-size: 12px; color: var(--soft); }
.bk-perks { border-top: 1px solid var(--rule); padding-top: 14px; }
.bk-perks p { margin: 0 0 8px; color: var(--fx); }
.bk-perks ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.bk-perks li { font-family: var(--display); font-size: 19px; line-height: 1.25; color: var(--ink); }
.bk-perks li::before { content: "— "; color: var(--soft); }
.bk-go { all: unset; cursor: pointer; text-align: center; padding: 15px; background: var(--fx); color: #fff; margin-top: 6px; transition: filter .3s; }
.bk-go:hover { filter: brightness(1.12); }
.bk-go:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.bk-demo { margin: 0; font-size: 13px; color: var(--text); background: var(--paper-2, rgba(0,0,0,.04)); padding: 12px 14px; }
.bk-links { margin: 0; font-size: 13px; color: var(--soft); }
.bk-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.bk-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.bk-list b { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--ink); }
.bk-list span { font-size: 13px; color: var(--soft); text-align: right; }
.bk-list a:hover b { color: var(--fx); }
@media (max-width: 480px) { .bk-row { grid-template-columns: 1fr; } }

/* Language switch, quiet, beside the menu. */
header.top nav .lang { opacity: .72; border-left: 1px solid currentColor; padding-left: 22px; }
header.top nav .lang:hover { opacity: 1; }

/* ——— The award layer ——— */
/* The chosen photograph grows into the next film. */
::view-transition-group(fx-hero) { animation-duration: .95s; animation-timing-function: cubic-bezier(.7,0,.2,1); }
::view-transition-old(fx-hero), ::view-transition-new(fx-hero) { width: 100%; height: 100%; object-fit: cover; }

/* Titles, letter by letter. */
.fx-letters { animation: none !important; }
.fx-letters .w { display: inline-block; white-space: nowrap; }
.fx-letters .l { display: inline-block; animation: fx-letter 1.15s cubic-bezier(.22,.8,.24,1) both; animation-delay: calc(.25s + var(--i) * 36ms); }
@keyframes fx-letter { from { opacity: .01; transform: translateY(.38em); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Photographs drift inside their frames. */
.fx-frame { display: block; overflow: hidden; }
@supports (animation-timeline: view()) {
  .fx-par { scale: 1.1; animation: fx-par linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes fx-par { from { translate: 0 -4.5%; } to { translate: 0 4.5%; } }
}

/* The first visit opens on the mark. */
.fx-intro { position: fixed; inset: 0; z-index: 120; background: #141311; color: #f3efe8; display: grid; place-items: center; align-content: center; gap: 22px; pointer-events: none;
  animation: fx-curtain .7s cubic-bezier(.7,0,.2,1) .95s both; }
.fx-intro img { width: 54px; filter: brightness(0) invert(1); animation: fx-open .7s ease .1s both; }
.fx-intro span { letter-spacing: .34em; animation: fx-open .7s ease .35s both; }
.fx-intro i { display: block; width: 72px; height: 1px; background: currentColor; opacity: .6; transform-origin: center; animation: fx-line .7s cubic-bezier(.22,.8,.24,1) .55s both; }
@keyframes fx-curtain { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }

/* Sound, quiet, bottom right of the home film. */
.fx-sound { position: absolute; z-index: 4; right: var(--g); bottom: 18px; display: flex; align-items: center; gap: 10px; background: none; border: 0; color: rgba(255,255,255,.82); cursor: pointer; font-size: 11px; padding: 6px 0; }
.fx-sound:hover, .fx-sound[aria-pressed="true"] { color: #fff; }
.fx-sound:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.fx-sound .bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.fx-sound .bars i { width: 2px; height: 3px; background: currentColor; transition: height .3s; }
.fx-sound[aria-pressed="true"] .bars i { animation: fx-bar 1s ease-in-out infinite; }
.fx-sound[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: .2s; } .fx-sound[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: .4s; }
@keyframes fx-bar { 0%, 100% { height: 3px; } 50% { height: 12px; } }
@media (max-width: 760px) { .fx-sound { bottom: 12px; } }

/* Smooth scroll: Lenis drives the page, the browser's own smoothing steps aside. */
html.fx-smooth { scroll-behavior: auto !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }

/* The colophon closes on the name, set large. */
.colophon .c-giant { margin: clamp(48px, 7vw, 110px) 0 0; font-family: var(--display); font-weight: 300; font-size: min(11vw, 158px); line-height: .86; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { .fx-intro { display: none; } .fx-par { animation: none; scale: 1; } }

/* A walk through the gallery (desktop). */
.gallery-sec.fx-pin { padding: 0 !important; position: relative; }
.fx-pin .fx-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.fx-pin .wrap { max-width: none; margin: 0; padding: 0 0 0 var(--g); display: flex; align-items: center; gap: 6vw; will-change: transform; }
.fx-pin .wrap > .title { flex: 0 0 min(30vw, 440px); margin: 0; }
.fx-pin .hang { display: flex; align-items: center; gap: 5vw; margin: 0; }
.fx-pin .hang figure { flex: 0 0 auto; margin: 0 !important; }
.fx-pin .hang img { width: auto; height: 64vh; max-width: none; }
.fx-pin .hang .h2 img { height: 74vh; }
.fx-pin .hang .h3 { align-self: flex-end; margin-bottom: 10vh !important; }
.fx-pin .hang .h3 img { height: 46vh; }

/* The restaurant photograph that follows the cursor. */
.fx-float { position: fixed; z-index: 60; left: 0; top: 0; width: 300px; height: 210px; margin: -105px 0 0 40px; pointer-events: none; overflow: hidden; opacity: 0; scale: .9; transition: opacity .4s, scale .6s cubic-bezier(.22,.8,.24,1); }
.fx-float.on { opacity: 1; scale: 1; }
.fx-float img { width: 100%; height: 100%; object-fit: cover; }

/* ——— Graceful fixes ——— */
/* The index, from every page. */
.fx-right { justify-self: end; display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.fx-index-btn { background: none; border: 0; color: inherit; cursor: pointer; padding: 6px 0 4px; border-bottom: 1px solid currentColor; font: inherit; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 420px) { .fx-right { gap: 12px; } .fx-index-btn { font-size: 11px; } }
dialog.fx-index { border: 0; padding: 0; margin: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; background: var(--fx-paper); color: var(--ink); }
dialog.fx-index::backdrop { background: rgba(12,11,10,.5); }
dialog.fx-index[open] { animation: fx-in .5s cubic-bezier(.22,.8,.24,1); }
.fx-ix-in { max-width: 1100px; margin: 0 auto; padding: 24px var(--g, 24px) 48px; }
.fx-ix-head { display: flex; justify-content: space-between; align-items: center; }
.fx-ix-head a { text-decoration: none; color: var(--soft); }
.fx-ix-x { all: unset; cursor: pointer; font-size: 34px; line-height: 1; padding: 0 4px; }
.fx-index ol { list-style: none; margin: clamp(28px, 6vh, 70px) 0 0; padding: 0; border-top: 1px solid var(--rule); }
.fx-index ol a { display: grid; grid-template-columns: 4ch minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: clamp(12px, 2vh, 18px) 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.fx-index .n { font-family: var(--display); color: var(--soft); font-size: 18px; }
.fx-index .nm { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.05; transition: color .3s, transform .5s cubic-bezier(.22,.8,.24,1); }
.fx-index .c { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.fx-index ol a:hover .nm, .fx-index ol a[aria-current] .nm { color: var(--fx); transform: translateX(8px); }
.fx-ix-more { list-style: none; margin: 28px 0 0; padding: 0; display: flex; gap: 12px 30px; flex-wrap: wrap; }
.fx-ix-more a { text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.fx-index-btn:focus-visible, .fx-ix-x:focus-visible { outline: 2px solid var(--fx); outline-offset: 3px; }

/* The consent card: a corner, never the middle; both answers equal. */
.fx-consent { position: fixed; z-index: 70; left: 16px; bottom: 16px; width: min(360px, calc(100vw - 32px)); background: var(--fx-paper); color: var(--text); padding: 18px 20px; box-shadow: 0 18px 50px rgba(0,0,0,.18); font-size: 13px; line-height: 1.5;
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .6s cubic-bezier(.22,.8,.24,1), transform .6s cubic-bezier(.22,.8,.24,1); }
.fx-consent.on { opacity: 1; transform: none; pointer-events: auto; }
.fx-consent p { margin: 0 0 14px; }
.fx-consent .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fx-consent button { all: unset; cursor: pointer; text-align: center; padding: 11px 8px; border: 1px solid var(--ink); color: var(--ink); font-size: 11px; transition: background .3s, color .3s; }
.fx-consent button:hover { background: var(--ink); color: var(--fx-paper); }
.fx-consent button:focus-visible { outline: 2px solid var(--fx); outline-offset: 2px; }
@media (max-width: 760px) { .fx-consent { bottom: 12px; } }

/* Directions beside the address. */
.contact dd a[href*="maps"] { text-decoration: none; border-bottom: 1px solid var(--fx); }

/* The home on phones: the seven houses two by two, so the page is half as long. */
@media (max-width: 860px) {
  .collection .hang { grid-template-columns: 1fr 1fr; column-gap: 14px; row-gap: 34px; }
  .collection .hang .work { grid-column: auto !important; }
  .collection .hang .w1, .collection .hang .w7 { grid-column: 1 / -1 !important; }
  .collection .hang .work img { aspect-ratio: 4 / 5 !important; }
  .collection .hang .w1 img, .collection .hang .w7 img { aspect-ratio: 4 / 3 !important; }
  .collection .label { grid-template-columns: 1fr; margin-top: 10px; }
  .collection .label .no { font-size: 16px; }
  .collection .label .nm { font-size: 22px; }
  .collection .label .meta { grid-column: 1; font-size: 12px; }
}
.bk-manage { display: grid; gap: 12px; border-top: 1px solid var(--rule); padding-top: 14px; }
.bk-manage[hidden] { display: none; }
.bk-manage > p.caps { margin: 0; color: var(--fx); }
@media (max-width: 760px) {
  .collection-head { flex-direction: column; gap: 6px; }
  .fx-consent { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 12px 14px; font-size: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
  .fx-consent p { margin: 0; }
  .fx-consent .row { grid-template-columns: 1fr; gap: 6px; }
  .fx-consent button { padding: 8px 12px; }
}

/* Audit, 5 Nov 2026 */
/* Restaurants without a page in the proposal: same line as the others, a note instead of a dead link. */
.bk-list button { all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); cursor: pointer; }
.bk-list button:hover b, .bk-list button[aria-current] b { color: var(--fx); }
.bk-list button:focus-visible { outline: 1px solid var(--fx); outline-offset: 4px; }
.bk-tdemo { margin-top: 18px; }
/* Film grain: one frame of noise moved by the compositor, no repaint every frame. */
.grain { will-change: transform; animation: fx-grain .252s steps(1, end) infinite; }
@keyframes fx-grain { 0% { transform: translate(0,0); } 16.6% { transform: translate(37px,3px); } 33.3% { transform: translate(24px,6px); } 50% { transform: translate(11px,9px); } 66.6% { transform: translate(48px,12px); } 83.3% { transform: translate(35px,15px); } }
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }
/* Fingers: small links get a 44px touch area without changing how they look. */
@media (pointer: coarse) {
  .hero .film-toggle, .c-line + a, #v-name + a { padding-block: 12px; margin-block: -12px; background-clip: content-box; }
  .hero .film-toggle { border-bottom: 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255,255,255,.45); }
}
/* Titles already split in the page: still for those who ask for less motion. */
@media (prefers-reduced-motion: reduce) { .fx-letters .l { animation: none; } }
/* Tablets: the home menu does not fit beside the mark; the Index carries it, the language stays. */
@media (min-width: 761px) and (max-width: 1100px) {
  header.top nav a:not(.lang) { display: none; }
  header.top nav .lang { border-left: 0; padding-left: 0; }
}
/* Phones: the credit line under the film is there from the first frame, no fade. */
@media (max-width: 760px) { .hero .note, .hero .cap { animation: none; } }
/* Booking panel: hidden rows stay hidden whatever the layout rule. */
dialog.bk [hidden] { display: none !important; }
.bk-ages { margin-top: -4px; }
