/* Jenff visual refinement · 2026-09-11.
   Keep the approved palette, imagery, typography and editorial voice.
   Loaded after the existing site, account and artwork styles. */
:root {
  --detail-line: rgba(21, 61, 131, .18);
  --detail-muted: #485d77;
  --detail-tint: rgba(21, 61, 131, .055);
  --detail-space: clamp(48px, 5.5vw, 88px);
  --detail-gutter: max(4.5%, calc((100% - 1560px) / 2));
  --detail-speed: 180ms;
}
body { text-underline-offset: .22em; }
::selection { background: var(--butter); color: var(--ink); }
h1, h2, h3 { text-wrap: balance; }
button, input, textarea, select { accent-color: var(--ink); }
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.topbar {
  padding-inline: var(--detail-gutter);
  box-shadow: 0 1px 0 var(--detail-line);
}
.topbar nav { gap: clamp(24px, 2.6vw, 44px); }
.topbar nav a {
  min-height: 48px;
  justify-content: center;
  position: relative;
}
.topbar nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--detail-speed) ease;
}
.topbar nav a[aria-current]::after { transform: scaleX(1); }
.tools { gap: 12px; flex-shrink: 0; }
.tools :is(a, button) { border-radius: 50%; transition: background var(--detail-speed); }
.tools [aria-expanded="true"] { background: var(--detail-tint); }
.eyebrow { font-size: 11px; letter-spacing: .16em; }
.hero-words h1 { line-height: 1.38; letter-spacing: .02em; }
.hero-caption { font-size: 12px; line-height: 1.8; width: fit-content; }
.hero-bottom { gap: 24px; padding-inline: var(--detail-gutter); }
.hero-bottom > a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.pill { min-height: 48px; gap: 28px; transition: background var(--detail-speed), box-shadow var(--detail-speed), transform var(--detail-speed); }
.pill.primary { box-shadow: 0 2px 5px #153d8310; }
.intro { padding-block: clamp(64px, 7vw, 112px); }
.intro h2, .founder h2, .community h2, .space-section h2 { line-height: 1.4; }
.intro > p:last-child, .founder p:not(.eyebrow), .community p { font-size: 15px; line-height: 1.95; }
.section { padding-inline: var(--detail-gutter); padding-block: var(--detail-space); }
.section-title { gap: 24px; margin-bottom: 32px; align-items: center; }
.section-title h2 { font-size: clamp(34px, 3.4vw, 50px); }
.section-title > a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.selection-grid { gap: 32px 24px; }
.object-media { outline: 1px solid #153d8310; outline-offset: -1px; }
.object-title { gap: 12px; }
.object-title h3 { line-height: 1.45; }
.object-title > span { flex-shrink: 0; font-size: 18px; }
.object-price, .detail-price, #bag-total { font-variant-numeric: tabular-nums; }
.object-price small { font-size: 12px; color: var(--detail-muted); opacity: 1; }
.status-chip { font-size: 12px; padding: 6px 14px; }
.image-note { font-size: 11px; }
.save-object { background: var(--cream); border-radius: 50%; box-shadow: 0 1px 4px #153d8310; }
.object-media:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
.story-card { padding: clamp(20px, 2vw, 30px); }
.story-card .eyebrow { font-size: 11px; letter-spacing: .12em; }
.story-foot { padding-top: 16px; border-top: 1px solid var(--detail-line); font-size: 13px; }
.founder, .community, .space-section { padding-block: var(--detail-space); }
.story-copy { max-width: 640px; }
.story-copy p { line-height: 2; }
.story-copy > p:last-child { margin-bottom: 0; }
.community-entry > p { opacity: 1; font-size: 12px; }
.wechat-card figcaption { font-size: 12px; }
.shop-heading { padding: var(--detail-space) var(--detail-gutter) 48px; }
.shop-heading h1 { font-size: clamp(36px, 4.8vw, 72px); line-height: 1.35; margin-block: 24px; }
.shop-heading > p:not(.eyebrow), .shop-heading > div { font-size: 15px; line-height: 1.9; }
.shop-heading > div { align-items: baseline; gap: 24px; flex-wrap: wrap; }
.shop-heading > div > a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }
/* Treat the directory introduction as one composed row, above the collection. */
#cms-catalog-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 32px;
  margin-inline: var(--detail-gutter);
  padding: 36px 0;
  border-bottom: 1px solid var(--detail-line);
}
#cms-catalog-entry > .eyebrow { grid-column: 1; }
#cms-catalog-entry h2 { font-size: 30px; line-height: 1.4; }
#cms-catalog-entry > p:not(.eyebrow) { grid-column: 1; font-size: 14px; }
#cms-catalog-entry > .pill { grid-column: 2; grid-row: 1 / 4; align-self: center; border: 1px solid var(--detail-line); }
.shop-section { padding-top: 32px; }
.filters { gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button { min-height: 44px; padding: 10px 20px; font-size: 13px; border: 1px solid transparent; }
.filters button[aria-pressed="true"] { border-color: var(--ink); }
#filter-empty { padding: 36px 0; line-height: 1.9; }
.breadcrumb { line-height: 1.8; }
.breadcrumb a { display: inline-flex; min-height: 44px; align-items: center; }
.product-info { top: calc(var(--site-header-height, 100px) + 24px); }
.product-info h1 { line-height: 1.35; }
.image-caption, .availability, .purchase-note, .detail-price small { font-size: 12px; line-height: 1.9; }
.product-info details { border-top: 1px solid var(--detail-line); }
.product-info details[open] { margin: 0; padding: 18px 0; background: transparent; }
.product-info summary { align-items: center; min-height: 44px; }
.product-info summary::-webkit-details-marker { display: none; }
.product-info details[open] summary > span { transform: rotate(45deg); }
.product-info details p, .product-info dl { font-size: 14px; }
.product-info dl { gap: 14px 20px; }
.product-info dt { color: var(--detail-muted); }
.product-story > p:not(.eyebrow) { max-width: 38em; }
.journal-list > a { gap: clamp(28px, 5vw, 80px); }
.journal-list h2 { line-height: 1.45; font-size: clamp(30px, 3vw, 44px); }
.journal-list > a > div > span { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; }
.article > header { padding-block: var(--detail-space); }
.article h1 { line-height: 1.4; }
.prose { max-width: 760px; font-size: 17px; line-height: 2; }
.prose h2 { line-height: 1.5; }
.prose .lead { font-size: 21px; }
.prose blockquote { border-left: 2px solid var(--detail-line); padding-left: 24px; line-height: 1.5; }
.space-heading { max-width: 620px; }
.opening-notice { line-height: 1.8; }
.season-list article { padding-block: 22px; margin: 0; border-top: 1px solid var(--detail-line); }
.season-list h3 { line-height: 1.4; }
.season-list article > span { font-size: 12px; padding-top: 5px; font-variant-numeric: tabular-nums; }
.visit-details { padding: clamp(24px, 3vw, 40px); }
.visit-details h3 { line-height: 1.5; }
.text-button { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; line-height: 1.7; }
footer { padding-top: var(--detail-space); }
.footer-bottom { font-size: 12px; }
.footer-bottom a { text-decoration: underline; text-decoration-color: var(--detail-line); }
/* Search and dialogs retain their existing behavior and content. */
#site-search input { min-height: 52px; font-size: clamp(16px, 1.7vw, 24px); border-bottom: 1px solid var(--detail-line); }
#site-search input::placeholder { color: var(--detail-muted); opacity: 1; }
#search-results { gap: 0; }
#search-results a { padding: 16px 4px; min-height: 52px; background: transparent; border-bottom: 1px solid var(--detail-line); line-height: 1.8; }
#search-results small { color: var(--detail-muted); }
#bag-drawer { padding: 32px; box-shadow: -12px 0 48px #0b183f12; }
.bag-drawer-header h2 { line-height: 1.4; }
.bag-close { flex-shrink: 0; border-radius: 50%; }
.bag-empty { padding-block: 48px; }
.bag-drawer-bottom > .text-button { margin-top: 16px; }
.member-login-panel h2, .member-section-heading h2 { line-height: 1.4; }
.member-field input, .member-field textarea { border-color: #8190a3; }
.member-field :is(input, textarea):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.member-consent, .member-field-note, .member-note { font-size: 12px; }
.member-tabs button { min-height: 48px; }
.member-card, .member-address { border-color: var(--detail-line); }
.member-stats strong { font-variant-numeric: tabular-nums; }
.member-unavailable { padding-inline: 24px; }
@media (hover: hover) and (pointer: fine) {
  .topbar nav a:hover::after { transform: scaleX(1); }
  .tools :is(a, button):hover, .bag-close:hover { background: var(--detail-tint); }
  .pill:hover { transform: translateY(-1px); }
  .object-media:hover img { transform: scale(1.025); }
  .object-title:hover h3, .text-button:hover, .hero-caption:hover { text-decoration: underline; text-decoration-thickness: 1px; }
  .filters button:not([aria-pressed="true"]):hover, #search-results a:hover { background: var(--detail-tint); }
}
@media (max-width: 1000px) and (min-width: 601px) {
  .intro { grid-template-columns: 1fr 1fr; gap: 28px; }
  .intro > .eyebrow { grid-column: 1 / -1; }
  .selection-grid, .shop-section #catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-layout { gap: 5%; }
  .product-info h1 { font-size: 36px; }
  .community { grid-template-columns: 1.2fr 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .topbar { height: auto; min-height: 100px; flex-wrap: wrap; gap: 8px; padding-block: 12px; }
  .topbar nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
  .topbar nav a { font-size: 15px; min-height: 44px; }
  .topbar nav a::after { bottom: 0; }
  .topbar .brand img { height: 36px; }
  .tools { gap: 4px; }
}
@media (max-width: 600px) {
  :root { --detail-gutter: 6%; --detail-space: 48px; }
  .hero-words { padding: 32px 6% 0; }
  .hero-words h1 { font-size: clamp(30px, 8.7vw, 36px); margin-block: 22px; }
  .hero-en { font-size: 48px; letter-spacing: -2px; }
  .hero-en em { padding-left: 28px; }
  .hero-words > .pill { margin-top: 28px; }
  .hero-caption { margin-top: 16px; }
  .hero-bottom { align-items: center; gap: 16px; font-size: 12px; }
  .hero-bottom > a { flex-shrink: 0; }
  .intro { padding: 48px 6%; gap: 24px; }
  .intro h2 { font-size: 34px; }
  .section-title { gap: 12px; align-items: flex-end; }
  .section-title small { font-size: 13px; margin: 8px 0 0; display: block; }
  .selection-grid { gap: 28px 16px; }
  .object-title h3 { font-size: 19px; }
  .object-title > span { font-size: 15px; }
  .object-price { font-size: 15px; }
  .object-price small { margin-left: 3px; font-size: 11px; }
  .status-chip { right: 10px; bottom: 10px; padding: 4px 10px; }
  .save-object { top: 6px; right: 6px; }
  .story-card { padding: 16px; }
  .story-card .eyebrow { font-size: 10px; letter-spacing: .06em; }
  #selection .story-card h3 { font-size: 23px; line-height: 1.45; }
  .founder, .community, .space-section { padding-inline: 6%; }
  .community-entry > p { max-width: 27em; }
  .shop-heading { padding-bottom: 36px; }
  .shop-heading h1 em { margin-top: 0; }
  #cms-catalog-entry { grid-template-columns: 1fr; gap: 12px; padding-block: 28px; }
  #cms-catalog-entry h2 { font-size: 28px; }
  #cms-catalog-entry > .pill { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 4px; }
  .filters { gap: 6px; }
  .filters button { font-size: 12px; padding: 10px 12px; }
  .product-layout { padding-inline: 6%; gap: 24px; }
  .product-info { position: static; }
  .product-info h1 { font-size: 34px; }
  .product-story { padding-inline: 6%; }
  .journal-list h2 { font-size: 30px; }
  .article h1 { font-size: 36px; }
  .prose { padding: 44px 6%; font-size: 16px; }
  .prose .lead { font-size: 19px; }
  .prose blockquote { font-size: 28px; margin-block: 40px; padding-left: 18px; }
  .space-heading { width: 100%; }
  .space-poem { font-size: 30px; }
  .space-door { opacity: .22; }
  .space-section { gap: 24px; }
  .space-section h2 { font-size: 32px; }
  .opening-notice { max-width: 100%; font-size: 12px; }
  .footer-top { padding-inline: 0; }
  .footer-bottom { margin-top: 36px; }
  #bag-drawer { padding: 24px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  #search-results small { display: block; }
  .member-field input, .member-field textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  /* Preserve directional arrows; suppress animated movement only. */
  .arrow-se { transform: rotate(90deg) !important; }
  .arrow-down { transform: rotate(135deg) !important; }
}
@media (prefers-reduced-transparency: reduce) {
  dialog::backdrop { background: #263750; }
}
@media (prefers-contrast: more) {
  :root { --detail-line: #536883; --member-line: #536883; }
  .eyebrow, .image-caption, .hero-caption { opacity: 1; }
}

/* Review refinements: align the editorial card with the adjacent image row. */
#selection .story-card { container-type: inline-size; padding: 0; }
#selection .story-card > a { position: relative; display: flex; flex-direction: column; }
#selection .story-card .eyebrow { position: absolute; top: clamp(16px, 8cqw, 30px); left: clamp(16px, 8cqw, 30px); }
#selection .story-card h3 {
  flex: none; height: 100cqw; margin: 0; padding: clamp(48px, 23cqw, 70px) clamp(16px, 8cqw, 30px) 12px;
  font-size: clamp(17px, 12cqw, 38px); line-height: 1.4;
}
#selection .story-foot { flex: 1; margin: 0 clamp(16px, 8cqw, 30px); padding: 16px 0; align-items: flex-start; }
#cms-catalog-entry > .pill { align-self: end; }
/* A single static underline carries search focus without a second box. */
#site-search input { transition: none; border-bottom: 1px solid var(--detail-line); }
#site-search input:focus, #site-search input:focus-visible { outline: none; box-shadow: none; border-bottom-color: var(--ink); }

/* Keep the cover annotation clear of the 44px favourite control. */
.object-media .image-note { top: 12px; left: 12px; max-width: calc(100% - 80px); padding: 7px 8px; line-height: 1.5; letter-spacing: .04em; overflow-wrap: anywhere; }
