/* Les Lunettes d'Adeline
   Ground: the plaster of the shop front. Ink: the sign. Accent: the iris of the logo.
   Field blue: the frame of the Regarde le monde campaign. */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f1f0ed;
  --surface: #e5e3dd;
  --ink: #16181d;
  --muted: #55554f;
  --accent: #f4b81c;
  --accent-ink: #16181d;
  --blue: #0a4c9a;
  --blue-ink: #ffffff;
  --paper: #ffffff;
  --open: #1c6b3a;

  --display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --step-small: 1rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);
  --step-lead: clamp(1.3rem, 1.1rem + 0.8vw, 1.875rem);
  --step-quote: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem);
  --step-head: clamp(2.375rem, 1.3rem + 3.6vw, 4.5rem);

  --m: clamp(16px, 5vw, 96px);
  --gap: clamp(12px, 1.7vw, 28px);
  --section: clamp(96px, 13vw, 200px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--ink) var(--bg); accent-color: var(--blue); caret-color: var(--blue); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:target { scroll-margin-top: 88px; }
section[id] { scroll-margin-top: 72px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
main { position: relative; z-index: 1; background: var(--bg); overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
b { font-weight: 650; }
p, li, summary, blockquote { text-wrap: pretty; }
.nb { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.field-blue :focus-visible, .end :focus-visible { outline-color: var(--accent); }
.rdv :focus-visible { outline-color: var(--ink); }
::selection { background: var(--accent); color: var(--ink); }

.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { left: var(--m); top: 10px; z-index: 30; width: auto; height: auto; clip-path: none; background: var(--ink); color: #fff; padding: 10px 16px; }

/* Display type */
/* Low optical size on purpose: the hairlines of Bodoni have to survive for readers who came about their eyes. */
.h-xl, .h-l, .h-m, .h-name { font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 12; letter-spacing: -0.015em; line-height: 1.06; text-wrap: balance; }
.h-xl, .h-l, .h-m { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.3; }

/* Controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 0;
  font-weight: 600; font-size: var(--step-small); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}
.btn:active { transform: scale(0.97); }
.zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; transition: transform 140ms var(--ease-out); }
.zoom:active { transform: scale(0.985); }
.zoom:focus-visible { outline-offset: -3px; }
.zoom img { transition: scale 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .zoom:hover img { scale: 1.03; } }
.btn-ink { background: var(--ink); color: #fff; }
.link, .tel { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em; text-decoration-color: var(--accent); transition: text-decoration-color 180ms ease; }
.tel { font-weight: 600; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink); color: #fff; }
  .btn-ink:hover { background: #fff; color: var(--ink); }
  .link:hover, .tel:hover { text-decoration-color: var(--blue); }
}

/* Bar */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px; padding: 0 var(--m);
  background: var(--bg);
}
.brand { display: block; flex: none; width: clamp(236px, 25vw, 348px); }
.brand svg { display: block; width: 100%; height: auto; overflow: visible; }
.nav { position: relative; display: flex; gap: clamp(16px, 2.2vw, 34px); font-size: var(--step-small); }
.nav a { position: relative; text-decoration: none; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }
.nav a:focus-visible::after { transform: scaleX(1); }
html.lb-open { overflow: hidden; }
.nav-ind { position: absolute; left: 0; bottom: 4px; width: 1px; height: 2px; background: var(--accent); transform-origin: left; opacity: 0; transition: transform 300ms var(--ease-in-out), opacity 200ms ease; pointer-events: none; }
.btn-bar { min-height: 44px; padding: 0 20px; }
.nav { margin: 0 auto; }
.bar-tel { flex: none; font-size: var(--step-small); font-weight: 600; white-space: nowrap; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em; text-decoration-color: transparent; transition: text-decoration-color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .bar-tel:hover { text-decoration-color: var(--accent); } }
@media (max-width: 1240px) { .nav { gap: 18px; } .brand { width: clamp(220px, 21vw, 300px); } }
.menu { display: none; }

/* Hero */
.hero { padding: clamp(12px, 1.4vw, 24px) var(--m) clamp(64px, 7vw, 110px); }
.hero-title { font-family: var(--display); font-weight: 400; font-size: 11.15vw; font-variation-settings: "opsz" 28; line-height: 1; letter-spacing: -0.03em; color: var(--blue); white-space: nowrap; }
.hero-word { display: block; }
.hero-reg { display: inline-block; }
.g-slot { position: relative; display: inline-block; width: 0.41em; height: 0.1em; margin: 0 0.012em 0 0.016em; }
.g-slot img { position: absolute; left: 0; bottom: -0.62em; height: 1.16em; width: auto; max-width: none; transform-origin: 50% 25%; }
.hero-rest { margin-left: 0.03em; }

.prints { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; margin-top: clamp(34px, 5.4vw, 92px); }
.hero-left { grid-column: 1 / 4; }
.p-small { width: calc((200% - var(--gap) * 1) / 3); }
.p-small img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero-copy { margin-top: 26px; }
.hero-copy > p:first-child { font-size: var(--step-body); line-height: 1.42; max-width: 32ch; }
.hero-contact { display: grid; justify-items: start; gap: 4px; margin-top: 18px; }
/* On a large screen the phone is in the bar and the address under the shop: no third copy here. */
@media (min-width: 1241px) { .hero-contact { display: none; } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.p-tall { grid-column: 4 / 8; overflow: hidden; }
.p-tall img { width: 100%; aspect-ratio: 3 / 4; max-height: calc(100svh - 11.15vw - 196px); min-height: 360px; object-fit: cover; object-position: 50% 30%; }
.p-wide { grid-column: 8 / 13; margin-left: var(--gap); }
.p-wide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 62%; }
.p-wide figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 20px; margin-top: 12px; font-size: var(--step-small); }
[data-status] { color: var(--muted); }
[data-status].is-open { color: var(--open); font-weight: 600; }
.hero-proof { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 16px; text-decoration: none; }
.hero-proof strong { font-family: var(--display); font-variation-settings: "opsz" 9; font-weight: 400; font-size: var(--step-lead); line-height: 1; color: var(--blue); }
.hero-proof span { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.22em; transition: text-decoration-color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .hero-proof:hover span { text-decoration-color: var(--blue); } }

.vid-toggle { position: absolute; left: 0; bottom: 0; min-height: 44px; padding: 0 16px; background: var(--bg); color: var(--ink); border: 0; font-size: var(--step-small); font-weight: 600; cursor: pointer; opacity: 0; transition: opacity 180ms ease, background-color 180ms ease; }
.intro-vid:hover .vid-toggle, .how-c:hover .vid-toggle, .vid-toggle:focus-visible, .vid-toggle[aria-pressed="true"] { opacity: 1; }
@media (hover: none) { .vid-toggle { opacity: 1; } }
.vid-toggle:active { background: var(--accent); }

/* Intro */
.intro { padding: var(--section) var(--m) 0; }
.intro-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.intro-top h2 { grid-column: 1 / 8; }
.intro-note { grid-column: 9 / 13; }
.facts { display: flex; justify-content: space-between; gap: 32px; margin-top: clamp(64px, 8vw, 120px); }
.facts li { flex: 0 1 auto; }
.facts strong { display: block; font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 9; font-size: var(--step-lead); line-height: 1.12; letter-spacing: -0.01em; }
.facts span { display: block; margin-top: 8px; max-width: 24ch; font-size: var(--step-small); line-height: 1.35; color: var(--muted); }
.intro-pics { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(56px, 7vw, 110px); align-items: end; }
.intro-vid { position: relative; grid-column: 1 / 5; }
.intro-vid video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.intro-pics figure:last-child { grid-column: 6 / 13; }
.intro-pics img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Three stages, down a diagonal */
.how { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: var(--section) var(--m) 0; align-items: start; }
.how img, .how video { width: 100%; object-fit: cover; }
.how-a { grid-column: 1 / 5; grid-row: 1 / 3; }
.how-a img { aspect-ratio: 3 / 4; }
.how-head { grid-column: 6 / 13; grid-row: 1; }
.how-head .how-t { margin-top: clamp(24px, 3vw, 44px); }
.how-t { max-width: 38ch; }
.how-b { grid-column: 6 / 9; grid-row: 2; margin-top: clamp(56px, 7vw, 120px); }
.how-b img { aspect-ratio: 1; }
.how-bt { grid-column: 9 / 13; grid-row: 2; margin-top: clamp(56px, 7vw, 120px); }
.how-s { grid-column: 2 / 5; grid-row: 3; margin-top: clamp(48px, 6vw, 100px); }
.how-s img { aspect-ratio: 4 / 5; }
.how-ct { grid-column: 5 / 8; grid-row: 3; margin-top: clamp(100px, 14vw, 230px); }
.how-c { position: relative; grid-column: 8 / 13; grid-row: 3; margin-top: clamp(100px, 14vw, 230px); }
.how-c video { aspect-ratio: 16 / 10; }

/* Band of unequal panels */
.show { padding-top: var(--section); }
.show > h2 { padding: 0 var(--m); margin-left: calc((100vw - var(--m) * 2) / 6); margin-bottom: clamp(36px, 4.4vw, 64px); }
.band { display: flex; width: 100%; height: 72svh; min-height: 440px; }
.band figure { position: relative; overflow: hidden; min-width: 0; }
.band figure:nth-child(1) { flex: 5 1 0; }
.band figure:nth-child(2) { flex: 2 1 0; }
.band figure:nth-child(3) { flex: 3 1 0; }
.band figure:nth-child(4) { flex: 2 1 0; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band figcaption { position: absolute; left: 0; top: 0; pointer-events: none; padding: 18px 28px 22px var(--m); background: var(--bg); font-family: var(--display); font-variation-settings: "opsz" 9; font-size: var(--step-lead); line-height: 1.12; letter-spacing: -0.01em; }
.show-text { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: clamp(40px, 5vw, 72px) var(--m) 0; align-items: start; }
.show-text .lead { grid-column: 1 / 8; }
.show-text .brands { grid-column: 9 / 13; font-size: var(--step-body); color: var(--muted); }
.rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(40px, 5vw, 72px); padding: 0 var(--m); }
.rail img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Sunglasses: prints at their own heights */
.sol { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: var(--section) var(--m) 0; align-items: start; }
.sol img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.sol-head { grid-column: 1 / 7; }
.sol-note { grid-column: 8 / 13; align-self: end; }
.s1 { grid-column: 1 / 5; margin-top: clamp(40px, 5vw, 72px); }
.s2 { grid-column: 5 / 9; margin-top: clamp(96px, 12vw, 190px); }
.s3 { grid-column: 9 / 13; margin-top: clamp(40px, 5vw, 72px); }
.s4 { grid-column: 3 / 9; margin-top: var(--gap); }
.s4 img { aspect-ratio: 16 / 10; }
.s5 { grid-column: 10 / 13; margin-top: var(--gap); }

/* Adeline: the name stays while her portraits pass */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: var(--section) var(--m) 0; align-items: start; }
.about-pin { grid-column: 1 / 7; position: sticky; top: 104px; }
.h-name { font-size: min(11.15vw, 11.5rem); font-variation-settings: "opsz" 28; letter-spacing: -0.03em; line-height: 0.96; color: var(--blue); margin-bottom: clamp(24px, 3vw, 44px); }
.about-pin p + p { margin-top: 18px; }
.about-pin p:not(.lead) { max-width: 52ch; }
.about-pics { grid-column: 8 / 13; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(32px, 4vw, 60px); }
.about-pics img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-pics figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }
.ap-1 { grid-column: 1 / 6; }
.ap-2 { grid-column: 1 / 3; }
.ap-3 { grid-column: 3 / 6; margin-top: clamp(40px, 6vw, 96px); }

