/* Salone Glamour — custom design. Fraunces (display), Jost (text) and Glamour Script (a renamed Parisienne subset,
   one script word in the opening), all OFL and self-hosted (see /fonts/OFL.txt).
   Shapes: square corners like the square letters of the logo; photos sit in "windows" with an inset hairline,
   after the view from the salon's window onto the lake that opens the home page. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Glamour Script"; src: url("/fonts/glamour-script.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/fonts/jost-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Bordeaux, black and warm greys (owner, 11.11.2026). The logo's red stays in the logo only. */
  --paper: #f8f6f4;        /* warm white page */
  --mist: #ebe7e4;         /* warm light-grey bands */
  --rule: #d8d2ce;
  --ink: #151113;          /* near black: text, the place band */
  --soft: #514c4a;         /* secondary text: 7.8:1 on --paper, 6.9:1 on --mist */
  --taupe: #8c8582;        /* thin decorative lines (warm grey) */
  --wine: #5f1121;         /* bordeaux: buttons, accents, footer; paper text 12.3:1 */
  --wine-deep: #440b17;    /* bordeaux hover */
  --wine-light: #e2a9b5;   /* bordeaux tint for accents on black: 9.4:1 on --ink */
  --on-wine: #f8f6f4;
  --on-wine-soft: #e6d3d6; /* 9.2:1 on --wine */
  --on-ink-soft: #cdc6c3;  /* 11:1 on --ink */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text: Jost, "Avenir Next", "Century Gothic", "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Glamour Script", "Snell Roundhand", "Segoe Script", cursive;
  --measure: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--ink); text-decoration-color: var(--taupe); text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { color: var(--wine); text-decoration-color: var(--wine); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
/* On wine and photo surfaces the wine ring is invisible: white ring with a dark halo there. */
.colophon :focus-visible, .lightbox :focus-visible, .place :focus-visible, .opening :focus-visible, .btn-wine:focus-visible { outline-color: #fff; box-shadow: 0 0 0 4px var(--ink); }
h1, h2, h3, .h3 { font-family: var(--display); font-weight: 340; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .55em; font-variation-settings: "opsz" 96; }
h1 em, h2 em, h3 em, .h3 em { font-style: normal; font-weight: 560; color: var(--wine); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3, .h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.2; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--measure), 100% - 2.5rem); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
/* Kicker: small caps label with a little bordeaux square, like the square "g" of the logo */
.kicker { display: flex; align-items: center; gap: .7rem; font-size: .76rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); margin: 0 0 1.2rem; }
.kicker::before { content: ""; width: 7px; height: 7px; background: var(--wine); flex: none; }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.17em; stroke-width: 1.3; stroke-linecap: square; stroke-linejoin: miter; }
.lead { font-size: 1.15rem; color: var(--soft); max-width: 36rem; }
.small { font-size: .88rem; color: var(--soft); }

