@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  /* Match Arial's metrics so the webfont swap never reflows text (CLS). */
  size-adjust: 103.83%;
  ascent-override: 90.53%;
  descent-override: 21.19%;
  line-gap-override: 3.27%;
  src: url("/fonts/raleway-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  /* Match Arial's metrics so the webfont swap never reflows text (CLS). */
  size-adjust: 103.83%;
  ascent-override: 90.53%;
  descent-override: 21.19%;
  line-gap-override: 3.27%;
  src: url("/fonts/raleway-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  /* Match Arial's metrics so the webfont swap never reflows text (CLS). */
  size-adjust: 103.83%;
  ascent-override: 90.53%;
  descent-override: 21.19%;
  line-gap-override: 3.27%;
  src: url("/fonts/raleway-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  /* Match Arial's metrics so the webfont swap never reflows text (CLS). */
  size-adjust: 103.83%;
  ascent-override: 90.53%;
  descent-override: 21.19%;
  line-gap-override: 3.27%;
  src: url("/fonts/raleway-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --color-header: #ffffff;
  --color-bg: #ffffff;
  --color-fg: #212121;
  --color-body: #4d4d4d;
  --color-muted: #6b6b6b;
  --color-line: #e6e6e6;
  --font-main: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --header-h: 90px;

  --color-header-bg: rgba(255, 255, 255, 0.98);
  --color-header-scrolled: rgba(255, 255, 255, 0.95);
  --color-header-shadow: rgba(0, 0, 0, 0.06);
  --color-mobile-bg: #fff;
  --color-ph-bg: #f3f3f3;
  --color-ph-error: #e9e9e9;
  /* Light site -> dark image overlay (inverted on purpose) */
  --color-lb-bg: rgba(10, 10, 10, 0.94);
  --color-lb-icon: #e6e6e6;
  --color-lb-icon-hover: #ffffff;
  --color-lb-text: #f2f2f2;
  --color-lb-muted: #a9a9a9;
  --color-lb-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --color-about-border: #f0f0f0;
  --color-field-label: #767676;
  --color-field-border: rgba(77, 77, 77, 0.2);
  --color-field-placeholder: rgba(77, 77, 77, 0.45);
  --color-submit-border: rgba(77, 77, 77, 0.45);
  --color-btn-fg: #fff;
  --color-error: #b00020;
  --color-success: #2e7d32;
  --color-cookie-bg: #fff;
  --color-cookie-shadow: rgba(0, 0, 0, 0.08);
  --color-link-underline: rgba(158, 158, 158, 0.4);
  --color-selection-bg: #212121;
  --color-selection-fg: #fff;
}

html[data-theme="dark"] {
  --color-header: #161616;
  --color-bg: #161616;
  --color-fg: #e8e6e3;
  --color-body: #b8b8b8;
  --color-muted: #a0a0a0;
  --color-line: #2c2c2c;
  --color-header-bg: rgba(22, 22, 22, 0.98);
  --color-header-scrolled: rgba(22, 22, 22, 0.94);
  --color-header-shadow: rgba(0, 0, 0, 0.3);
  --color-mobile-bg: #161616;
  --color-ph-bg: #2a2a2a;
  --color-ph-error: #333;
  /* Dark site -> light image overlay (inverted on purpose) */
  --color-lb-bg: rgba(247, 247, 245, 0.96);
  --color-lb-icon: #4a4a4a;
  --color-lb-icon-hover: #111111;
  --color-lb-text: #2b2b2b;
  --color-lb-muted: #777777;
  --color-lb-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
  --color-about-border: #2a2a2a;
  --color-field-label: #999;
  --color-field-border: rgba(255, 255, 255, 0.18);
  --color-field-placeholder: rgba(255, 255, 255, 0.32);
  --color-submit-border: rgba(255, 255, 255, 0.3);
  --color-btn-fg: #161616;
  --color-error: #ff6b6b;
  --color-success: #6ecf6e;
  --color-cookie-bg: #1a1a1a;
  --color-cookie-shadow: rgba(0, 0, 0, 0.25);
  --color-link-underline: rgba(255, 255, 255, 0.25);
  --color-selection-bg: #e8e6e3;
  --color-selection-fg: #161616;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--color-bg); scrollbar-gutter: stable; overflow-y: scroll; }

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--color-selection-bg); color: var(--color-selection-fg); }

/* ───────────────────────── Header ───────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--color-header-bg);
  border-bottom: 0px solid transparent;
  z-index: 50;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--color-header-shadow);
  background: var(--color-header-scrolled);
}
.site-header.no-initial-hover .nav-link:hover { opacity: 1; }
.site-header.no-initial-hover .nav-link:hover::before,
.site-header.no-initial-hover .nav-link:hover::after {
  width: 0;
  left: 50%;
}
.site-header.no-initial-hover .nav-sub-link:not(.is-active):hover {
  background: transparent;
}
.header-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  line-height: 0;
  flex-shrink: 0;
}
.header-logo img {
  height: 40px;
  width: auto;
  border-radius: 6px;
}
.header-logo-word {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--color-fg);
  white-space: nowrap;
}
.header-logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-fg);
}
.header-logo-monogram {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.header-logo-monogram svg {
  height: 34px;
  width: auto;
  color: var(--color-fg);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  margin-right: 44px;
}
.nav-link {
  position: relative;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-fg);
  line-height: 1.2;
  padding: 6px 0;
  transition: opacity 0.25s ease;
}
.nav-link::before,
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  height: 1px;
  width: 0;
  background: var(--color-fg);
  transition: all 0.3s ease;
}
.nav-link::before { top: -3px; }
.nav-link::after { bottom: -3px; }
.nav-link:hover { opacity: 0.85; }
.nav-link:hover::before,
.nav-link:hover::after,
.nav-link.is-active::after {
  left: 0;
  width: 100%;
}
.nav-link.is-active::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang-switch {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color-fg);
  text-transform: uppercase;
}
.lang-opt {
  color: var(--color-fg);
  opacity: 0.78;
  transition: opacity 0.25s ease;
}
.lang-opt:hover { opacity: 0.85; }
.lang-opt.is-active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lang-sep { opacity: 0.4; }

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.theme-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: none;
  color: var(--color-fg);
  opacity: 0.42;
  transition: opacity 0.25s ease, background-color 0.25s ease;
}
.theme-opt:hover { opacity: 0.8; }
.theme-opt.is-active { opacity: 1; }
.theme-opt svg { width: 17px; height: 17px; }
.theme-opt:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}
.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-fg);
  cursor: pointer;
}
.header-cart svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-cart:hover { opacity: 0.7; }
.cart-count {
  position: absolute;
  top: -6px;
  right: -9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--color-fg);
  color: var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-header-bg);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  transform: translateZ(0);
}
.cart-count[hidden] { display: none; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--color-fg);
  color: var(--color-bg);
  font-size: 13px;
  transform: translateY(-200%);
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.grid-item:focus-visible {
  outline: 2px solid var(--color-fg);
  outline-offset: 4px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--color-fg);
  transition: opacity 0.25s ease;
  background: none;
  border: none;
  padding: 0;
}
.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.social-link:hover { opacity: 0.6; }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 8px 4px;
  margin-left: 12px;
  color: var(--color-fg);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}
.burger:hover { opacity: 0.7; }
.burger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.burger svg { width: 22px; height: 22px; flex: 0 0 auto; fill: currentColor; }
.burger-label { white-space: nowrap; }

/* Mobile overlay menu */
body.menu-open { overflow: hidden; }
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-mobile-bg);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  padding: calc(var(--header-h) + 24px) 24px calc(44px + env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu .header-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin: 0;
  flex: 0 0 auto;
}
.mobile-menu .nav-link {
  display: inline-block;
  font-size: 18px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.mobile-menu-close {
  position: absolute;
  top: calc(22px + env(safe-area-inset-top));
  right: calc(24px + env(safe-area-inset-right));
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close svg { width: 24px; height: 24px; fill: var(--color-fg); }
.mobile-menu-social {
  display: flex;
  gap: 28px;
  margin-top: 14px;
}
.mobile-menu-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-menu-tools .lang-switch { font-size: 13px; }
.mobile-menu-tools .theme-opt { width: 34px; height: 34px; }
.mobile-menu-tools .theme-opt svg { width: 21px; height: 21px; }
.mobile-menu-cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-fg);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.mobile-menu-cart svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-menu-cart .cart-count {
  position: static;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  box-shadow: none;
  background: var(--color-fg);
  color: var(--color-bg);
  font-size: 11px;
  font-weight: 800;
}
.mobile-menu-search {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-fg);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 4px 2px;
}
.mobile-menu-search svg { width: 20px; height: 20px; fill: none; stroke: currentColor; }
.mobile-menu-search:hover { opacity: 0.7; }
.mobile-menu-social .social-link svg { width: 26px; height: 26px; }

/* ───────────────────────── Layout ───────────────────────── */
.site-main { min-height: 70vh; }
.stage {
  padding-top: var(--header-h);
}

.page-wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ───────────────────────── Gallery ───────────────────────── */
.gallery-section {
  padding: 40px 0 80px;
}
.gallery-header {
  text-align: center;
  padding: 20px 20px 40px;
}
.gallery-title {
  font-size: 28px;
  font-weight: 400;
  color: var(--color-fg);
  text-transform: uppercase;
  letter-spacing: 0.3em;
}
.gallery-desc { color: var(--color-body); font-size: 16px; margin-top: 8px; }
.gallery-desc p { display: inline; }

/* General introduction below the home-page gallery. */
.home-intro { padding: 0 0 90px; }
.home-intro-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 34px;
  border-top: 1px solid var(--color-line);
}
.home-intro-title {
  margin-bottom: 24px;
  color: var(--color-fg);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
}
.home-intro-text {
  max-width: 820px;
  margin: 0 auto;
  color: var(--color-body);
  font-size: 16px;
  line-height: 1.85;
}
.home-intro-text p + p { margin-top: 1.1em; }
.home-intro-brand {
  width: min(330px, 78%);
  aspect-ratio: 1953 / 948;
  margin: 42px auto 0;
  background: url("/images/logo-mw-wordmark-black.svg") center / contain no-repeat;
}
html[data-theme="dark"] .home-intro-brand {
  background-image: url("/images/logo-mw-wordmark-white.svg");
}

