/* Polanco Exotic Cars, option 1 "Gallery": a light exhibition. Large photographs, a Cormorant serif for names, hairline spec sheets, no rounded corners. */
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-latin-wght-normal.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-latin-wght-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f3f3f1; --paper: #fbfbfa; --ink: #111111; --ink2: #3b3b39; --mut: #6e6e69; --line: #d5d5d0; --dark: #131313; --onDark: #f2f2ef; --onDarkMut: #a3a39e;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif; --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1); --gut: clamp(16px, 4vw, 48px); --maxw: 1320px; --topH: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.topmark { position: absolute; top: 0; left: 0; width: 1px; height: 48px; pointer-events: none; }
.demo { margin: 0; background: var(--ink); color: var(--onDark); font-size: .8rem; line-height: 1.4; padding: 7px var(--gut); text-align: center; }

/* type */
.eyebrow { font: 500 .74rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mut); margin-bottom: 18px; }
.h2 { font: 400 clamp(2.2rem, 4.6vw, 3.6rem)/1.02 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.h3 { font: 500 1.6rem/1.15 var(--serif); margin-bottom: 14px; }
.lede { font-size: 1.12rem; color: var(--ink2); max-width: 60ch; margin-top: 18px; }
.link { font: 500 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 10px 0; border-bottom: 1px solid currentColor; display: inline-block; transition: opacity .3s var(--ease); }
.link:hover { opacity: .6; }

/* buttons: sharp rectangles, one weight */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: 500 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0 28px; }
.btn--primary, .btn--wa { background: var(--ink); color: var(--paper); }
.btn--primary:hover, .btn--wa:hover { background: #2b2b2a; border-color: #2b2b2a; }
.btn--line:hover, .btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: var(--line); }
.btn--text { border-color: transparent; padding: 0 6px; }
.btn--text:hover { opacity: .6; }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper:hover { background: transparent; color: var(--paper); }
.btn--ghostpaper { color: var(--paper); border-color: rgba(255, 255, 255, .55); }
.btn--ghostpaper:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.ico { width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico--chat { --m: url(icons/chat.svg); } .ico--phone { --m: url(icons/phone.svg); } .ico--close { --m: url(icons/close.svg); } .ico--arrow { --m: url(icons/arrow.svg); }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(243, 243, 241, .94); border-bottom: 1px solid transparent; transition: background .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease); }
@supports (backdrop-filter: blur(1px)) { .top { background: rgba(243, 243, 241, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.top.is-stuck { border-bottom-color: var(--line); }
.top__in { height: var(--topH); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; min-height: 44px; }
.logo__img { width: 150px; height: auto; }
.logo__img--paper { display: none; }
.logo__sub { font: 500 .64rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--mut); padding-left: 14px; border-left: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font: 500 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 14px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav .nav__cta { border: 1px solid currentColor; padding: 14px 18px; }
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover { background: var(--ink); color: var(--paper); }
.burger { display: none; width: 48px; height: 48px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:first-of-type { top: 20px; } .burger i:last-of-type { top: 27px; }
.top.is-open .burger i:first-of-type { top: 24px; transform: rotate(45deg); } .top.is-open .burger i:last-of-type { top: 24px; transform: rotate(-45deg); }

/* home: header floats over the hero until the page scrolls */
.is-home .top { position: fixed; left: 0; right: 0; top: 0; }
.is-home .top:not(.is-stuck):not(.is-open) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--paper); }
.is-home .top:not(.is-stuck):not(.is-open) .logo__img--ink { display: none; }
.is-home .top:not(.is-stuck):not(.is-open) .logo__img--paper { display: block; }
.is-home .top:not(.is-stuck):not(.is-open) .logo__sub { color: rgba(255, 255, 255, .7); border-left-color: rgba(255, 255, 255, .3); }
.is-home .top:not(.is-stuck):not(.is-open) .nav .nav__cta:hover { background: var(--paper); color: var(--ink); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--paper); background: var(--dark); overflow: hidden; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: settle 2.4s var(--ease) both; }
.hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, 0) 26%, rgba(10, 10, 10, .08) 46%, rgba(10, 10, 10, .78) 100%); }
@keyframes settle { from { transform: scale(1.08); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.hero__in { position: relative; padding-top: 160px; padding-bottom: clamp(40px, 8vh, 88px); }
.hero__k { font: 500 .74rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; opacity: .8; margin-bottom: 22px; animation: rise 1.2s .3s var(--ease) both; }
.hero__h { font: 400 clamp(2.9rem, 8.4vw, 7.4rem)/.95 var(--serif); letter-spacing: -.02em; max-width: 12.5ch; text-wrap: balance; animation: rise 1.4s .45s var(--ease) both; }
.hero__h em { font-style: italic; font-weight: 400; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; animation: rise 1.4s .7s var(--ease) both; }
.hero__cap { display: inline-block; margin-top: 44px; font-size: .82rem; color: rgba(255, 255, 255, .75); text-decoration: none; border-top: 1px solid rgba(255, 255, 255, .3); padding-top: 14px; animation: rise 1.4s .9s var(--ease) both; }
.hero__cap:hover { color: var(--paper); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* marques */
.marques { border-bottom: 1px solid var(--line); }
.marques__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 28px; padding: 26px 0; }
.marques__list a { font: 400 clamp(1.25rem, 2.2vw, 1.75rem)/1 var(--serif); text-decoration: none; display: inline-block; padding: 8px 0; transition: opacity .3s var(--ease); }
.marques__list a:hover { opacity: .55; }
.marques__list sup { font: 500 .62rem/1 var(--sans); margin-left: 4px; color: var(--mut); vertical-align: top; }

/* sections */
.sec { padding: clamp(72px, 11vw, 140px) 0; }
.sec--tight { padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }
.sec--flush { padding: 0 0 clamp(72px, 10vw, 120px); }
.sec--line { border-top: 1px solid var(--line); }
.sec__head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* exhibits: alternating large photograph and spec sheet */
.exhibit { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.exhibit + .exhibit { margin-top: clamp(72px, 10vw, 140px); }
.exhibit__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #e4e4e0; }
.exhibit__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; transition: transform 1.6s var(--ease); }
.exhibit__img:hover img { transform: scale(1.03); }
.exhibit__make { font: 500 .74rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--mut); }
.exhibit__model { font: 400 clamp(2.4rem, 5vw, 4rem)/1 var(--serif); letter-spacing: -.01em; margin-top: 12px; }
.exhibit__model a { text-decoration: none; }
.exhibit__badge { font: italic 400 1.3rem/1.3 var(--serif); color: var(--ink2); margin-top: 12px; }
.exhibit__links { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
@media (min-width: 900px) {
  .exhibit { grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); }
  .exhibit--flip { grid-template-columns: 5fr 7fr; }
  .exhibit--flip .exhibit__img { order: 2; }
}

/* spec sheet */
.sheet { margin-top: 28px; border-top: 1px solid var(--ink); }
.sheet div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sheet dt { color: var(--mut); font-size: .9rem; }
.sheet dd { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }

/* cards */
.grid { display: grid; grid-template-columns: 1fr; gap: 48px 28px; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 64px 32px; } .grid--four { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; text-decoration: none; }
.card__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e4e4e0; margin-bottom: 18px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; transition: transform 1.4s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__none { display: grid; place-items: center; height: 100%; color: var(--mut); font-size: .9rem; }
.card__make { font: 500 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--mut); }
.card__model { font: 400 1.9rem/1.05 var(--serif); margin-top: 8px; }
.card__line { font-size: .88rem; color: var(--ink2); margin-top: 8px; }
.card__price { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.card--sold .card__img img { filter: grayscale(1) contrast(.95); }
.tag { position: absolute; left: 12px; top: 12px; background: var(--paper); color: var(--ink); font: 500 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 8px 10px; }

/* ways of working */
.ways { display: grid; gap: 0; grid-template-columns: 1fr; }
.ways__intro { margin-bottom: 40px; }
.way { display: grid; grid-template-columns: 1fr 40px; grid-template-areas: "h go" "p go"; gap: 6px 20px; padding: 28px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding .5s var(--ease); }
.way:last-child { border-bottom: 1px solid var(--line); }
.way__h { grid-area: h; font: 400 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--serif); }
.way__p { grid-area: p; color: var(--ink2); max-width: 48ch; }
.way__go { grid-area: go; align-self: center; width: 22px; height: 22px; background: currentColor; -webkit-mask: url(icons/arrow.svg) center / contain no-repeat; mask: url(icons/arrow.svg) center / contain no-repeat; transition: transform .5s var(--ease); }
.way:hover .way__go { transform: translateX(8px); }
@media (min-width: 900px) { .ways { grid-template-columns: 5fr 7fr; column-gap: 80px; } .ways__intro { grid-row: span 3; margin: 0; } .way:hover { padding-left: 12px; } }