/* Buttons: square corners, spaced capitals */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .8rem 1.5rem; border: 1px solid transparent; border-radius: 2px;
  font: 500 .8rem/1.2 var(--text); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn-wine { background: var(--wine); color: var(--on-wine); box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.btn-wine:hover { background: var(--ink); color: #fff; }
.btn-line { background: transparent; border-color: rgba(248,246,244,.7); color: var(--on-wine); }
.btn-line:hover { background: var(--on-wine); color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--taupe); padding-bottom: .15rem; }
.text-link .ico, .btn .ico-arrow { transition: transform .25s; }
.text-link:hover .ico, .btn:hover .ico-arrow { transform: translateX(5px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2rem; }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 50; background: rgba(248,246,244,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.masthead-row { display: flex; align-items: center; gap: 2rem; min-height: 4.75rem; }
.brand img { width: 190px; }
.menu { display: flex; gap: 2rem; margin-left: auto; }
.menu a { position: relative; padding: .5rem 0; font-size: .95rem; font-weight: 450; letter-spacing: .04em; text-decoration: none; color: var(--ink); }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu a[aria-current="page"] { color: var(--wine); }
.masthead-call { min-height: 44px; padding: .6rem 1.1rem; letter-spacing: .08em; }
.masthead-call .call-short { display: none; }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .brand img { width: 148px; }
  .masthead-row { gap: .75rem; min-height: 4rem; }
  .masthead-call { margin-left: auto; padding: .55rem .9rem; }
  .masthead-call .call-label { display: none; }
  .masthead-call .call-short { display: inline; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--ink); border-radius: 2px; cursor: pointer; }
  .nav-toggle .lines, .nav-toggle .lines::after { display: block; width: 18px; height: 1.5px; background: var(--ink); content: ""; position: relative; transition: transform .25s; }
  .nav-toggle .lines { transform: translateY(-3px); }
  .nav-toggle .lines::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .lines { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .lines::after { transform: translateY(-6px) rotate(-90deg); }
  .menu { position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; gap: 0; padding: .5rem 1.25rem 1.5rem; background: var(--paper); border-bottom: 1px solid var(--rule); }
  .menu.open { display: flex; }
  .menu a { padding: 1rem 0; font: 340 1.6rem/1.2 var(--display); border-bottom: 1px solid var(--rule); }
  .menu a::after { display: none; }
}

/* Shapes: a photo in a window frame (square corners, inset hairline) */
.frame { position: relative; overflow: hidden; border-radius: 2px; background: var(--mist); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.frame::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.6); pointer-events: none; }
.frame:hover img { transform: scale(1.035); }

/* Home opening: the view from the salon's window, full width. The text sits centred over the mountains on a dark
   top-down veil; the lakefront with the «I ♥ Ascona» sign stays clear at the bottom. Inset hairline = window. */
.opening { position: relative; display: grid; align-content: start; min-height: clamp(34rem, calc(100svh - 4.5rem), 58rem); overflow: hidden; background: #3d5560; color: #fff; text-align: center; }
.opening picture, .opening img { position: absolute; inset: 0; width: 100%; height: 100%; }
.opening img { object-fit: cover; object-position: 50% 100%; }
.opening::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(21,17,19,.8) 0%, rgba(21,17,19,.62) 42%, rgba(21,17,19,.2) 68%, rgba(21,17,19,0) 80%); }
.opening::after { content: ""; position: absolute; inset: clamp(.75rem, 1.8vw, 1.5rem); z-index: 1; border: 1px solid rgba(248,246,244,.5); pointer-events: none; }
.opening-text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-block: clamp(3.5rem, 9vh, 6.5rem) 3rem; text-shadow: 0 1px 28px rgba(0,0,0,.35); }
.opening h1 { margin: 0 0 1.4rem; color: #fff; }
.opening h1 > span { display: block; }
.script { font: 400 clamp(3.4rem, 8.5vw, 7rem)/1 var(--script); letter-spacing: 0; color: var(--wine-light); margin-bottom: .05em; }
.opening-name { font-size: clamp(2.7rem, 6.4vw, 5.4rem); font-weight: 480; line-height: 1; letter-spacing: -.01em; }
.opening-place { display: flex !important; align-items: center; justify-content: center; gap: 1rem; margin-top: .7rem; font-size: clamp(1.15rem, 2.3vw, 1.9rem); font-weight: 340; font-style: italic; letter-spacing: .01em; }
.opening-place::before, .opening-place::after { content: ""; width: clamp(1.5rem, 5vw, 4rem); height: 1px; background: rgba(248,246,244,.7); }
.opening-lead { margin: 0 0 1.8rem; font-size: .8rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.opening .actions { justify-content: center; }
@media (max-width: 699.98px) {
  /* Portrait photo: show its upper 70% (window, mountains, lake, the sign near the bottom), not the street below. */
  .opening { min-height: clamp(34rem, calc(100svh - 4.5rem), 46rem); }
  .opening img { bottom: auto; height: 142%; object-position: 50% 0; }
  .opening::before { background: linear-gradient(180deg, rgba(21,17,19,.82) 0%, rgba(21,17,19,.66) 45%, rgba(21,17,19,.12) 66%, rgba(21,17,19,0) 76%); }
  .opening-text { padding-top: 2.6rem; }
  .opening h1 { margin-bottom: 1rem; }
  .opening-lead { font-size: .72rem; letter-spacing: .14em; margin-bottom: 1.4rem; }
  .opening .actions { width: 100%; margin-top: 0; gap: .75rem; }
  .opening .actions .btn { flex: 1 1 0; padding-inline: .8rem; }
}

/* Ribbon: four short facts between hairlines */
.ribbon { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--rule); }
.ribbon p { margin: 0; padding: 1.4rem 1.5rem; font: 380 1.15rem/1.3 var(--display); }
.ribbon p + p { border-left: 1px solid var(--rule); }
.ribbon span { display: block; margin-bottom: .35rem; font: 500 .7rem/1.3 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--soft); }
@media (max-width: 899.98px) {
  .ribbon { grid-template-columns: 1fr 1fr; }
  .ribbon p { padding: 1.1rem .9rem; }
  .ribbon p:nth-child(3) { border-left: 0; }
  .ribbon p:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* Sections */
.section { padding-top: clamp(4rem, 8vw, 6.5rem); }
.section-inner { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2.2rem; }
.split-head h2 { margin: 0; }
.more { margin-top: 2rem; color: var(--soft); }

/* Service index: sticky heading left, numbered rows right */
.index { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 6vw, 6rem); padding-top: clamp(4rem, 8vw, 6.5rem); }
.index-head { align-self: start; position: sticky; top: 7rem; }
.index-head > p:not(.kicker) { color: var(--soft); max-width: 26rem; }
.index-head .btn { margin-top: .8rem; }
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.index-list a { display: grid; grid-template-columns: 3rem 1fr 1.6fr 1.5rem; align-items: baseline; gap: 1rem; padding: 1.6rem .5rem; border-bottom: 1px solid var(--rule); text-decoration: none; transition: background-color .3s, padding .3s; }
.index-list a:hover { background: var(--mist); padding-inline: 1.2rem .8rem; color: var(--ink); }
.index-num { font-size: .78rem; font-weight: 500; letter-spacing: .14em; color: var(--wine); margin: 0; }
.index-title { font: 380 clamp(1.4rem, 2.2vw, 1.85rem)/1.15 var(--display); }
.index-text { color: var(--soft); font-size: .98rem; }
.index-list .ico { align-self: center; color: var(--wine); transition: transform .3s; }
.index-list a:hover .ico { transform: translateX(4px); }
@media (max-width: 899.98px) {
  .index { grid-template-columns: 1fr; }
  .index-head { position: static; }
  .index-list a { grid-template-columns: 2.4rem 1fr 1.2rem; row-gap: .2rem; }
  .index-text { grid-column: 2; grid-row: 2; }
  .index-list .ico { grid-column: 3; grid-row: 1 / span 2; }
}

