/* Shared homepage typography and controls; other pages continue to use styles.css. */
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/dm-mono-400-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: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/dm-mono-400-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: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/dm-mono-500-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: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/dm-mono-500-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: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/manrope-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: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/manrope-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; }

:root {
  --ink: #1f1512;
  --paper: #f6f0ea;
  --muted: #6f5f58;
  --line: rgba(31, 21, 18, 0.16);
  --accent: #a9573f;
  --rose-gold: #c08a73;
  --blush: #f2e1d6;
  --brand-deep: #3a1c14;
  --brand-gradient: linear-gradient(135deg, #e7b9a2 0%, #c08a73 45%, #8f4a34 100%);
  --shadow-warm: 0 18px 50px -24px rgba(90, 40, 24, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-exit .14s ease-out both; }
::view-transition-new(root) { animation: page-enter .2s ease-out both; }
@keyframes page-exit { to { opacity: .94; } }
@keyframes page-enter { from { opacity: .88; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  /* Universal body-* kills cannot reach the html rule above. */
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
html[lang="zh-CN"] body { font-family: Manrope, "Microsoft YaHei", sans-serif; }
html[lang="ja"] body { font-family: Manrope, "Yu Gothic", Meiryo, sans-serif; }
html[lang="bn"] body { font-family: Manrope, "Nirmala UI", sans-serif; }
html[lang="ar"] body { font-family: Manrope, "Segoe UI", Tahoma, sans-serif; }
html[lang="zh-CN"] h1, html[lang="ja"] h1, html[lang="bn"] h1, html[lang="ar"] h1 { letter-spacing: normal; line-height: 1.2; }
html[lang="zh-CN"] h1 em, html[lang="ja"] h1 em, html[lang="bn"] h1 em, html[lang="ar"] h1 em { letter-spacing: normal; }
::selection { background: var(--blush); color: var(--brand-deep); }
:focus-visible { outline-color: var(--accent); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.site-header, .site-footer { align-items: center; display: flex; justify-content: space-between; }
.site-header-tools { align-items: flex-end; display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.site-header-actions { align-items: center; display: flex; gap: 4px; }
.site-header-navigation { align-items: center; display: flex; gap: 16px; justify-content: flex-end; }
.site-icon-button { align-items: center; background: transparent; border: 0; border-radius: 50%; color: inherit; cursor: pointer; display: inline-flex; height: 38px; justify-content: center; padding: 8px; transition: background .2s, color .2s; width: 38px; }
.site-icon-button:hover, .site-icon-button:focus-visible { background: rgba(31, 21, 18, .07); color: #9b6658; outline: none; }
.site-icon-button svg { fill: none; height: 22px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; width: 22px; }
.wordmark { align-items: center; display: inline-flex; }
.wordmark-logo { background: transparent; display: block; height: 38px; object-fit: contain; width: auto; }
.language-picker { align-items: center; display: inline-flex; position: relative; }
.language-picker::after { border-bottom: 1px solid currentColor; border-right: 1px solid currentColor; content: ''; height: 5px; pointer-events: none; position: absolute; right: 13px; top: calc(50% - 4px); transform: rotate(45deg); width: 5px; }
.visually-hidden { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.no-script-navigation { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px; padding: 24px; }

.menu-toggle { align-items: center; background: transparent; border: 0; cursor: pointer; display: flex; font-size: 11px; gap: 13px; letter-spacing: .03em; padding: 5px 0; position: relative; z-index: 20; }
.menu-icon { display: flex; flex-direction: column; gap: 5px; height: 15px; justify-content: center; width: 23px; }
.menu-icon i { background: currentColor; display: block; height: 1px; transition: transform .35s ease; width: 100%; }
.menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
.eyebrow, .menu-meta { font: 500 10px/1.3 'DM Mono', monospace; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { color: var(--muted); margin: 0 0 23px; }
.site-menu { background: var(--ink); color: var(--paper); inset: 0; opacity: 0; padding: 27px 34px; pointer-events: none; position: fixed; transform: translateY(-100%); transition: transform .65s cubic-bezier(.77,0,.18,1), opacity .45s ease; z-index: 10; }
.site-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.site-menu .eyebrow { color: #7e7e78; }
.menu-inner { display: flex; flex-direction: column; height: 100%; }
.site-menu nav { display: flex; flex-direction: column; margin: auto 0; row-gap: .06em; }
.site-menu nav a { font-size: clamp(48px, 8vw, 120px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; transition: color .2s; }
.site-menu nav a:hover { color: var(--accent); }
.site-menu sup { color: var(--accent); font: 11px 'DM Mono', monospace; letter-spacing: 0; margin-left: 8px; vertical-align: top; }
.site-menu nav a span { color: var(--accent); font-size: .45em; letter-spacing: 0; vertical-align: top; }
.menu-meta { border-top: 1px solid #363632; color: #aaa9a1; display: flex; justify-content: space-between; padding-top: 17px; }
.menu-meta p { line-height: 1.5; margin: 0; }

.site-search-shell { margin: 0; max-width: min(620px, calc(100vw - 48px)); position: absolute; right: 4.1vw; top: 105px; width: 100%; z-index: 14; }
.site-search-shell[hidden], .site-search-results[hidden], .site-search .site-search-more[hidden] { display: none; }
.site-search { align-items: center; background: rgba(255, 255, 255, .55); border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 46px; }
.site-search:focus-within { border-color: var(--accent); }
.site-search input { background: transparent; border: 0; color: var(--ink); font: 12px Manrope, Arial, sans-serif; min-height: 44px; min-width: 0; outline: 0; padding: 0 15px; }
.site-search input::placeholder { color: var(--muted); opacity: 1; }
.site-search button { align-items: center; align-self: stretch; background: var(--ink); border: 0; color: var(--paper); cursor: pointer; display: inline-flex; font: 9px 'DM Mono', monospace; gap: 8px; justify-content: center; letter-spacing: .06em; min-width: 116px; padding: 0 16px; text-transform: uppercase; transition: background .2s, color .2s; }
.site-search button:hover, .site-search button:focus-visible { background: var(--accent); color: var(--ink); }
.site-search-art { height: 23px; overflow: visible; width: 23px; }
.site-search-art ellipse { fill: none; stroke: #d9a994; stroke-opacity: .82; stroke-width: .7; }
.site-search-art circle:last-child { fill: #fffaf2; }
.site-search-orbit { animation: search-orbit-spin 14s linear infinite; transform-box: view-box; transform-origin: 16px 16px; }
.site-search-orbit-reverse { animation-direction: reverse; animation-duration: 19s; stroke-dasharray: 2 2; }
@keyframes search-orbit-spin { to { rotate: 360deg; } }
/* The bottom fade masks the unavoidable mid-line clip of the scrolling
   result list (overlay scrollbars are otherwise invisible on Windows). */
.site-search-results {
  background: var(--paper);
  border-top: 1px solid var(--line);
  grid-column: 1 / -1;
  max-height: min(55vh, 440px);
  overflow-y: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), transparent 100%);
}
@media (max-width: 600px) {
  .site-search-results { max-height: min(64vh, 520px); }
}
.site-search-result { border-bottom: 1px solid var(--line); display: grid; gap: 4px; padding: 12px 15px; }
.site-search-result:last-child { border-bottom: 0; }
.site-search-result:hover, .site-search-result:focus-visible { background: rgba(255, 255, 255, .72); }
.site-search-result-heading { align-items: baseline; display: flex; gap: 10px; justify-content: space-between; }
.site-search-result-title { font-size: 13px; font-weight: 600; }
.site-search-result-kind, .site-search-result-context { color: var(--accent); font: 11px 'DM Mono', monospace; letter-spacing: .05em; text-transform: uppercase; }
.site-search-result-excerpt, .site-search-message { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; }
.site-search-message { padding: 14px 15px; }
.site-search-filters { border-top: 1px solid var(--line); display: flex; gap: 8px; grid-column: 1 / -1; padding: 10px; }
.site-search-filters select { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; color: var(--ink); flex: 1; font: 11px Manrope, Arial, sans-serif; max-width: 34%; min-width: 0; padding: 9px 12px; }
.site-search-list .site-search-result { align-items: center; gap: 12px; grid-template-columns: auto minmax(0, 1fr); }
.site-search-result-copy { display: grid; gap: 6px; grid-column: 2; min-width: 0; }
.site-search-thumbnail { background: #fff9; border-radius: 8px; height: 62px; object-fit: contain; width: 58px; }
.site-search-result-title, .site-search-result-excerpt { overflow-wrap: anywhere; }
.site-search-result-price { color: var(--ink); font-size: 13px; }
.site-search .site-search-more { background: var(--ink); border: 0; border-top: 1px solid var(--line); color: var(--paper); display: block; font-size: 12px; padding: 15px; text-align: center; width: 100%; }
.site-search-image-error { color: var(--muted); font-size: 12px; max-width: 58px; }
html[dir="rtl"] .site-search-shell { left: 4.1vw; right: auto; }

.site-copyright { color: var(--muted, #6f5f58); font: 8.5px/1.4 'DM Mono', monospace; letter-spacing: .04em; text-transform: none; }
body.motion-disabled *, body.motion-disabled *::before, body.motion-disabled *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
}

@media (max-width: 820px) {
  .menu-toggle { min-height: 44px; }
  .site-icon-button { height: 44px; min-height: 44px; min-width: 44px; width: 44px; }
  .site-header-navigation { gap: 10px; }
  .wordmark { min-height: 44px; min-width: 44px; }
}
@media (max-width: 620px) {
  .site-menu { padding: 22px 18px; }
  .menu-meta { align-items: flex-start; flex-direction: column; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-search-orbit { animation: none; }
}