/* visit */
.visit { background: var(--dark); color: var(--onDark); padding: clamp(80px, 12vw, 150px) 0; }
.visit .eyebrow { color: var(--onDarkMut); }
.visit__addr { font: 400 clamp(2rem, 5vw, 4rem)/1.05 var(--serif); max-width: 20ch; text-wrap: balance; }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.visit .btn--primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.visit .btn--primary:hover { background: transparent; color: var(--paper); }
.visit .btn--line { color: var(--paper); border-color: rgba(255, 255, 255, .5); }
.visit .btn--line:hover { background: var(--paper); color: var(--ink); }

/* page heads, filters */
.pagehead { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.pagehead h1 { font: 400 clamp(2.6rem, 6vw, 5rem)/1 var(--serif); letter-spacing: -.015em; max-width: 18ch; text-wrap: balance; }
.pagehead p + p { margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); text-decoration: none; font-size: .86rem; transition: border-color .3s var(--ease), background .3s var(--ease); }
.chips a:hover { border-color: var(--ink); }
.chips a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; padding: 22px 0 28px; border-top: 1px solid var(--ink); margin-bottom: 48px; }
.filters .field--wide { grid-column: 1 / -1; }
.filters .btn { grid-column: 1 / -1; }
@media (min-width: 760px) { .filters { grid-template-columns: 2fr 1fr 1fr auto; } .filters .field--wide, .filters .btn { grid-column: auto; } }

