:root {
  --ink: #1b211e;
  --muted: #6d756f;
  --paper: #f7f7f3;
  --panel: #eeeee8;
  --line: rgba(27, 33, 30, 0.13);
  --green: #2f4a3d;
  --accent: #d97852;
  --accent-soft: #f0d8cb;
  --white: #ffffff;
  --sans: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", Georgia, serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.announcement { min-height: 34px; padding: 8px 4.2vw; background: var(--green); color: #f4f4ed; display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .1em; }
.announcement p { margin: 0; }
.announcement a { display: inline-flex; align-items: center; gap: 5px; color: #e8b79c; }
.announcement svg { width: 13px; height: 13px; }
.site-header { min-height: 82px; padding: 18px 4.2vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(247, 247, 243, .92); position: sticky; z-index: 20; top: 0; backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; min-width: 192px; }
.site-logo { display: block; width: 124px; height: 42px; object-fit: contain; mix-blend-mode: multiply; }
.main-nav { display: flex; gap: clamp(18px, 2.5vw, 40px); align-items: center; margin-left: auto; margin-right: auto; }
.main-nav a { color: var(--muted); font-size: 12px; padding: 12px 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; height: 1px; width: 0; background: var(--ink); left: 0; bottom: 3px; transition: width .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.language-selector { position: relative; }
.language-button { border: 0; background: none; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 12px 0; }
.language-button:hover, .language-selector.is-open .language-button { color: var(--ink); }
.language-button svg { width: 13px; height: 13px; transition: transform .2s; }
.language-selector.is-open .language-button svg { transform: rotate(180deg); }
.language-options { position: absolute; z-index: 30; top: calc(100% + 3px); right: -12px; min-width: 118px; padding: 7px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(27, 33, 30, .08); display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-5px); transition: opacity .2s, transform .2s, visibility .2s; }
.language-selector.is-open .language-options { opacity: 1; visibility: visible; transform: translateY(0); }
.language-options button { border: 0; background: none; color: var(--muted); padding: 9px 10px; text-align: left; font-size: 11px; cursor: pointer; }
.language-options button:hover, .language-options button[aria-current="true"] { background: var(--panel); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; min-width: 192px; justify-content: flex-end; }
.icon-button, .sort-button, .modal-close { border: 0; background: none; cursor: pointer; color: var(--ink); }
.icon-button { width: 34px; height: 34px; display: grid; place-items: center; position: relative; }
.icon-button svg { width: 17px; height: 17px; stroke-width: 1.4; }
.count-badge { position: absolute; top: 3px; right: 0; border-radius: 10px; font-size: 9px; min-width: 13px; height: 13px; padding: 1px 4px; line-height: 11px; background: var(--accent); color: var(--white); }
.catalog-button { display: inline-flex; gap: 8px; align-items: center; height: 36px; padding: 0 15px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 11px; cursor: pointer; transition: background .2s, color .2s; }
.catalog-button:hover { background: transparent; color: var(--ink); }
.catalog-button svg { width: 13px; height: 13px; }
.mobile-menu { display: none; }

.section-shell { width: min(1180px, 91.6vw); margin: 0 auto; }
.hero { min-height: min(710px, calc(100vh - 116px)); display: grid; grid-template-columns: .91fr 1.09fr; gap: clamp(40px, 7vw, 112px); align-items: center; padding-top: 62px; padding-bottom: 80px; }
.eyebrow { color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .18em; line-height: 1.3; display: flex; gap: 9px; align-items: center; margin: 0 0 20px; }
.eyebrow span { width: 23px; height: 1px; display: inline-block; background: var(--accent); }
.hero h1, .feature-copy h2, .contact-copy h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 5.15vw, 72px); line-height: 1.23; letter-spacing: -.045em; margin: 0; }
em { font-style: normal; color: var(--green); }
.hero-description { color: var(--muted); max-width: 335px; font-size: 14px; line-height: 1.95; margin: 25px 0 30px; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.button { border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 45px; padding: 0 19px; font-size: 11px; letter-spacing: .05em; cursor: pointer; transition: transform .2s, background .2s, color .2s, border .2s; }
.button:hover { transform: translateY(-2px); }
.button svg, .text-link svg { width: 14px; height: 14px; }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: var(--green); }
.button-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.button-outline:hover { color: var(--paper); background: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 11px; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.hero-meta { display: flex; gap: clamp(20px, 3.5vw, 50px); border-top: 1px solid var(--line); margin-top: 67px; padding-top: 20px; }
.hero-meta div { display: grid; gap: 5px; }
.hero-meta strong { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.hero-meta span { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; }
.hero-visual { position: relative; max-width: 590px; justify-self: end; width: 100%; padding: 20px 31px 34px 0; }
.hero-image-wrap { position: relative; z-index: 1; overflow: hidden; aspect-ratio: .94 / 1; background: var(--accent-soft); }
.hero-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(26, 37, 28, .04), rgba(26, 37, 28, .22)); pointer-events: none; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }
.image-label { position: absolute; z-index: 2; color: white; font-family: var(--mono); font-size: 9px; letter-spacing: .13em; }
.image-label-top { top: 16px; right: 18px; }
.image-label-bottom { bottom: 17px; left: 18px; }
.hero-note { position: absolute; z-index: 2; right: -9px; bottom: 5px; width: 123px; height: 123px; border-radius: 50%; background: var(--accent); color: var(--white); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; font-size: 10px; line-height: 1.6; transform: rotate(-8deg); }
.hero-note svg { width: 20px; height: 20px; margin-bottom: 5px; }
.hero-note strong { font-family: var(--serif); font-size: 13px; font-weight: 500; }
.hero-orbit { position: absolute; border: 1px solid var(--accent); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 90px; height: 190px; right: -25px; top: 35px; transform: rotate(28deg); opacity: .6; }
.orbit-two { width: 190px; height: 90px; left: -39px; bottom: 6px; transform: rotate(23deg); opacity: .4; }