/* Reviews */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.avis { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: var(--section) var(--m) 0; align-items: start; }
.avis-score { grid-column: 1 / 6; }
.avis-score figure { margin-top: clamp(24px, 3vw, 44px); }
.avis-score img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.avis-score .h-name { margin-bottom: 8px; }
.avis-text { grid-column: 7 / 13; }
.avis-quote { margin: 0; font-family: var(--display); font-variation-settings: "opsz" 11; font-size: var(--step-quote); line-height: 1.2; letter-spacing: -0.01em; }
.avis-text figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }
.avis-text h3 { margin-top: clamp(32px, 3.6vw, 52px); font-size: var(--step-body); font-weight: 650; }
.avis-list li { margin-top: 8px; }
.avis-links { margin-top: 24px; }
.avis-note { margin-top: 14px; font-size: var(--step-small); color: var(--muted); }

/* Services */
.field-blue { background: var(--blue); color: var(--blue-ink); }
.svc { margin-top: var(--section); padding: clamp(84px, 9vw, 140px) var(--m); }
.svc h2 { grid-column: 1 / 10; margin-bottom: clamp(44px, 5vw, 76px); }
.svc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.svc-col { grid-column: span 3; }
.svc-col h3 { margin-bottom: 14px; font-family: var(--display); font-variation-settings: "opsz" 9; font-weight: 400; font-size: var(--step-lead); }
.svc-col li { padding: 8px 0; line-height: 1.35; }
.svc-col li > span { display: inline; font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 2px; transition: text-decoration-color 160ms ease; }
.svc-col li.is-on > span { text-decoration-color: var(--accent); }
.svc-col small { display: block; margin-top: 2px; font-size: var(--step-small); opacity: 0.9; }
.svc-prev { grid-column: 10 / 13; grid-row: 1 / 3; position: sticky; top: 104px; aspect-ratio: 3 / 4; overflow: hidden; }
.svc-prev img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity 180ms ease; }
.svc-prev img.is-next { opacity: 0; }