/* Fallback row-major grid for browsers without the JS masonry pass.
   The gallery script replaces it with a packed layout so portrait images
   do not leave empty cells beside them. */
.masonry {
  display: grid;
  grid-template-columns: repeat(var(--gallery-cols, 3), minmax(0, 1fr));
  gap: var(--gallery-gap, 40px);
  align-items: start;
}
/* JS masonry: fills the empty space next to portrait images instead of
   leaving whole rows aligned to the tallest item. */
.masonry.is-masonry-js {
  display: block;
  position: relative;
}
.masonry.is-masonry-js .grid-item { width: auto; }
.grid-item {
  align-self: start;
  line-height: 0;
  width: 100%;
  min-width: 0;
  cursor: url("/images/focus-cursor.png") 16 16, zoom-in;
  background: var(--color-ph-bg);
  transition: opacity 0.25s ease;
  position: relative;
}
.grid-item img {
  width: 100%;
  height: auto;
}
.placeholder {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.grid-item img.lazy {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.grid-item img.lifted { opacity: 1; }

/* Bilingual legal pages: hide the inactive language without relying on JS. */
html[data-lang="de"] .lang-en { display: none !important; }
html[data-lang="en"] .lang-de { display: none !important; }

/* No-JS fallback: crawlable gallery links and navigation. */
.noscript-gallery-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.seo-noscript-nav {
  padding: 24px 20px;
  font-size: 14px;
  line-height: 1.6;
}
.seo-noscript-nav h2 {
  margin: 18px 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.seo-noscript-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.seo-noscript-nav a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.loader {
  text-align: center;
  padding: 50px 0 30px;
  color: var(--color-muted);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.loader.hidden { display: none; }

/* ───────────────────────── Lightbox ───────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: var(--color-lb-bg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 96px 24px;
  gap: 14px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s;
}

.lb-stage {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: var(--color-lb-shadow);
  transition: opacity 0.15s ease;
}
.lightbox.is-loading .lb-stage img {
  opacity: 0;
  visibility: hidden;
}
.lb-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 30px;
  height: 30px;
  border: 2px solid var(--color-lb-icon);
  border-top-color: var(--color-lb-text);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: lbSpin 0.8s linear infinite;
  animation-play-state: paused;
  transition: opacity 0.15s ease;
}
.lightbox.is-loading .lb-stage::after {
  opacity: 1;
  animation-play-state: running;
}
@keyframes lbSpin {
  to { transform: rotate(360deg); }
}

.lb-btn {
  position: absolute;
  z-index: 2;
  background: none;
  border: none;
  color: var(--color-lb-icon);
  transition: color 0.25s ease, opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-btn:hover { color: var(--color-lb-icon-hover); }
.lb-btn svg { fill: currentColor; }

.lb-close { top: 22px; right: 26px; width: 40px; height: 40px; }
.lb-close svg { width: 26px; height: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; }
.lb-prev svg, .lb-next svg { width: 34px; height: 34px; }

.lb-footer {
  flex: 0 0 auto;
  width: 100%;
  max-width: 900px;
  text-align: center;
  color: var(--color-lb-text);
}
.lb-counter {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--color-lb-muted);
}
.lb-desc {
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--color-lb-text);
  margin-bottom: 6px;
}
.lb-desc:empty { display: none; }
.lb-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 12px;
  padding: 8px 16px;
  border: 1px solid var(--color-lb-icon);
  border-radius: 999px;
  color: var(--color-lb-text);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lb-details:hover {
  background: rgba(127, 127, 127, 0.16);
  border-color: var(--color-lb-icon-hover);
}
.lb-details[hidden] { display: none; }

/* Shop cart inside the lightbox */
.lb-actions { margin: 10px 0 8px; }
.lb-cart-btn,
.lb-cart-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-lb-icon);
  border-radius: 999px;
  background: transparent;
  color: var(--color-lb-text);
  padding: 7px 14px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lb-cart-btn:hover,
.lb-cart-add:hover { background: rgba(255, 255, 255, 0.08); }
.lb-cart-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}
.lb-cart-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-lb-muted);
}
.lb-cart-form select,
.lb-cart-form input {
  border: 1px solid var(--color-lb-icon);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--color-lb-text);
  padding: 6px 8px;
  font-family: inherit;
  font-size: 12px;
}
.lb-cart-form select { max-width: 220px; }
.lb-cart-form select option { background: #111; color: #fff; }
.lb-cart-form input { width: 62px; }
.lb-cart-confirm { font-size: 13px; color: var(--color-lb-text); }

/* ───────────────────────── About page ───────────────────────── */
.about-section {
  padding: 40px 0 80px;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: 70px;
  align-items: start;
}
.about-image {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.about-image img {
  width: 100%;
  height: auto;
}
.about-text p {
  font-size: 16px;
  color: var(--color-body);
  margin-bottom: 26px;
}
.about-text p.lang-ja {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 2;
  margin-bottom: 22px;
}
.about-text .lang-ja + .lang-ja { margin-top: -10px; }
.about-text .lang-en + .lang-ja { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--color-about-border); }
.about-wikipedia {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-fg);
  border-bottom: 1px solid var(--color-fg);
  padding-bottom: 3px;
  margin-top: 8px;
  transition: opacity 0.25s ease;
}
.about-wikipedia:hover { opacity: 0.6; }
.about-title { margin: 0 0 38px; text-align: center; }
@media (min-width: 901px) {
  .about-title {
    margin-left: calc(40% + 70px);
    text-align: left;
  }
}

/* Journal list heading (the post page supplies its own H1). */
.journal-title { margin: 0 0 34px; }
.journal-intro {
  max-width: 760px;
  margin: -18px 0 34px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-body);
}
.journal-intro:empty { display: none; }

/* 404 */
.notfound-section { padding: 80px 22px 110px; }
.notfound-section .page-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.notfound-code {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--color-muted);
  margin-bottom: 18px;
}
.notfound-title { margin: 0 0 18px; }
.notfound-text {
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-body);
}
.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}
.notfound-link {
  display: inline-flex;
  align-items: center;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--color-fg);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.notfound-link:hover { opacity: 0.6; }
html[lang="de"] .nf-en,
html[lang="en"] .nf-de { display: none; }