/* Story: grey band, framed photo + text */
.story-band { background: var(--mist); margin-top: clamp(4rem, 8vw, 6.5rem); }
.story { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem); }
.story-img { aspect-ratio: 3 / 4; max-width: 460px; }
.story-text p:not(.kicker) { color: var(--soft); max-width: 38rem; }
.story-text h2 { max-width: 15ch; }
.sign { display: flex; align-items: center; gap: .8rem; margin-top: 1.8rem; font: 380 1.2rem/1.3 var(--display); color: var(--ink) !important; }
.sign-mark { width: 2.4rem; height: 1px; background: var(--taupe); }
@media (max-width: 899.98px) { .story { grid-template-columns: 1fr; } .story-img { max-width: none; aspect-ratio: 4 / 5; } }

/* Full-bleed photo strip with a caption under it */
.strip { margin: 0; }
.strip img { width: 100%; height: clamp(18rem, 48vw, 36rem); object-fit: cover; object-position: 50% 42%; }
.strip figcaption { padding-top: .9rem; font-size: .85rem; letter-spacing: .06em; color: var(--soft); }

/* Photo wall: columns (masonry), natural proportions */
.wall { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 1.25rem; }
.wall li { break-inside: avoid; margin-bottom: 1.25rem; }
.wall a { display: block; overflow: hidden; border-radius: 4px; background: var(--mist); }
.wall img { width: 100%; transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .9s; }
.wall a:hover img { transform: scale(1.04); filter: saturate(1.08); }
@media (max-width: 899.98px) { .wall { columns: 2; column-gap: .75rem; } .wall li { margin-bottom: .75rem; } }

