:root {
  color-scheme: light;
  --paper: #f6f3ee;
  --white: #fdfbf8;
  --ink: #261e1d;
  --muted: #655956;
  --wine: #7b303d;
  --wine-light: #f0a7ac;
  --rule: #dcd3cd;
  --night: #231d1d;
  --serif: "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --nav-size: 76px;
  --gutter: clamp(24px, 5.55vw, 104px);
  --section-space: clamp(66px, 8vw, 132px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-size); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.75 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid #d47889; outline-offset: 5px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.24; }
h1, h2 { font-family: var(--serif); }
h2 { font-size: clamp(2.35rem, 3.7vw, 3.8rem); font-weight: 700; letter-spacing: -.045em; }
h3 { font-size: 1.35rem; font-weight: 600; }
address { font-style: normal; }

.wrap { width: min(100% - var(--gutter) * 2, 1376px); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-lede { max-width: 35ch; color: var(--muted); font-size: 1.05rem; }
.crop { overflow: hidden; background: #382d2c; }
.crop img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.12rem;
  color: var(--wine);
  line-height: 1.45;
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .125em;
}
.eyebrow::before { content: ""; width: 23px; height: 1px; background: currentColor; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: .6rem 1.35rem;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.button-primary { background: #8b3545; color: #fff9f4; }
.button-primary:hover { background: #aa4858; }
.button-outline { border-color: #ebdcd395; color: #fff9f4; }
.button-outline:hover { background: #fff9f4; color: var(--ink); }
.button-dark { background: var(--wine); color: #fff9f4; }
.button-dark:hover { background: #58212c; }
.button-light { background: var(--white); color: #602831; }
.button-light:hover { background: #f1dbda; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; z-index: 10; top: .5rem; left: .5rem; padding: .5rem 1rem; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid #ddd5ce;
  background: var(--paper);
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--nav-size); column-gap: 2.2rem; }
.wordmark { display: inline-block; width: fit-content; }
.wordmark img { width: clamp(132px, 11.3vw, 178px); height: auto; }
.navigation { display: flex; align-items: center; gap: clamp(22px, 2.75vw, 48px); }
.navigation a { position: relative; display: flex; min-height: var(--nav-size); align-items: center; font-size: .9375rem; font-weight: 600; white-space: nowrap; }
.navigation a::after { content: ""; position: absolute; right: 0; bottom: 16px; left: 0; height: 1px; background: var(--wine); transform: scaleX(0); transition: transform .2s; }
.navigation a:hover, .navigation a[aria-current] { color: var(--wine); }
.navigation a:is(:hover, [aria-current])::after { transform: scaleX(1); }
.navigation .nav-mobile-contact { display: none; }
.header-cta { justify-self: end; min-height: 40px; border-color: #98717a; color: var(--wine); }
.header-cta:hover { background: var(--wine); border-color: var(--wine); color: white; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; display: grid; min-height: min(clamp(590px, 48.5vw, 810px), calc(100svh - var(--nav-size) - 1px)); align-items: center; background: #0e0d0d; color: #fff8f2; }
.brand-hero, .catalog-hero { min-height: clamp(380px, 35vw, 580px); }
.hero-media, .hero::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero-media { object-fit: cover; object-position: 63% 50%; }
.hero::after { content: ""; background: linear-gradient(90deg, #100e0efa 0%, #100e0ea8 30%, #100e0e1c 61%, transparent 76%); }
.hero-inner { padding-block: 60px 68px; }
.hero .eyebrow { color: #e9a7ad; margin-bottom: 1.55rem; }
.hero h1 { font-size: clamp(3.25rem, 5.35vw, 5.6rem); line-height: 1.14; font-weight: 700; letter-spacing: -.04em; }
.hero h1 span { display: block; margin-top: .14em; }
.hero-lede { max-width: 28em; margin-top: 1.5rem; color: #eaddd7; font-size: 1.05rem; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-copy > * { animation: hero-rise .68s both cubic-bezier(.2, .7, .3, 1); }
.hero-copy h1 { animation-delay: .08s; }
.hero-copy .hero-lede { animation-delay: .15s; }
.hero-copy .hero-actions { animation-delay: .21s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.section-intro { display: grid; grid-template-columns: 1fr minmax(18rem, 28ch); gap: 2rem; align-items: end; margin-bottom: clamp(28px, 4.1vw, 57px); }
.section-intro > p { color: var(--muted); padding-bottom: .25rem; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.55vw, 42px); }
.product-photo { aspect-ratio: 1.63; }
.product-photo img { object-position: center 50%; transition: transform .5s cubic-bezier(.23, 1, .32, 1); }
.product-photo-color img { object-position: 58% 50%; }
.product-link { display: block; }
.product-link:is(:hover, :focus-visible) .product-photo img { transform: scale(1.035); }
.product-caption { display: flex; gap: .8rem; align-items: end; justify-content: space-between; padding-block: 1.18rem; border-bottom: 1px solid var(--rule); }
.product-caption p { color: var(--muted); margin-top: .38rem; font-size: .9375rem; }
.product-detail { display: inline-flex; flex: none; gap: .55rem; align-items: center; align-self: center; color: var(--wine); font-size: .875rem; }
.plus { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #b99198; border-radius: 50%; }
.plus::before, .plus::after { content: ""; grid-area: 1 / 1; background: currentColor; width: 9px; height: 1px; }
.plus::after { transform: rotate(90deg); }
.product-link:is(:hover, :focus-visible) .plus { background: var(--wine); border-color: var(--wine); color: white; }
.products-more { margin-top: clamp(24px, 3.6vw, 46px); text-align: center; }

.engineering { background: #211c1d; color: #fff8f2; }
.engineering .eyebrow, .craft .eyebrow { color: var(--wine-light); }
.engineering .section-lede { margin-top: 1.25rem; color: #d4c5c2; }
.engineering-layout { display: grid; grid-template-columns: minmax(315px, .85fr) minmax(0, 1.2fr); gap: clamp(35px, 6vw, 106px); align-items: center; }
.dev-tabs { display: none; }
.js .dev-tabs { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 29rem; margin-top: 2rem; border-bottom: 1px solid #625356; }
.dev-tabs button { padding: .72rem .35rem; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #d7cdcb; font-size: .9375rem; }
.dev-tabs button:hover, .dev-tabs button[aria-selected="true"] { color: #fff8f2; }
.dev-tabs button[aria-selected="true"] { border-color: #df8793; }
.dev-photo { aspect-ratio: 1.68; }
#panel-fit .dev-photo img { object-position: center 70%; }
.dev-panel + .dev-panel { margin-top: 1rem; }
.js .dev-panel + .dev-panel { margin-top: 0; }
.dev-panel figcaption { display: grid; grid-template-columns: max-content 1fr; gap: .8rem; min-height: 3.75rem; padding-block: .8rem .15rem; color: #d4c5c2; font-size: .875rem; }
.dev-panel figcaption strong { color: #fff8f2; }
.dev-panel.is-current { animation: panel-in .25s ease-out; }
@keyframes panel-in { from { opacity: .45; } to { opacity: 1; } }

.craft { background: var(--white); }
.craft-cover { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(460px, 44vw, 660px); color: #fff8f2; background: #332322; }
.craft-cover::after, .craft-cover > img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.craft-cover::after { content: ""; background: linear-gradient(90deg, #140d0cf0 0%, #140d0c92 33%, #140d0c0d 67%, transparent); }
.craft-cover > img { object-fit: cover; object-position: 60% 56%; }
.craft-cover-content { padding-block: 50px; }
.craft-cover-content p:last-child { max-width: 24em; margin-top: 1.1rem; color: #eadbd3; }
.craft-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.9vw, 46px); padding-block: clamp(34px, 5.25vw, 84px); }
.craft-step-photo { aspect-ratio: 1.73; margin-bottom: 1.15rem; }
.craft-steps h3 { margin-bottom: .5rem; }
.craft-steps p { color: var(--muted); }

.global { border-top: 1px solid var(--rule); }
.global-layout { display: grid; grid-template-columns: minmax(275px, .78fr) minmax(0, 1.22fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.global h2 { margin-bottom: 1.2rem; }
.global-stat { display: flex; align-items: center; gap: 1.1rem; margin-block: 1.6rem; padding: .35rem 0 .5rem; border-block: 1px solid var(--rule); width: fit-content; min-width: min(100%, 265px); }
.global-stat strong { color: var(--wine); font: 400 clamp(4rem, 6.6vw, 6rem)/1 Georgia, serif; letter-spacing: -.08em; }
.global-stat span { line-height: 1.5; font-size: .975rem; font-weight: 600; }
.global-stat small { color: var(--muted); font-size: .8125rem; font-weight: 400; }
.global-photo { aspect-ratio: 1.34; }
.global-photo img { object-position: 56%; }
.global-figure figcaption { margin-top: .55rem; color: var(--muted); font-size: .8125rem; }

.contact { background: #652a36; color: #fffaf4; padding-block: clamp(52px, 6vw, 94px); }
.contact-layout { display: grid; grid-template-columns: 1.07fr .93fr; gap: clamp(34px, 7vw, 110px); align-items: center; }
.contact .eyebrow { color: #f4c0c4; }
.contact p:not(.eyebrow, .copy-status) { max-width: 34em; margin-top: 1rem; color: #efd9d8; }
.contact .button { margin-top: 1.55rem; }
.contact-details { position: relative; }
.contact-details dl > div { display: grid; grid-template-columns: 3.5em 1fr; gap: .85rem; align-items: start; padding-block: .85rem; border-top: 1px solid #ecd3d162; }
.contact-details dl > div:last-child { border-bottom: 1px solid #ecd3d162; }
.contact-details dt { color: #eac0c4; font-size: .875rem; padding-top: .1rem; }
.contact-details dd a:hover { text-decoration: underline; text-underline-offset: .2em; }
.email-line { display: flex; align-items: center; gap: .55rem 1rem; flex-wrap: wrap; }
.copy-button { padding: .15rem .6rem; border: 1px solid #ecd3d18a; background: none; color: #fff5ef; font-size: .8125rem; }
.copy-button:hover { background: #fff5ef; color: #652a36; }
.copy-status { position: absolute; top: 100%; font-size: .8125rem; padding-top: .22rem; color: #fff2eb; }

.footer {
  padding-block: clamp(32px, 4vw, 56px) 1.3rem;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(24px, 5vw, 80px);
  padding-bottom: clamp(24px, 3vw, 42px);
}
.footer-brand .wordmark img { width: clamp(132px, 11vw, 160px); }
.footer-company { margin-top: .7rem; font-size: 1rem; font-weight: 600; }
.footer-tagline { margin-top: .15rem; color: var(--muted); font-size: .875rem; }
.footer-heading { margin-bottom: .55rem; font: 650 1rem/1.4 var(--sans); letter-spacing: normal; }
.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: .15rem clamp(15px, 2.8vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav a, .footer-contact a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  font-size: .9375rem;
}
.footer-nav a:is(:hover, :focus-visible), .footer-contact a { color: var(--wine); }
.footer-address { display: grid; justify-items: start; }
.footer-contact a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: .25em;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .35rem 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .8125rem;
}

.product-dialog { width: min(100% - 36px, 900px); max-height: calc(100% - 36px); border: 0; color: var(--ink); background: var(--paper); padding: 0; }
.product-dialog::backdrop { background: #100909b8; }
.dialog-content { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; }
.dialog-content form { position: absolute; top: .7rem; right: .7rem; }
.dialog-close { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--rule); background: var(--paper); font-size: 1.65rem; line-height: 1; }
.dialog-close:hover { color: white; background: var(--wine); }
.dialog-image { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.dialog-body { padding: 3.6rem 2rem 2.2rem; }
.dialog-body h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1rem; }
.dialog-body p:not(.eyebrow) { color: var(--muted); }
.dialog-options { margin-block: 1rem 1.5rem; border-top: 1px solid var(--rule); padding-top: .8rem; }
.dialog-options strong { color: var(--ink); margin-right: .35rem; }

.reveal-ready { opacity: 0; transform: translateY(15px); transition: opacity .55s ease-out, transform .55s ease-out; }
.reveal-ready.is-visible, .reveal-ready:focus-within { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  :root { --nav-size: 68px; --gutter: clamp(22px, 4.5vw, 56px); }
  .navigation { gap: clamp(.55rem, 1.25vw, 1rem); justify-content: center; }
  .header-inner { grid-template-columns: auto 1fr auto; column-gap: clamp(.65rem, 1.5vw, 1.1rem); }
  .navigation a { font-size: .875rem; }
  .hero { min-height: min(clamp(500px, 66vw, 690px), calc(100svh - var(--nav-size) - 1px)); }
  .engineering-layout { grid-template-columns: minmax(260px, .95fr) minmax(0, 1.05fr); }
}

@media (max-width: 760px) {
  :root { --nav-size: 62px; --section-space: 59px; }
  .brand-hero, .catalog-hero { min-height: 390px; }
  h2 { font-size: clamp(2rem, 6.8vw, 2.75rem); }
  .header-inner { grid-template-columns: 1fr auto; min-height: var(--nav-size); }
  .header-cta { display: none; }
  .navigation { grid-column: 1 / -1; align-items: stretch; flex-wrap: wrap; padding-block: .35rem .7rem; }
  .navigation a { min-height: 38px; }
  .navigation .nav-mobile-contact { display: flex; }
  .navigation a::after { bottom: .22rem; }
  .js .menu-toggle { display: flex; width: 43px; height: 43px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 1px solid var(--rule); background: transparent; }
  .menu-toggle span { width: 18px; height: 1.5px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .js .navigation { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; gap: 0; max-height: calc(100dvh - var(--nav-size)); overflow-y: auto; padding: .55rem var(--gutter) 1.05rem; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 13px 25px #20101819; }
  .js .navigation[data-open] { display: flex; }
  .js .navigation a { min-height: 45px; border-bottom: 1px solid var(--rule); }
  .js .navigation a::after { display: none; }
  .hero { min-height: min(635px, calc(100svh - var(--nav-size) - 1px)); align-items: end; }
  .hero-inner { padding-block: 115px 45px; }
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 4.2rem); }
  .hero-media { object-position: 71% 45%; }
  .hero::after { background: linear-gradient(0deg, #100e0efc 0%, #100e0ecd 28%, #100e0e75 55%, #100e0e10 90%); }
  .hero-lede { max-width: 22em; font-size: 1rem; margin-top: 1rem; }
  .hero-actions { margin-top: 1.45rem; gap: .55rem; }
  .hero .eyebrow { margin-bottom: 1.05rem; }
  .section-intro { grid-template-columns: 1fr; gap: .75rem; }
  .section-intro > p { max-width: 30em; }
  .engineering-layout, .global-layout, .contact-layout { grid-template-columns: 1fr; }
  .engineering-layout { gap: 1.6rem; }
  .js .dev-tabs { margin-top: 1.15rem; }
  .craft-cover { min-height: 405px; align-items: end; }
  .craft-cover > img { object-position: 68% center; }
  .craft-cover::after { background: linear-gradient(0deg, #140d0cf2, #140d0c84 44%, transparent 86%); }
  .craft-cover-content { padding-block: 45px 35px; }
  .craft-steps { gap: 1.35rem; }
  .global-stat { margin-block: 1.15rem 1.35rem; }
  .global-photo { aspect-ratio: 1.5; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-nav ul { max-width: 20rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .footer-nav a, .footer-contact a { min-height: 44px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 530px) {
  .button { padding-inline: .9rem; }
  .product-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .product-caption { padding-block: .85rem; }
  .craft-steps { grid-template-columns: 1fr; }
  .craft-step-photo { margin-bottom: .85rem; }
  .craft-steps article + article { border-top: 1px solid var(--rule); padding-top: 1.35rem; }
  .craft-steps p { font-size: .9375rem; }
  .dialog-content { grid-template-columns: 1fr; }
  .dialog-image { min-height: 0; max-height: 47svh; }
  .dialog-body { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