/* ───────────────────────── Contact page ───────────────────────── */
.contact-section {
  padding: 60px 22px 100px;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.contact-title {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-fg);
  margin-bottom: 40px;
}
.contact-intro {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-body);
  text-align: center;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-body);
  margin-bottom: 6px;
}
.form-field label em { color: var(--color-field-label); font-style: normal; }
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-field-border);
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-body);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.25s ease;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--color-fg); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--color-field-placeholder); }

.contact-submit {
  margin-top: 8px;
  align-self: center;
  background: none;
  border: 1px solid var(--color-submit-border);
  color: var(--color-fg);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 13px 44px;
  transition: all 0.25s ease;
}
.contact-submit:hover { background: var(--color-fg); color: var(--color-btn-fg); border-color: var(--color-fg); }
.contact-submit:disabled { opacity: 0.5; cursor: default; }

.contact-note {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--color-body);
  min-height: 1.4em;
}
.contact-note.error { color: var(--color-error); }
.contact-note.success { color: var(--color-success); }

.form-privacy,
.comment-privacy,
.photo-license-privacy,
.waitlist-privacy {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--color-muted);
}
.form-privacy { text-align: center; }
.comment-privacy,
.photo-license-privacy,
.waitlist-privacy { text-align: left; }
.form-privacy a,
.comment-privacy a,
.photo-license-privacy a,
.waitlist-privacy a {
  color: inherit;
  text-decoration: underline;
}

/* ───────────────────────── Imprint ───────────────────────── */
.imprint-section { padding: 120px 0 80px; }
.imprint-wrap { max-width: 720px; margin: 0 auto; padding: 0 22px; line-height: 1.9; }
.imprint-title {
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-fg);
  margin-bottom: 34px;
}
.imprint-block { margin-bottom: 30px; }
.imprint-block h2,
.imprint-block h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-fg);
  margin-bottom: 8px;
}
.imprint-block p { font-size: 15px; color: var(--color-body); margin-bottom: 4px; }
.imprint-block address { font-style: normal; color: var(--color-body); font-size: 15px; }
.imprint-wrap .ph { font-style: italic; color: var(--color-muted); }
.imprint-note {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--color-muted);
}

/* Page not found */
.page-not-found { padding: 80px 0; text-align: center; }
.page-not-found h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-fg);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.page-not-found p { color: var(--color-muted); margin-bottom: 24px; }
.page-not-found a { border-bottom: 1px solid var(--color-fg); padding-bottom: 2px; color: var(--color-fg); }

/* ───────────────────────── Footer ───────────────────────── */
.site-footer {
  background: var(--color-bg);
  color: var(--color-muted);
  text-align: center;
  padding: 44px 20px 40px;
  border-top: 0px solid var(--color-line);
}
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  color: var(--color-fg);
}
.footer-social .social-link svg { width: 22px; height: 22px; }
.footer-name {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 8px;
}
.footer-made {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}
.footer-made a {
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-link-underline);
  padding-bottom: 1px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-made a:hover { color: var(--color-fg); border-color: var(--color-fg); }
#digital-licences { scroll-margin-top: 120px; }

/* Order confirmation */
.order-confirmation-section {
  padding: calc(var(--header-h) + 48px) 24px 80px;
}
.order-confirmation-wrap {
  max-width: 920px;
  margin: 0 auto;
}
.order-confirmation-card {
  border: 1px solid var(--color-line);
  background: var(--color-bg);
  padding: clamp(22px, 4vw, 44px);
}
.order-confirmation-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.order-confirmation-card h1 {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-fg);
}
.order-confirmation-intro {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-body);
}
.order-confirmation-sandbox {
  margin: 0 0 20px;
  padding: 10px 14px;
  border-left: 3px solid #d98b2b;
  background: #fff4e5;
  color: #6b4a1f;
  font-size: 13px;
  line-height: 1.5;
}
.order-confirmation-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
  padding: 18px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.order-confirmation-meta span {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.order-confirmation-meta strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-fg);
  overflow-wrap: anywhere;
}
.order-confirmation-subtitle {
  margin: 24px 0 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-fg);
}
.order-confirmation-table-wrap {
  overflow-x: auto;
}
.order-confirmation-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}
.order-confirmation-table th,
.order-confirmation-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-body);
}
.order-confirmation-table th {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
}
.order-confirmation-num {
  text-align: right !important;
  white-space: nowrap;
}
.order-confirmation-bottom {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  margin-top: 28px;
}
.order-confirmation-address {
  flex: 1;
  min-width: 0;
}
.order-confirmation-address p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-body);
}
.order-confirmation-totals {
  width: 280px;
  flex: 0 0 auto;
}
.order-confirmation-totals p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 13px;
  color: var(--color-body);
}
.order-confirmation-totals strong {
  font-weight: 500;
  color: var(--color-fg);
}
.order-confirmation-grand-total {
  padding-top: 12px !important;
  border-bottom: none !important;
  font-size: 16px !important;
}
.order-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}
.order-confirmation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--color-fg);
  color: var(--color-fg);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}
.order-confirmation-button:hover {
  background: var(--color-fg);
  color: var(--color-bg);
}
.order-confirmation-link {
  font-size: 12px;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-link-underline);
  padding-bottom: 1px;
}
.order-confirmation-link:hover { color: var(--color-fg); }
.order-confirmation-error h1 { font-size: clamp(24px, 4vw, 34px); }
@media (max-width: 767px) {
  .order-confirmation-section { padding: calc(var(--header-h) + 28px) 16px 60px; }
  .order-confirmation-meta { grid-template-columns: 1fr 1fr; }
  .order-confirmation-bottom { flex-direction: column; }
  .order-confirmation-totals { width: 100%; }
}
.footer-copyright-note {
  max-width: 620px;
  margin: 12px auto 0;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--color-muted);
}
.footer-copyright-note a {
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-link-underline);
  padding-bottom: 1px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-copyright-note a:hover { color: var(--color-fg); border-color: var(--color-fg); }
.footer-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-links a { color: var(--color-muted); transition: color 0.25s ease; }
.footer-links a:hover { color: var(--color-fg); }

/* ───────────────────────── Cookie banner ───────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-cookie-bg);
  border-top: 1px solid var(--color-line);
  box-shadow: 0 -12px 40px var(--color-cookie-shadow);
  z-index: 120;
  padding: 18px 0;
}
.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner p {
  flex: 1 1 280px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-body);
  margin: 0;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner-actions a {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-link-underline);
  padding-bottom: 1px;
}
.cookie-banner-actions a:hover { color: var(--color-fg); }
.cookie-banner-actions button {
  background: none;
  border: 1px solid var(--color-submit-border);
  color: var(--color-fg);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 18px;
  transition: all 0.25s ease;
  cursor: pointer;
}
.cookie-banner-actions button:hover { background: var(--color-fg); color: var(--color-btn-fg); border-color: var(--color-fg); }
.cookie-banner-actions button.is-primary { background: var(--color-fg); color: var(--color-btn-fg); border-color: var(--color-fg); }
.cookie-banner-actions button.is-primary:hover { opacity: 0.85; }

@media (max-width: 767px) {
  .cookie-banner-inner { padding: 0 20px; }
}

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 1199px) {
  .masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

/* Phones, tablets and narrow browser windows: the full navigation no
   longer fits, so use the clearly labelled menu button instead of squeezing
   the links. Err on the side of the mobile menu to avoid overflow. */
@media (max-width: 1280px) {
  .header-nav { display: none; }
  .header-actions { margin-left: auto; margin-right: 2px; }
  .header-actions .social-link { display: none; }
  .burger { display: inline-flex; margin-left: 10px; }
}

/* JS-driven layout: first hide the social icons, then fall back to the mobile
   menu, whenever the full navigation would not fit at the current width. */
.site-header.is-tight .header-actions .social-link:not(.search-link) { display: none; }
.site-header.is-compact .header-nav { display: none; }
.site-header.is-compact .header-actions { margin-left: auto; margin-right: 2px; }
.site-header.is-compact .header-actions .social-link { display: none; }
/* The theme switcher and cart live in the burger menu once the compact header is active. */
.site-header.is-compact .header-actions .theme-switch { display: none; }
.site-header.is-compact .header-actions .header-cart { display: none; }
.site-header.is-compact .burger { display: inline-flex; margin-left: 10px; }
/* Keep the cart in the compact header on tablet/desktop; only the narrow
   mobile layout moves it into the burger menu. */