/* Brands: one line that travels, then the list you can read */
.marques { padding-top: clamp(72px, 9vw, 140px); }
.marques-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding: 0 var(--m); }
.marques-head h2 { grid-column: 1 / 7; }
.marques-head p { grid-column: 8 / 13; }
.marquee { margin-top: clamp(24px, 3vw, 48px); overflow: hidden; white-space: nowrap; color: var(--blue); font-family: var(--display); font-variation-settings: "opsz" 28; font-size: 11.15vw; line-height: 1.1; letter-spacing: -0.03em; }
.marquee-track { display: inline-flex; gap: 0.45em; padding-right: 0.45em; }
.marquee span { flex: none; }
.brand-index { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; margin-top: clamp(24px, 3vw, 48px); padding: 0 var(--m); }
.brand-list { grid-column: 1 / 9; columns: 2; column-gap: var(--gap); }
.brand-list li { break-inside: avoid; }
.zoom.brand { display: inline-block; width: auto; height: auto; padding: 8px 0; overflow: visible; color: var(--ink); text-align: left; font-family: var(--display); font-variation-settings: "opsz" 12; font-size: var(--step-lead); line-height: 1.15; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.18em; transition: color 160ms ease, text-decoration-color 160ms ease, transform 140ms var(--ease-out); }
.zoom.brand.is-on { color: var(--blue); text-decoration-color: var(--accent); }
.brand-prev { grid-column: 10 / 13; position: sticky; top: 104px; aspect-ratio: 4 / 5; overflow: hidden; }
.brand-prev img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity 180ms ease; }
.brand-prev img.is-next { opacity: 0; }

