:root {
  --paper: #f8f9f6;
  --ink: #172923;
  --muted: #5c6964;
  --line: #d8dfd9;
  --accent: #3d6151;
  --surface: #fff;
  --surface-soft: #eef3ed;
  --surface-media: #eaf0e8;
  --surface-band: #e6eee4;
  --control-line: #a5b7ac;
  --frame-width: 100rem;
  --frame-gutter: clamp(1.25rem, 5vw, 5.75rem);
  --section-space: clamp(3rem, 6vw, 6rem);
  --type-hero: clamp(2.65rem, 1.7rem + 3.1vw, 4.75rem);
  --type-page: clamp(2.25rem, 1.6rem + 1.9vw, 3.6rem);
}
body { background: var(--paper); }
h1, h2 { font-family: var(--sans); font-weight: 500; }
h1 { letter-spacing: -.045em; }
h2 { letter-spacing: -.032em; }
:focus-visible { outline-color: var(--accent); }
.eyebrow { letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; font-weight: 600; }
.header {
  min-height: 92px;
  padding: 20px 4vw;
  gap: 40px;
  background: var(--paper);
  border-bottom-color: var(--line);
}
.wordmark { display: inline-flex; align-items: center; color: var(--ink); }
.brand-wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 31px;
  letter-spacing: .055em;
  line-height: 1;
  white-space: nowrap;
}
.brand-lockup { display: inline-flex; flex-direction: column; align-items: center; gap: 9px; }
.brand-descriptor { font-family: var(--sans); font-size: 8px; font-weight: 500; letter-spacing: .27em; line-height: 1; }
.wordmark .brand-lockup { display: inline-flex; margin: 0; }
.wordmark .brand-wordmark { font-family: var(--serif); font-size: 31px; margin: 0; letter-spacing: .055em; }
.wordmark .brand-descriptor { font-family: var(--sans); font-size: 8px; margin: 0; letter-spacing: .27em; }
.header nav { margin-left: auto; margin-right: 0; gap: clamp(24px,3vw,48px); }
.header nav a, .nav-collection summary { font-weight: 500; font-size: 14px; }
.header nav a { padding: 10px 0; }
.header nav a:hover::after, .header nav a.active::after { content: none; }
.header nav a:hover { color: var(--accent); }
.header nav a.active { text-decoration: underline; text-underline-offset: 6px; }
.nav-collection { position: relative; }
.nav-collection summary { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.nav-chevron { width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; rotate: 45deg; margin-bottom: 3px; transition: rotate .2s; }
.nav-collection[open] .nav-chevron { rotate: 225deg; margin-bottom: -2px; }
.nav-collection summary.active { color: var(--accent); }
.nav-categories {
  position: absolute;
  top: calc(100% + 22px);
  left: -30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 0 30px;
  width: max-content;
  min-width: 460px;
  max-width: calc(100vw - 40px);
  padding: 20px 30px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px #17292310;
}
.nav-collection:not([open]) .nav-categories { display: none; }
.nav-categories a { border-bottom: 1px solid var(--line); }
.nav-categories .nav-all { grid-column: 1/-1; color: var(--accent); margin-bottom: 8px; font-weight: 600; }
.header-tools { border-left: 1px solid var(--line); padding-left: 24px; }
.header-tools select { width: 104px; max-width: 140px; font-size: 13px; }
.button {
  min-height: 52px;
  padding: 14px 24px;
  gap: 12px;
  background: var(--ink);
  border-color: var(--ink);
}
.button:hover, .hero-copy .hero-buttons .button:hover, .product-cta .button:hover { background: #365546; color: #fff; }
.button.secondary { border-color: var(--control-line); }
.button.secondary:hover { background: var(--surface-band); }
.underlined-link { border-bottom-color: var(--control-line); }
.hero {
  min-height: clamp(540px, 47vw, 720px);
  grid-template-columns: 1fr 1.03fr;
  background: var(--surface-soft);
}
.hero-copy { padding: clamp(52px,7vw,108px) 7vw; justify-content: center; }
.hero-copy h1 {
  font-weight: 450;
  font-family: var(--sans);
  max-width: 10.5ch;
  line-height: 1.04;
  letter-spacing: -.06em;
  margin: 26px 0;
}
.hero-copy > p { max-width: 32ch; font-size: 17px; line-height: 1.6; }
.hero-buttons { margin-top: 32px; }
.hero-media { background: #dddcd8; }
.section { max-width: var(--frame-width); padding: var(--section-space) var(--frame-gutter); }
.section-heading { margin-bottom: 34px; align-items: baseline; }
.section-heading h2 { font-size: clamp(1.8rem,2.8vw,2.6rem); }
.product-grid { gap: 44px 24px; }
.product-picture, .main-photo, .thumbnail, .compare-art {
  background: var(--surface-media);
}
.product-card { display: flex; flex-direction: column; min-width: 0; }
.product-picture { aspect-ratio: 1 / 1.08; flex: none; }
.product-card h3 { font-size: clamp(1rem,1.35vw,1.2rem); font-weight: 500; margin-bottom: 16px; letter-spacing: -.02em; }
.card-meta { margin: 18px 0 10px; }
.card-meta .eyebrow { font-size: .72rem; line-height: 1.45; letter-spacing: .07em; }
.card-meta > span:last-child { font-size: .75rem; }
.card-actions { margin-top: auto; padding-top: 12px; font-size: .875rem; gap: 8px; }
.card-actions a { min-width: 0; overflow-wrap: anywhere; }
.card-actions svg { width: 15px; height: 15px; }
.product-art.art-cut, .product-art.art-alpha { filter: drop-shadow(0 16px 14px #25302515); }
.company-stats {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.25rem 0 0;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}
.company-stats > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  justify-items: center;
  gap: .6rem;
  min-width: 0;
  padding: clamp(1.15rem, 2.5vw, 2rem) .65rem;
  text-align: center;
}
.company-stats > div + div { border-inline-start: 1px solid var(--line); }
.company-stats dt { grid-row: 2; color: var(--muted); font-size: .875rem; line-height: 1.35; }
.company-stats dd {
  grid-row: 1;
  margin: 0;
  font-size: clamp(1.95rem, 4.2vw, 3.75rem);
  font-weight: 450;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
  line-height: 1;
  white-space: nowrap;
}
.company-stats small { margin-inline-start: .22em; font-size: .36em; letter-spacing: 0; }
.cta { padding: var(--section-space) var(--frame-gutter); background: var(--surface-band); }
.cta h2 { max-width: 24ch; font-size: clamp(1.9rem,3.1vw,2.8rem); margin: 0 auto 28px; }
footer { background: var(--ink); color: #e5eee4; padding: clamp(2.5rem, 5vw, 4rem) var(--frame-gutter) 1.5rem; }
.footer-top, .footer-bottom { max-width: var(--frame-width); margin-inline: auto; }
.footer-top { grid-template-columns: 1.2fr .9fr .9fr 1.3fr; gap: 5%; }
.footer-top .brand-wordmark { font-size: 37px; }
.footer-top p, .footer-bottom { color: #afc0b3; }
.footer-top .eyebrow { color: #afc0b3; font-size: 11px; }
.footer-top>div>a:not(.footer-logo), .footer-top .footer-contact>a { font-size: 13px; }
.footer-bottom { border-color: #4d6155; }
.page-head {
  padding: clamp(1.8rem, 3.3vw, 3.3rem) var(--frame-gutter);
  text-align: start;
  background: var(--surface-soft);
}
.page-head-inner {
  display: grid;
  gap: .65rem;
  width: 100%;
  max-width: calc(var(--frame-width) - 2 * var(--frame-gutter));
  margin-inline: auto;
}
.page-head h1 { margin: 0; }
.page-head .eyebrow { margin-bottom: .75rem; color: var(--accent); }
.page-head p { max-width: 68ch; margin: 0; font-size: var(--type-lead); }
.catalog-section { padding-block-start: clamp(1.65rem, 4vw, 3.5rem); }
.catalog-toolbar { align-items: stretch; }
.search-field {
  align-self: start;
  max-width: 32rem;
  padding-inline: .9rem;
  background: var(--surface);
  border: 1px solid var(--control-line);
  gap: .7rem;
}
.search-field input { min-height: 46px; padding-block: .6rem; }
.category-select select { background: var(--surface); border-color: var(--control-line); min-height: 46px; }
.filter-chips { margin-top: 1.1rem; }
.filter-chips button { border-color: var(--line); min-height: 42px; }
.filter-chips button:not([aria-pressed="true"]):hover { background: var(--surface-soft); }
.compare-banner, .empty-state { background: var(--surface-soft); border-color: var(--line); }

.product-detail { padding-block: clamp(1.6rem, 4vw, 3.5rem) var(--section-space); }
.product-detail .back-link { min-height: 40px; }
.product-copy .eyebrow { color: var(--accent); }
.product-copy h1 { letter-spacing: -.04em; }
.product-copy .model {
  display: inline-block;
  margin-block: 0;
  padding: .25rem .6rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.product-copy .product-lead { max-width: 52ch; }
.product-specifications .spec-table > div { border-color: var(--line); }
.product-specifications .spec-table dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.product-contact { display: block; padding: 0; margin: 0; background: var(--surface-band); }
.product-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem clamp(1.5rem, 5vw, 5rem);
  max-width: var(--frame-width);
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 3.5rem) var(--frame-gutter);
}
.product-contact p { max-width: 52ch; }
.product-contact-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.related-products .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.comparison-section { padding-block-start: clamp(1.65rem, 4vw, 3.5rem); }
.comparison-wrap { margin: 0; border: 1px solid var(--line); scrollbar-color: var(--control-line) var(--surface-soft); }
.comparison { background: var(--surface); font-variant-numeric: tabular-nums; }
.comparison :is(th,td) { border-inline-end: 1px solid var(--line); }
.comparison :is(th,td):last-child { border-inline-end: 0; }
.comparison thead { background: var(--surface-soft); }
.comparison tbody th { font-weight: 550; }
.comparison tbody tr:nth-child(even) { background: #f6f8f5; }
.comparison tbody tr:last-child > * { border-bottom: 0; }
.concern-photo { position: relative; background: var(--surface-media); }
.policy-page { max-width: 58rem; padding: var(--section-space) var(--frame-gutter); }
.policy-page p { font-size: 1rem; }
@media (max-width: 1080px) {
  .header { gap: 24px; }
  .header nav { padding: 18px 5vw 25px; margin: 0; background: var(--paper); align-items: start; justify-content: flex-start; gap: 24px; }
  .header nav.is-open { justify-content: flex-start; }
  .nav-categories { top: 100%; left: 0; }
  .header-tools { padding-left: 0; border-left: 0; margin-left: auto; }
}
@media (max-width: 760px) {
  .header { min-height: 78px; padding: 19px 5vw; }
  .brand-wordmark, .wordmark .brand-wordmark { font-size: 27px; }
  .header nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-collection summary { min-height: 46px; justify-content: space-between; }
  .nav-categories { position: static; width: 100%; min-width: 0; max-width: none; grid-template-columns: minmax(0,1fr); box-shadow: none; border: 0; padding: 0 0 12px 14px; }
  .nav-categories a { padding: 9px 0; font-size: 14px; }
  .nav-categories .nav-all { grid-column: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 45px 7vw 48px; }
  .hero-copy h1 { margin: 20px 0; font-size: clamp(2.6rem,8.8vw,4rem); max-width: 13ch; }
  .hero-copy>p { font-size: 16px; }
  .hero-media { aspect-ratio: 1.16; }
  .section-heading { flex-wrap: wrap; gap: 12px 25px; margin-bottom: 25px; }
  .product-grid { gap: 30px 16px; }
  .product-card h3 { font-size: 17px; }
  .card-meta { flex-wrap: wrap; }
  .card-actions { flex-direction: column; align-items: flex-start; gap: 6px; font-size: .875rem; }
  .card-actions .text-button { font-size: inherit; }
  .company-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-stats > div:nth-child(3) { border-inline-start: 0; }
  .company-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-top>div:first-child, .footer-top>div:last-child { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; }
  .catalog-toolbar { display: grid; gap: .65rem; }
  .search-field { max-width: none; }
  .category-select { justify-content: space-between; margin: 0; }
  .filter-chips { display: none; }
  .related-products .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-contact-inner { flex-direction: column; align-items: flex-start; }
  .comparison th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface-soft); }
}
@media (min-width: 761px) { .category-select { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .product-picture .product-art { transition: transform .45s ease-out; }
  .product-picture:hover .product-art { transform: scale(1.025); }
}
@media (max-width: 380px) {
  .header { gap: 12px; }
  .wordmark .brand-wordmark { font-size: 25px; }
  .header-tools { gap: 7px; }
}