@media (min-width: 768px) {
  .site-header.is-compact .header-actions .header-cart { display: inline-flex; }
}

@media (max-width: 767px) {
  .header-inner { padding: 0 20px; }

  /* Keep the site name on one line so the header stays compact on phones. */
  .header-logo-word {
    white-space: nowrap;
    width: auto;
    text-align: left;
    line-height: 1.1;
    font-size: 16px;
    letter-spacing: 0.03em;
  }

  .page-wrap { padding: 0 20px; }
  .masonry { gap: 8px; }

  .gallery-section { padding: 20px 0 60px; }

  .home-intro { padding: 0 0 60px; }
  .home-intro-inner { padding-top: 26px; }
  .home-intro-title { font-size: 16px; letter-spacing: 0.2em; margin-bottom: 18px; }
  .home-intro-text { font-size: 15px; line-height: 1.75; }

  .gallery-comments { padding: 0 0 60px; }

  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-image { position: static; }

  .form-row { grid-template-columns: 1fr; gap: 18px; }

  .contact-section { padding: 40px 20px 80px; }
  .contact-title { margin-bottom: 28px; }

  .lightbox { padding: 64px 14px 18px; gap: 10px; }
  .lb-stage { width: 100%; }
  .lb-prev { left: 2px; }
  .lb-next { right: 2px; }
  .lb-desc { font-size: 13px; }
  .lb-cart-form { gap: 8px; }
  .lb-cart-form label { flex: 1 1 140px; }
  .lb-cart-form select { max-width: 100%; width: 100%; }
  .lb-cart-form input { width: 100%; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .header-logo { gap: 10px; }
  .header-logo img { height: 34px; }
  .header-logo-word { font-size: 13px; }
  .header-actions { gap: 10px; }

  .contact-section { padding: 32px 16px 70px; }
  .contact-title { font-size: 22px; letter-spacing: 0.2em; }
}

@media (max-width: 380px) {
  .header-logo { gap: 8px; }
  .header-logo img { height: 30px; }
  .header-logo-word { font-size: 12px; }
  .burger-label { display: none; }
  .burger { margin-left: 8px; }
}

/* Image download protection (deterrent) */
img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ───────────────────────── Journal ───────────────────────── */
.journal-section { padding: 60px 0 90px; }
.journal-wrap { max-width: 1240px; }
.journal-list { display: grid; grid-template-columns: 1fr; gap: 0 44px; }
@media (min-width: 760px) {
  .journal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.journal-post,
.journal-list .journal-empty { max-width: 880px; margin-left: auto; margin-right: auto; }
.journal-card {
  display: block;
  border-bottom: 1px solid var(--color-line);
  padding: 30px 0;
}
.journal-card-main {
  display: block;
  color: inherit;
  text-decoration: none;
}
.journal-card:hover .journal-card-cover img { transform: scale(1.03); }
.journal-card-details {
  display: inline-flex;
  margin-top: 14px;
  color: var(--color-fg);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.journal-card-details:hover { color: var(--color-muted); }
.journal-card-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-ph-bg);
  margin-bottom: 18px;
  cursor: url("/images/focus-cursor.png") 16 16, zoom-in;
}
.journal-card-cover img {
  cursor: url("/images/focus-cursor.png") 16 16, zoom-in;
}
.journal-card-cover picture { display: contents; }
.journal-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.journal-card-body h2 {
  font-size: 21px;
  font-weight: 400;
  color: var(--color-fg);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.journal-card-body time {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 10px;
}
.journal-card-body p { color: var(--color-body); font-size: 15px; }
.journal-empty { color: var(--color-muted); padding: 40px 0; text-align: center; }
.journal-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0 10px; }
.journal-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  border: 1px solid var(--color-line);
  padding: 3px 7px;
}
.journal-draft {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 8px;
  border: 1px solid var(--color-error);
  color: var(--color-error);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.journal-load-more {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 26px auto 0;
  border: 1px solid var(--color-fg);
  background: none;
  color: var(--color-fg);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 11px 20px;
  cursor: pointer;
}
.journal-load-more:hover { background: var(--color-fg); color: var(--color-btn-fg); }

.journal-post { padding-bottom: 40px; }
.journal-post-head { margin-bottom: 26px; }
.journal-back {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 18px;
}
.journal-back:hover { color: var(--color-fg); }
.journal-post-head h1 {
  font-size: 34px;
  font-weight: 400;
  color: var(--color-fg);
  line-height: 1.2;
  margin-bottom: 10px;
}
.journal-post-head time {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.journal-cover { margin-bottom: 30px; }
.journal-cover img { width: 100%; height: auto; }
.journal-post-body { color: var(--color-body); font-size: 16px; line-height: 1.9; }
.journal-post-body p { margin-bottom: 24px; }
.journal-post-body img { width: 100%; height: auto; margin: 30px 0; }
.journal-post-body h2,
.journal-post-body h3 { color: var(--color-fg); font-weight: 400; margin: 36px 0 16px; line-height: 1.3; }
.journal-post-body blockquote {
  border-left: 2px solid var(--color-line);
  padding-left: 20px;
  margin: 28px 0;
  color: var(--color-muted);
  font-style: italic;
}

/* ───────────────────────── Slideshow ───────────────────────── */
.slideshow-main { height: auto; }
.slideshow-stage {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-h));
  min-height: 480px;
  background: #0b0b0b;
  overflow: hidden;
  isolation: isolate;
}
.slideshow-stage:fullscreen,
.slideshow-stage.is-pseudo-fullscreen {
  width: 100vw;
  height: 100vh;
  min-height: 0;
  background: #000;
}
.slideshow-stage.is-pseudo-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 999;
}
body.slideshow-fullscreen { overflow: hidden; }
.slideshow-layer {
  position: absolute;
  inset: 0;
  background-color: #0b0b0b;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform-origin: center center;
  will-change: transform;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.slideshow-layer.is-active { opacity: 1; }
.slideshow-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 42%);
  pointer-events: none;
  z-index: 2;
}
.slideshow-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  text-align: center;
  padding: 0 60px;
  color: #fff;
  z-index: 3;
}
.slideshow-caption {
  font-size: 18px;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  min-height: 1.4em;
}
.slideshow-caption:empty { display: none; }
.slideshow-counter {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.slideshow-controls {
  position: absolute;
  right: 22px;
  bottom: 26px;
  display: flex;
  gap: 8px;
  z-index: 4;
}
.slideshow-controls button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.slideshow-controls button:hover { background: rgba(255, 255, 255, 0.18); }
.slideshow-controls button.is-off { opacity: 0.48; }
.slideshow-controls button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}
.slideshow-stage.is-paused .slideshow-layer { animation-play-state: paused !important; }
.slideshow-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
}
.slideshow-loader {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: radial-gradient(circle at 50% 44%, #1c1c1c 0%, #0a0a0a 68%);
  color: rgba(255, 255, 255, 0.72);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.slideshow-stage:not(.is-loading) .slideshow-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.slideshow-loader-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
}
.slideshow-loader-logo {
  display: block;
  width: 34px;
  height: auto;
}
.slideshow-loader-text {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.slideshow-loader-bar {
  position: relative;
  width: 128px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}
.slideshow-loader-bar::after {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  animation: slideshowLoad 1.25s ease-in-out infinite;
}
@keyframes slideshowLoad {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(340%); }
}
.slideshow-exit {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 7;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.slideshow-exit.is-visible { display: flex; }
.slideshow-exit:hover { background: rgba(255, 255, 255, 0.18); }
.slideshow-exit svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}
@media (max-width: 760px) {
  .slideshow-stage {
    height: 62vh;
    min-height: 360px;
  }
  .slideshow-overlay {
    bottom: 88px;
    padding: 0 20px;
  }
  .slideshow-caption { font-size: 15px; }
  .slideshow-controls {
    right: 50%;
    bottom: 20px;
    transform: translateX(50%);
  }
  .slideshow-controls button {
    width: 42px;
    height: 42px;
  }
}
/* Amazon-Photos-style slow push/pull with a diagonal pan toward a corner.
   The total zoom is 10%; the 4.5% pan stays inside that margin at all times. */
@keyframes kenburnsZoomIn {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(var(--kb-x, 4.3%), var(--kb-y, 4.3%), 0); }
}
@keyframes kenburnsZoomOut {
  from { transform: scale(1.1) translate3d(var(--kb-x, 4.3%), var(--kb-y, 4.3%), 0); }
  to { transform: scale(1) translate3d(0, 0, 0); }
}
/* Portrait photos become much taller than the stage once background-size:cover
   fills the width. Instead of the diagonal corner move, pan the visible window
   vertically (bottom→top or top→bottom, chosen per slide in slideshow.js).
   --kb-pan-start/--kb-pan-end are derived from the real image overflow, so the
   movement speed stays consistent and no edge is ever exposed. */
