@font-face {
  font-family: Pavot;
  src: url("assets/Pavot-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Pavot;
  src: url("assets/Pavot-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Varna;
  src: url("assets/Varna-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Varna;
  src: url("assets/Varna-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --wine: #631721;
  --olive: #645f1d;
  --pink: #f190bb;
  --lime: #d8db8a;
  --paper: #f4f4d6;
  --wash: #e6e8b3;
  --blush: #f7cfdf;
  --display: Pavot, Georgia, serif;
  --body: Varna, system-ui, sans-serif;
  --review-ink: #2b2427;
  --review-paper: #faf8f2;
  background: var(--review-paper);
  color: var(--wine);
  font: 1rem/1.48 var(--body);
  scroll-padding-block-end: 5rem;
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
select { font: inherit; }
:focus-visible { outline: 3px solid var(--focus, var(--wine)); outline-offset: 4px; }
main:focus { outline: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.noscript { margin: 2rem; }
.kicker { font: 700 .77rem/1.28 var(--body); text-transform: uppercase; letter-spacing: .12em; }
.arrow { flex: none; }
.brand-link { display: inline-grid; padding: 7mm; width: max-content; max-width: 100%; }
.brand-logo { height: 80px; width: auto; }

.paint-vert-clair { --paint: var(--lime); --paint-ink: var(--wine); }
.paint-bordeaux { --paint: var(--wine); --paint-ink: var(--lime); }
.paint-kaki { --paint: var(--olive); --paint-ink: var(--lime); }
.paint-rose { --paint: var(--pink); --paint-ink: var(--wine); }
[class*="paint-"] { color: var(--paint-ink); background-color: var(--paint); --focus: var(--paint-ink); }

.languages { display: flex; flex-wrap: wrap; justify-content: end; }
.languages a {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: .25rem;
  display: inline-grid;
  place-items: center;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}
.languages a[aria-current], .languages a:hover { text-decoration: underline; text-underline-offset: .3em; }
.languages a:focus-visible { outline-offset: -2px; }

.gallery-wrap { width: min(calc(100% - 2rem), 79rem); margin-inline: auto; }
.gallery-nav { background: var(--lime); }
.gallery-nav-inner { display: flex; align-items: center; justify-content: space-between; }
.gallery-cover {
  color: var(--lime);
  background: var(--wine);
  --focus: var(--pink);
}
.gallery-cover-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
}
.gallery-cover-grid > div:first-child { padding: clamp(2rem, 5vw, 4.5rem) clamp(.5rem, 3vw, 2rem) clamp(2rem, 5vw, 4.5rem) 0; }
.gallery-cover .kicker { color: var(--pink); margin-bottom: .8rem; }
.gallery-cover h1 {
  max-width: 12ch;
  font: 700 clamp(3.1rem, 7.6vw, 7.25rem)/.93 var(--display);
  letter-spacing: -.045em;
}
.gallery-lead { font-size: clamp(1rem, 1.85vw, 1.36rem); margin-top: 1.25rem; max-width: 42ch; }
.gallery-actions { display: flex; align-items: baseline; flex-wrap: wrap; gap: .65rem 1.15rem; margin-top: 1.5rem; }
.gallery-button, .gallery-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  min-height: 2.75rem;
  font-weight: 700;
}
.gallery-button {
  border-radius: 2rem;
  background: var(--pink);
  color: var(--wine);
  padding: .55rem 1rem;
  text-decoration: none;
}
.gallery-button:hover { background: var(--lime); }
.gallery-secondary { text-underline-offset: .23em; }
.gallery-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-inline: 1px solid var(--pink);
  background:
    radial-gradient(ellipse at 50% 55%, transparent 0 37%, var(--pink) 37.3% 37.6%, transparent 38% 57%, var(--pink) 57.3% 57.6%, transparent 58%),
    var(--wine);
}
.gallery-art img { width: clamp(7rem, 25vw, 19rem); height: auto; object-fit: contain; }
.gallery-list { padding-block: clamp(1.1rem, 3.5vw, 3rem) 3rem; }
.direction-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 2.5vw, 1.8rem);
  padding: 0;
  margin: 0;
}
.direction-grid li { display: grid; }
.direction-card, .freeform-link {
  display: grid;
  align-content: start;
  background: #fffdfa;
  color: var(--wine);
  border: 1px solid #d6c4b4;
  border-radius: .32rem;
  overflow: clip;
  text-decoration: none;
  transition: box-shadow .16s ease, border-color .16s ease;
}
.direction-card:hover, .freeform-link:hover { border-color: var(--wine); box-shadow: 0 .45rem 1.4rem #63172121; }
.direction-card img, .freeform-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 840 / 492;
  object-fit: cover;
  background: var(--wash);
}
.direction-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .34rem 1rem;
  padding: .85rem 1rem 1.05rem;
  border-top: 1px solid #d6c4b4;
}
.direction-text h2, .freeform-link h2 { font: 700 clamp(1.6rem, 2.9vw, 2.6rem)/1.06 var(--display); }
.direction-text .arrow, .freeform-link .arrow { font-size: 1.35rem; font-weight: 700; }
.direction-text p { grid-column: 1 / -1; max-width: 44ch; }
.gallery-references {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.9rem, 2.5vw, 1.8rem);
  margin-top: clamp(1.2rem, 3vw, 2.25rem);
}
.freeform-link {
  background: var(--lime);
  border-color: var(--wine);
}
.freeform-link > div { padding: clamp(1rem, 3vw, 2.5rem); }
.freeform-link h2 { margin-block: .5rem; }
.freeform-link .gallery-secondary { margin-top: .45rem; text-decoration: underline; }

