:root {
  --ground: #fff;
  --surface: #f0f1ee;
  --ink: #1b1d1f;
  --muted: #63676b;
  --line: #dedfdf;
  --control: #c4c7c8;
  --radius: 4px;
  --font: 'Golos Text', Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
button:active { transform: translateY(1px); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h1 { font-size: 34px; line-height: 1.16; letter-spacing: -1.2px; }
h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.7px; }
h3 { font-size: 18px; }
.wrap { width: calc(100% - 96px); max-width: 1360px; margin-inline: auto; }
.topline { height: 30px; padding-inline: 48px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); background: #f3f3f1; font-size: 12px; }
.header { display: flex; align-items: center; gap: 32px; min-height: 80px; }
.wordmark { font-size: 29px; font-weight: 500; letter-spacing: -1.5px; white-space: nowrap; }
.wordmark span { display: none; }
.header nav { display: flex; justify-content: center; align-items: center; gap: 28px; flex: 1; font-size: 14px; }
.header nav a { position: relative; padding-block: 10px; white-space: nowrap; }
.header nav a:hover { color: var(--muted); }
.header nav a.active::after { content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 2px; background: var(--ink); }
.cart-toggle { border: 0; background: transparent; display: flex; align-items: center; gap: 8px; padding: 10px 0; font-size: 14px; }
.cart-toggle b { font-weight: 400; font-variant-numeric: tabular-nums; }
.cart-toggle b::before { content: '('; }
.cart-toggle b::after { content: ')'; }
.home-hero { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 72px; padding: 24px 0 32px; }
.hero-copy { padding-block: 10px; }
.hero-copy h1 { font-size: clamp(44px, 4.5vw, 66px); font-weight: 400; line-height: 1.02; letter-spacing: -2.8px; }
.hero-copy h1 span { display: block; }
.hero-description { max-width: 440px; font-size: 17px; line-height: 1.6; color: var(--muted); margin-top: 24px; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 28px; flex-wrap: wrap; }
.primary { display: inline-flex; justify-content: center; align-items: center; padding: 13px 24px; min-height: 48px; border: 1px solid var(--ink); border-radius: var(--radius); color: #fff; background: var(--ink); font-size: 14px; font-weight: 500; transition: background .15s ease; }
.primary:hover { background: #34373a; }
.text-link, .download-link { font-size: 14px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.download-link { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 0; padding: 8px 0; }
.download-link svg { height: 18px; width: 18px; }
.hero-address { margin-top: 24px; font-size: 13px; color: var(--muted); }
.hero-visual { margin: 0; min-width: 0; }
.hero-visual img { width: 100%; height: 380px; object-fit: cover; object-position: 50% 37%; display: block; border-radius: 8px; }
.hero-visual figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
.home-collection { padding-top: 12px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-title h2 { font-size: 30px; letter-spacing: -1px; }
.section-title .text-link { white-space: nowrap; }
.category-links, .tabs { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.category-links { margin: 0 0 24px; }
.category-links a { font-size: 14px; color: var(--muted); }
.category-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
/* 4 × ((available width − 3 × 24px) / 4) + 3 × 24px = full canvas width. */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.product-card { min-width: 0; }
.product-image { display: block; position: relative; width: 100%; aspect-ratio: 4 / 5; background: #eef0ed; border-radius: 8px; overflow: hidden; }
.product-image img { position: absolute; width: var(--photo-width, 100%); height: auto; max-width: none; left: var(--photo-left, 0); top: var(--photo-top, 0); display: block; }
.product-image .hover-image { opacity: 0; transition: opacity .2s ease; }
.product-image:hover .hover-image { opacity: 1; }
.new-label { position: absolute; top: 12px; left: 12px; font-size: 11px; color: var(--ink); background: #fffffff0; padding: 3px 7px; border-radius: 2px; }
.product-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 14px; }
.product-head h2 { font-size: 16px; line-height: 1.4; letter-spacing: -.2px; min-height: 45px; font-weight: 500; }
.swatch { display: inline-block; width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; margin: 6px 2px 0; outline: 1px solid #bfc2bd; outline-offset: 3px; }
.product-meta { color: var(--muted); font-size: 13px; margin-top: 6px; }
.product-price-row { margin-top: 10px; }
.price { font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.4px; white-space: nowrap; }
.price small { font-size: 13px; font-weight: 400; letter-spacing: 0; }
.run-total { font-size: 14px; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.demo-catalog-note { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 28px; max-width: 900px; }
.demo-catalog-note a, .source-link { text-decoration: underline; text-underline-offset: 3px; }
.wholesale-note { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: start; margin-top: 64px; padding: 32px 0; border-block: 1px solid var(--line); }
.wholesale-note h2 { font-size: 25px; }
.wholesale-note p { font-size: 16px; color: var(--muted); max-width: 600px; }
.wholesale-note .text-link { display: inline-block; margin-top: 16px; }
.visit-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 36px; }
.visit-band h2 { font-size: 24px; }
.visit-band p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.visit-band .text-link { white-space: nowrap; }
.footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; font-size: 12px; color: var(--muted); margin-top: 20px; }
.footer-logo { color: var(--ink); font-size: 23px; letter-spacing: -1px; font-weight: 500; }
.catalog-page { padding-top: 24px; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 12px 0 28px; }
.page-heading p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 16px; border-block: 1px solid var(--line); margin-bottom: 20px; }
.tab { position: relative; border: 0; background: none; padding: 8px 0; font-size: 14px; color: var(--muted); }
.tab.active { color: var(--ink); font-weight: 500; }
.tab.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--ink); }
.toolbar-tools { display: flex; gap: 16px; align-items: center; margin-left: auto; }
.search input { border: 1px solid var(--control); border-radius: var(--radius); background: #fff; padding: 10px 12px; font-size: 14px; width: 208px; }
.toolbar select { font-size: 14px; padding: 10px 24px 10px 8px; border: 0; background: white; }
.catalog-stats { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.catalog-page .demo-catalog-note { margin-bottom: 36px; }
.empty { grid-column: 1/-1; padding: 40px 24px; background: var(--surface); text-align: center; }
.empty p { margin: 12px 0 20px; color: var(--muted); }
.soft-btn, .outline-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--control); background: white; padding: 11px 18px; border-radius: var(--radius); font-size: 14px; min-height: 44px; }
.outline-btn svg { width: 18px; height: 18px; }
.back { display: inline-block; margin: 20px 0 24px; font-size: 14px; color: var(--muted); }
.product-detail { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: start; padding-bottom: 44px; }
.main-photo { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #eef0ed; border-radius: 8px; }
.thumbs { display: flex; gap: 12px; margin-top: 12px; }
.thumbs button { width: 76px; height: 76px; padding: 0; border: 1px solid transparent; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.thumbs button.selected { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-info { padding-top: 8px; }
.product-info h1 { font-size: 34px; }
.article { font-size: 13px; color: var(--muted); margin: 12px 0 22px; }
.color-label { font-size: 14px; }
.color-links { display: flex; gap: 10px; margin: 10px 0 24px; }
.color-links a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.color-links a.selected { border-color: var(--ink); }
.color-links .swatch { margin: 0 3px 0 0; outline: none; }
.run-box { padding: 22px 0; margin: 20px 0; border-block: 1px solid var(--line); }
.run-box h2 { font-size: 16px; letter-spacing: 0; }
.size-list { display: flex; gap: 8px; margin: 16px 0 20px; }
.size-list span { display: grid; gap: 3px; min-width: 50px; padding: 10px; background: var(--surface); text-align: center; font-size: 14px; }
.size-list small { font-size: 10px; color: var(--muted); }
.run-box .price { font-size: 30px; }
.subprice { font-size: 14px; color: var(--muted); margin-top: 5px; }
.fine { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 12px; }
.buy-row { display: flex; gap: 12px; margin-top: 14px; }
.quantity { display: inline-flex; align-items: center; min-height: 46px; border: 1px solid var(--control); border-radius: var(--radius); }
.quantity button { background: none; border: 0; height: 44px; width: 38px; font-size: 22px; }
.quantity output { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; }
.buy-row .primary { flex: 1; }
.specs { margin-top: 28px; }
.specs h2 { font-size: 20px; }
.specs dl { margin: 12px 0 0; font-size: 14px; }
.specs dl div { display: flex; gap: 20px; align-items: start; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin: 40px 0 56px; }
.story h1 { font-size: 38px; }
.story h2 { font-size: 22px; margin-top: 28px; }
.story p { color: var(--muted); margin-top: 20px; }
.about-visual { align-self: start; background: var(--surface); border-radius: 8px; overflow: hidden; }
.about-visual>img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.about-label { display: flex; justify-content: space-between; padding: 20px; gap: 20px; align-items: center; font-size: 13px; }
.about-label b { font-size: 22px; font-weight: 500; }
.location-card { align-self: start; background: var(--surface); padding: 36px; border-radius: 8px; }
.location-card .pavilion { font-size: 100px; line-height: 1; letter-spacing: -6px; margin: 28px 0; }
.location-card p { margin-top: 12px; }
.sources-page { max-width: 900px; margin: 30px auto 50px; }
.sources-page>p { color: var(--muted); font-size: 16px; }
.source-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-block: 28px; }
.source-list article { display: flex; gap: 18px; align-items: center; background: var(--surface); border-radius: 8px; padding: 16px; }
.source-list img { width: 72px; height: 96px; object-fit: contain; }
.source-list h2 { font-size: 16px; letter-spacing: 0; margin-bottom: 8px; }
.source-list a { font-size: 13px; }
.cart-dialog { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(540px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; background: white; padding: 0; border: 0; color: var(--ink); }
.cart-dialog::backdrop { background: #16191c66; }
.cart-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px 20px; }
.cart-header h2 { font-size: 25px; }
.close { border: 0; background: var(--surface); width: 36px; height: 36px; border-radius: var(--radius); font-size: 26px; line-height: 1; }
.cart-body { padding: 0 28px 28px; }
.cart-item { display: grid; grid-template-columns: 86px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 86px; height: 108px; object-fit: contain; background: #eef0ed; border-radius: var(--radius); }
.cart-item h3 { font-size: 15px; line-height: 1.4; margin-bottom: 5px; }
.cart-item p { color: var(--muted); font-size: 12px; }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.cart-item .quantity { min-height: 34px; }
.cart-item .quantity button { height: 32px; width: 30px; font-size: 18px; }
.cart-item .quantity output { font-size: 14px; min-width: 24px; }
.cart-item .price { font-size: 18px; }
.remove { background: none; border: 0; padding: 0; color: var(--muted); font-size: 12px; text-decoration: underline; margin-top: 5px; }
.cart-total { display: flex; justify-content: space-between; gap: 20px; margin: 22px 0 5px; }
.cart-total strong { font-size: 25px; font-weight: 600; font-variant-numeric: tabular-nums; }
.checkout-form { margin-top: 28px; }
.checkout-form h3 { font-size: 19px; margin-bottom: 14px; }
.field { display: block; font-size: 14px; margin-block: 14px; }
.field input, .field textarea { display: block; margin-top: 6px; width: 100%; background: white; border: 1px solid var(--control); border-radius: var(--radius); padding: 11px 12px; font-size: 16px; resize: vertical; }
.check { display: flex; align-items: start; gap: 9px; font-size: 13px; margin-top: 18px; }
.check input { margin-top: 4px; }
.checkout-form .primary { width: 100%; margin-top: 20px; }
.demo-box { padding: 14px 16px; background: var(--surface); border-radius: var(--radius); font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 20px; }
.message-preview { font: 14px/1.7 var(--font); overflow-wrap: anywhere; white-space: pre-wrap; background: var(--surface); padding: 18px; margin-block: 20px; max-height: 420px; overflow: auto; }
.preview-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.success-mark { font-size: 24px; margin: 18px 0 12px; }
.skip-link { position: fixed; top: -100px; left: 12px; background: white; padding: 12px; z-index: 100; }
.skip-link:focus { top: 12px; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 10px); opacity: 0; pointer-events: none; z-index: 20; max-width: 90%; text-align: center; padding: 12px 20px; background: var(--ink); color: white; border-radius: var(--radius); font-size: 14px; transition: opacity .18s, transform .18s; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.hidden { display: none !important; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 48px); }
  .topline { padding-inline: 24px; }
  .header { gap: 24px; }
  .header nav { gap: 18px; font-size: 13px; }
  .wordmark { font-size: 27px; }
  .home-hero { gap: 40px; }
  .hero-copy h1 { font-size: 52px; letter-spacing: -2px; }
  .hero-description { font-size: 16px; }
  .hero-visual img { height: 380px; }
  .product-grid { gap: 30px 20px; }
  .product-head h2 { font-size: 15px; min-height: 43px; }
  .product-meta { font-size: 12px; }
  .run-total { font-size: 13px; }
  .toolbar-tools { gap: 12px; }
  .product-detail, .story { gap: 36px; }
}
@media (max-width: 800px) {
  .header { flex-wrap: wrap; gap: 0; padding: 18px 0 12px; min-height: 104px; }
  .header nav { order: 3; flex-basis: 100%; justify-content: flex-start; gap: 24px; margin-top: 8px; }
  .cart-toggle { margin-left: auto; }
  .home-hero { gap: 30px; padding: 24px 0 32px; grid-template-columns: 1fr 1fr; }
  .hero-copy h1 { font-size: 44px; letter-spacing: -1.7px; }
  .hero-visual img { height: 350px; }
  .hero-description { font-size: 15px; margin-top: 20px; }
  .hero-actions { gap: 18px; margin-top: 24px; }
  .hero-address { margin-top: 20px; font-size: 12px; }
  .home-collection { padding-top: 10px; }
  .section-title h2 { font-size: 28px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .product-head h2 { font-size: 16px; min-height: 45px; }
  .product-meta { font-size: 13px; }
  .run-total { font-size: 14px; }
  .wholesale-note { gap: 32px; margin-top: 44px; }
  .toolbar-tools { width: 100%; justify-content: space-between; }
  .search { flex: 1; }
  .search input { width: 100%; }
  .product-detail { gap: 28px; }
  .product-info h1 { font-size: 28px; }
  .buy-row { flex-wrap: wrap; }
  .buy-row .primary { flex-basis: 100%; }
  .story h1 { font-size: 30px; }
  .source-list { grid-template-columns: 1fr; }
  .footer { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .topline { padding-inline: 16px; justify-content: center; font-size: 11px; height: 28px; }
  .topline span:first-child { display: none; }
  .header { min-height: 100px; padding: 16px 0 10px; }
  .wordmark { font-size: 28px; }
  .header nav { gap: 22px; font-size: 12px; overflow-x: auto; }
  .header nav a[data-nav='home'] { display: none; }
  .cart-toggle span { display: none; }
  .home-hero { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 20px 0 30px; }
  .hero-copy { padding: 0; }
  .hero-copy h1 { font-size: clamp(38px, 11vw, 48px); letter-spacing: -1.7px; }
  .hero-description { margin-top: 18px; font-size: 16px; max-width: 360px; }
  .hero-actions { margin-top: 22px; gap: 24px; }
  .hero-actions .primary { min-height: 46px; padding: 12px 20px; }
  .hero-address { margin-top: 18px; font-size: 12px; }
  .hero-visual img { height: 270px; object-position: 50% 36%; }
  .hero-visual figcaption { font-size: 11px; }
  .section-title { gap: 14px; margin-bottom: 18px; }
  .section-title h2 { font-size: 25px; }
  .section-title .text-link { font-size: 12px; }
  .category-links, .tabs { gap: 10px 18px; }
  .category-links { margin-bottom: 20px; }
  .category-links a { font-size: 13px; }
  .product-grid { gap: 28px 16px; }
  .product-head { gap: 8px; margin-top: 12px; }
  .product-head h2 { font-size: 14px; min-height: 40px; line-height: 1.4; }
  .swatch { width: 9px; height: 9px; margin-top: 5px; }
  .product-meta { font-size: 11px; margin-top: 6px; }
  .price { font-size: 19px; }
  .price small { font-size: 11px; }
  .run-total { font-size: 12px; line-height: 1.5; }
  .new-label { top: 8px; left: 8px; font-size: 10px; padding: 2px 5px; }
  .demo-catalog-note { font-size: 11px; margin-top: 24px; }
  .wholesale-note { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; padding-block: 26px; }
  .wholesale-note h2 { font-size: 24px; }
  .wholesale-note p { font-size: 15px; }
  .visit-band { display: block; padding-block: 28px; }
  .visit-band h2 { font-size: 23px; }
  .visit-band p { font-size: 14px; }
  .visit-band .text-link { display: inline-block; margin-top: 16px; }
  .footer { gap: 14px; margin-top: 8px; padding-block: 24px; font-size: 11px; }
  .footer span { flex-basis: 100%; }
  .footer-logo { font-size: 23px; }
  .catalog-page { padding-top: 12px; }
  .page-heading { gap: 14px; margin: 12px 0 22px; }
  .page-heading h1 { font-size: 27px; }
  .page-heading p { font-size: 13px; }
  .page-heading .download-link { font-size: 12px; gap: 5px; flex-shrink: 0; }
  .page-heading .download-link span { max-width: 60px; }
  .toolbar { gap: 20px; margin-bottom: 18px; }
  .tab { font-size: 13px; padding-block: 5px; }
  .toolbar select { font-size: 12px; max-width: 155px; padding-right: 0; }
  .toolbar-tools { gap: 12px; }
  .search input { padding: 10px; font-size: 12px; min-width: 0; }
  .catalog-stats { font-size: 11px; }
  .catalog-stats span:last-child { max-width: 160px; text-align: right; }
  .back { margin: 14px 0 20px; font-size: 13px; }
  .product-detail { grid-template-columns: 1fr; gap: 26px; padding-bottom: 20px; }
  .product-info { padding: 0; }
  .product-info h1 { font-size: 30px; }
  .run-box .price { font-size: 29px; }
  .buy-row { flex-wrap: nowrap; }
  .buy-row .primary { flex-basis: auto; font-size: 13px; padding-inline: 12px; }
  .quantity button { width: 32px; }
  .quantity output { min-width: 24px; }
  .size-list { gap: 6px; }
  .size-list span { min-width: 46px; padding: 10px 8px; }
  .story { grid-template-columns: 1fr; gap: 28px; margin: 24px 0 32px; }
  .story h1 { font-size: 31px; }
  .story h2 { font-size: 21px; }
  .story p { font-size: 15px; }
  .about-label { padding: 16px; gap: 12px; font-size: 11px; }
  .location-card { padding: 28px; }
  .location-card .pavilion { font-size: 90px; }
  .sources-page { margin-top: 20px; }
  .sources-page h1 { font-size: 27px; }
  .sources-page>p { font-size: 14px; }
  .source-list article { padding: 12px; gap: 14px; }
  .source-list h2 { font-size: 15px; }
  .cart-header { padding: 20px; }
  .cart-body { padding: 0 20px 24px; }
  .cart-item { grid-template-columns: 76px 1fr; gap: 12px; }
  .cart-item img { width: 76px; height: 100px; }
  .cart-item .price { font-size: 17px; }
  .fine { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