@keyframes kenburnsPan {
  from { background-position: center var(--kb-pan-start, 66%); }
  to { background-position: center var(--kb-pan-end, 34%); }
}

/* ───────────────────────── Shop ───────────────────────── */
.shop-section { padding: 60px 0 90px; }
/* Reserve the shop content height before the client renders it, so the
   quote, print examples and FAQ below do not jump when /api/shop resolves. */
#shop { min-height: 1567px; }
@media (max-width: 1199px) { #shop { min-height: 1403px; } }
@media (max-width: 900px) { #shop { min-height: 1735px; } }
@media (max-width: 760px) { #shop { min-height: 2462px; } }
@media (max-width: 560px) { #shop { min-height: 2902px; } }
.shop-wrap { max-width: 1200px; }
.shop-intro {
  max-width: 760px;
  margin: 0 0 44px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-body);
}
.shop-collections { margin: 0 0 56px; }
.shop-collections-head { max-width: 760px; margin-bottom: 22px; }
.shop-collections-head h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-fg);
}
.shop-collections-intro { margin: 0; font-size: 15px; line-height: 1.7; color: var(--color-body); }
.shop-collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.shop-collection-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-ph-bg);
  border: 1px solid var(--color-line);
  text-decoration: none;
}
.shop-collection-media { position: absolute; inset: 0; }
.shop-collection-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.shop-collection-card:hover .shop-collection-media img { transform: scale(1.06); }
.shop-collection-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 64px 18px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.08) 72%, transparent);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.shop-collection-overlay strong { font-size: 21px; font-weight: 400; letter-spacing: 0.03em; }
.shop-collection-overlay em { font-style: normal; font-size: 13px; opacity: 0.86; }
@media (max-width: 900px) {
  .shop-collections-grid { grid-template-columns: 1fr; }
  .shop-collection-card { aspect-ratio: 16 / 10; }
}
.shop-faq {
  max-width: 760px;
  margin: 56px 0 0;
  padding-top: 40px;
  border-top: 1px solid var(--color-line);
}
.shop-faq h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.shop-faq-item {
  border-bottom: 1px solid var(--color-line);
  padding: 14px 0;
}
.shop-faq-item summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-fg);
}
.shop-faq-item p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-body);
}
.home-testimonials { padding: 0 0 80px; }
.home-testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 34px;
  border-top: 1px solid var(--color-line);
}
.home-testimonials h2 {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
}
.shop-testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.shop-testimonial {
  flex: 0 1 340px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--color-line);
}
.shop-testimonial blockquote {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-body);
}
.shop-testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.shop-testimonial figcaption strong {
  font-size: 13px;
  color: var(--color-fg);
}
.shop-testimonial figcaption span {
  font-size: 12px;
  color: var(--color-muted);
}
@media (max-width: 900px) {
  .shop-testimonial { flex: 1 1 100%; }
}
.shop-print-examples {
  margin-top: 64px;
  margin-bottom: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--color-line);
}
.shop-print-examples-head { max-width: 760px; margin-bottom: 28px; }
.shop-print-examples h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-fg);
}
.shop-print-examples-intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-body);
}
.shop-print-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.shop-print-legend li {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.shop-print-legend strong { color: var(--color-fg); font-weight: 600; }
.shop-print-legend span { color: var(--color-muted); }
.shop-print-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.shop-print-card {
  width: 100%;
  margin: 0;
  border: 1px solid var(--color-line);
  background: var(--color-bg);
}
.shop-print-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.shop-print-card figcaption { padding: 18px 20px 22px; }
.shop-print-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-fg);
}
.shop-print-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-body);
}
.shop-print-examples-note {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-muted);
}
@media (max-width: 900px) {
  .shop-print-grid { grid-template-columns: 1fr; }
}
.shop-quote {
  max-width: 760px;
  margin: 56px 0 0;
  padding-top: 40px;
  border-top: 1px solid var(--color-line);
  text-align: center;
}
.shop-quote blockquote {
  margin: 0;
  font-size: 26px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--color-fg);
}
.shop-quote figcaption {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}
@media (max-width: 560px) {
  .shop-quote blockquote { font-size: 21px; }
}
.shop-layout.has-quote .shop-quote {
  grid-area: quote;
  max-width: 760px;
  margin: 24px auto 0;
  padding: 40px 8px 0;
  align-self: start;
  justify-self: center;
}
.shop-sandbox-note {
  max-width: 760px;
  margin: 0 0 24px;
  padding: 12px 16px;
  border: 1px solid var(--color-line);
  background: var(--color-ph-bg);
  color: var(--color-fg);
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}
.shop-head h1 {
  font-size: 26px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-fg);
  margin-bottom: 18px;
  text-align: left;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}
.shop-photo {
  position: relative;
  border: none;
  background: var(--color-ph-bg);
  padding: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  cursor: url("/images/focus-cursor.png") 16 16, zoom-in;
  display: block;
}
.shop-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.shop-photo:hover img { transform: scale(1.05); }
.shop-photo-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 16px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  color: #fff;
  font-size: 14px;
  text-align: left;
}
.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "cart checkout";
  gap: 24px;
  align-items: start;
  justify-items: stretch;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--color-line);
}
.shop-layout.has-quote {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "cart checkout"
    "quote quote";
}
.shop-cart { grid-area: cart; }
.shop-checkout { grid-area: checkout; }
/* Hide the empty cart/checkout area until the first item is added. */
.shop-layout:has(.shop-checkout:empty) { display: none; }
.shop-cart, .shop-checkout {
  border: 1px solid var(--color-line);
  padding: 24px;
  min-width: 0;
  width: 100%;
}
.shop-cart h2, .shop-checkout h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-fg);
  margin-bottom: 16px;
}
.shop-cart-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.shop-cart-item { display: flex; align-items: center; gap: 12px; }
.shop-cart-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
.shop-cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 16px;
  row-gap: 10px;
}
.shop-cart-item-info strong {
  flex: 0 0 100%;
  display: block;
  font-size: 13px;
  color: var(--color-fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-cart-item-info span { font-size: 12px; color: var(--color-muted); }
.shop-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}
.shop-cart-qty-btn {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--color-line);
  background: none;
  color: var(--color-fg);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.shop-cart-qty-btn:hover { border-color: var(--color-fg); }
.shop-cart-item-info .shop-cart-qty-value {
  min-width: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--color-fg);
}
.shop-cart-item-price { font-size: 13px; color: var(--color-fg); }
.shop-cart-remove { border: none; background: none; color: var(--color-muted); font-size: 18px; cursor: pointer; }
.shop-cart-remove:hover { color: var(--color-error); }
.shop-cart-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-line);
  padding-top: 14px;
  font-size: 14px;
  color: var(--color-fg);
}
.shop-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.shop-fields-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.shop-fields input, .shop-fields textarea {
  width: 100%;
  border: 1px solid var(--color-field-border);
  background: transparent;
  color: var(--color-body);
  font-family: inherit;
  font-size: 14px;
  padding: 11px 13px;
  outline: none;
}
.shop-fields textarea { resize: vertical; }
.shop-fields input[readonly] {
  background: var(--color-ph-bg);
  color: var(--color-muted);
}
.shop-empty { color: var(--color-muted); padding: 30px 0; text-align: center; }
.shop-open-prints { margin-top: 0; }
.shop-open-prints.has-exclusive {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--color-line);
}
.shop-section-head { max-width: 760px; margin-bottom: 26px; }
.shop-section-head h2 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-fg);
  margin-bottom: 12px;
}
.shop-section-intro {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-body);
}
.shop-shipping-general {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}
.shop-paypal-error { margin: 14px 0 0; }
.shop-paypal-error .shop-empty { margin: 0 0 10px; padding: 0; text-align: left; }
.shop-paypal-retry {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--color-fg);
  background: none;
  color: var(--color-fg);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.shop-paypal-retry:hover { background: var(--color-fg); color: var(--color-bg); }