/* FAQ: heading left, questions right */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 6vw, 6rem); }
.faq-head > p:not(.kicker) { color: var(--soft); }
.faq-list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; list-style: none; font: 380 clamp(1.2rem, 1.9vw, 1.45rem)/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--wine); }
/* A small square that turns into a diamond when open */
.toggle { width: 10px; height: 10px; flex: none; border: 1.5px solid var(--wine); transition: transform .3s, background-color .3s; }
details[open] .toggle { transform: rotate(45deg); background: var(--wine); }
.faq details p { color: var(--soft); max-width: 44rem; margin: -.2rem 0 1.5rem; }
@media (max-width: 899.98px) { .faq { grid-template-columns: 1fr; } }

/* Visit (contact): big phone number and buttons left, facts and social links right */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); padding-top: clamp(4rem, 8vw, 6.5rem); }
.visit-phone, .booking-phone { display: inline-block; font: 300 clamp(2rem, 4vw, 3rem)/1.1 var(--display); text-decoration: none; color: var(--wine); white-space: nowrap; margin-bottom: 1.6rem; }
.visit-phone:hover, .booking-phone:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.visit .actions { margin-top: 0; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; border-top: 1px solid var(--rule); padding-top: 1.6rem; }
.facts dt { display: flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin-bottom: .35rem; }
.facts dt .ico { color: var(--wine); }
.facts dd { margin: 0; }
.social-kicker { margin: 2.2rem 0 1rem; }
@media (max-width: 899.98px) { .visit { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* Social links: filled bordeaux circles (48px) with white icons and the network's name next to them */
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.social a { display: inline-flex; align-items: center; gap: .7rem; min-height: 48px; font-weight: 500; letter-spacing: .02em; text-decoration: none; color: var(--ink); }
.social-ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--wine); color: #fff; transition: background-color .25s, transform .25s; }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.social a:hover { color: var(--wine); }
.social a:hover .social-ico { background: var(--ink); transform: translateY(-2px); }

/* Place: the last block of the contact section, full width on black. The lakefront photo uncropped (16:9),
   "Apri su Google Maps"; the Google map replaces the photo only after a click. */
.place { margin-top: clamp(4rem, 8vw, 6.5rem); background: var(--ink); color: var(--on-wine); border-top: 6px solid var(--wine); }
.place-row { display: grid; grid-template-columns: 1.65fr 1fr; align-items: center; }
.place-media { position: relative; background: #000; }
.place-media img { width: 100%; height: auto; }
.place-media.loaded { aspect-ratio: 16 / 9; }
.place-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.place-text { padding: clamp(2rem, 4.5vw, 4rem); }
.place .kicker { color: var(--on-ink-soft); }
.place .kicker::before { background: var(--wine-light); }
.place h2 { color: var(--on-wine); }
.place h2 em { color: var(--wine-light); }
.place p { color: var(--on-ink-soft); }
.place .actions { margin: 1.8rem 0 1.4rem; gap: .9rem; }
.place .btn-wine { box-shadow: inset 0 0 0 1px rgba(248,246,244,.35); }
.place .btn-wine:hover { background: var(--on-wine); color: var(--ink); }
.place .small { color: var(--on-ink-soft); margin: 0; max-width: 26rem; }
main > .place:last-child { margin-bottom: 0; }
main:has(> .place:last-child) + .colophon { margin-top: 0; }
@media (max-width: 1099.98px) {
  .place-row { grid-template-columns: 1fr; }
  .place .actions .btn { flex: 1 1 14rem; }
}

/* Booking line (sub pages) */
.booking { margin-top: clamp(4rem, 8vw, 6.5rem); padding-block: clamp(2.5rem, 5vw, 3.5rem); border-block: 1px solid var(--rule); text-align: center; }
.booking h2 { margin-bottom: .6rem; }
.booking-phone { margin-bottom: 1rem; }
.booking p { margin: 0; }

/* Sub-page opening: grey band, the framed photo overlaps its lower edge */
.intro-band { background: linear-gradient(var(--mist) calc(100% - 4rem), transparent 0); }
.intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; padding-top: clamp(2rem, 5vw, 3.5rem); }
.intro-text { padding-bottom: 5.5rem; }
.intro-text h1 { max-width: 14ch; }
.intro-img { aspect-ratio: 4 / 5; }
.intro-text-only { grid-template-columns: 1fr; }
.intro-text-only .intro-text { padding-bottom: 6rem; }
@media (max-width: 899.98px) {
  .intro { grid-template-columns: 1fr; gap: 0; }
  .intro-text { padding-bottom: 2rem; }
  .intro-img { aspect-ratio: 5 / 4; }
}
.crumbs ol { list-style: none; margin: 0 0 2.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--soft); }
.crumbs li + li::before { content: "—"; margin-right: .5rem; color: var(--taupe); }
.crumbs a { color: var(--soft); }

