/* Shared additions to GPT's Soft Modern for the four versions, loaded after style.css.
   GPT's layout is untouched; this adds the real-photo hero, the language switch, the
   dolphin-i logo sizing, and the three alternative colourways (chrome, sage, charcoal).
   Version 01 (classic) uses only the first block. */

/* ------------------------------------------------ every version */
/* the hero is a real photograph, full-bleed in GPT's feature panel */
.static-feature.photo-feature > img, .static-feature > img { inset: 0; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.static-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 58%, rgba(0,0,0,.66) 100%); pointer-events: none; }
.static-feature .feature-label, .static-feature .feature-caption { z-index: 2; color: #f4f4f2; }
.static-feature .feature-caption small { color: #c9ccc6; }
.static-feature .feature-arrow { border-color: rgba(244,244,242,.5); }

/* language switch, in the header */
.lang-switch { display: flex; gap: 2px; }
.lang-switch button { min-width: 30px; min-height: 40px; padding: 0 4px; font-size: 13px; opacity: .5; }
.lang-switch button[aria-pressed="true"] { opacity: 1; font-weight: 600; }

/* the version switcher, GPT's direction bar: keep it on phones, let it scroll */
.direction-switch { overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.direction-switch::-webkit-scrollbar { display: none; }

/* the dolphin-i wordmark: logo.js sizes it from GPT's own .wordmark rules, so nothing
   here changes the size or tracking of either logo */
.wordmark.has-dmark { display: inline-block; }
.dmark { display: block; overflow: visible; }

/* ------------------------------------------------ 02 chrome */
.v-chrome {
  --paper: #0a0a0b; --ink: #e6e8ea; --muted: #8d9298; --line: #26282b; --accent: #c9ced3;
  --chrome-text: linear-gradient(180deg, #ffffff 0%, #d5d9dd 30%, #858c94 48%, #3a3f44 51%, #a7aeb5 58%, #eef0f2 82%, #9aa1a8 100%);
}
.v-chrome h1, .v-chrome .about h2 { background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v-chrome h1 span, .v-chrome .about h2 span { color: transparent; opacity: .62; }
.v-chrome .enquire { color: #0a0a0b; font-weight: 600; background: linear-gradient(180deg, #fbfbfc 0%, #d8dce0 45%, #a9afb5 52%, #e3e6e9 100%); box-shadow: inset 0 1px 0 #fff; }
.v-chrome .direction-switch { background: #050506; border-color: #1c1d1f; }

/* ------------------------------------------------ 03 sage */
.v-sage { --paper: #e9ebe5; --ink: #242722; --muted: #6a6f65; --line: #d0d3ca; }
.v-sage .direction-switch { background: #dfe2da; border-color: #cfd3c8; }
.v-sage footer { background: #dfe2da; }
.v-sage .product-image, .v-sage .detail-visual, .v-sage .static-feature { background: #dde0d7; }
.v-sage .save, .v-sage .availability, .v-sage .close, .v-sage #photo-zoom { background: #e9ebe5; }

/* ------------------------------------------------ 04 charcoal */
.v-charcoal { --paper: #242722; --ink: #e6e8e4; --muted: #a0a59c; --line: #393d36; --accent: #c3c7cb; }
.v-charcoal .direction-switch { background: #1c1f1a; border-color: #333731; }
.v-charcoal .direction-switch > span { color: #8f948b; }
.v-charcoal h1 span, .v-charcoal .about h2 span { color: #8f948b; }
.v-charcoal footer { background: #1c1f1a; }
.v-charcoal .product-image, .v-charcoal .detail-visual, .v-charcoal .static-feature { background: #2d312b; }
.v-charcoal .about p, .v-charcoal .detail-copy p { color: var(--muted); }
.v-charcoal .footer-top p a { border-color: #c3c7cb; }
.v-charcoal .enquire { background: #c3c7cb; color: #1c1f1a; }

/* dark versions share these */
.v-chrome, .v-charcoal { background: var(--paper); color: var(--ink); }
.v-chrome footer { background: #050506; border-top: 1px solid var(--line); }
.v-chrome .product-image, .v-chrome .detail-visual, .v-chrome .static-feature { background: #141517; }
.v-chrome .about p, .v-chrome .detail-copy p, .v-chrome .hero-copy > p, .v-chrome .hero-note { color: var(--muted); }
.v-chrome .small-mark, .v-charcoal .small-mark { color: var(--ink); }
.v-chrome .underlined, .v-chrome .footer-top p a { border-color: #c9ced3; }
.v-chrome .product-number, .v-charcoal .product-number { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.v-chrome .save, .v-charcoal .save { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px #4a4d50; }
.v-chrome .save[aria-pressed="true"], .v-charcoal .save[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.v-chrome .availability, .v-charcoal .availability { background: var(--paper); color: var(--ink); }
.v-chrome .rail-controls button, .v-charcoal .rail-controls button { border-color: #45484c; }
.v-chrome .rail-controls button:hover, .v-charcoal .rail-controls button:hover { background: var(--ink); color: var(--paper); }
.v-chrome dialog, .v-charcoal dialog { background: var(--paper); color: var(--ink); }
.v-chrome dialog::backdrop, .v-charcoal dialog::backdrop { background: rgba(0,0,0,.72); }
.v-chrome .close, .v-chrome #photo-zoom, .v-charcoal .close, .v-charcoal #photo-zoom { background: var(--paper); color: var(--ink); }
.v-chrome #toast, .v-charcoal #toast { background: var(--ink); color: var(--paper); }
.v-chrome a:focus-visible, .v-chrome button:focus-visible, .v-charcoal a:focus-visible, .v-charcoal button:focus-visible { outline-color: #c9ced3; }

/* phones: the language switch needs the room, so the Objects link (the collection is
   right below) gives way and "Saved (0)" stays on one line */
@media (max-width: 600px) {
  header nav { display: none; }
  header .saved-link { white-space: nowrap; margin-left: auto; }
  header { gap: 16px; }
}

/* ================================================= shop features (shop.js) */
/* --- menu button, in the header at every width */
.menu-button { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: 14px; }
.menu-lines { position: relative; width: 18px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
html.menu-open { overflow: hidden; }

/* --- the menu layer */
.menu-layer { position: fixed; inset: 0; z-index: 50; overflow: auto; background: var(--paper); color: var(--ink); padding: 0 4% 40px; animation: menu-in .35s cubic-bezier(.22,1,.36,1); }
.menu-layer[hidden] { display: none; }
/* a fade only: the logo at the top must sit exactly where the header's does */
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 99px; border-bottom: 1px solid var(--line); }
.menu-brand { display: flex; align-items: center; }
.menu-brand .wordmark { transform-origin: left center; transition: transform .25s ease; }
.menu-layer.is-compact .menu-top { height: 66px; }
.menu-layer.is-compact .menu-brand .wordmark { transform: scale(.72); }
@media (max-width: 600px) {
  .menu-layer { padding-left: 6%; padding-right: 6%; }
  .menu-layer .menu-top, .menu-layer.is-compact .menu-top { height: 60px; }
  .menu-brand .wordmark, .menu-layer.is-compact .menu-brand .wordmark { transform: scale(.6); }
}
.menu-close { min-height: 44px; font-size: 14px; }
.menu-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 6%; padding-top: 48px; }
.menu-main ul { list-style: none; margin: 18px 0 0; padding: 0; }
.menu-main li a { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; font-size: clamp(38px, 5vw, 76px); font-weight: 450; letter-spacing: -.06em; line-height: 1.02; transition: color .25s, padding .35s cubic-bezier(.22,1,.36,1); }
.menu-main li a sup { font-size: 13px; letter-spacing: 0; color: var(--muted); margin-top: .5em; }
.menu-main li a:hover { color: var(--muted); padding-left: 10px; }
.menu-main .menu-secondary { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 30px; }
.menu-main .menu-secondary li a { font-size: 20px; letter-spacing: -.02em; }
.menu-side { display: flex; flex-direction: column; gap: 34px; }
.menu-newest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.menu-newest a { display: flex; flex-direction: column; gap: 8px; font-size: 12px; line-height: 1.35; }
.menu-thumb { display: block; aspect-ratio: 4 / 5; background-color: var(--line); transition: opacity .3s; }
.menu-newest a:hover .menu-thumb { opacity: .85; }
.menu-contact { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.menu-contact .eyebrow { margin-bottom: 6px; }
.menu-contact a { align-self: flex-start; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.menu-lang { gap: 8px; }

/* --- extra filters and sold pieces */
.filters .filter-extra sup { font-size: 9px; margin-left: 2px; color: var(--muted); }
.product.is-sold .archive-photo { filter: grayscale(.55) brightness(.92); opacity: .78; }
.product.is-sold .product-info h3 { color: var(--muted); }
.ask-saved { font-size: 11px; letter-spacing: .4px; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; color: var(--ink); }
.ask-saved[hidden] { display: none; }

/* --- quick view: full-details link and share */
.detail-more { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.detail-page-link { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.detail-share { font-size: 13px; color: var(--muted); }
#detail.is-sold .detail-photo { filter: grayscale(.4); }
.detail-spec span:nth-child(even) { color: var(--ink); }
button.enquire { width: 100%; cursor: pointer; font: inherit; font-size: 13px; }

/* --- ordering, on the home page after About */
.ordering { padding: 55px 4% 70px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ordering ol { list-style: none; margin: 0; padding: 0; max-width: 520px; }
.ordering li { display: grid; grid-template-columns: 44px 1fr; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; }
.ordering li b { font-weight: 450; color: var(--muted); font-size: 13px; padding-top: 2px; }
.ordering .underlined { margin-top: 28px; width: max-content; }

/* --- the piece page */
.piece-page { padding: 34px 4% 40px; }
.piece-back { display: inline-block; font-size: 13px; color: var(--muted); padding: 8px 0; }
.piece-back:hover { color: var(--ink); }
.piece-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 5%; margin-top: 18px; align-items: start; }
.piece-figure { margin: 0; position: sticky; top: 24px; }
.piece-zoom { display: block; width: 100%; padding: 0; aspect-ratio: 3 / 4; overflow: hidden; cursor: zoom-in; background: var(--line); }
.piece-zoom.zoomed { cursor: zoom-out; }
.piece-photo { display: block; width: 100%; height: 100%; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.piece-zoom.zoomed .piece-photo { transform: scale(2.2); }
.piece-figure figcaption { margin-top: 12px; font-size: 11px; letter-spacing: .4px; color: var(--muted); }
.piece-figure figcaption a { color: var(--ink); border-bottom: 1px solid currentColor; }
.piece-info { display: flex; flex-direction: column; gap: 22px; padding-top: 10px; }
.piece-info h1 { margin: 0; font-size: clamp(38px, 4.4vw, 68px); font-weight: 450; line-height: 1.03; letter-spacing: -.06em; }
.piece-status { align-self: flex-start; padding: 6px 12px; font-size: 12px; border: 1px solid var(--line); border-radius: 999px; }
.piece-status.is-available::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #5d8a4f; vertical-align: 1px; }
.piece-status.is-sold { color: var(--muted); }
.piece-text { margin: 0; max-width: 34em; font-size: 16px; line-height: 1.7; color: var(--muted); }
.piece-spec { margin: 0; }
.piece-actions { display: flex; gap: 26px; font-size: 13px; }
.piece-actions button { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.piece-info .detail-nav { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; }
.piece-more { margin-top: 80px; padding-top: 50px; border-top: 1px solid var(--line); }
.piece-more .rail.grid { grid-template-columns: repeat(4, 1fr); margin-top: 26px; }
.piece-more a.product-main { display: block; }

@media (max-width: 900px) {
  .menu-body { grid-template-columns: 1fr; gap: 40px; }
  .piece-grid { grid-template-columns: 1fr; gap: 28px; }
  .piece-figure { position: static; }
  .piece-more .rail.grid { grid-template-columns: repeat(2, 1fr); }
  .ordering { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .menu-top { height: 82px; }
  .menu-body { padding-top: 28px; }
  .menu-main li a { font-size: 40px; }
  .menu-main .menu-secondary li a { font-size: 17px; }
  .menu-button { min-width: 40px; justify-content: center; }
  .piece-page { padding-top: 20px; }
  .piece-info h1 { font-size: 38px; }
  .ordering { padding: 42px 6% 50px; }
}
@media (prefers-reduced-motion: reduce) { .menu-layer { animation: none; } }

/* GPT styles every <nav> as a horizontal row; the menu navigation is a column */
.menu-layer nav.menu-main { display: block; margin-left: 0; gap: 0; }

/* the logo never wraps "vintage" under the word in the header (the menu button takes room) */
header .wordmark { white-space: nowrap; flex: none; }
.piece-info .note { margin: -8px 0 0; font-size: 11px; color: var(--muted); }

/* Gallery: every photo of a piece, when Oken Desk has more than one. Not drawn for a
   single photo, so the static pages are unchanged. */
.gallery-strip { display: flex; flex-wrap: wrap; gap: 6px; }
.gallery-thumb { width: 52px; aspect-ratio: 182 / 242; padding: 0; background-color: var(--line); opacity: .55; transition: opacity .2s; }
.gallery-thumb:hover, .gallery-thumb.on { opacity: 1; }
.gallery-thumb.on { outline: 1px solid var(--ink); outline-offset: 2px; }
.piece-figure .gallery-strip { margin-top: 10px; }
.detail-visual .gallery-strip { position: absolute; right: 18px; bottom: 18px; z-index: 2; justify-content: flex-end; max-width: 60%; }
.detail-visual .gallery-thumb { width: 40px; border: 2px solid var(--paper); }
.detail-visual .gallery-thumb.on { outline: 0; border-color: var(--ink); }
.detail-caption { position: absolute; top: 18px; left: 18px; z-index: 2; max-width: calc(100% - 36px); background: var(--paper); padding: 8px 12px; font-size: 11px; line-height: 1.4; }
.detail-caption:empty, .gallery-caption:empty { display: none; }
.gallery-caption { display: block; margin-bottom: 4px; color: var(--ink); }

/* Quick view (desktop): every line of the text shows, and the whole photo, never cropped
   (Paul, 2026-10-03). The text column keeps GPT's half-of-950 width and its natural height;
   shop.js sizes the photo to that height at the photo's own shape, so the dialog fits the
   piece. Only a text taller than the screen scrolls, with Previous / Next pinned.
   Tried and rejected on the way: GPT's centred fixed portrait (paper bands), filling the
   height (cropped sides), the photo pinned with a panel under it, and a scrolling text. */
@media (min-width: 601px) {
  dialog[open] { width: fit-content; max-width: 94vw; grid-template-columns: auto min(475px, 47vw); }
  dialog[open] .detail-visual { aspect-ratio: auto; align-self: start; width: calc(min(950px, 94vw) / 2); height: auto; min-height: 0; }
  dialog[open].copy-scrolls .detail-copy { height: 0; min-height: 100%; overflow-y: auto; padding-bottom: 0; }
  dialog[open].copy-scrolls .detail-nav { position: sticky; bottom: 0; background: var(--paper); padding-bottom: 25px; }
}

/* ================================================= site structure (Paul, 2026-10-03) */
/* the header stays in view while you scroll */
header { position: sticky; top: 0; z-index: 40; background: var(--paper); }
html { scroll-padding-top: 110px; }
header nav a[aria-current] { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
/* the version bar is for the demo only: it lives in the menu now */
.direction-switch[hidden] { display: none !important; }
.menu-demo div { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 13px; }
.menu-demo a { color: var(--muted); }
.menu-demo a[aria-current] { color: var(--ink); border-bottom: 1px solid currentColor; }
/* the header gets smaller once the page scrolls (shop.js sets .is-compact); the logo is
   scaled rather than resized, so logo.js's measured dolphin-i stays exact */
header { transition: height .25s ease; }
header .wordmark { transform-origin: left center; transition: transform .25s ease; }
header.is-compact { height: 66px; }
header.is-compact .wordmark { transform: scale(.72); }
/* phones: one quiet line, the logo and Menu. Language and Saved are inside the menu. */
@media (max-width: 600px) {
  header, header.is-compact { height: 60px; gap: 14px; }
  /* the desktop logo, scaled: GPT's phone rules redraw it at 41px with "vintage" relatively
     bigger and lower, which read as cramped (Paul). Same mark everywhere, just smaller. */
  header .wordmark, .menu-brand .wordmark { font-size: 49px; letter-spacing: -4px; }
  header .wordmark > span, .menu-brand .wordmark > span { font-size: 13px; letter-spacing: -.1px; padding: 7px 0 0 6px; }   /* bigger than desktop's 9px, so it reads at phone scale (Paul) */
  header .wordmark, header.is-compact .wordmark { transform: scale(.6); }
  header .lang-switch, header .saved-link { display: none; }
  header .menu-button { margin-left: auto; }
  html { scroll-padding-top: 72px; }
  /* the filters: one line you can swipe, instead of words breaking over two lines */
  .filters { flex-wrap: nowrap; justify-content: flex-start; gap: 20px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
}
@media (prefers-reduced-motion: reduce) { header, header .wordmark { transition: none; } }

/* footer links */
.footer-top { gap: 30px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13px; padding-top: 8px; }
.footer-links a { border-bottom: 1px solid transparent; }
.footer-links a:hover { border-bottom-color: currentColor; }

/* about and how-to-order pages, in GPT's vocabulary */
.page { padding: 0 4% 40px; }
.page-head { padding: 57px 0 60px; max-width: 980px; }
.page-head h1 { margin-top: 40px; }
.page-lead { max-width: 36em; margin-top: 30px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.page-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 70px; }
.page-photos a { display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.page-photo { display: block; aspect-ratio: 182 / 242; background-color: var(--line); transition: opacity .3s; }
.page-photos a:hover .page-photo { opacity: .88; }
.page-split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; border-top: 1px solid var(--line); padding: 55px 0 60px; }
.page-text p { max-width: 30em; font-size: 15px; line-height: 1.8; color: var(--muted); }
.page-text .underlined { width: max-content; margin-top: 24px; }
.page-cats { list-style: none; margin: 0; padding: 0; }
.page-cats a { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); font-size: clamp(28px, 3vw, 44px); font-weight: 450; letter-spacing: -.04em; transition: padding .35s cubic-bezier(.22,1,.36,1), color .25s; }
.page-cats a:hover { padding-left: 10px; color: var(--muted); }
.page-cats sup { font-size: 12px; letter-spacing: 0; color: var(--muted); }
.page-cats a > span[aria-hidden] { margin-left: auto; font-size: 18px; }
.page .ordering { padding-left: 0; padding-right: 0; }
@media (max-width: 900px) {
  .page-photos { grid-template-columns: repeat(2, 1fr); }
  .page-split { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 600px) {
  .page { padding: 0 6% 30px; }
  .page-head { padding: 32px 0 40px; }
  .page-head h1 { margin-top: 26px; }
  .page-lead { font-size: 15px; }
  .page-photos { gap: 14px; padding-bottom: 50px; }
  .page-split { padding: 40px 0 44px; }
  .page .ordering { padding: 40px 0 44px; }
}

/* The footer logo: "vintage" in the same place as the header's. GPT's footer rules put it
   higher and further out (12px at 90px), and on phones on a line of its own. Sized in em
   from the header's own proportions (9px on 49px, 9px above, 6px beside, -.2px tracking),
   so it lands in the same relative spot at any size and in every version. */
.footer-top .wordmark > span, .footer-top .wordmark span { display: inline-block; font-size: .1837em; letter-spacing: -.022em; padding: 1em 0 0 .667em; }

/* the piece photo takes sideways swipes (shop.js); up and down still scroll the page */
.piece-zoom { touch-action: pan-y pinch-zoom; }

/* phones: the menu button is just the lines, a little bigger (Paul) */
@media (max-width: 600px) {
  .menu-button > span:last-child { display: none; }
  .menu-button { min-width: 44px; min-height: 44px; justify-content: flex-end; }
  .menu-button .menu-lines { width: 26px; height: 11px; border-top-width: 2px; border-bottom-width: 2px; }
}

/* the home page headline sits a little lower (Paul) */
.hero-copy h1 { margin-top: 105px; }
@media (min-width: 1500px) { .hero-copy h1 { margin-top: 125px; } }
@media (max-width: 900px) { .hero-copy h1 { margin-top: 95px; } }
@media (max-width: 600px) { .hero-copy h1 { margin-top: 48px; } }

/* the home page hero, when the owner picked several photos: stacked, one on show, slow fade */
.static-feature > img.hero-layer { position: absolute; opacity: 0; transition: opacity 1.6s ease; }
.static-feature > img.hero-layer.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .static-feature > img.hero-layer { transition: none; } }

/* ================================================= hero variations (preview: ?hero=a|b|c|d)
   One large photo at the top in four arrangements, for Paul to choose from. Scoped by a body
   class that shop.js sets only in preview, so the site itself is unchanged until one is picked. */
body[class*="hero-"] .refined-hero .hero-note,
body[class*="hero-"] .static-feature .feature-label { display: none; }
body[class*="hero-"] .static-feature { margin: 0; width: 100%; min-height: 0; }
body[class*="hero-"] .static-feature:hover > img { transform: none; }

/* A: full bleed, the words on the photo */
.hero-a .refined-hero { display: grid; grid-template-columns: 1fr; height: calc(100svh - 99px); min-height: 560px; }
.hero-a .refined-hero > * { grid-area: 1 / 1; }
.hero-a .static-feature { height: 100%; }
.hero-a .static-feature::after { background: linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 62%), linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%); }
.hero-a .hero-copy { position: relative; z-index: 3; justify-content: flex-end; max-width: 820px; padding: 0 4% 70px; color: #f4f4f2; pointer-events: none; }
.hero-a .hero-copy a { pointer-events: auto; }
.hero-a .hero-copy h1 { margin-top: 22px; color: #f4f4f2; }
.hero-a .hero-copy h1 span { color: rgba(244,244,242,.68); }
.hero-a .hero-copy p, .hero-a .hero-copy .eyebrow { color: #e6e7e2; }
.hero-a .hero-copy .underlined { border-color: rgba(244,244,242,.8); color: #f4f4f2; }
.hero-a .feature-caption { left: auto; width: min(420px, 36%); }

/* B: the photo across the page, the words in a row beneath it */
.hero-b .refined-hero { grid-template-columns: 1fr; }
.hero-b .static-feature { order: -1; height: 76svh; min-height: 460px; }
.hero-b .hero-copy { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 6%; align-items: end; padding: 54px 4% 66px; }
.hero-b .hero-copy .eyebrow { grid-column: 1 / -1; }
.hero-b .hero-copy h1 { grid-column: 1; grid-row: 2 / span 2; margin-top: 22px; }
.hero-b .hero-copy > p { grid-column: 2; margin-top: 0; }
.hero-b .hero-copy .underlined { grid-column: 2; justify-self: start; }

/* C: the words first, then a wide photo inside the page margins */
.hero-c .refined-hero { grid-template-columns: 1fr; padding: 0 4% 40px; }
.hero-c .hero-copy { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: 6%; align-items: end; padding: 54px 0 40px; }
.hero-c .hero-copy .eyebrow { grid-column: 1 / -1; }
.hero-c .hero-copy h1 { grid-column: 1; grid-row: 2 / span 2; margin-top: 22px; }
.hero-c .hero-copy > p { grid-column: 2; margin-top: 0; }
.hero-c .hero-copy .underlined { grid-column: 2; justify-self: start; }
.hero-c .static-feature { height: 70svh; min-height: 440px; }

/* D: two thirds photo, one third words */
.hero-d .refined-hero { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); height: calc(100svh - 99px); min-height: 600px; }
.hero-d .static-feature { order: -1; height: 100%; }
.hero-d .hero-copy { justify-content: center; padding: 40px 8% 40px 7%; }
.hero-d .hero-copy h1 { font-size: clamp(40px, 4.2vw, 70px); margin-top: 26px; }

@media (max-width: 900px) {
  .hero-b .hero-copy, .hero-c .hero-copy { grid-template-columns: 1fr; }
  .hero-b .hero-copy > *, .hero-c .hero-copy > * { grid-column: 1 !important; grid-row: auto !important; }
  .hero-b .hero-copy > p, .hero-c .hero-copy > p { margin-top: 22px; }
  .hero-d .refined-hero { grid-template-columns: 1fr; height: auto; }
  .hero-d .static-feature { height: 72svh; min-height: 420px; }
}
@media (max-width: 600px) {
  .hero-a .refined-hero { height: calc(100svh - 60px); min-height: 520px; }
  .hero-a .hero-copy { padding: 0 6% 128px; }
  .hero-a .feature-caption { left: 20px; width: auto; }
  .hero-b .static-feature { height: 62svh; min-height: 380px; }
  .hero-b .hero-copy { padding: 30px 6% 40px; }
  .hero-c .refined-hero { padding: 0 6% 30px; }
  .hero-c .hero-copy { padding: 30px 0 28px; }
  .hero-c .static-feature { height: 60svh; min-height: 360px; }
  .hero-d .hero-copy { padding: 30px 6% 40px; }
}
/* the preview switcher: a small dropdown, bottom left, for showing the client */
.hero-switch { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.14); }
.hero-switch > span { color: var(--muted); letter-spacing: .04em; text-transform: uppercase; font-size: 10px; }
.hero-switch select { font: inherit; color: inherit; background: transparent; border: 0; padding: 4px 22px 4px 2px; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 9px) 52%, calc(100% - 5px) 52%; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }
.hero-switch select:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
@media (max-width: 600px) { .hero-switch { left: 12px; bottom: 14px; max-width: calc(100% - 170px); } .hero-switch select { min-width: 0; max-width: 100%; text-overflow: ellipsis; } }

/* ================================================= tablets and an open Fold (601–900px)
   The desktop header and GPT's two-half hero squeezed into this width (Paul, on a Fold).
   Here the header is the phone one (logo + menu lines; links, Saved, language and Instagram
   live in the menu), a little larger, and the hero stacks: words, then a wide photo. */
@media (min-width: 601px) and (max-width: 900px) {
  header, header.is-compact { height: 72px; gap: 14px; }
  header nav, header .saved-link, header .lang-switch, header .instagram { display: none; }
  header .menu-button { margin-left: auto; min-width: 44px; min-height: 44px; justify-content: flex-end; }
  header .menu-button > span:last-child { display: none; }
  header .menu-button .menu-lines { width: 28px; height: 12px; border-top-width: 2px; border-bottom-width: 2px; }
  header .wordmark, header.is-compact .wordmark { transform: scale(.78); }
  .menu-layer .menu-top, .menu-layer.is-compact .menu-top { height: 72px; }
  .menu-brand .wordmark, .menu-layer.is-compact .menu-brand .wordmark { transform: scale(.78); }
  html { scroll-padding-top: 84px; }

  body:not([class*="hero-"]) .refined-hero { display: flex; flex-direction: column; min-height: 0; }
  body:not([class*="hero-"]) .refined-hero .hero-copy { padding: 44px 6% 40px; }
  body:not([class*="hero-"]) .refined-hero h1 { font-size: clamp(48px, 9vw, 78px); margin-top: 40px; }
  body:not([class*="hero-"]) .refined-hero .hero-note { display: none; }
  .refined-hero .hero-copy > p { font-size: 15px; }
  body:not([class*="hero-"]) .static-feature { width: 88%; margin: 0 6% 28px; min-height: 0; height: 72svh; }
}

/* ================================================= the client's changes (Flipper strona copy.docx, 2026-10-15) */
/* --- footer: black, white type, in every version */
body.soft-modern footer { background: #0e0f0d; color: #9da197; border-top: 0; }
body.soft-modern footer a, body.soft-modern footer .wordmark { color: #f3f4f0; }
body.soft-modern footer .footer-top p a { border-color: #f3f4f0; }
body.soft-modern footer .footer-bottom { color: #9da197; }
.v-sage footer .dmark text, .v-sage footer .dmark use { fill: #eef0ea; }
.footer-top { justify-content: space-between; }
.contact-block { display: flex; flex-direction: column; gap: 10px; max-width: 360px; font-size: 13px; line-height: 1.7; }
.contact-block p { margin: 0; }
.contact-block .eyebrow { color: inherit; }
.contact-lines a { white-space: nowrap; }
.chat-link { font: inherit; color: inherit; padding: 0; border-bottom: 1px solid currentColor; cursor: pointer; }
footer .chat-link { color: #f3f4f0; }
.contact-ig { align-self: flex-start; border-bottom: 1px solid currentColor; padding-bottom: 3px; margin-top: 4px; }
/* the line at the very bottom shows on phones too */
footer .footer-bottom { flex-wrap: wrap; }
footer .footer-bottom > span:nth-child(2) { display: inline; }
@media (max-width: 600px) { .contact-block { max-width: none; } .footer-top { flex-direction: column; } }

/* --- saved pieces: black with a drawn tick, instead of the lime */
.save .tick { display: block; width: 16px; height: 16px; margin: auto; }
.save[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.save { display: grid; place-items: center; }

/* --- About on the home page: the text takes the whole column, lightly justified */
.about .about-text p { max-width: none; text-align: justify; hyphens: auto; }
.about .about-text p + p { margin-top: 14px; }
@media (max-width: 600px) { .about .about-location { display: block; margin-top: 18px; } }
.page-lead.about-text { max-width: 46em; }
.page-lead.about-text p { margin: 0; text-align: justify; hyphens: auto; }
.page-lead.about-text p + p { margin-top: 14px; }

/* --- the grid's "Show more" */
.load-more-row { display: flex; justify-content: center; }
.load-more-row .underlined { margin: 34px 0 6px; font-size: 14px; }
#load-more[hidden] { display: none; }

/* --- the price on a piece's page */
.piece-price { margin: 0; display: flex; align-items: baseline; gap: 12px; font-size: 24px; letter-spacing: -.02em; }
.piece-price span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* --- FAQ */
.faq-list { max-width: 980px; padding-bottom: 50px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--muted); font-size: 1.1em; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 46em; margin: 0 0 16px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.faq-item p:last-child { margin-bottom: 26px; }

/* --- Contact page */
.contact-page-block .contact-block { max-width: 520px; font-size: 17px; }
.contact-page-block .contact-block .eyebrow { display: none; }
.contact-visit { margin: 34px 0 0; font-size: 15px; line-height: 1.8; color: var(--muted); }
/* a heading whose words are per-language spans keeps the heading colour (GPT greys any span in an h1) */
h1 > span[data-l] { color: inherit; }
/* desktop: the header links are the menu, so no Menu button (Paul, 2026-10-15). Phones and
   tablets (up to 900px) keep it: there it is the only way in. */
@media (min-width: 901px) { header .menu-button { display: none; } }
/* FAQ: the closing question sits right under the list, in its column (Paul: no label needed) */
.faq-list { padding-bottom: 0; }
.faq-more { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 44px 0 80px; }
.faq-more p { margin: 0; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -.02em; }
.faq-more b { font-weight: inherit; }
.faq-more .underlined { width: max-content; }
@media (max-width: 600px) { .faq-more { padding: 34px 0 50px; } }

/* ================================================= Filip's notes (2026-10-17) */
/* the "View details" label is a mouse hover; on a touch screen a tap set it off on top of
   the Available badge, so touch screens don't get it */
@media (hover: none) { .product-image::after, .product-main .product-image::after { display: none; } }
/* the arrow as a plain glyph, not Samsung's colour emoji */
.product-image::after, .product-main .product-image::after { content: 'View details \2197\FE0E'; }
html[lang="pl"] .product-image::after, html[lang="pl"] .product-main .product-image::after { content: 'Zobacz szczegóły \2197\FE0E'; }
/* counts on every filter but All */
.filters .filter-count { font-size: 9px; margin-left: 1px; color: var(--muted); }
.filters .filter-count:empty { display: none; }
/* footer: phone and e-mail without the low underline */
body.soft-modern footer .contact-lines a { border-bottom: 0; padding-bottom: 0; text-decoration: none; }
body.soft-modern footer .contact-lines a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* "Scroll to discover" takes you to the products */
.section-divider .scroll-hint { color: inherit; }
.section-divider .scroll-hint:hover { color: var(--ink); }

/* ================================================= Editorial: the list and an article (2026-10-29)
   Photos keep their own shape (never cropped, Paul's rule). */
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; align-items: start; padding-bottom: 80px; }
.post-card { display: flex; flex-direction: column; gap: 16px; }
.post-card-img img { display: block; width: 100%; height: auto; background: var(--line); transition: opacity .3s; }
.post-card:hover .post-card-img img { opacity: .88; }
.post-card-text { display: flex; flex-direction: column; gap: 8px; }
.post-card-title { font-size: clamp(22px, 2vw, 28px); font-weight: 450; letter-spacing: -.03em; line-height: 1.15; }
.post-card-lead { font-size: 15px; line-height: 1.7; color: var(--muted); }
.post-card-more { align-self: flex-start; font-size: 13px; border-bottom: 1px solid currentColor; padding-bottom: 2px; margin-top: 4px; }
.article-page { padding-top: 34px; padding-bottom: 80px; }
.article-head { max-width: 980px; padding: 26px 0 40px; display: flex; flex-direction: column; gap: 22px; }
.article-head h1 { margin: 0; font-size: clamp(38px, 5vw, 72px); font-weight: 450; line-height: 1.03; letter-spacing: -.06em; }
.article-head .page-lead { margin-top: 0; }
.article-hero { display: block; width: 100%; max-width: 1100px; height: auto; margin-bottom: 48px; }
.article-body { max-width: 40em; font-size: 17px; line-height: 1.8; }
.article-body > * + * { margin-top: 1.1em; }
.article-body p { margin: 0; }
.article-body h2 { margin-top: 1.8em; font-size: 26px; font-weight: 450; letter-spacing: -.03em; line-height: 1.2; }
.article-body img { display: block; width: 100%; height: auto; }
.article-body a { border-bottom: 1px solid currentColor; }
@media (max-width: 900px) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .post-list { grid-template-columns: 1fr; gap: 40px; padding-bottom: 50px; }
  .article-page { padding-top: 20px; }
  .article-head { padding: 18px 0 28px; }
  .article-body { font-size: 16px; }
}
/* a tall photo is shown whole but no taller than the screen */
.article-hero { width: auto; max-width: 100%; max-height: 85vh; }