.shop-cart-subtotal { border-top: none; padding-top: 8px; }
.shop-cart-grand { font-size: 15px; }
.shop-shipping-note { font-size: 12px; color: var(--color-muted); margin-top: 6px; }
.shop-germany-only { margin: -2px 0 14px; }
#paypalButtonContainer {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
#paypalButtonContainer iframe,
#paypalButtonContainer .paypal-buttons {
  max-width: 100% !important;
}
.shop-legal-note { font-size: 12px; color: var(--color-muted); line-height: 1.6; margin-top: 14px; }
.shop-legal-note a { text-decoration: underline; text-underline-offset: 3px; }
.shop-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 4px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-body);
  cursor: pointer;
}
.shop-terms input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: var(--color-fg);
  cursor: pointer;
}
.shop-terms span { flex: 1 1 auto; }
.shop-terms a {
  color: var(--color-fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.exclusive-waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-line);
}
.exclusive-waitlist input {
  flex: 1 1 180px;
  min-width: 0;
  border: 1px solid var(--color-field-border);
  background: transparent;
  color: var(--color-body);
  font-family: inherit;
  font-size: 13px;
  padding: 8px 10px;
}
.exclusive-waitlist-status { flex-basis: 100%; font-size: 12px; min-height: 1em; }
.exclusive-waitlist-status.success { color: var(--color-success); }
.exclusive-waitlist-status.error { color: var(--color-error); }
.shop-thanks {
  border: 1px solid var(--color-line);
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
  color: var(--color-fg);
}
.shop-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.shop-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.shop-modal-card {
  position: relative;
  background: var(--color-bg);
  color: var(--color-body);
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px;
}
.shop-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: var(--color-fg);
  cursor: pointer;
}
.shop-modal-photo img {
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  background: var(--color-ph-bg);
}
.shop-modal-info h2 { font-size: 18px; font-weight: 400; color: var(--color-fg); margin: 16px 0; }
.shop-modal-details {
  display: inline-block;
  margin: -8px 0 16px;
  color: var(--color-fg);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.shop-product-list { display: flex; flex-direction: column; gap: 10px; }
.shop-product {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--color-line);
  padding-top: 10px;
}
.shop-product-name { font-size: 13px; color: var(--color-fg); }
.shop-product select, .shop-product input {
  border: 1px solid var(--color-field-border);
  background: transparent;
  color: var(--color-body);
  font-family: inherit;
  font-size: 13px;
  padding: 7px 9px;
  outline: none;
}
.shop-add {
  border: 1px solid var(--color-fg);
  background: none;
  color: var(--color-fg);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.shop-add:hover { background: var(--color-fg); color: var(--color-btn-fg); }

@media (max-width: 900px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; grid-template-areas: "cart" "checkout"; }
  .shop-layout.has-quote { grid-template-columns: 1fr; grid-template-areas: "cart" "checkout" "quote"; }
  .shop-layout.has-quote .shop-quote { max-width: 520px; padding: 32px 12px 0; }
  .journal-post-head h1 { font-size: 26px; }
}
@media (max-width: 560px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-product { grid-template-columns: 1fr; }
  .shop-fields-row { grid-template-columns: 1fr; }
  .slideshow-stage { height: 56vh; min-height: 330px; }
}

/* ───────────────────────── Exclusive editions ───────────────────────── */
.shop-exclusive {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.shop-exclusive-head { max-width: 760px; margin-bottom: 28px; }
.shop-exclusive-head h2 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-fg);
  margin-bottom: 14px;
}
.shop-exclusive-intro {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-body);
}
.exclusive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.exclusive-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-line);
  background: transparent;
}
.exclusive-cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg);
  padding: 12px;
  box-sizing: border-box;
  cursor: url("/images/focus-cursor.png") 16 16, zoom-in;
}
.exclusive-cover:focus-visible {
  outline: 2px solid var(--color-fg);
  outline-offset: 3px;
}
.exclusive-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s ease;
}
.exclusive-card:hover .exclusive-cover img { transform: scale(1.03); }
.exclusive-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 22px;
}
.exclusive-kind {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.exclusive-body h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-fg);
  margin: 6px 0 8px;
}
.exclusive-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-body);
}
.exclusive-format {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-top: 10px;
}
.exclusive-size-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.exclusive-size-field select {
  max-width: 100%;
  padding: 5px 7px;
  border: 1px solid var(--color-line);
  background: transparent;
  color: var(--color-fg);
  font: inherit;
  letter-spacing: 0;
}
.exclusive-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.exclusive-details li {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
}
.exclusive-details li::before { content: ""; margin-right: 0; }
.shop-editions-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.shop-editions-info li { display: flex; flex-direction: column; gap: 2px; max-width: 220px; }
.shop-editions-info strong {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-fg);
}
.shop-editions-info span { font-size: 13px; line-height: 1.5; color: var(--color-body); }
.exclusive-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--color-line);
}
.exclusive-price { font-size: 16px; color: var(--color-fg); }
.exclusive-add { display: inline-block; text-align: center; text-decoration: none; }
.exclusive-sold {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.shop-exclusive-note {
  max-width: 760px;
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-muted);
}
.exclusive-card.is-sold .exclusive-cover img { filter: grayscale(1); opacity: 0.6; }
@media (max-width: 760px) {
  .exclusive-grid { grid-template-columns: 1fr; }
}

/* ───────────────────────── Soft page transitions ───────────────────────── */
@keyframes pageContentEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pageContentLeave {
  from { opacity: 1; }
  to { opacity: 0; }
}
html.page-enter .site-main,
html.page-leave .site-main,
html.page-enter #site-footer,
html.page-leave #site-footer { will-change: opacity; }
html.page-enter .site-main,
html.page-enter #site-footer {
  animation: pageContentEnter var(--page-transition-duration, 450ms) ease both;
}
html.page-leave .site-main,
html.page-leave #site-footer {
  animation: pageContentLeave var(--page-transition-duration, 450ms) ease both;
}
html.page-leave .mobile-menu {
  animation: pageContentLeave var(--page-transition-duration, 450ms) ease both;
  pointer-events: none;
}
/* Block double clicks while the content is leaving, but keep the header
   itself visible and untouched. */
html.page-leave .site-main,
html.page-leave #site-footer { pointer-events: none; }
@supports (view-transition-name: root) {
  @media (prefers-reduced-motion: no-preference) {
    html.page-enter .site-main,
    html.page-enter #site-footer { animation: none; }
  }
}

/* ───────────────────────── Camera Simulator ───────────────────────── */
.sim-section { padding: 40px 0 90px; }
.sim-wrap { max-width: 1200px; }
.sim-page-head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}
.sim-title {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-fg);
}
.sim-intro {
  max-width: 620px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-body);
}
@media (max-width: 560px) {
  .sim-title { font-size: 22px; letter-spacing: 0.22em; }
  .sim-page-head { margin-bottom: 28px; }
}
.sim-disabled { color: var(--color-muted); text-align: center; padding: 60px 20px; }

.sim { display: flex; flex-direction: column; gap: 26px; }
.sim-top { display: grid; grid-template-columns: 1fr; gap: 18px; }

