  :root {
    --bg: #faf7f2;
    --bg-alt: #f1ebe2;
    --ink: #2e2822;
    --muted: #7a6f63;
    --line: #e2d9cc;
    --accent: #8a6f55;
    --accent-ink: #fff;
    --card: #ffffff;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Be Vietnam Pro", system-ui, sans-serif;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #1c1916; --bg-alt: #24201c; --ink: #efe8de; --muted: #b0a596;
      --line: #3a342d; --accent: #c9a985; --accent-ink: #1c1916; --card: #2a2520;
    }
  }
  :root[data-theme="dark"] {
    --bg: #1c1916; --bg-alt: #24201c; --ink: #efe8de; --muted: #b0a596;
    --line: #3a342d; --accent: #c9a985; --accent-ink: #1c1916; --card: #2a2520;
  }
  * { box-sizing: border-box; margin: 0; }
  html { scroll-behavior: smooth; }
  body { background: var(--bg); color: var(--ink); font: 300 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
  img { display: block; max-width: 100%; }
  a { color: inherit; }
  .wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
  @media (max-width: 600px) { .wrap { padding: 0 16px; } }

  /* Header */
  header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
  .logo { font: 500 28px/1 var(--serif); letter-spacing: .02em; text-decoration: none; }
  .nav ul { display: flex; gap: 32px; list-style: none; padding: 0; }
  .nav ul a { text-decoration: none; font-size: 14px; letter-spacing: .06em; color: var(--muted); transition: color .2s; }
  .nav ul a:hover { color: var(--ink); }
  .btn { display: inline-block; padding: 12px 26px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-size: 14px; font-weight: 400; letter-spacing: .04em; transition: opacity .2s; }
  .btn:hover { opacity: .88; }
  .btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
  .nav .btn { padding: 9px 20px; }
  @media (max-width: 760px) { .nav ul { display: none; } }

  /* Hero */
  .hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
  .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,24,18,.55), rgba(30,24,18,.05) 55%); }
  .hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 72px; color: #fff; }
  .eyebrow { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; opacity: .85; }
  .hero h1 { font: 400 clamp(48px, 8vw, 96px)/1 var(--serif); margin: 14px 0 18px; }
  .hero p { max-width: 460px; font-size: 17px; opacity: .92; margin-bottom: 28px; }
  .hero .btn { background: #fff; color: #2e2822; }

  section { padding: 104px 0; }
  @media (max-width: 600px) { section { padding: 72px 0; } }
  h2 { font: 400 clamp(36px, 5vw, 52px)/1.1 var(--serif); margin-bottom: 18px; }
  .lead { color: var(--muted); max-width: 560px; }
  .section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
  .section-head .eyebrow { color: var(--accent); opacity: 1; margin-bottom: 10px; }

  /* Story */
  .story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
  .story img { border-radius: 4px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
  .story blockquote { font: italic 400 24px/1.5 var(--serif); border-left: 2px solid var(--accent); padding-left: 22px; margin: 28px 0; }
  .story p + p { margin-top: 14px; }
  @media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 40px; } }

  /* Collections */
  .alt { background: var(--bg-alt); }
  .cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .card { background: var(--card); border-radius: 4px; overflow: hidden; }
  .card .ph { aspect-ratio: 4/5; overflow: hidden; }
  .card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
  .card:hover .ph img { transform: scale(1.04); }
  .card .body { padding: 22px 24px 26px; }
  .card h3 { font: 500 26px/1.2 var(--serif); margin-bottom: 6px; }
  .card p { color: var(--muted); font-size: 15px; }
  @media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

  /* Values */
  .values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--line); padding-top: 48px; margin-top: 72px; }
  .values h4 { font: 500 20px/1.3 var(--serif); margin-bottom: 6px; }
  .values p { color: var(--muted); font-size: 15px; }
  .values span { display: block; font: 400 14px var(--serif); color: var(--accent); margin-bottom: 10px; letter-spacing: .1em; }
  @media (max-width: 760px) { .values { grid-template-columns: 1fr; gap: 28px; } }

  /* Gallery */
  .gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 1; overflow: hidden; border-radius: 3px; }
  .gallery img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
  .gallery button:hover img { opacity: .85; }
  .gallery .wide { grid-column: span 2; grid-row: span 2; }
  @media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
  dialog { margin: auto; border: 0; padding: 0; overflow: visible; background: transparent; max-width: 92vw; max-height: 92vh; }
  dialog::backdrop { background: rgba(20,16,12,.85); }
  dialog img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 4px; cursor: zoom-out; }

  /* Visit */
  .visit { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: stretch; }
  .info dl { margin: 28px 0 32px; }
  .info dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-top: 20px; }
  .info dd { margin: 4px 0 0; font-size: 17px; }
  .info .actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .visual { display: grid; gap: 16px; }
  .visual > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
  .map { min-height: 300px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
  .map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; filter: grayscale(.35) sepia(.12); }
  @media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

  footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
  footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  footer .logo { font-size: 22px; color: var(--ink); }

  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

  /* ---------- Subpages ---------- */
  .nav ul a[aria-current] { color: var(--ink); }
  .page-head { padding: 72px 0 24px; }
  .page-head h1 { font: 400 clamp(40px, 6vw, 64px)/1.05 var(--serif); margin: 10px 0 14px; }
  .page-head .eyebrow { color: var(--accent); }
  section.tight { padding: 24px 0 96px; }
  .filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
  .filters button { font: 400 14px var(--sans); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; transition: all .2s; }
  .filters button:hover { color: var(--ink); border-color: var(--accent); }
  .filters button.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  .lib-count { color: var(--muted); font-size: 14px; margin: -12px 0 16px; }
  .masonry { columns: 4 240px; column-gap: 12px; }
  @media (max-width: 600px) { .masonry { columns: 2; column-gap: 8px; } .masonry button { margin-bottom: 8px; } }
  .masonry button { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: var(--bg-alt); border-radius: 3px; overflow: hidden; cursor: zoom-in; break-inside: avoid; }
  .masonry img { width: 100%; height: auto; transition: opacity .3s; }
  .masonry button:hover img { opacity: .85; }
  .more { text-align: center; margin-top: 24px; }
  .empty { color: var(--muted); padding: 40px 0; text-align: center; }

  /* Post cards */
  .pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
  .pgrid.three { grid-template-columns: repeat(3, 1fr); }
  @media (max-width: 860px) { .pgrid.three { grid-template-columns: 1fr; max-width: 480px; } }
  .pcard { display: flex; flex-direction: column; background: var(--card); border-radius: 4px; overflow: hidden; text-decoration: none; transition: transform .3s; }
  .pcard:hover { transform: translateY(-3px); }
  .pcard[hidden] { display: none; }
  .pcard .ph { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
  .pcard .ph img { width: 100%; height: 100%; object-fit: cover; }
  .ph-empty { display: grid; place-items: center; font: italic 28px var(--serif); color: var(--accent); }
  .pcard .body { padding: 18px 20px 22px; position: relative; flex: 1; }
  .pcard time { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
  .pcard h3 { font: 500 22px/1.25 var(--serif); margin: 6px 0 8px; }
  .pcard p { color: var(--muted); font-size: 14px; line-height: 1.6; }
  .pcard .count { position: absolute; top: -34px; right: 12px; background: rgba(20,16,12,.65); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; }

  /* Post page */
  .post { max-width: 820px; padding-top: 48px; padding-bottom: 96px; }
  .back { display: inline-block; color: var(--muted); font-size: 14px; text-decoration: none; margin-bottom: 24px; }
  .back:hover { color: var(--ink); }
  .post h1 { font: 400 clamp(34px, 5vw, 52px)/1.12 var(--serif); margin-bottom: 12px; }
  .post-meta { color: var(--accent); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
  .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
  .chip { font-size: 12px; padding: 4px 12px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); }
  .chip.coll { background: var(--accent); color: var(--accent-ink); }
  .post-body { font-size: 17px; line-height: 1.85; }
  .post-body p { margin-bottom: 18px; }
  .post-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 36px 0; }
  .post-photos button { padding: 0; border: 0; background: var(--bg-alt); aspect-ratio: 4/5; overflow: hidden; border-radius: 3px; cursor: zoom-in; }
  .post-photos img { width: 100%; height: 100%; object-fit: cover; }
  .cta-box { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--bg-alt); padding: 28px 32px; border-radius: 6px; margin: 40px 0; }
  .cta-box h3 { font: 500 24px var(--serif); }
  .cta-box p { color: var(--muted); font-size: 15px; }
  .post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--line); padding-top: 28px; }
  .post-nav a { text-decoration: none; font: 500 19px/1.3 var(--serif); }
  .post-nav a.next { text-align: right; }
  .post-nav small { display: block; font: 400 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
  @media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav a.next { text-align: left; } }

  /* Lightbox */
  dialog.lb { margin: auto; border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
  dialog.lb::backdrop { background: rgba(20,16,12,.92); }
  .lb figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px 72px; }
  .lb img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 3px; }
  .lb figcaption { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: center; color: #e9e2d8; font-size: 14px; }
  .lb figcaption a { color: #fff; }
  .lb figcaption .lb-ask { background: #fff; color: #2e2822; text-decoration: none; padding: 6px 16px; border-radius: 999px; }
  .lb-nav, .lb-x { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border-radius: 999px; font: 300 32px/1 var(--sans); width: 48px; height: 48px; }
  .lb-nav:hover, .lb-x:hover { background: rgba(255,255,255,.25); }
  .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
  .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
  .lb-x { top: 14px; right: 14px; font-size: 28px; }
  @media (max-width: 600px) { .lb figure { padding: 60px 8px 24px; } .lb-nav { top: auto; bottom: 14px; transform: none; } }

  /* ---------- Post page v2 (editorial) ---------- */
  .hero2 { position: relative; height: min(78vh, 820px); min-height: 360px; overflow: hidden; background: var(--bg-alt); }
  .hero2 button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
  .hero2 img { width: 100%; height: 100%; object-fit: cover; animation: heroIn 1.4s ease-out; }
  @keyframes heroIn { from { transform: scale(1.04); } to { transform: none; } }
  .post2-head { position: relative; z-index: 1; max-width: 860px; margin: -120px auto 0; background: var(--bg); padding: 44px 56px 8px; border-radius: 6px 6px 0 0; text-align: center; }
  .post2-head .back { margin-bottom: 18px; }
  .post2-head .post-meta { margin-bottom: 14px; }
  .post2-head h1 { font: 400 clamp(36px, 5.2vw, 60px)/1.08 var(--serif); margin: 0 0 18px; text-wrap: balance; }
  .post2-head .chips { justify-content: center; margin-bottom: 8px; }
  .post2-body { max-width: 680px; margin: 0 auto; padding: 28px 24px 8px; font-size: 19px; line-height: 1.9; }
  .post2-body p:first-child::first-letter { float: left; font: 400 76px/0.82 var(--serif); padding: 8px 12px 0 0; color: var(--accent); }
  .post2-body p:first-child { font-size: 21px; }
  .ed { max-width: 1160px; margin: 56px auto 0; padding: 0 24px; display: grid; gap: 16px; }
  .ed-row { display: grid; gap: 16px; }
  .ed-row.pair { grid-template-columns: 1fr 1fr; }
  .ed-row.trio { grid-template-columns: 1fr 1fr 1fr; }
  .ed-row.trio img { aspect-ratio: 3/4; object-fit: cover; height: 100%; }
  .ed-row.solo { max-width: 760px; margin: 0 auto; width: 100%; }
  .ed-row button { padding: 0; border: 0; background: var(--bg-alt); cursor: zoom-in; overflow: hidden; border-radius: 4px; display: block; }
  .ed-row img { width: 100%; height: auto; display: block; transition: transform .8s ease; }
  .ed-row.pair img { aspect-ratio: 4/5; object-fit: cover; height: 100%; }
  .ed-row button:hover img { transform: scale(1.02); }
  .post2-cta { max-width: 860px; margin: 56px auto 0; padding: 0 24px; }
  .inspo { padding: 88px 0 24px; }
  .inspo .eyebrow { color: var(--accent); margin-bottom: 8px; }
  .inspo h2 { margin-bottom: 28px; }
  .inspo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .inspo-item { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; text-decoration: none; background: var(--bg-alt); }
  .inspo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
  .inspo-item:hover img { transform: scale(1.05); }
  .inspo-item span { position: absolute; inset: auto 0 0 0; padding: 70px 16px 16px; color: #fff; font: 500 17px/1.3 var(--serif); background: linear-gradient(to top, rgba(20,16,12,.85) 0%, rgba(20,16,12,.55) 45%, transparent); text-shadow: 0 1px 6px rgba(0,0,0,.35); }
  .rel { padding: 72px 0 24px; }
  .rel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
  .rel-head h2 { margin: 0; }
  .rel-head a { color: var(--muted); font-size: 14px; }
  .post-nav.wrap { margin-top: 48px; margin-bottom: 72px; }
  @media (max-width: 760px) {
    .hero2 { height: 62vh; }
    .post2-head { margin: -48px 12px 0; padding: 28px 20px 4px; }
    .post2-body { font-size: 17px; padding: 20px 18px 4px; }
    .post2-body p:first-child { font-size: 18px; }
    .ed { padding: 0 12px; gap: 10px; } .ed-row { gap: 10px; }
    .ed-row.trio { grid-template-columns: 1fr 1fr; } .ed-row.trio button:first-child { grid-column: span 2; } .ed-row.trio button:first-child img { aspect-ratio: 4/3; }
    .inspo-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (prefers-reduced-motion: reduce) { .hero2 img { animation: none; } }