.principles { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 62px 0 67px; display: grid; grid-template-columns: .83fr 1.17fr; gap: 40px; }
.principle-intro { display: flex; gap: 23px; align-items: flex-start; }
.section-index { font-family: var(--mono); color: var(--accent); font-size: 10px; padding-top: 7px; }
.principle-intro h2 { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.35; letter-spacing: -.04em; margin: 0; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.principle-grid article { border-left: 1px solid var(--line); padding-left: 21px; position: relative; }
.principle-number { font-family: var(--mono); color: var(--accent); font-size: 9px; }
.principle-grid svg { display: block; width: 26px; height: 26px; margin: 23px 0 20px; stroke-width: 1.2; color: var(--green); }
.principle-grid h3 { font-family: var(--serif); font-weight: 600; font-size: 17px; margin: 0 0 10px; }
.principle-grid p { font-size: 11px; line-height: 1.8; color: var(--muted); margin: 0; }

.catalog-section { padding: 120px 0 130px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 40px; }
.section-heading h2 { font-family: var(--serif); font-size: 39px; letter-spacing: -.045em; font-weight: 500; margin: 0; }
.catalog-heading-side { display: flex; align-items: center; gap: 28px; padding-bottom: 3px; }
.catalog-heading-side > span { font-family: var(--mono); color: var(--muted); font-size: 10px; }
.sort-button { font-size: 11px; display: flex; align-items: center; gap: 8px; color: var(--ink); padding: 0; }
.sort-button svg { width: 14px; height: 14px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.category-tabs { display: flex; gap: clamp(14px, 2.5vw, 35px); overflow-x: auto; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab { border: 0; padding: 0 0 14px; background: none; color: var(--muted); cursor: pointer; font-size: 11px; white-space: nowrap; position: relative; }
.category-tab span { color: #a5aaa4; font-family: var(--mono); font-size: 9px; margin-left: 5px; }
.category-tab::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--accent); transition: width .2s; }
.category-tab:hover, .category-tab.active { color: var(--ink); }
.category-tab.active::after { width: 100%; }
.search-field { width: 210px; display: flex; gap: 8px; align-items: center; border-bottom: 1px solid var(--line); padding: 0 0 10px 12px; margin-bottom: 3px; }
.search-field svg { width: 14px; height: 14px; color: var(--muted); flex: 0 0 auto; }
.search-field input { border: 0; outline: 0; width: 100%; background: transparent; color: var(--ink); font-size: 11px; }
.search-field input::placeholder { color: #a2a8a0; }
.search-field kbd { background: var(--panel); color: var(--muted); font-family: var(--mono); font-size: 9px; padding: 2px 5px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 20px; row-gap: 52px; }
.product-card { min-width: 0; cursor: pointer; animation: card-in .4s both; }
@keyframes card-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.card-image { background: var(--panel); position: relative; overflow: hidden; aspect-ratio: .82 / 1; margin-bottom: 16px; }
.card-image::after { content: ""; position: absolute; inset: 0; background: rgba(25, 39, 29, .035); pointer-events: none; transition: background .25s; }
.product-card:hover .card-image::after { background: rgba(25, 39, 29, .12); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); filter: saturate(.78); }
.product-card-imported .card-image img { object-fit: contain; background: #f7f7f2; }
.product-card:hover .card-image img { transform: scale(1.045); }
.card-badge { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--paper); padding: 6px 8px; color: var(--green); font-family: var(--mono); font-size: 8px; letter-spacing: .06em; }
.card-heart { position: absolute; z-index: 3; top: 8px; right: 8px; width: 31px; height: 31px; border-radius: 50%; border: 0; background: rgba(247,247,243,.85); color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s, color .2s; }
.product-card:hover .card-heart, .card-heart.is-favorite { opacity: 1; transform: translateY(0); }
.card-heart svg { width: 15px; height: 15px; stroke-width: 1.4; }
.card-heart.is-favorite { color: var(--accent); }
.card-heart.is-favorite svg { fill: currentColor; }
.card-index { color: var(--accent); font-family: var(--mono); font-size: 9px; float: right; padding-top: 4px; }
.card-category { font-family: var(--mono); color: var(--muted); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.product-card h3 { font-family: var(--serif); font-size: 17px; font-weight: 500; line-height: 1.4; margin: 7px 0 7px; letter-spacing: -.025em; }
.card-code-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.card-code { color: var(--muted); font-family: var(--mono); font-size: 9px; margin: 0; }
.card-price { color: var(--accent); font-family: var(--mono); font-size: 13px; font-weight: 600; white-space: nowrap; }
.card-details { display: flex; border-top: 1px solid var(--line); padding-top: 10px; gap: 15px; color: var(--muted); font-size: 10px; }
.card-details span { display: flex; gap: 4px; align-items: center; }
.card-details svg { width: 12px; height: 12px; stroke-width: 1.5; color: var(--green); }
.empty-state { text-align: center; padding: 80px 0; color: var(--muted); }
.empty-state svg { width: 28px; height: 28px; color: var(--accent); }
.empty-state h3 { font-family: var(--serif); color: var(--ink); font-weight: 500; margin: 16px 0 6px; }
.empty-state p { font-size: 12px; margin: 0 0 20px; }
.empty-state .text-link { border: 0; cursor: pointer; background: none; }

.feature-banner { background: var(--green); color: var(--paper); display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; min-height: 460px; margin-bottom: 130px; }
.feature-image { position: relative; overflow: hidden; min-height: 400px; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68); opacity: .84; }
.feature-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,35,27,0), rgba(19,35,27,.25)); }
.feature-image span { position: absolute; z-index: 2; top: 19px; right: 20px; color: white; font-family: var(--mono); font-size: 9px; letter-spacing: .13em; }
.feature-copy { padding: 70px clamp(30px, 6.5vw, 88px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.feature-copy .eyebrow { color: #c8d0c8; }
.feature-copy .eyebrow span { background: var(--accent); }
.feature-copy h2 { font-size: clamp(35px, 4vw, 54px); color: var(--paper); }
.feature-copy h2 em { color: #e9b09a; }
.feature-copy > p:not(.eyebrow) { color: #c8d0c8; max-width: 340px; font-size: 12px; line-height: 1.95; margin: 21px 0 30px; }
.feature-copy .button-outline { border-color: #d3ddd3; color: var(--paper); }
.feature-copy .button-outline:hover { background: var(--paper); color: var(--green); }

.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 15vw; padding: 0 7vw 115px; align-items: end; }
.contact-copy h2 { font-size: clamp(38px, 4vw, 57px); }
.contact-copy > p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.9; max-width: 310px; margin: 22px 0 0; }
.contact-form { display: grid; gap: 22px; }
.contact-form label { color: var(--muted); display: grid; gap: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.contact-form input, .contact-form select { width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 10px 0; color: var(--ink); outline: 0; font-family: var(--sans); font-size: 13px; }
.contact-form select { cursor: pointer; }
.contact-form .button { justify-self: start; margin-top: 8px; }
.contact-form small { color: var(--muted); font-size: 10px; margin-top: -6px; }
.contact-form.is-submitted input, .contact-form.is-submitted select { opacity: .65; }

.site-footer { background: #e6e8e1; min-height: 205px; padding: 40px 4.2vw 25px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; gap: 30px; }
.footer-brand { display: block; }
.footer-logo { width: 150px; height: 48px; }
.footer-brand p { color: var(--muted); font-size: 11px; margin: 13px 0 0; }
.footer-links { display: flex; justify-content: center; gap: 28px; font-size: 11px; }
.footer-links a:hover { color: var(--accent); }
.footer-meta { display: flex; flex-direction: column; gap: 6px; justify-self: end; text-align: right; color: var(--muted); font-family: var(--mono); font-size: 9px; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; padding: 4vh 4vw; background: rgba(20, 28, 22, .54); display: grid; place-items: center; animation: fade-in .2s ease; }
.modal-backdrop[hidden] { display: none; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.product-modal { position: relative; width: min(900px, 100%); max-height: 90vh; overflow: auto; background: var(--paper); display: grid; grid-template-columns: 1fr 1fr; animation: modal-in .28s ease; }
@keyframes modal-in { from { transform: translateY(14px); opacity: .8; } to { transform: translateY(0); opacity: 1; } }
.modal-close { position: absolute; z-index: 2; top: 15px; right: 15px; width: 34px; height: 34px; background: rgba(247,247,243,.85); border-radius: 50%; display: grid; place-items: center; }
.modal-close svg { width: 17px; height: 17px; }
.modal-media { background: var(--panel); min-height: 530px; position: relative; }
.modal-media img { height: 100%; width: 100%; object-fit: cover; filter: saturate(.8); }
.product-modal[data-source="imported"] .modal-media img { object-fit: contain; background: #f7f7f2; }
.modal-media span { position: absolute; top: 17px; left: 17px; background: var(--paper); padding: 6px 9px; color: var(--green); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.modal-content { padding: clamp(33px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.modal-kicker { color: var(--accent); font-family: var(--mono); font-size: 9px; letter-spacing: .13em; margin-bottom: 14px; }
.modal-content h2 { font-family: var(--serif); font-weight: 500; font-size: 31px; line-height: 1.3; letter-spacing: -.04em; margin: 0; }
.modal-code { color: var(--muted); font-family: var(--mono); font-size: 9px; margin: 10px 0 25px; }
.modal-description { color: var(--muted); font-size: 12px; line-height: 1.9; margin: 0 0 28px; }
.modal-specs { border-top: 1px solid var(--line); }
.modal-spec-row { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.modal-spec-row span:first-child { color: var(--muted); }
.modal-spec-row span:last-child { text-align: right; }
.modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 31px; }
.modal-footer > span { font-family: var(--mono); color: var(--green); font-size: 10px; }
.modal-footer .button { white-space: nowrap; }
.toast { position: fixed; z-index: 200; right: 22px; bottom: 22px; background: var(--ink); color: var(--paper); padding: 13px 17px; display: flex; align-items: center; gap: 9px; transform: translateY(90px); opacity: 0; transition: transform .25s, opacity .25s; font-size: 11px; }
.toast.visible { transform: translateY(0); opacity: 1; }
.toast svg { width: 15px; height: 15px; color: #c5d6c7; }

@media (max-width: 900px) {
  .main-nav { gap: 18px; }
  .catalog-button { padding: 0 11px; }
  .hero { gap: 34px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .principles { grid-template-columns: 1fr; gap: 45px; }
  .principle-grid { max-width: 780px; }
  .contact-section { gap: 8vw; padding-left: 2vw; padding-right: 2vw; }
}
@media (max-width: 680px) {
  .announcement { padding: 8px 5vw; font-size: 9px; }
  .site-header { padding: 13px 5vw; min-height: 68px; }
  .brand { min-width: 0; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 67px; padding: 18px 5vw; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 9px; }
  .main-nav.is-open { display: flex; }
  .language-options { position: static; box-shadow: none; border: 0; padding: 0 0 0 8px; margin-top: 2px; }
  .language-selector.is-open .language-options { display: grid; }
  .header-actions { min-width: 0; gap: 2px; }
  .mobile-menu { display: grid; }
  .catalog-button { display: none; }
  .section-shell { width: 90vw; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: 54px; padding-bottom: 65px; gap: 55px; }
  .hero h1 { font-size: 45px; }
  .hero-meta { margin-top: 45px; justify-content: space-between; }
  .hero-visual { max-width: none; padding-right: 18px; }
  .hero-note { right: -3px; width: 103px; height: 103px; }
  .principles { padding: 45px 0 50px; }
  .principle-grid { grid-template-columns: 1fr; gap: 25px; }
  .principle-grid article { padding: 0 0 0 20px; }
  .principle-grid svg { margin: 13px 0 10px; }
  .catalog-section { padding: 80px 0 90px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading h2 { font-size: 34px; }
  .catalog-heading-side { width: 100%; justify-content: space-between; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column-reverse; gap: 20px; padding-bottom: 0; }
  .search-field { width: 100%; padding-left: 0; padding-bottom: 11px; }
  .category-tabs { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); column-gap: 13px; row-gap: 36px; }
  .card-image { margin-bottom: 12px; }
  .product-card h3 { font-size: 15px; }
  .card-details { flex-direction: column; gap: 5px; }
  .feature-banner { width: 100%; grid-template-columns: 1fr; margin-bottom: 90px; }
  .feature-image { min-height: 290px; }
  .feature-copy { padding: 48px 8vw 55px; }
  .contact-section { grid-template-columns: 1fr; gap: 50px; padding: 0 0 85px; }
  .site-footer { padding: 35px 5vw 26px; grid-template-columns: 1fr 1fr; }
  .footer-links { justify-content: flex-start; flex-direction: column; gap: 12px; }
  .footer-meta { grid-column: 1 / -1; justify-self: start; text-align: left; margin-top: 25px; }
  .product-modal { grid-template-columns: 1fr; max-height: 92vh; }
  .modal-media { min-height: 300px; max-height: 47vh; }
  .modal-content { padding: 31px 25px 28px; }
  .modal-content h2 { font-size: 27px; }
}
