/* Geoclassica 2026 – the dark gallery look of the 2017 site, refreshed: specimens on black,
   Marcellus titles (a flared Roman like the logo), Source Sans text, a sticky slim menu. */

@font-face { font-family: "Source Sans Pro"; font-weight: 200; font-display: swap; src: url("../fonts/source-sans-pro-latin-extralight.woff2") format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-pro-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/source-sans-pro-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-pro-latin-semibold.woff2") format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-pro-latin-bold.woff2") format("woff2"); }
@font-face { font-family: "Marcellus"; font-weight: 400; font-display: swap; src: url("../fonts/marcellus-regular.woff2") format("woff2"); }
@font-face { font-family: "Pinyon Script"; font-weight: 400; font-display: swap; src: url("../fonts/pinyon-script-regular.woff2") format("woff2"); }

:root {
  --black: #000;
  --surface: #0b0b0d;           /* cards and panels on black */
  --surface-2: #131317;
  --ink: #ececec;
  --ink-soft: #a9a9ae;
  --line: rgb(255 255 255 / .12);
  --line-strong: rgb(255 255 255 / .22);
  --gold: #d6a84e;              /* links, accents */
  --gold-soft: #b38b3f;
  --card: #fff;                 /* reading pages keep the white card */
  --card-ink: #262626;
  --card-soft: #5c5c5c;
  --radius: .6rem;
  --wrap: 78rem;
  --gap: clamp(1rem, 3vw, 2rem);
  --sans: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  --serif: "Marcellus", "Trajan Pro", Georgia, serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4rem; }
body {
  margin: 0;
  font: 400 clamp(1rem, .95rem + .2vw, 1.125rem)/1.65 var(--sans);
  color: var(--ink);
  background: var(--black) var(--bg-image) no-repeat top center / 100% auto;
}
@media (max-width: 47.99em) { body { background-size: 160% auto; background-position: 70% 0; } }
/* Phones: the same background with the ammonite moved lower, so it sits partly behind the hero text */
@media (max-width: 47.99em) { body.page-home { background-image: url('../images/bg-home-mobile.jpg'); } }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: .2em; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: .01em; line-height: 1.2; color: #fff; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 30; padding: .5rem 1rem; background: #fff; color: #000; }
.skip-link:focus { top: 1rem; }