/* Rising triptych */
.rise { --p: 1; position: relative; height: 210svh; }
.rise-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.rise-head { position: absolute; left: 0; right: 0; top: 11svh; text-align: center; padding: 0 var(--m); }
.rise-head p { margin-top: 10px; }
.rise-c, .rise-l, .rise-r { position: absolute; top: 30svh; --w: min(44vw, 62svh); }
.rise-c { left: calc(50% - var(--w) / 2); width: var(--w); transform: translateY(calc((1 - var(--p)) * 30svh)) scale(calc(0.84 + 0.16 * var(--p))); transform-origin: 50% 0; }
.rise-l, .rise-r { width: min(25vw, 42svh); }
.rise-l { left: calc(50% - var(--w) / 2 - min(25vw, 42svh) - 10px); transform: translateY(calc((1 - var(--p)) * 42svh + 55px)); }
.rise-r { left: calc(50% + var(--w) / 2 + 10px); transform: translateY(calc((1 - var(--p)) * 54svh + 55px)); }
.rise img { width: 100%; object-fit: cover; }
.rise-c img { aspect-ratio: 4 / 5; }
.rise-l img, .rise-r img { aspect-ratio: 2 / 3; }

/* Questions */
.faq { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 0 var(--m); background: var(--surface); }
.faq-text { grid-column: 1 / 7; padding: clamp(88px, 10vw, 150px) 0; }
.faq-list { margin-top: clamp(28px, 3.4vw, 48px); }
.faq details { padding: 13px 0; }
.faq summary { position: relative; padding-right: 34px; font-size: var(--step-body); font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; min-height: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 4px; top: 13px; width: 11px; height: 2px; background: var(--ink); transition: transform 200ms var(--ease-out); }
.faq summary::before { transform: translateX(-7px) rotate(42deg); }
.faq summary::after { transform: rotate(-42deg); }
.faq details[open] summary::before { transform: translateX(-7px) rotate(-42deg); }
.faq details[open] summary::after { transform: rotate(42deg); }
.faq details p { margin-top: 10px; max-width: 54ch; }
.faq-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.faq-pics { grid-column: 8 / 13; position: relative; padding: clamp(88px, 10vw, 150px) 0; }
.fp-a img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.fp-b { position: absolute; left: -40px; bottom: calc(clamp(88px, 10vw, 150px) - 40px); width: 36%; }
.fp-b img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Hours */
.hours { padding: var(--section) var(--m); }
.hours-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(56px, 6.6vw, 96px); align-items: end; }
.hours figure { grid-column: 1 / 8; }
.hours figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.hours-tables { grid-column: 9 / 13; }
.hours table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours table + table { margin-top: 36px; }
.hours caption { text-align: left; font-weight: 650; padding-bottom: 8px; }
.hours th { text-align: left; font-weight: 400; padding: 5px 16px 5px 0; color: var(--muted); white-space: nowrap; }
.hours td { text-align: right; padding: 5px 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); font-weight: 650; }
.hours-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 30px; }