/* forms */
.formwrap { max-width: 820px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 40px; }
.form legend { font: 400 1.7rem/1.1 var(--serif); padding: 0; margin-bottom: 20px; }
.cols { display: grid; grid-template-columns: 1fr; gap: 0 20px; }
@media (min-width: 640px) { .cols { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 0; transition: border-color .3s var(--ease); -webkit-appearance: none; appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.fine { font-size: .84rem; color: var(--mut); margin-top: 18px; }
.emptybox { padding: clamp(32px, 5vw, 56px); border: 1px solid var(--line); background: var(--paper); }
.emptybox h2 { font: 400 2rem/1.1 var(--serif); margin-bottom: 12px; }
.emptybox p + p { margin-top: 14px; }
.emptybox .btn { margin: 6px 6px 0 0; }
.bandline { margin-top: 56px; }

/* car page */
.crumbs { display: flex; gap: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-bottom: 24px; }
.crumbs a { text-decoration: none; padding: 10px 0; } .crumbs a:hover { color: var(--ink); } .crumbs span { padding: 10px 0; }
.cardetail { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 1000px) { .cardetail { grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 64px; align-items: start; } .buy { position: sticky; top: calc(var(--topH) + 24px); } }
.gallery__main { position: relative; background: #e4e4e0; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__zoom img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 8px; }
.gallery__thumbs button { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; opacity: .55; transition: opacity .3s var(--ease); }
.gallery__thumbs button[aria-current], .gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy__make { font: 500 .74rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--mut); }
.buy__model { font: 400 clamp(2.6rem, 5vw, 3.8rem)/1 var(--serif); letter-spacing: -.01em; margin-top: 12px; text-wrap: balance; }
.buy__year { color: var(--ink2); margin-top: 12px; }
.buy__badge { font: italic 400 1.35rem/1.3 var(--serif); margin-top: 16px; }
.notice { margin-top: 20px; padding: 14px 16px; background: var(--paper); border-left: 2px solid var(--ink); }
.price { margin-top: 28px; padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.price__k { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); }
.price__v { font: 400 2rem/1.1 var(--serif); margin-top: 6px; }
.price__n { font-size: .9rem; color: var(--ink2); margin-top: 6px; }
.ctas { display: grid; gap: 10px; margin-top: 24px; }
.ctas .btn--text { justify-self: start; }
.sheet--full { margin-top: 36px; }
.detail2 { display: grid; gap: 48px; margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .detail2 { grid-template-columns: 1.4fr 1fr; gap: 80px; } }
.prose { max-width: 66ch; color: var(--ink2); }
.prose p + p, .prose h2 + p { margin-top: 14px; }
.prose h2 { font: 400 1.7rem/1.15 var(--serif); color: var(--ink); margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose a { text-underline-offset: 3px; }
.prose .btn { margin-top: 12px; }
.prosewrap { max-width: 820px; }
.featlist li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.featlist li:first-child { border-top: 1px solid var(--ink); }
.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(243, 243, 241, .96); border-top: 1px solid var(--line); }
@media (min-width: 1000px) { .mobilebar { display: none; } }
@media (max-width: 999px) { body:has(.mobilebar) .foot { padding-bottom: 96px; } }

/* lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 12, 12, .97); color: var(--paper); }
.lightbox::backdrop { background: rgba(0, 0, 0, .7); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__img { max-width: 94vw; max-height: 84dvh; object-fit: contain; }
.lightbox__x, .lightbox__nav { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; background: none; border: 1px solid rgba(255, 255, 255, .3); color: var(--paper); cursor: pointer; }
.lightbox__x { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 16px; } .lightbox__nav--prev .ico { transform: rotate(180deg); }
.lightbox__nav--next { right: 16px; }
.lightbox__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: .8rem; letter-spacing: .14em; color: rgba(255, 255, 255, .7); }

/* footer */
.foot { background: var(--dark); color: var(--onDarkMut); padding: clamp(72px, 10vw, 120px) 0 32px; border-top: 1px solid #262626; }
.foot .foot__big { font: 400 clamp(2.2rem, 5vw, 4.2rem)/1.05 var(--serif); color: var(--onDark); padding-bottom: clamp(48px, 7vw, 80px); border-bottom: 1px solid #2a2a2a; }
.foot__big a { font-style: italic; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.foot__big a:hover { color: #fff; }
.foot__in { display: grid; grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
@media (min-width: 760px) { .foot__in { grid-template-columns: 1.5fr 1.2fr 1fr 1fr; } }
.foot__logo { width: 170px; height: auto; }
.foot .foot__tag { margin-top: 18px; font: italic 400 1.2rem/1.3 var(--serif); color: var(--onDark); max-width: 26ch; }
.foot__h { font: 500 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--onDark); margin-bottom: 14px; }
.foot p { font-size: .92rem; }
.foot a { text-decoration: none; display: inline-block; padding: 5px 0; }
.foot a:hover { color: var(--onDark); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; border-top: 1px solid #2a2a2a; font-size: .8rem; }

/* reveal */
.js-reveal [data-r] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js-reveal [data-r].in { opacity: 1; transform: none; }
.js-reveal .exhibit[data-r] { opacity: 1; transform: none; }
.js-reveal .exhibit[data-r] .exhibit__img { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease); }
.js-reveal .exhibit[data-r] .exhibit__img img { transform: scale(1.12); transition: transform 2s var(--ease); }
.js-reveal .exhibit[data-r] .exhibit__txt { opacity: 0; transform: translateY(28px); transition: opacity 1.1s .35s var(--ease), transform 1.1s .35s var(--ease); }
.js-reveal .exhibit[data-r].in .exhibit__img { clip-path: inset(0 0 0 0); }
.js-reveal .exhibit[data-r].in .exhibit__img img { transform: scale(1); }
.js-reveal .exhibit[data-r].in .exhibit__img:hover img { transform: scale(1.03); }
.js-reveal .exhibit[data-r].in .exhibit__txt { opacity: 1; transform: none; }

/* mobile */
@media (max-width: 899px) {
  :root { --topH: 64px; }
  .logo__img { width: 128px; }
  .logo__sub { display: none; }
  .burger { display: block; }
  .top__in { position: relative; }
  .nav { position: absolute; top: 100%; left: calc(-1 * var(--gut)); right: calc(-1 * var(--gut)); height: 100dvh; flex-direction: column; align-items: flex-start; gap: 0; padding: 24px var(--gut) 40px; background: var(--bg); color: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s .4s; overflow-y: auto; }
  .top.is-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .nav a { font: 400 2.1rem/1.1 var(--serif); letter-spacing: 0; text-transform: none; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .nav__cta { margin-top: 28px; border: 1px solid var(--ink); font: 500 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 20px; text-align: center; }
  .top.is-open { background: var(--bg); color: var(--ink); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .marques__list { justify-content: flex-start; }
}