.sim-viewport {
  position: relative;
  background: #0a0a0a;
  border: 10px solid #1b1b1b;
  border-radius: 8px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.sim-frame {
  position: absolute;
  inset: 0;
  transform-origin: center center;
  transition: transform 0.25s ease;
}
.sim-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.2s ease;
}
.sim-blur {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, transparent 0, transparent 26%, #000 80%);
  mask-image: radial-gradient(circle at 50% 45%, transparent 0, transparent 26%, #000 80%);
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.sim-noise {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  mix-blend-mode: overlay;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.sim-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}
.sim-flash {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
}
.sim-flash.is-on { animation: simFlash 0.35s ease; }
@keyframes simFlash {
  0% { opacity: 0.95; }
  100% { opacity: 0; }
}

.sim-meter {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.sim-meter-label { opacity: 0.8; white-space: nowrap; }
.sim-meter-scale {
  position: relative;
  flex: 1;
  height: 14px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.25));
  border-radius: 7px;
}
.sim-meter-zero {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 9px;
  opacity: 0.9;
}
.sim-meter-needle {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}
.sim-readout {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.sim-capture-note {
  position: absolute;
  left: 14px;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
  padding: 10px 14px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.sim-capture-note.is-visible { opacity: 1; transform: translateY(0); }

.sim-help {
  border: 1px solid var(--color-line);
  background: var(--color-bg);
  color: var(--color-body);
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
  min-height: 60px;
}
.sim-help p { margin: 0; }
.sim-help strong { color: var(--color-fg); }

.sim-controls {
  border: 1px solid var(--color-line);
  background: var(--color-bg);
  padding: 22px 24px;
  border-radius: 10px;
}
.sim-modes { display: flex; gap: 8px; margin-bottom: 20px; }
.sim-mode {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--color-field-border);
  background: none;
  color: var(--color-fg);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.sim-mode:hover { border-color: var(--color-fg); }
.sim-mode.is-active { background: var(--color-fg); color: var(--color-btn-fg); border-color: var(--color-fg); }

.sim-sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; }
.sim-slider-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.sim-slider-head label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-muted); }
.sim-slider-val { font-size: 13px; font-weight: 700; color: var(--color-fg); }
.sim-slider input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--color-line);
  outline: none;
}
.sim-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-fg);
  cursor: pointer;
  border: 2px solid var(--color-bg);
  box-shadow: 0 0 0 1px var(--color-fg);
}
.sim-slider input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-fg);
  cursor: pointer;
  border: 2px solid var(--color-bg);
}

.sim-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
}
.sim-shutter {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid #333;
  background: #d9d9d9;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease, background 0.2s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.sim-shutter span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2b2b2b;
  transition: background 0.2s ease;
}
.sim-shutter:hover span { background: #111; }
.sim-shutter:active { transform: scale(0.94); }

.sim-motifs {
  border: 1px solid var(--color-line);
  background: var(--color-bg);
  padding: 18px 20px 20px;
  border-radius: 10px;
}
.sim-motifs-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.sim-motifs-head h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-fg);
}
.sim-motifs-current {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--color-muted);
}
.sim-motif-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 14px;
  margin-bottom: 4px;
  scrollbar-width: auto;
  scrollbar-color: var(--color-muted) var(--color-line);
}
.sim-motif-grid::-webkit-scrollbar { height: 10px; }
.sim-motif-grid::-webkit-scrollbar-track {
  background: var(--color-line);
  border-radius: 999px;
}
.sim-motif-grid::-webkit-scrollbar-thumb {
  background: var(--color-muted);
  border-radius: 999px;
}
.sim-motif-grid::-webkit-scrollbar-thumb:hover { background: var(--color-fg); }
.sim-motif {
  flex: 0 0 110px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: none;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sim-motif:hover { border-color: var(--color-fg); }
.sim-motif.is-active { border-color: var(--color-fg); box-shadow: 0 0 0 1px var(--color-fg); }
.sim-motif img { display: block; width: 100%; height: 70px; object-fit: cover; }

@media (max-width: 720px) {
  .sim-sliders { grid-template-columns: 1fr; }
  .sim-viewport { border-width: 6px; }
  .sim-motif { flex-basis: 92px; }
  .sim-motif img { height: 60px; }
}

/* ───────────────────────── Nav dropdown (Genre) ───────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  font-family: inherit;
}
.nav-dropdown-caret { display: inline-flex; line-height: 0; }
.nav-dropdown-caret svg { width: 12px; height: 12px; fill: currentColor; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  background: var(--color-header-bg);
  border: 1px solid var(--color-line);
  box-shadow: 0 14px 34px var(--color-header-shadow);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 55;
}
.nav-dropdown:not(.no-initial-hover):hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown.is-closing .nav-dropdown-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.nav-dropdown-toggle.is-active { opacity: 1; }
.header-nav:not(.mobile-nav) .nav-sub-link::before,
.header-nav:not(.mobile-nav) .nav-sub-link::after {
  display: none !important;
}
.header-nav:not(.mobile-nav) .nav-sub-link.is-active,
.header-nav:not(.mobile-nav) .nav-sub-link:hover {
  background: rgba(127, 127, 127, 0.14);
  color: var(--color-fg);
}
.mobile-nav .nav-dropdown-toggle.is-active::before,
.mobile-nav .nav-dropdown-toggle.is-active::after {
  display: none;
}
.nav-sub-link {
  display: block;
  padding: 8px 22px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
}
.nav-sub-link:hover { background: rgba(127, 127, 127, 0.12); }

@media (max-width: 1120px) {
  .mobile-nav .nav-dropdown { position: static; text-align: center; }
  .mobile-nav .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    min-width: 0;
    padding: 4px 0;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .mobile-nav .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
}

/* ───────────────────────── Journal meta + comments ───────────────────────── */
.journal-card-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.journal-card-meta time,
.journal-meta time,
.journal-reading {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.journal-reading { font-weight: 700; }
.journal-meta { display: flex; align-items: center; gap: 16px; }

/* Project gallery comments */
.gallery-comments { padding: 0 0 90px; }
.gallery-comments-inner { max-width: 820px; margin: 0 auto; }

.journal-comments { margin-top: 50px; border-top: 1px solid var(--color-line); padding-top: 30px; }
.journal-comments h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-fg);
  margin-bottom: 20px;
}
.comments-list { margin-bottom: 26px; }
.comment { border-bottom: 1px solid var(--color-line); padding: 14px 0; }
.comment:last-child { border-bottom: none; }
.comment-children { margin-left: 22px; border-left: 2px solid var(--color-line); padding-left: 14px; }
.comment-children .comment { border-bottom: 1px solid var(--color-line); }
.comment-children .comment:last-child { border-bottom: none; }
.comment-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.comment-head strong { color: var(--color-fg); font-size: 14px; }
.comment-date { font-size: 12px; color: var(--color-muted); }
.comment-body { font-size: 14px; color: var(--color-body); white-space: pre-wrap; word-break: break-word; }
.comment-reply {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  cursor: pointer;
  margin-top: 8px;
}
.comment-reply:hover { color: var(--color-fg); }
.comment-empty { color: var(--color-muted); font-style: italic; }
.comment-form-note { font-size: 13px; color: var(--color-body); margin-bottom: 12px; }
.comment-cancel-reply {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-muted);
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
}
.comment-status { font-size: 13px; margin-top: 10px; min-height: 1.2em; }
.comment-status.error { color: var(--color-error); }
.comment-status.success { color: var(--color-success); }
.comment-form .form-row { margin-bottom: 16px; }
.comment-form .form-field { margin-bottom: 16px; }

/* ───────────────────────── Search ───────────────────────── */
.search-section { padding: 60px 0 90px; }
.search-wrap { max-width: 900px; }
.search-results { min-height: 45vh; }
.search-title {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-fg);
  margin-bottom: 30px;
  text-align: center;
}
.search-form { display: flex; gap: 10px; margin-bottom: 34px; }
.search-form input {
  flex: 1;
  border: 1px solid var(--color-field-border);
  background: transparent;
  color: var(--color-body);
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
}
.search-form input:focus { border-color: var(--color-fg); }
.search-form button {
  border: 1px solid var(--color-submit-border);
  background: none;
  color: var(--color-fg);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.search-form button:hover { background: var(--color-fg); color: var(--color-btn-fg); border-color: var(--color-fg); }
.search-group-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-fg);
  margin: 26px 0 12px;
}
.search-result {
  display: block;
  border-bottom: 1px solid var(--color-line);
  padding: 16px 0;
}
.search-result strong { display: block; font-size: 16px; color: var(--color-fg); margin-bottom: 4px; }
.search-result-date { font-size: 12px; color: var(--color-muted); letter-spacing: 0.08em; }
.search-result p { font-size: 14px; color: var(--color-body); margin-top: 6px; }
.search-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.search-editions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.search-edition {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--color-line);
  color: var(--color-fg);
  transition: border-color 0.25s ease;
}
.search-edition:hover { border-color: var(--color-fg); }
.search-edition img { width: 104px; height: 78px; object-fit: cover; flex: 0 0 auto; background: var(--color-ph-bg); }
.search-edition-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.search-edition-body strong { font-size: 15px; font-weight: 500; line-height: 1.35; }
.search-edition-meta { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); }
.search-edition-price { font-size: 13px; color: var(--color-fg); }
@media (max-width: 767px) {
  .search-editions { grid-template-columns: 1fr; }
  .search-edition img { width: 88px; height: 66px; }
}
.search-photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-ph-bg); border: none; padding: 0; cursor: zoom-in; }
.search-photo img { width: 100%; height: 100%; object-fit: cover; }
.search-photo span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 12px 8px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff;
  font-size: 13px;
}
.search-empty { color: var(--color-muted); padding: 30px 0; text-align: center; }