.review-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .25rem 1.2rem;
  background: var(--review-paper);
  color: var(--review-ink);
  border-bottom: 1px solid #cfc2bd;
  padding: .34rem clamp(.75rem, 3vw, 2rem);
}
.review-back, .device-switch a, .review-page select {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  min-height: 2.75rem;
  padding: .3rem .64rem;
  font-weight: 700;
  text-decoration: none;
}
.review-back { padding-inline-start: .2rem; }
.review-back:hover, .device-switch a:hover { text-decoration: underline; }
.review-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: .08rem .7rem; }
.review-heading strong { font: 700 clamp(1.2rem, 2vw, 1.5rem)/1.08 var(--display); }
.review-heading span { font-size: .84rem; }
.review-controls, .device-switch { display: flex; flex-wrap: wrap; align-items: center; gap: .22rem; }
.review-controls { gap: .35rem .65rem; }
.device-switch a { font-size: .88rem; border: 1px solid #b5a9a6; border-radius: .42rem; }
.device-switch a[aria-current] { color: white; background: var(--review-ink); border-color: var(--review-ink); }
.review-page select {
  max-width: 12rem;
  color: inherit;
  background: white;
  border: 1px solid #b5a9a6;
  border-radius: .42rem;
  cursor: pointer;
}
.frame { position: relative; container: vue / inline-size; margin: 0 auto 5rem; }
.frame[data-format="mobile"] {
  max-width: 390px;
  margin-top: .9rem;
  box-shadow: 0 0 0 1px #c5b1a9, 0 8px 26px #2b242720;
}
.current-preview { background: var(--ground, var(--lime)); }
.current-preview img { width: 100%; height: auto; }

.switcher {
  position: fixed;
  z-index: 5;
  inset: auto auto max(.65rem, env(safe-area-inset-bottom)) 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  max-width: calc(100% - 1.2rem);
  padding: .16rem;
  background: var(--review-ink);
  color: white;
  border: 1px solid white;
  border-radius: 1.8rem;
  box-shadow: 0 3px 18px #2b242746;
  --focus: var(--lime);
}
.switcher a, .switcher select {
  min-height: 2.75rem;
  border-radius: 1.8rem;
  border: 0;
  color: inherit;
  font: 700 .88rem var(--body);
  text-decoration: none;
}
.switcher a { display: grid; place-items: center; width: 2.75rem; font-size: 1.13rem; flex: none; }
.switcher a:hover { background: #554349; }
.switcher select { width: 12.15rem; padding-inline: .5rem; background: var(--review-ink); color-scheme: dark; cursor: pointer; }
.switcher :focus-visible { outline-offset: -3px; }

.skip-link {
  position: absolute;
  z-index: 4;
  left: .65rem;
  top: .65rem;
  transform: translateY(-240%);
  background: var(--lime);
  color: var(--wine);
  padding: .75rem;
  font-weight: 700;
  clip-path: inset(100%);
}
.skip-link:focus { transform: none; clip-path: none; }

.poster { background: var(--pink); color: var(--wine); }
.poster-top { padding: .45rem max(1rem, 5cqw); border-bottom: 1px solid var(--wine); display: flex; justify-content: space-between; align-items: center; }
.poster-jump { min-height: 2.75rem; display: inline-flex; gap: .55rem; align-items: center; font-weight: 700; text-underline-offset: .23em; }
.poster-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  min-height: clamp(22rem, 52cqw, 47rem);
}
.poster-mark, .poster-logo { display: grid; place-items: center; }
.poster-mark { padding: clamp(1rem, 5cqw, 6rem); border-inline-end: 1px solid currentColor; }
.poster-mark img { width: min(100%, 35rem); height: auto; }
.poster-logo { padding: max(7mm, 4cqw); }
.poster-logo .brand-logo { height: clamp(11rem, 25cqw, 22rem); max-height: min(68cqw, 22rem); }
.poster-samples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--wine); }
.poster-samples a {
  display: grid;
  gap: .15rem;
  align-content: center;
  padding: clamp(.7rem, 2.3cqw, 2rem);
  font-size: clamp(.85rem, 1.8cqw, 1rem);
  text-decoration: none;
}
.poster-samples a[aria-current], .poster-samples a:hover { box-shadow: inset 0 0 0 3px; }
.poster-samples a:focus-visible { outline-offset: -6px; }
.poster-type { display: grid; grid-template-columns: 1fr 1fr; }
.poster-type > div { display: grid; align-content: center; gap: .8rem; min-height: 11rem; padding: clamp(1rem, 4cqw, 4rem); }
.poster-type > div + div { border-inline-start: 1px solid var(--wine); background: var(--lime); }
.poster-type p:last-child { font: 700 clamp(1.8rem, 5.8cqw, 6.4rem)/1.03 var(--display); }
.poster-varna p:last-child { font-family: var(--body); }

@media (max-width: 62rem) {
  .direction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 43rem) {
  .review-controls { grid-column: 1 / -1; }
  .review-bar { grid-template-columns: auto minmax(0, 1fr); }
  .gallery-cover-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 26%); }
  .gallery-art { border-inline-end: 0; margin-inline-end: -1rem; }
  .gallery-art img { width: 90%; }
}

@media (max-width: 30rem) {
  .gallery-cover-grid { display: block; }
  .gallery-art { display: none; }
  .direction-grid, .gallery-references { grid-template-columns: 1fr; }
  .review-controls { gap: .35rem; }
  .review-page select { max-width: 8.6rem; }
  .device-switch a, .review-page select { padding-inline: .38rem; font-size: .81rem; }
}

@container vue (width < 35rem) {
  .poster-proof { min-height: 24rem; grid-template-columns: 1fr; }
  .poster-mark { border: 0; }
  .poster-mark img { width: min(48cqw, 11rem); }
  .poster-logo { border-top: 1px solid; }
  .poster-logo .brand-logo { height: 11rem; }
  .poster-samples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