/* ---------------------------------------------------------------- header + sticky menu */
.site-header { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.brand { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--gap); }
.logo { display: block; width: clamp(7.5rem, 17vw, 13.5rem); line-height: 0; }
.logo img { width: 100%; border: 1px solid #fff; }
/* The tagline is real text in Pinyon Script (a formal copperplate script), sized to fit one line */
.tagline { margin: 0; justify-self: center; text-align: center; color: #fff; font: 400 clamp(1.35rem, .9rem + 1.9vw, 2.6rem)/1.2 "Pinyon Script", "Snell Roundhand", cursive; letter-spacing: .01em; }

.site-nav { position: sticky; top: 0; z-index: 20; margin-top: .75rem; border-block: 1px solid var(--line); background: rgb(0 0 0 / .55); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); transition: background .3s; }
.site-nav.is-stuck { background: rgb(0 0 0 / .82); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); display: flex; align-items: center; }
.nav-mark { font-family: var(--serif); font-size: 1.2rem; letter-spacing: .08em; color: #fff; text-decoration: none; white-space: nowrap; opacity: 0; width: 0; overflow: hidden; transition: opacity .3s, width .3s, margin .3s; }
.nav-mark span { font-size: .8em; margin-left: .25em; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .14em; }
.site-nav.is-stuck .nav-mark { opacity: 1; width: 8.25rem; margin-right: .75rem; font-size: 1.05rem; }
@media (min-width: 48em) and (max-width: 63.99em) {   /* narrow desktops: just GEO, so nothing is cut off */
  .nav-mark span { display: none; }
  .site-nav.is-stuck .nav-mark { width: 3rem; }
}
.nav-list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.nav-list > li { position: relative; display: flex; align-items: center; }
/* Spacing and size scale with the window so the menu stays on one line on desktop;
   a little tighter still when the bar is stuck and the GEO mark takes room. */
.site-nav { --item-x: clamp(.45rem, .1rem + .75vw, .85rem); --item-size: clamp(.9rem, .8rem + .2vw, 1rem); }
.site-nav.is-stuck { --item-x: clamp(.35rem, .05rem + .6vw, .7rem); --item-size: clamp(.86rem, .78rem + .15vw, .95rem); }
@media (min-width: 48em) { .nav-list { flex-wrap: nowrap; } .nav-list a { white-space: nowrap; } }
.nav-list a { display: block; padding: .7rem var(--item-x); color: #fff; text-decoration: none; font-size: var(--item-size); letter-spacing: .02em; position: relative; transition: padding .3s, font-size .3s; }
.nav-list > li > a::after { content: ""; position: absolute; left: var(--item-x); right: var(--item-x); bottom: .45rem; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.nav-list > li > a:hover::after, .nav-list > li.is-current > a::after { transform: scaleX(1); }
.sub-toggle { width: 1.5rem; height: 2.4rem; margin: 0; background: none; border: 0; color: #fff; cursor: pointer; }
/* The link's right padding gives way to the toggle, so the two touch targets sit side by side (WCAG 2.5.8) */
@media (min-width: 48em) {
  .nav-list > .has-sub > a { padding-right: calc(var(--item-x) * .2); }
  .nav-list > .has-sub > a::after { right: calc(var(--item-x) * .2); }
}
.sub-toggle::before { content: ""; display: block; width: .4rem; height: .4rem; margin: auto; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); }
.sub-list { list-style: none; margin: 0; padding: .4rem 0; position: absolute; top: 100%; left: 0; min-width: 13rem; background: rgb(10 10 12 / .96); border: 1px solid var(--line); border-radius: .4rem; display: none; }
.has-sub:hover .sub-list, .has-sub:focus-within .sub-list, .has-sub.is-open .sub-list { display: block; }
.nav-toggle { display: none; }

@media (max-width: 47.99em) {
  .site-header { padding-top: .75rem; }
  .brand { grid-template-columns: 1fr; justify-items: center; gap: .6rem; }
  .tagline { font-size: clamp(1rem, .15rem + 4.15vw, 1.6rem); text-wrap: balance; }
  .nav-inner { flex-wrap: wrap; }
  .site-nav.is-stuck .nav-mark { width: auto; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; gap: .55rem; margin-left: auto; padding: .8rem .25rem; background: none; border: 0; color: #fff; font: inherit; cursor: pointer; }
  .site-nav:not(.is-stuck) .nav-toggle { margin-inline: auto; }
  .nav-toggle::after { content: "Menu"; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.2rem; height: 1.5px; background: currentColor; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .nav-list { display: none; width: 100%; flex-direction: column; border-top: 1px solid var(--line); padding-bottom: .5rem; }
  .site-nav.is-open .nav-list { display: flex; }
  .nav-list > li { flex-wrap: wrap; }
  .nav-list > li > a { flex: 1; padding: .8rem .25rem; }
  .nav-list > li > a::after { display: none; }
  .sub-toggle { width: 3rem; height: 3rem; margin: 0; }
  .sub-list { position: static; width: 100%; border: 0; background: none; display: none; }
  .has-sub:hover .sub-list, .has-sub:focus-within .sub-list { display: none; }
  .has-sub.is-open .sub-list { display: block; }
  .sub-list a { padding-left: 1.5rem; color: var(--ink-soft); }
}

/* ---------------------------------------------------------------- layout */
.site-main { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap) clamp(3rem, 8vw, 6rem); }
.page-intro { max-width: 52rem; margin: 0 auto; text-align: center; padding-block: clamp(2rem, 6vw, 4rem) clamp(1.75rem, 4vw, 3rem); }
.page-title { font-size: clamp(2.3rem, 1.6rem + 2.8vw, 3.6rem); margin: 0 0 1rem; }
.page-article > .page-title { text-align: center; padding-top: clamp(2rem, 6vw, 4rem); }
.intro { color: var(--ink-soft); font-size: 1.1em; }
.intro p { margin: 0 0 .8em; }
.section-title { text-align: center; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); margin: 0 0 clamp(1.5rem, 4vw, 2.5rem); }
.section-title::after { content: ""; display: block; width: 3rem; height: 1px; margin: .9rem auto 0; background: var(--gold); }

.card { background: var(--card); color: var(--card-ink); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3.25rem); }
.card a { color: #8a6418; }
.card a:hover { color: #000; }
.card h2, .card h3 { color: #111; }
.prose { max-width: 70ch; margin-inline: auto; }
.prose h2 { font-size: 1.7rem; margin: 0 0 .9rem; }
.prose p { margin: 0 0 1em; }
.prose img { margin: 1.5rem auto; border-radius: .3rem; }

.breadcrumbs ol { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

.button { display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.4rem; border: 1px solid var(--gold); border-radius: 999px; color: #000; background: var(--gold); font-weight: 600; letter-spacing: .02em; text-decoration: none; transition: background .2s, color .2s; }
.button::after { content: "→"; transition: transform .2s; }
.button:hover { background: transparent; color: var(--gold); }
.button:hover::after { transform: translateX(3px); }

/* ---------------------------------------------------------------- footer */
/* "Small selection of our stock" band above the footer */
.stock-note { padding: clamp(2.5rem, 7vw, 4.5rem) var(--gap); border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0, rgb(214 168 78 / .09), transparent 70%), var(--black); text-align: center; }
.stock-note-inner { max-width: 44rem; margin: 0 auto; }
.stock-note h2 { margin: 0 0 .8rem; color: var(--gold); font-size: clamp(1.45rem, 3.5vw, 2rem); }
.stock-note p { margin: 0 0 1.6rem; color: var(--ink); font-size: 1.08rem; line-height: 1.65; }
.enquiry-note { margin: .8rem 0 0; color: var(--ink-soft); font-size: .95rem; }

.site-footer { border-top: 1px solid var(--line); background: linear-gradient(#000, #08080a); color: var(--ink-soft); font-size: .95rem; }
.footer-grid { max-width: var(--wrap); margin: 0 auto; padding: clamp(2rem, 6vw, 3.5rem) var(--gap); display: grid; gap: 2rem var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.site-footer h2 { font-size: 1.15rem; margin: 0 0 .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer address { font-style: normal; margin: 0 0 .6rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-base { max-width: var(--wrap); margin: 0 auto; padding: 1.1rem var(--gap) 1.6rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .85rem; }
.footer-base p { margin: 0; }
.footer-base a { color: var(--gold); }
.ga-toggle { font: inherit; color: var(--gold); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.ga-toggle:hover { color: #fff; }
.ga-toggle:disabled { cursor: default; text-decoration: none; color: var(--ink-soft); }
.to-top::before { content: "↑ "; }

/* ---------------------------------------------------------------- home */
.hero { min-height: clamp(15rem, 44vw, 36rem); display: flex; align-items: center; }
.hero-text { max-width: 17ch; margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3rem); line-height: 1.22; }
@media (min-width: 48em) { .hero-text { max-width: min(17ch, 50%); } }   /* stays left of the ammonite */
@media (max-width: 47.99em) { .hero { min-height: 90vw; align-items: flex-end; padding-bottom: 1rem; } .hero-text { max-width: 15ch; text-shadow: 0 0 1.5rem #000; } }

.collections { margin-block: clamp(2rem, 6vw, 4rem) clamp(3rem, 8vw, 6rem); }
.collection-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.collection-card { display: grid; height: 100%; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(120% 80% at 50% 0%, #17171b, var(--surface) 70%); color: var(--ink); text-decoration: none; transition: border-color .3s, transform .3s; }
.collection-card picture { padding: 1.5rem 1.5rem 0; }
.collection-card img { aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: lighten; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.collection-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.collection-card:hover img { transform: scale(1.05); }
.collection-card-text { display: grid; align-content: start; gap: .4rem; padding: 1.25rem 1.5rem 1.5rem; }
.collection-card-name { font-family: var(--serif); font-size: 1.5rem; color: #fff; }
.collection-card-intro { color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.collection-card-more { margin-top: .4rem; color: var(--gold); font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.collection-card-more::after { content: " →"; transition: margin .2s; }
@media (max-width: 35.99em) {   /* phones: image beside the text, so six cards don't make an endless column */
  .collection-card { grid-template-rows: none; grid-template-columns: 38% 1fr; align-items: center; }
  .collection-card picture { padding: .75rem 0 .75rem .75rem; }
  .collection-card-text { padding: .9rem 1rem; gap: .25rem; }
  .collection-card-name { font-size: 1.25rem; }
  .collection-card-intro { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .88rem; }
}
.collection-card:hover .collection-card-more::after { margin-left: .3rem; }

.welcome { max-width: 70rem; margin-inline: auto; }
.welcome.prose { max-width: 70rem; }
@media (min-width: 60em) { .welcome { columns: 2; column-gap: 3.5rem; } .welcome h2 { column-span: all; text-align: center; margin-bottom: 1.5rem; } }

/* Highlights slideshow. Without JS: a swipeable strip of slides. With JS (.js): stacked slides that crossfade. */
.highlights { margin-top: clamp(3rem, 8vw, 6rem); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--gap); scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; gap: clamp(1.25rem, 4vw, 3.5rem); align-items: center; padding: clamp(1rem, 3vw, 2.5rem);
  border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(90% 90% at 30% 50%, #1a1a1f, var(--surface) 70%); }
@media (min-width: 60em) { .slide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 34rem; } }
.slide-image { display: block; }
.slide-image img { width: 100%; max-height: min(72vh, 40rem); aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: lighten; }
.slide-text { display: grid; gap: .6rem; align-content: center; }
.slide-collection { margin: 0; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.slide-collection a { color: var(--gold); text-decoration: none; }
.slide-name { margin: 0; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); }
.slide-name a { color: #fff; text-decoration: none; }
.slide-summary { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.slide .specs { margin: .25rem 0 .75rem; border-top: 1px solid var(--line); }
.slide-more { justify-self: start; }

.slide-controls { display: none; }
.js .slides { display: grid; overflow: visible; }
.js .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.js .slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease, visibility 0s; }
/* Slides out of reach are not displayed, so their lazy photos are not fetched (stacked in one cell,
   every slide counts as on screen); a slide shown straight from display: none still fades in */
.js .slide:not(.is-active, .is-near) { display: none; }
@starting-style { .js .is-started .slide.is-active { opacity: 0; } }   /* not the first slide on load */
.js .slide .slide-image img, .js .slide.slide-image img { transform: scale(1.04); transition: transform 7s ease-out; }
.js .slide.is-active .slide-image img, .js .slide.slide-image.is-active img { transform: scale(1); }          /* slow settle while it shows */
.js .slide-controls { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1.25rem; }
.slide-controls button { cursor: pointer; color: #fff; background: none; border: 1px solid var(--line-strong); }
.slide-prev, .slide-next, .slide-pause { width: 2.6rem; height: 2.6rem; border-radius: 50%; font-size: 1.1rem; line-height: 1; transition: border-color .2s, color .2s; }
.slide-prev::before { content: "‹"; } .slide-next::before { content: "›"; }
.slide-pause::before { content: "❚❚"; font-size: .7rem; letter-spacing: -.1em; }
.slide-pause[aria-pressed="true"]::before { content: "▶"; font-size: .8rem; letter-spacing: 0; }
.slide-controls button:hover { border-color: var(--gold); color: var(--gold); }
.slide-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; max-width: 70%; }
.slide-dots button { width: .55rem; height: .55rem; padding: 0; border-radius: 50%; border-color: rgb(255 255 255 / .5); }
.slide-dots button[aria-current="true"] { background: var(--gold); border-color: var(--gold); }
@media (max-width: 35.99em) { .slide-dots { display: none; } }   /* arrows and swipe on phones */

/* Collection showcase: the same slideshow, photos only (each links to its piece), on a black band
   the full width of the window that fades into the page above and below */
.page-collection header.page-intro { padding-bottom: 0; }
.page-collection div.page-intro { padding-top: 0; }
.showcase { position: relative; isolation: isolate; margin: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4rem); padding-block: clamp(1.5rem, 4vw, 3rem); }
.showcase::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  border-image: linear-gradient(#0000, #000 clamp(1.5rem, 4vw, 3rem), #000 calc(100% - clamp(1.5rem, 4vw, 3rem)), #0000) fill 0 / 0 / 0 100vw; }
.showcase .slide { padding: 0; border: 0; border-radius: 0; background: none; grid-template-columns: none; min-height: 0; }
.js .slides { touch-action: pan-y; }   /* sideways swipes go to the slideshow, not the page */
.showcase .slide-image img { aspect-ratio: 16 / 9; max-height: min(68vh, 38rem); }
@media (max-width: 47.99em) { .showcase .slide-image img { aspect-ratio: 4 / 3; } }

/* ---------------------------------------------------------------- collection: dark gallery */
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2rem, 4vw, 3rem) var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
/* Each card draws a band behind its photo, full width of the window: it fades in over --fade
   above the photo, is solid black behind it, then fades out over --fade behind the text. Cards in
   a row start level and their photos are all 4:3, so the bands line up into one per row. The
   reveal fade sits on the card's body, so the bands stay behind every card's text. */
.page-collection { overflow-x: clip; }
/* The page photo stays put behind the grid on desktop, so it shows between every row of
   photos rather than only the first (phones scroll it, as fixed backgrounds there are poor) */
@media (min-width: 48em) { .page-collection { background-attachment: fixed; background-size: cover; } }
.product-grid { --fade: clamp(3.5rem, 6vw, 4.5rem); position: relative; isolation: isolate; row-gap: calc(var(--fade) + 1.5rem); }
.product-card { position: relative; display: flex; }
.product-card::before { content: ""; position: absolute; z-index: -1; top: calc(-1 * var(--fade)); left: 0; right: 0; height: 0;
  padding-bottom: calc(75% + 2 * var(--fade)); pointer-events: none;
  border-image: linear-gradient(#0000, #0006 calc(var(--fade) * .35), #000c calc(var(--fade) * .7), #000 var(--fade),
    #000 calc(100% - var(--fade)), #000c calc(100% - var(--fade) * .7), #0006 calc(100% - var(--fade) * .35), #0000) fill 0 / 0 / 0 100vw; }
.product-card-body { flex: 1; display: flex; flex-direction: column; }
.product-card-link { display: block; color: inherit; text-decoration: none; }
.product-card-image { display: block; overflow: hidden; background: #000; }
.product-card-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.product-card-link:hover img { transform: scale(1.04); }
.product-name { margin: 1rem 0 .3rem; font-size: 1.25rem; color: #fff; transition: color .2s; }
.product-card-link:hover .product-name { color: var(--gold); }
.product-summary { margin: 0 0 .5rem; color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.specs { margin: auto 0 0; padding-top: .55rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .15rem 1.1rem; font-size: .85rem; color: var(--ink-soft); }
.specs div { display: flex; gap: .35rem; }
.specs dt { color: var(--ink); font-weight: 600; }
.specs dt::after { content: ":"; }
.specs dd { margin: 0; }

/* ---------------------------------------------------------------- product */
.product { display: flow-root; padding-bottom: 1rem; }
.product-head { margin-bottom: clamp(1.25rem, 3vw, 2rem); max-width: 48rem; }
.page-product .page-intro { text-align: left; max-width: none; padding-bottom: .5rem; }
.page-product .breadcrumbs ol { justify-content: flex-start; }
.product-title { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin: 0 0 .5rem; }
.lead { margin: 0; font-size: 1.15em; color: var(--ink-soft); }

.gallery { margin: 0 0 1.75rem; }
@media (min-width: 64em) { .gallery { float: right; width: min(54%, 42rem); margin: 0 0 1.75rem clamp(2rem, 4vw, 3.5rem); } }
/* No frame: the black of the photo bleeds softly into the page through a wide black glow */
.gallery-main { display: block; background: #000; box-shadow: 0 0 2.5rem 1.25rem #000; cursor: zoom-in; }
.gallery-main[hidden] { display: none; }
.gallery-main img { width: 100%; }
.gallery-thumbs { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.gallery-thumb { display: block; width: 5.5rem; padding-bottom: .4rem; background: #000; opacity: .55; box-shadow: inset 0 -2px 0 transparent; transition: opacity .2s, box-shadow .2s; }
.gallery-thumb img { aspect-ratio: 1; object-fit: cover; }
.gallery-thumb:hover { opacity: .9; }
.gallery-thumb[aria-current="true"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--gold); }

.product-body { color: var(--ink); }
.product-body .prose { max-width: none; margin-top: 1.75rem; }
.product-body .prose p { color: #d8d8da; }
.spec-panel { margin: 0 0 1.5rem; padding: 1rem 1.25rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, max-content)); gap: .75rem 2.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.spec-panel dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.spec-panel dd { margin: .1rem 0 0; font-family: var(--serif); font-size: 1.25rem; color: #fff; }

.product-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; margin-top: clamp(2rem, 5vw, 3rem); padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .95rem; }
.product-nav a { color: var(--ink-soft); text-decoration: none; }
.product-nav a:hover { color: #fff; }
.product-nav .prev::before { content: "← "; }
.product-nav .next { text-align: right; grid-column: 3; }
.product-nav .next::after { content: " →"; }
.product-nav .up { grid-column: 2; text-align: center; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }

/* ---------------------------------------------------------------- contact */
.page-contact .intro { max-width: 46rem; margin-inline: auto; }
.contact-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 48em) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-block h2 { margin: 0 0 .75rem; font-size: 1.5rem; }
.contact-block p, .contact-block address { margin: 0 0 1rem; font-style: normal; }
.contact-logo img { max-width: 15rem; margin-bottom: 1rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.contact-list .who { display: inline-block; min-width: 8rem; font-weight: 600; }
.gallery-heading { margin: clamp(2rem, 5vw, 3rem) 0 1rem; font-size: 1.5rem; }
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.contact-gallery { grid-template-columns: 1fr; }
@media (min-width: 36em) { .contact-gallery { grid-template-columns: repeat(2, 1fr); } }
.photo-link { display: block; background: #000; border-radius: .3rem; overflow: hidden; cursor: zoom-in; }
.photo-link img { width: 100%; }
.contact-gallery .photo-link img { aspect-ratio: 3 / 2; object-fit: cover; }   /* all the same shape; the lightbox shows them whole */
.page-gallery { margin-top: var(--gap); }
.page-gallery .photo-link img { aspect-ratio: auto; }        /* the room photos already share one shape */
@media (min-width: 36em) { .page-gallery li:first-child { grid-column: 1 / -1; } }   /* one large, then pairs */

/* Under a collection's grid: a short guide to the collection, with links to a few pieces */
.collection-about { margin-top: clamp(2.5rem, 6vw, 4rem); max-width: 70rem; }
.collection-about h2 { text-align: center; }

/* ---------------------------------------------------------------- lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(0 0 0 / .96); }
.lightbox::backdrop { background: rgb(0 0 0 / .9); }
.lightbox-figure { margin: 0; height: 100%; display: grid; place-items: center; padding: 3rem 1rem; }
.lightbox-figure img { max-height: calc(100dvh - 6rem); width: auto; object-fit: contain; }
.lightbox button { position: absolute; width: 3rem; height: 3rem; background: rgb(0 0 0 / .5); border: 1px solid var(--line-strong); border-radius: 50%; color: #fff; cursor: pointer; font-size: 1.4rem; line-height: 1; }
.lightbox-close { top: 1rem; right: 1rem; } .lightbox-close::before { content: "✕"; }
.lightbox-prev { left: 1rem; top: 50%; translate: 0 -50%; } .lightbox-prev::before { content: "‹"; }
.lightbox-next { right: 1rem; top: 50%; translate: 0 -50%; } .lightbox-next::before { content: "›"; }
.lightbox.single .lightbox-prev, .lightbox.single .lightbox-next { display: none; }

/* ---------------------------------------------------------------- motion */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- visitor settings (WEB-STANDARDS.md) */
/* The site is dark only (the brand is specimens on black): color-scheme dark, no light version */
@media (prefers-contrast: more) {
  :root { --ink-soft: var(--ink); --line: rgb(255 255 255 / .5); --line-strong: rgb(255 255 255 / .7); }
}
@media (forced-colors: active) {
  :focus-visible { outline: 2px solid CanvasText; }
  .button, .slide-controls button, .lightbox button, .sub-toggle { border: 1px solid ButtonText; }
  .gallery-thumb[aria-current="true"] { outline: 2px solid Highlight; }
}
/* Page-to-page cross-fade (Chrome, Safari); Firefox just loads the page */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