/* Services page: photo rows alternating left/right, then ruled columns */
.zigzag { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.zig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.zig .frame { aspect-ratio: 5 / 4; }
.zig:nth-child(even) .frame { order: 2; }
.zig p:not(.index-num) { color: var(--soft); max-width: 32rem; }
.zig .index-num { margin-bottom: 1rem; }
.ruled { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem clamp(1.5rem, 4vw, 3rem); margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.ruled article { border-top: 1px solid var(--ink); padding-top: 1.4rem; }
.ruled .index-num { margin-bottom: 1.4rem; }
.ruled p:not(.index-num) { color: var(--soft); margin: 0; }
.story-band .ruled { margin-top: 2.5rem; }
@media (max-width: 899.98px) {
  .zig { grid-template-columns: 1fr; }
  .zig .frame, .zig:nth-child(even) .frame { order: 0; aspect-ratio: 4 / 3; }
  .ruled { grid-template-columns: 1fr; }
}

/* Legal pages */
.legal { padding-top: 1rem; }
.legal h2 { margin-top: 2em; }
.legal p { max-width: 46rem; color: var(--soft); }

/* Colophon (footer): bordeaux */
.colophon { margin-top: clamp(4.5rem, 9vw, 7rem); background: var(--wine); color: var(--on-wine); padding: clamp(3rem, 6vw, 5rem) 0 1.75rem; font-size: .95rem; }
.colophon a { color: var(--on-wine); text-decoration-color: rgba(248,246,244,.45); }
.colophon a:hover { color: #fff; text-decoration-color: #fff; }
.colophon-top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(248,246,244,.22); }
.colophon-brand img { width: 210px; margin-bottom: 1.3rem; }
.colophon-brand p { color: var(--on-wine-soft); max-width: 24rem; }
.colophon-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.colophon .kicker { color: var(--on-wine-soft); }
.colophon .kicker::before { background: var(--on-wine); }
.colophon-cols p:not(.kicker) { margin: 0; }
.colophon ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.colophon-cols > * { min-width: 0; overflow-wrap: anywhere; }
.colophon-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.5rem; font-size: .82rem; color: var(--on-wine-soft); }
.colophon-base p { margin: 0; }
/* On the bordeaux footer the circles turn light with bordeaux icons */
.colophon .social { display: flex; gap: .75rem 1.5rem; margin-right: auto; }
.colophon .social a { color: var(--on-wine); font-size: .95rem; }
.colophon .social-ico { background: var(--on-wine); color: var(--wine); }
.colophon .social a:hover .social-ico { background: var(--ink); color: #fff; }
.credit { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.credit img { width: 100px; height: auto; filter: brightness(0) invert(1); opacity: .85; transition: opacity .2s; }
.credit:hover img { opacity: 1; }
@media (max-width: 899.98px) { .colophon-top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .colophon-cols { grid-template-columns: 1fr 1fr; } .colophon-cols nav { grid-column: 1 / -1; } }
@media (max-width: 380px) { .colophon-cols { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(21,17,19,.92); }
.lightbox img { max-width: 94vw; max-height: 82vh; width: auto; border-radius: 4px; }
.lightbox p { color: #eee; text-align: center; margin: .8rem auto 0; max-width: 40rem; font-size: .9rem; }
.lightbox button { position: absolute; top: .5rem; right: .5rem; width: 44px; height: 44px; border-radius: 2px; border: 0; background: var(--paper); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
