/* Warm paper and brass, drawn from the existing logo and metalwork. */
:root {
  --paper: #f8f6f0;
  --ink: #232922;
  --muted: #565b50;
  --line: #d8d7ca;
  --gold: #856236;
  --atelier-panel: #eeebe0;
  --atelier-edge: clamp(18px, 4vw, 64px);
  --font-text: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-display: "Noto Serif TC", "PMingLiU", Georgia, serif;
  --s-2: 8px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 36px;
  --s-7: 52px;
  --gutter: clamp(24px, 5vw, 80px);
  --r-md: 14px;
  --t-lead: 1.15rem;
  --nav: 122px;
}
html { scroll-behavior: auto; }
body { font-size: 16px; }
.container { width: 100%; max-width: 1440px; padding-inline: var(--atelier-edge); }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.4vw, 3.25rem); line-height: 1.2; }
.topline { min-height: 44px; background: var(--atelier-panel); color: var(--ink); padding: 0 max(var(--atelier-edge), calc((100vw - 1440px)/2 + var(--atelier-edge))); letter-spacing: .04em; }
.topline .topline-label { margin: 0; opacity: 1; }
.topline .language-switcher a { display: inline-flex; min-height: 44px; align-items: center; }
.topline .language-switcher a[aria-current=true] { background: transparent; border-color: transparent; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: .3em; }
.site-header { background: var(--paper); }
.site-header .navbar { min-height: 69px; }
.site-header .brand-logo { width: clamp(144px, 17vw, 204px); height: auto; }
.site-header .navbar-nav { gap: clamp(4px, .75vw, 12px); }
.site-header .nav-link { font-size: 14px; padding: 10px 8px !important; border-radius: 8px; }
.site-header .nav-link:hover, .site-header .nav-link[aria-current=page] { background: transparent; text-decoration: underline; text-underline-offset: .3em; }
a:focus-visible, button:focus-visible { outline-color: var(--gold); }
.site-header .nav-link:focus-visible, .text-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; box-shadow: none; }
.btn { min-height: 44px; border-radius: 9px; padding-inline: 18px; font-weight: 600; letter-spacing: 0; }
.btn-dark { --bs-btn-bg: var(--ink); --bs-btn-border-color: var(--ink); --bs-btn-hover-bg: #3b4539; --bs-btn-hover-border-color: #3b4539; box-shadow: none; }
.btn-outline-dark { --bs-btn-color: var(--ink); --bs-btn-border-color: var(--ink); }
.eyebrow, .text-link { color: var(--gold); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; width: fit-content; font-size: 14px; font-weight: 600; }

/* The carousel fills its responsive frame. Catalog photos use contain below. */
.hero.hero-carousel { padding: 0; border-radius: 0; background: var(--atelier-panel); color: var(--ink); }
.hero-carousel .carousel-item { height: calc(100svh - var(--nav)); min-height: 610px; max-height: none; }
.hero-carousel .hero-background { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; mask-image: none; }
.hero-carousel .hero-slide-layout { align-items: flex-end; padding-block: 36px 76px; }
.hero-carousel .hero-slide-copy { width: 48%; max-width: 590px; padding: clamp(20px, 3.4vw, 48px); border-radius: 14px; background: var(--paper); color: var(--ink); }
.hero-carousel .hero-slide-copy .eyebrow { color: var(--gold); font-size: .8rem; letter-spacing: .1em; margin-bottom: 15px; }
.hero-carousel .hero-slide-copy :is(h1,h2) { font-size: clamp(2.4rem, 4.2vw, 4rem); line-height: 1.15; margin-bottom: 16px; color: var(--ink); text-shadow: none; }
html[lang=en] .hero-carousel .hero-slide-copy :is(h1,h2) { font-size: clamp(2.35rem, 4vw, 3.75rem); line-height: 1.08; }
.hero-carousel .hero-slide-description { font-size: 16px; line-height: 1.65; color: var(--muted); margin-bottom: 22px; }
.hero-carousel .hero-slide-actions { display: flex; gap: 10px 18px; align-items: center; }
.hero-carousel .hero-carousel-bottom { bottom: 24px; justify-content: flex-end; pointer-events: none; }
.hero-carousel .hero-carousel-controls { display: flex; align-items: center; gap: 7px; pointer-events: auto; padding: 4px 7px 4px 12px; border-radius: 10px; background: var(--paper); color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.hero-carousel .hero-dots { display: none; }
.hero-carousel :is(.hero-arrow,.hero-autoplay) { color: var(--ink); border: 1px solid var(--line); background: transparent; width: 44px; height: 44px; border-radius: 7px; }
.hero-carousel :is(.hero-arrow,.hero-autoplay):hover { background: var(--atelier-panel); }
.hero-carousel .hero-slide-number { color: var(--ink); font-size: inherit; }

/* Shared product photography and list rhythm. */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-heading { align-items: end; gap: 10px 30px; margin-bottom: clamp(24px, 4vw, 56px); }
.section-heading h2 { margin-bottom: 8px; }
.section-heading p { margin: 0; }
.product-card.card { display: block; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.product-card > a { display: block; height: 100%; }
.product-card .product-photo { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: clamp(8px, 1vw, 16px); margin: 0 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.product-card .product-photo img { width: 100%; height: 100%; object-fit: contain; }
.product-card > a:hover .product-photo img { transform: none; }
.product-card .product-category { color: var(--gold); margin: 0 0 5px; font-size: .75rem; letter-spacing: .03em; }
.product-card .product-category span { color: var(--muted); }
.product-card h3 { color: var(--ink); font-size: clamp(1rem, 1.4vw, 1.22rem); font-weight: 650; letter-spacing: 0; line-height: 1.35; overflow-wrap: anywhere; }
.product-card .product-price { color: var(--muted); font-size: .85rem; margin: 0; }
.home-collection, .home-journal { min-height: 100svh; display: grid; align-items: center; }
.home-collection .row, footer > .container > .row { display: grid; gap: 24px; margin: 0; }
.home-collection .row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
footer > .container > .row { grid-template-columns: 5fr 3fr 4fr; }
.home-collection .row > *, footer > .container > .row > * { width: auto; min-width: 0; padding: 0; margin: 0; }
.home-craft { background: var(--atelier-panel); }
.home-craft ol { list-style: none; padding-left: 0; margin: 0; }
.home-craft .mo-pc__visual { background: white; border-radius: 12px; }
.home-craft[data-moment="pinned-chapters"] .mo-pc__visual > img { display: block; object-fit: contain; }
.home-craft[data-moment="pinned-chapters"].is-live .mo-pc__visual { transform: none; transition-property: opacity; }
.home-craft .mo-pc__visuals { border-radius: 12px; overflow: hidden; }
.home-craft .mo-pc__step h3, .home-craft .mo-pc__step p { margin: 0; }
.news-row { min-height: 68px; padding: 16px 0; margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; background: transparent; }
.news-row:last-child { border-bottom: 1px solid var(--line); }
.news-row h3 { font-size: 1rem; line-height: 1.5; margin: 0; }
.news-row time { font-variant-numeric: tabular-nums; }
.news-row:hover { background: var(--atelier-panel); }
.page-intro { background: var(--atelier-panel); border-radius: 0; padding-block: clamp(34px, 6vw, 84px); }
.page-intro h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); }
.page-intro p:last-child { max-width: 66ch; margin-bottom: 0; }
.search-toolbar { border-radius: 12px; padding: clamp(16px, 3vw, 28px); border-color: var(--line); box-shadow: none; background: var(--atelier-panel); }
.form-control, .form-select { min-height: 44px; border-radius: 8px; }
.listing-meta { color: var(--muted); }
.contact-band { max-width: none; width: auto; margin: 0; border-radius: 0; background: #e6ddcb; color: var(--ink); padding: 44px 0; }
.contact-band .eyebrow { color: var(--gold); }
.contact-band .container { padding-inline: var(--atelier-edge); }
.contact-band h2 { color: var(--ink); margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 3.4vw, 3.25rem); }
footer { background: var(--paper); padding-block: 56px 20px; }
footer .brand-logo { max-width: min(270px, 100%); }
footer a { min-height: 44px; }

@media (max-width: 991px) {
  .home-collection .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer > .container > .row { grid-template-columns: 1fr 2fr; }
  footer > .container > .row > :first-child { grid-column: 1 / -1; }
  .site-header .navbar { min-height: 65px; }
  .hero-carousel .carousel-item { min-height: 570px; }
  .hero-carousel .hero-slide-copy { max-width: 470px; }
}
@media (max-width: 767px) {
  :root { --nav: 110px; }
  .topline { justify-content: flex-end; }
  .topline > .topline-label { display: none; }
  .site-header .navbar-toggler { min-width: 44px; min-height: 44px; padding: 5px 10px; border-radius: 8px; }
  .hero-carousel .carousel-item { height: auto; min-height: 0; }
  .hero-carousel .hero-background { object-position: 82% center; }
  .hero-carousel .hero-slide-layout { height: auto; min-height: max(540px, calc(100svh - var(--nav))); padding-block: clamp(160px, 34svh, 300px) 82px; }
  .hero-carousel .hero-slide-copy { width: 100%; padding: 20px; max-width: 100%; }
  .hero-carousel .hero-slide-copy :is(h1,h2), html[lang=en] .hero-carousel .hero-slide-copy :is(h1,h2) { font-size: clamp(1.85rem, 7vw, 3rem); }
  .hero-carousel .hero-slide-copy .eyebrow { margin-bottom: 9px; }
  .hero-carousel .hero-slide-description { font-size: 15px; margin-bottom: 14px; }
  .home-collection, .home-journal { min-height: auto; }
  .section-heading { align-items: start; }
  .section-heading > .text-link { flex-shrink: 0; }
  .news-row { padding-inline: 0; }
  .contact-band .btn { margin-top: 18px; }
}
@media (max-width: 380px) {
  footer > .container > .row { grid-template-columns: 1fr; }
  .home-collection .row { gap: 22px 16px; }
  .section-heading { flex-wrap: wrap; }
  .hero-carousel .hero-slide-actions { gap: 8px 12px; }
}