/* Search icon: outline (magnifying glass), not filled */
.search-link svg { fill: none; stroke: currentColor; }

@media (max-width: 560px) {
  .search-photos { grid-template-columns: repeat(2, 1fr); }
}

/* Honeypot field (hidden, catches bots) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ───────────────────────── Journal related posts ───────────────────────── */
.journal-related { margin-top: 44px; }
.journal-related h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-fg);
  margin-bottom: 18px;
}
.journal-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.journal-related-card { display: block; }
.journal-related-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 10px; background: var(--color-ph-bg); }
.journal-related-card strong { display: block; font-size: 14px; color: var(--color-fg); font-weight: 400; }
.journal-related-card time { font-size: 12px; color: var(--color-muted); }

.journal-cover img.is-zoomable,
.journal-post-body img.is-zoomable {
  cursor: url("/images/focus-cursor.png") 16 16, zoom-in;
}

@media (max-width: 720px) {
  .journal-related-grid { grid-template-columns: 1fr; }
}

/* ── Single photo / product detail ───────────────────────────────────── */
.photo-section { padding: 48px 0 90px; }
.photo-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 56px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}
.photo-detail-media { min-width: 0; }
.photo-detail-media picture { display: contents; }
.photo-detail-media img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--color-ph-bg);
}
.photo-detail-info { padding-top: 4px; }
.photo-detail-gallery {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.photo-detail-gallery a { color: var(--color-fg); text-decoration: underline; text-underline-offset: 3px; }
.photo-detail-info h1 {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-fg);
}
.photo-detail-desc {
  margin: 18px 0 0;
  color: var(--color-body);
  font-size: 15px;
  line-height: 1.7;
}
.photo-related {
  max-width: 1180px;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--color-line);
}
.photo-related h2 {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.photo-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.photo-related-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.photo-related-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--color-ph-bg);
}
.photo-related-card span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-muted);
}
@media (max-width: 720px) {
  .photo-related-grid { grid-template-columns: 1fr; }
}
.photo-exclusive-note {
  margin: 18px 0 24px;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  background: var(--color-ph-bg);
  color: var(--color-body);
  font-size: 14px;
  line-height: 1.65;
}
.photo-exclusive-note a {
  color: var(--color-fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.photo-exclusive-offer {
  margin: 22px 0 26px;
  padding: 20px 20px 22px;
  border: 1px solid var(--color-fg);
  background: var(--color-ph-bg);
}
.photo-exclusive-offer h2 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.photo-exclusive-title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
  color: var(--color-fg);
}
.photo-exclusive-details {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  color: var(--color-body);
  font-size: 14px;
  line-height: 1.7;
}
.photo-exclusive-price {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-fg);
}
.photo-exclusive-cta {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--color-fg);
  background: var(--color-fg);
  color: var(--color-bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.photo-exclusive-cta:hover { opacity: 0.82; }
.photo-exclusive-sold {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--color-body);
}
.photo-exclusive-offer .photo-exclusive-note {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
}
.exclusive-card.is-highlighted {
  outline: 2px solid var(--color-fg);
  outline-offset: 4px;
}
.photo-buy {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
}
.photo-buy h2 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.photo-buy-from { margin: 0 0 16px; color: var(--color-muted); font-size: 13px; }
.photo-buy-controls { display: grid; gap: 12px; }
.photo-buy-controls label { display: grid; gap: 5px; }
.photo-buy-controls label span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.photo-buy-controls select,
.photo-buy-controls input {
  width: 100%;
  border: 1px solid var(--color-field-border);
  background: transparent;
  color: var(--color-body);
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
}
.photo-buy-controls button,
.photo-detail-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--color-fg);
  background: none;
  color: var(--color-fg);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.photo-buy-controls button:hover,
.photo-detail-back:hover { background: var(--color-fg); color: var(--color-bg); }
.photo-cart-link {
  display: inline-block;
  margin-top: 12px;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-fg);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.photo-cart-link:hover { color: var(--color-muted); }
.photo-detail-back { margin-top: 28px; }
.photo-license {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--color-line);
}
.photo-license h2 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.photo-license-intro {
  margin: 0 0 18px;
  color: var(--color-body);
  font-size: 14px;
  line-height: 1.65;
}
.photo-license-form { display: grid; gap: 13px; }
.photo-license-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.photo-license-form label { display: grid; gap: 5px; }
.photo-license-form label span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-field-label);
}
.photo-license-form input,
.photo-license-form textarea {
  width: 100%;
  border: 1px solid var(--color-field-border);
  background: transparent;
  color: var(--color-body);
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
}
.photo-license-form textarea { min-height: 98px; resize: vertical; }
.photo-license-form input:focus,
.photo-license-form textarea:focus { border-color: var(--color-fg); outline: none; }
.photo-license-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--color-fg);
  background: none;
  color: var(--color-fg);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.photo-license-form button:hover { background: var(--color-fg); color: var(--color-bg); }
.photo-license-form button:disabled { opacity: 0.55; cursor: wait; }
.photo-license-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
}
.photo-license-note.error { color: var(--color-error); }
.photo-license-note.success { color: var(--color-success); }
@media (max-width: 900px) {
  .photo-detail {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .photo-detail-media { display: contents; }
  .photo-detail-media img { order: 1; }
  .photo-detail-info { order: 2; }
  .photo-detail-desc { order: 3; }
  .photo-detail-info h1 { font-size: 24px; }
}
@media (max-width: 560px) {
  .photo-license-row { grid-template-columns: 1fr; }
}

/* ── Cart drawer ─────────────────────────────────────────────────────── */
body.cart-open { overflow: hidden; }
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.cart-drawer.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s ease, visibility 0s;
}
.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  background: var(--color-bg);
  color: var(--color-fg);
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.cart-drawer.is-open .cart-drawer-panel { transform: translateX(0); }
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--color-line);
}
.cart-drawer-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cart-drawer-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-fg);
  cursor: pointer;
}
.cart-drawer-close svg { width: 20px; height: 20px; fill: currentColor; }
.cart-drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 22px;
}
.cart-drawer-items { display: flex; flex-direction: column; }
.cart-drawer-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
}
.cart-drawer-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  flex: 0 0 auto;
  border-radius: 4px;
  background: var(--color-ph-bg);
}
.cart-drawer-item-info { flex: 1 1 auto; min-width: 0; }
.cart-drawer-item-info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-drawer-item-info > span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--color-muted);
}
.cart-drawer-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.cart-drawer-qty-btn {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--color-line);
  background: none;
  color: var(--color-fg);
  cursor: pointer;
}
.cart-drawer-qty-value { min-width: 16px; text-align: center; font-size: 12px; }
.cart-drawer-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.cart-drawer-price { font-size: 13px; white-space: nowrap; }
.cart-drawer-remove {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.cart-drawer-remove:hover { color: var(--color-fg); }
.cart-drawer-empty {
  color: var(--color-muted);
  margin: 10px 0 18px;
  text-align: center;
}
.cart-drawer-shoplink {
  display: block;
  text-align: center;
  color: var(--color-fg);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-drawer-footer {
  flex: 0 0 auto;
  padding: 16px 22px 22px;
  border-top: 1px solid var(--color-line);
}
.cart-drawer-footer .shop-shipping-note { margin: 0 0 10px; }
.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 13px;
}
.cart-drawer-total strong { font-weight: 600; }
.cart-drawer-grand {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--color-line);
  font-size: 15px;
}
.cart-drawer-checkout {
  display: block;
  margin-top: 14px;
  padding: 13px 16px;
  border: 1px solid var(--color-fg);
  color: var(--color-fg);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
.cart-drawer-checkout:hover { background: var(--color-fg); color: var(--color-bg); }