/* Appointment: the shop's chart, set with the shop's own details */
.rdv { background: var(--accent); color: var(--ink); padding: clamp(56px, 4.4vw, 76px) var(--m) clamp(80px, 8vw, 130px); }
.rdv h2 { margin-bottom: clamp(28px, 3vw, 44px); }
.rdv-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }

.chart { grid-column: 1 / 8; position: relative; container-type: inline-size; user-select: none; -webkit-user-select: none; }
.plate { background: var(--paper); color: #111; padding: 8cqw 5cqw 7cqw; text-align: center; font-family: var(--text); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; line-height: 1.1; }
.l { margin: 0; }
.l a { color: inherit; text-decoration: none; }
.l + .l { margin-top: 3.2cqw; }
.l1 { font-size: 15.4cqw; font-weight: 650; letter-spacing: 0.1em; }
.l2 { font-size: 7.9cqw; letter-spacing: 0.08em; }
.l3 { font-size: 5.3cqw; }
.l4 { font-size: 3.7cqw; }
.l5 { font-size: 2.15cqw; letter-spacing: 0.1em; }
.l6 { font-size: 1.9cqw; }
.l7 { font-size: 1.6cqw; }
.l8 { font-size: 1.3cqw; letter-spacing: 0.08em; }
.l + .l1 { margin-top: 0; }
.js .chart.is-live .plate-base .l3 { filter: blur(0.5px); }
.js .chart.is-live .plate-base .l4 { filter: blur(1.1px); }
.js .chart.is-live .plate-base .l5 { filter: blur(1.5px); }
.js .chart.is-live .plate-base .l6 { filter: blur(1.8px); }
.js .chart.is-live .plate-base .l7 { filter: blur(2px); }
.js .chart.is-live .plate-base .l8 { filter: blur(2.2px); }
.lens-view, .lens-ring { display: none; }
.chart.is-live .lens-view, .chart.is-live .lens-ring { display: block; }
.lens-view { position: absolute; inset: 0; clip-path: circle(var(--r) at var(--x) var(--y)); pointer-events: none; overflow: hidden; }
.lens-view .plate { position: absolute; inset: 0; transform-origin: var(--x) var(--y); transform: scale(1.32); }
@media (hover: hover) and (pointer: fine) { .chart.is-live { cursor: zoom-in; } .chart.is-live a { cursor: pointer; } }
.lens-ring {
  position: absolute; left: 0; top: 0; width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1);
  transform: translate(var(--x), var(--y));
  border-radius: 50%; background: none; padding: 0; border: 3px solid #cfc8ba;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28), inset 0 0 18px rgba(10, 76, 154, 0.2), 0 14px 34px rgba(0, 0, 0, 0.26); /* taste-skill-ignore: a lens held above the chart */
  pointer-events: none;
}
.lens-ring:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.lens-ring::after { content: ""; position: absolute; left: 50%; top: 100%; width: 12px; height: 26px; margin-left: -6px; background: #cfc8ba; }

.form { grid-column: 9 / 13; display: grid; gap: 16px; }
.form-call { font-size: var(--step-body); line-height: 1.4; margin-bottom: 4px; }
.field label { display: block; margin-bottom: 4px; font-weight: 600; font-size: var(--step-small); }
.field input, .field select { width: 100%; min-height: 52px; padding: 0 14px; background: var(--paper); border: 0; border-radius: 0; font-size: var(--step-small); }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2316181d' stroke-width='2'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.field input[aria-invalid="true"] { outline: 2px solid var(--ink); outline-offset: -2px; }
.field-err { margin-top: 4px; font-size: var(--step-small); font-weight: 600; line-height: 1.3; transition: opacity 180ms ease, translate 180ms var(--ease-out); }
@starting-style { .field-err { opacity: 0; translate: 0 -4px; } }
.form .btn { width: 100%; margin-top: 6px; }
.form .btn:disabled { opacity: 0.7; cursor: progress; }
.form-note { font-size: var(--step-small); line-height: 1.35; }

/* Footer, uncovered as the page lifts */
.end { position: sticky; bottom: 0; z-index: 0; min-height: 100svh; display: grid; grid-template-rows: auto 1fr; background: var(--ink); color: #fff; padding: calc(76px + clamp(36px, 4vw, 56px)) var(--m) 28px; font-size: var(--step-small); line-height: 1.5; }
.end-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gap); }
.end h2 { font: inherit; font-weight: 650; margin-bottom: 10px; }
.end p + p { margin-top: 10px; }
.end a { text-decoration: none; }
.end-cols a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 2px; transition: text-decoration-color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .end-cols a:hover { text-decoration-color: var(--accent); } }
.end-mark { align-self: end; padding-top: 12vh; }
.end-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.legal { margin-top: 18px; max-width: 110ch; font-size: 0.8125rem; line-height: 1.45; color: #c9c7bf; }
.legal a { text-decoration: underline; text-underline-offset: 0.2em; }

.btn-call { display: none; }

/* Photo viewer: the frames and sunglasses, where detail is the point */
.lb { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: var(--ink); color: #fff; opacity: 0; transition: opacity 160ms ease; }
.lb[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lb::backdrop { background: transparent; }
.lb.is-open { opacity: 1; transition-duration: 220ms; }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: clamp(12px, 2.4vw, 32px); cursor: zoom-out; }
.lb-img { display: block; max-width: 100%; max-height: calc(100dvh - 128px); width: auto; height: auto; cursor: default; transform: scale(0.94); transition: transform 160ms var(--ease-out); }
.lb.is-open .lb-img { transform: none; transition: transform 280ms var(--ease-out); }
.lb.is-instant, .lb.is-instant .lb-img { transition: none; }
.lb-img.is-swap { animation: lb-swap 140ms ease; }
@keyframes lb-swap { from { opacity: 0.4; } to { opacity: 1; } }
.lb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 8px var(--m) max(12px, env(safe-area-inset-bottom)); font-size: var(--step-small); }
.lb-cap { flex: 1 1 260px; line-height: 1.3; }
.lb-count { font-variant-numeric: tabular-nums; color: #c9c7bf; }
.lb-btn { min-height: 44px; padding: 0 12px; border: 0; background: none; color: #fff; font-weight: 600; cursor: pointer; transition: transform 140ms var(--ease-out), color 160ms ease; }
.lb-btn:active { transform: scale(0.97); }
.lb-close { color: var(--accent); }
.lb :focus-visible { outline-color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .lb-btn:hover { color: var(--accent); } }
@media (max-width: 900px) {
  .lb-img { max-height: calc(100dvh - 148px); }
  .lb-cap { flex-basis: 100%; }
  .lb-close { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .lb-img, .lb.is-open .lb-img { transform: none; } .lb-img.is-swap { animation: none; } }

/* Legal page */
.page-legal { padding: clamp(40px, 6vw, 96px) var(--m) var(--section); }
.page-legal h1 { font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 12; font-size: var(--step-head); line-height: 1.06; letter-spacing: -0.015em; margin-bottom: 40px; }
.page-legal h2 { font-size: var(--step-lead); font-weight: 600; margin: 36px 0 8px; }
.page-legal p { max-width: 66ch; }
.page-legal mark { background: var(--accent); color: var(--ink); padding: 0 4px; }

@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 80s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Motion. Everything is visible without it.
   Words rise a little, pictures open: two gestures, so the page never reads as one fade repeated. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js figure[data-reveal] { transform: none; clip-path: inset(0 0 14% 0); transition: opacity 500ms ease, clip-path 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
  .js figure[data-reveal].is-in { clip-path: inset(0); }
  .js section:not(.hero) figure[data-reveal] :is(img, video) { transform: scale(1.05); transition: transform 1000ms var(--ease-out), scale 300ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms), 0ms; }
  .js section:not(.hero) figure[data-reveal].is-in :is(img, video) { transform: none; }

  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1000ms var(--ease-in-out); }
  .js .shutter[data-reveal] img { transform: scale(1.1); transition: transform 1400ms var(--ease-out); }
  .js .shutter[data-reveal].is-in { clip-path: inset(0); }
  .js .shutter[data-reveal].is-in img { transform: none; }

  .js .g-slot img { animation: g-settle 1100ms var(--ease-out) both 160ms; }
  .js .hero-reg, .js .hero-rest { animation: rise-in 800ms var(--ease-out) both; }
  .js .hero-rest { display: inline-block; animation-delay: 80ms; }

  .js .end-mark svg { clip-path: inset(-10% 100% -10% 0); transition: clip-path 1400ms var(--ease-in-out); }
  .js .end.is-in .end-mark svg { clip-path: inset(-10% 0 -10% 0); }

  .menu[open] nav { animation: menu-in 200ms var(--ease-out); }

  @supports (interpolate-size: allow-keywords) {
    .faq-list { interpolate-size: allow-keywords; }
    .faq details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size 240ms var(--ease-out), opacity 180ms ease, content-visibility 240ms allow-discrete; }
    .faq details[open]::details-content { block-size: auto; opacity: 1; }
  }
}
@keyframes g-settle { from { opacity: 0; transform: translateY(-12%) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(0.08em); } to { opacity: 1; transform: none; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .rise { height: auto; }
  .rise-stage { position: relative; height: auto; display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 10px; padding: var(--section) var(--m) 0; overflow: visible; }
  .rise-head { position: static; grid-column: 1 / -1; margin-bottom: 40px; padding: 0; }
  .rise-c, .rise-l, .rise-r { position: static; width: 100%; transform: none; }
  .rise-l { order: 1; } .rise-c { order: 2; } .rise-r { order: 3; }
}

/* Tablet and phone: its own composition */
@media (max-width: 900px) {
  :root { --section: clamp(84px, 16vw, 130px); }
  .bar { height: 62px; gap: 12px; }
  .nav, .btn-bar, .bar-tel { display: none; }
  .marques-head { display: block; }
  .marques-head p { margin-top: 12px; }
  .marquee { font-size: 20vw; }
  .brand-index { display: block; }
  .brand-prev { display: none; }
  .brand { flex: 0 1 auto; width: min(100%, 250px); min-width: 0; }
  .btn-call { display: inline-flex; flex: none; min-height: 44px; padding: 0 14px; margin-left: auto; }
  .menu { display: block; position: relative; }
  .menu summary { display: flex; align-items: center; min-height: 44px; padding: 0 2px; font-weight: 600; cursor: pointer; list-style: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em; text-decoration-color: var(--accent); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu:not([open]) nav { display: none; }
  .menu nav { position: absolute; right: calc(var(--m) * -1); top: 52px; width: 100vw; padding: 12px var(--m) 24px; background: var(--bg); box-shadow: 0 18px 28px rgba(0, 0, 0, 0.12); /* taste-skill-ignore: an open menu floats */ }
  .menu nav a { display: block; padding: 11px 0; font-family: var(--display); font-variation-settings: "opsz" 9; font-size: var(--step-lead); line-height: 1.15; text-decoration: none; }

  .hero { padding-top: 24px; padding-bottom: 72px; }
  .js .shutter[data-reveal] img { transform: none; }
  .hero-title { font-size: 24.6vw; white-space: normal; line-height: 0.98; }
  .hero-reg { display: block; white-space: nowrap; }
  .hero-rest { display: block; font-size: 0.44em; margin: 0.1em 0 0 3.85em; line-height: 1.1; letter-spacing: -0.03em; white-space: nowrap; }
  .js .hero-rest { display: block; }
  .prints { display: block; margin-top: clamp(28px, 7vw, 44px); }
  .hero-left { display: contents; }
  .hero-copy { margin-top: 0; }
  .hero-copy > p:first-child { max-width: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-actions .tel { display: none; }
  .p-tall { width: 72%; margin-top: 34px; }
  .p-small { width: 40%; margin: -46px 0 0 auto; position: relative; z-index: 2; order: 5; }
  .prints { display: flex; flex-direction: column; }
  .hero-copy { order: 1; }
  .p-tall { order: 2; }
  .p-wide { order: 6; margin: 28px calc(var(--m) * -1) 0; }
  .p-wide figcaption { padding: 0 var(--m); }
  .hero-proof { margin-left: var(--m); }
  .prints { margin-top: clamp(40px, 11vw, 88px); }

  .intro-top { display: block; }
  .intro-note { margin-top: 20px; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; margin-top: 44px; }
  .intro-pics { display: block; margin-top: 44px; }
  .intro-vid { width: 72%; margin-bottom: 14px; }
  .intro-pics figure:last-child { margin: 0 calc(var(--m) * -1); }

  .how { display: block; }
  .how-head { margin-top: 0; }
  .how-a { margin-top: 30px; }
  .how-head { display: contents; }
  .how { display: flex; flex-direction: column; }
  .how-head h2 { order: 0; }
  .how-a { order: 1; }
  .how-head .how-t { order: 2; margin-top: 18px; }
  .how-b { order: 3; width: 62%; margin: 52px 0 0 auto; }
  .how-bt { order: 4; margin-top: 18px; }
  .how-s { order: 5; width: 62%; margin-top: 52px; }
  .how-c { order: 6; margin: 14px calc(var(--m) * -1) 0; }
  .how-ct { order: 7; margin-top: 18px; }

  .show > h2 { margin-left: 0; }
  .band { display: grid; grid-template-columns: 64fr 36fr; grid-template-rows: 1fr 1fr; height: 84svh; min-height: 520px; }
  .band figure:nth-child(3) { order: 4; }
  .band figure:nth-child(4) { order: 3; }
  .band figure:nth-child(3), .band figure:nth-child(2) { grid-column: 2; }
  .band figure:nth-child(4) { grid-column: 1; grid-row: 2; }
  .band figcaption { padding: 12px 18px 14px var(--m); }
  .show-text { display: block; }
  .show-text .brands { margin-top: 16px; }
  .rail { grid-template-columns: 1fr 1fr; }

  .sol { display: block; }
  .sol-note { margin-top: 16px; }
  .s1 { margin-top: 32px; }
  .s2 { width: 62%; margin: 14px 0 0 auto; }
  .s3 { width: 78%; margin-top: 14px; }
  .s4 { margin: 14px calc(var(--m) * -1) 0; }
  .s5 { width: 62%; margin: 14px 0 0 auto; }

  .avis { display: block; padding-top: 148px; }
  .avis-text { margin-top: 32px; }

  .about { display: block; }
  .about-pin { position: static; }
  .h-name { font-size: 24.6vw; }
  .about-pics { display: block; margin-top: 44px; }
  .ap-1 { width: 80%; }
  .ap-2 { width: 62%; margin: 40px 0 0 auto; }
  .ap-3 { width: 80%; margin-top: 40px; }

  .svc-grid { display: block; }
  .svc-col + .svc-col { margin-top: 40px; }
  .svc-col h3 { margin-bottom: 6px; }
  .svc-prev { display: none; }

  .rise { height: 190svh; }
  .rise-head { top: 9svh; }
  .rise-c, .rise-l, .rise-r { --w: min(70vw, 56svh); top: 27svh; }
  .rise-l, .rise-r { width: 34vw; }
  .rise-l { left: calc(50% - var(--w) / 2 - 34vw - 8px); }
  .rise-r { left: calc(50% + var(--w) / 2 + 8px); }

  .faq { display: flex; flex-direction: column-reverse; padding-top: 0; }
  .faq-text { padding: 48px 0 72px; }
  .faq-pics { margin: 0 calc(var(--m) * -1); padding-bottom: 0; }
  .fp-a { margin-top: 0; }
  .fp-a img { aspect-ratio: 4 / 5; }
  .fp-b { left: auto; right: var(--m); bottom: -24px; width: 38%; }
  .faq details { padding: 12px 0; }
  .faq summary { min-height: 44px; display: flex; align-items: center; }
  .faq-cta .btn { width: 100%; }

  .hours-body { display: flex; flex-direction: column-reverse; gap: 36px; }
  .hours figure { margin: 0 calc(var(--m) * -1); }
  .p-tall img { max-height: none; min-height: 0; }
  .avis-score figure { margin-right: calc(var(--m) * -1); margin-left: calc(var(--m) * -1); }

  .rdv-grid { display: block; }
  .l + .l { margin-top: 2.8cqw; }
  .l5, .l6, .l7, .l8 { letter-spacing: 0.05em; line-height: 1.25; text-wrap: balance; }
  .l5 { font-size: max(4.3cqw, 15px); }
  .l6 { font-size: max(4.15cqw, 14.5px); }
  .l7 { font-size: max(4cqw, 14px); }
  .l8 { font-size: max(3.9cqw, 13px); }
  .form { margin-top: 36px; }
  .form .btn { min-height: 56px; }

  .end { padding-top: 100px; }
  .end-cols { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .end-mark { padding-top: 14svh; }

}

/* Short laptop screens keep the phone number above the fold. */
@media (min-width: 901px) and (max-height: 800px) {
  .p-small { width: 64%; }
  .hero-copy { margin-top: 18px; }
  .hero-actions { margin-top: 16px; gap: 8px 20px; }
}
