:root {
  color-scheme: light dark;
  --paper: #f7f6f1;
  --surface: #fffefa;
  --ink: #222a32;
  --muted: #697078;
  --line: #dcdedb;
  --blue: #244bb9;
  --pale: #e9edf5;
  --photo: #ebe9e1;
  --shadow: 0 20px 80px #13213a24;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button,
a {
  touch-action: manipulation;
}
button {
  background: none;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.07;
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 500;
}
h3 {
  font-size: 21px;
  font-weight: 500;
}
p {
  overflow-wrap: break-word;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1320px, calc(100% - 96px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:is(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
  border-radius: 2px;
}
.skip {
  position: fixed;
  top: 10px;
  left: 20px;
  z-index: 100;
  background: var(--blue);
  color: white;
  padding: 12px;
  transform: translateY(-180%);
}
.skip:focus {
  transform: none;
}
.topline {
  display: flex;
  justify-content: space-between;
  padding-block: 14px;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 27px;
  letter-spacing: -1.4px;
  font-weight: 700;
  white-space: nowrap;
}
.brand-dot {
  color: var(--blue);
}
.brand img {
  width: 28px;
  height: 28px;
}
.header nav {
  display: flex;
  gap: 30px;
  font-size: 12px;
}
.header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.header nav a:hover,
.text-button:hover {
  color: var(--blue);
}
.space-button {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  min-height: 44px;
  padding: 5px 0 5px 10px;
}
.space-button svg {
  width: 17px;
  height: 17px;
}
.selection-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  font-size: 10px;
}
.hero {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 40px;
  padding-top: 12px;
  align-items: stretch;
}
.hero-copy {
  padding: 52px 0 20px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 0.15em;
  font-weight: 500;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tiny-square {
  width: 6px;
  height: 6px;
  background: var(--blue);
  display: inline-block;
}
.hero h1 {
  font-size: clamp(66px, 7.1vw, 108px);
  font-weight: 500;
  line-height: 0.98;
  margin-block: 28px 24px;
  letter-spacing: -0.075em;
}
.hero h1 > span {
  color: var(--blue);
}
.hero-lead {
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.035em;
}
.hero-text {
  max-width: 310px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin-top: 14px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  min-height: 50px;
  background: var(--blue);
  color: white;
  padding: 13px 20px;
  font-size: 12px;
  border: 1px solid var(--blue);
}
.button:hover {
  filter: brightness(1.08);
}
.button svg {
  width: 17px;
  height: 17px;
}
.hero-copy > .button {
  margin-top: 28px;
}
.hero-bottom {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 46px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}
.number-mark {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.06em;
  color: var(--ink);
  border-right: 1px solid var(--line);
  padding-right: 15px;
}
.hero-figure {
  position: relative;
  min-width: 0;
  background: var(--photo);
  overflow: hidden;
}
.hero-figure > img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  max-height: 720px;
  object-fit: cover;
  object-position: 53% center;
}
.hero-figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  color: #fdfbf4;
  background: linear-gradient(transparent, #1017276b);
  font-size: 8px;
  letter-spacing: 0.12em;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
  gap: 30px;
}
.principles > div {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 11px;
  color: var(--muted);
}
.principles > div > span {
  font-size: 9px;
  color: var(--blue);
  padding-top: 3px;
}
.principles strong {
  font-weight: 400;
  color: var(--ink);
  font-size: 12px;
}
.catalog {
  padding-top: 95px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-bottom: 36px;
}
.section-heading h2 {
  margin-top: 17px;
}
.section-heading > p {
  color: var(--muted);
  font-size: 12px;
  max-width: 270px;
}
.catalog-controls {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 18px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 400px;
  flex: 1;
  min-width: 0;
}
.search svg {
  width: 17px;
  height: 17px;
}
.search input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 5px;
  font-size: 12px;
  min-width: 0;
  border-radius: 0;
  outline-offset: 0;
}
.sort {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  white-space: nowrap;
}
.sort > span {
  color: var(--muted);
}
select {
  border: 0;
  background: var(--paper);
  padding: 10px 23px 10px 6px;
  font-size: 11px;
  cursor: pointer;
  min-height: 44px;
}
.category-row {
  display: flex;
  gap: 6px;
  overflow: auto;
  scrollbar-width: thin;
  padding: 2px 2px 14px;
  white-space: nowrap;
}
.filter-chip {
  padding: 10px 16px;
  border: 1px solid var(--line);
  font-size: 11px;
  min-height: 44px;
  border-radius: 50px;
}
.filter-chip:hover,
.filter-chip.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.measure-filters {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.measure-filters summary {
  cursor: pointer;
  min-height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  list-style: none;
}
.measure-filters summary::-webkit-details-marker {
  display: none;
}
.measure-filters summary > span {
  color: var(--muted);
  font-size: 10px;
}
.range-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 15px 0 25px;
}
.range-grid label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  font-size: 11px;
}
.range-grid output {
  color: var(--blue);
}
input[type="range"] {
  grid-column: 1/-1;
  width: 100%;
  min-height: 30px;
  accent-color: var(--blue);
  margin: 0;
  cursor: pointer;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  min-height: 44px;
  padding: 5px 0;
}
.text-button svg {
  width: 16px;
  height: 16px;
}
.catalog-status {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-block: 23px;
  font-size: 10px;
  color: var(--muted);
}
.catalog-status > span {
  font-size: 9px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px 24px;
}
.product {
  min-width: 0;
}
.product-photo {
  position: relative;
  background: var(--photo);
  overflow: hidden;
}
.product-image {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}
.product-image > img {
  width: 100%;
  aspect-ratio: 1.23;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-image:hover > img {
  transform: scale(1.035);
}
.save-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 8px #0001;
}
.save-button svg {
  width: 17px;
  height: 17px;
}
.save-button[aria-pressed="true"] {
  color: var(--blue);
}
.save-button[aria-pressed="true"] svg {
  fill: var(--blue);
}
.dimension-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--surface);
  padding: 5px 8px;
  font-size: 8px;
  pointer-events: none;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding-top: 16px;
}
.product-category {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 7px;
}
.product h3 {
  font-size: 20px;
  letter-spacing: -0.055em;
}
.product h3 button {
  padding: 0;
  text-align: left;
  font: inherit;
  letter-spacing: inherit;
}
.product-material {
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}
.product-price {
  text-align: right;
  font-size: 12px;
  padding-top: 20px;
  white-space: nowrap;
}
.product-price > button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 44px;
  min-height: 36px;
  margin-left: auto;
  padding: 5px 0;
}
.product-price svg {
  width: 18px;
  height: 18px;
}
.empty-state {
  padding: 70px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.empty-state h3 {
  font-size: 28px;
}
.empty-state p {
  margin-block: 12px 24px;
  color: var(--muted);
}
.space-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
  margin-top: 100px;
  background: var(--pale);
}
.space-story figure {
  position: relative;
  height: 100%;
  min-width: 0;
}
.space-story figure > img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}
.space-story figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: white;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 5px #0009;
}
.story-copy {
  padding: 45px 35px 45px 0;
  max-width: 420px;
}
.story-copy h2 {
  font-size: clamp(34px, 3.8vw, 54px);
  margin-block: 25px;
  letter-spacing: -0.06em;
}
.story-copy h2 > span {
  color: var(--blue);
}
.story-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  margin-block: 15px;
  max-width: 320px;
}
.story-copy .text-button {
  margin-top: 12px;
}
.measure-guide {
  padding-block: 100px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.guide-number {
  color: var(--blue);
  font-size: 10px;
}
.guide-grid h3 {
  font-size: 23px;
  margin-top: 25px;
  margin-bottom: 12px;
}
.guide-grid p {
  font-size: 12px;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.8;
}
.closing {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 60px;
  text-align: center;
}
.closing .eyebrow {
  justify-content: center;
}
.closing h2 {
  font-size: clamp(32px, 4vw, 56px);
  margin-block: 20px 28px;
}
.demo-note {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 800px;
  text-align: center;
  padding-block: 28px;
}
.js-note {
  font-size: 12px;
  color: var(--muted);
  padding-top: 20px;
}
.nmc-footer {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 22px;
  font-size: 11px;
  color: var(--muted);
}
.nmc-footer .brand {
  font-size: 23px;
  color: var(--ink);
}
.nmc-footer .brand img {
  width: 26px;
  height: 26px;
}
.nmc-footer__credit {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  min-height: 44px;
}
.nmc-footer svg {
  width: 13px;
  height: 13px;
}
.nmc-footer__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}
.nmc-footer__nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.project-page {
  padding-block: 70px;
}
.project-page h1 {
  font-size: clamp(45px, 6vw, 84px);
  font-weight: 500;
  margin-block: 25px;
}
.project-page h1 > span {
  color: var(--blue);
}
.project-lead {
  max-width: 650px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
}
.project-facts {
  display: flex;
  gap: 60px;
  margin-block: 45px;
  font-size: 12px;
}
.project-facts dt {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.project-facts dd {
  margin: 10px 0 0;
}
.project-image img {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
}
.project-image figcaption {
  font-size: 10px;
  color: var(--muted);
  padding-top: 10px;
}
.project-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding-block: 55px;
  border-bottom: 1px solid var(--line);
}
.project-section h2 {
  font-size: 34px;
}
.project-section p,
.project-section li {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}
.project-section ul {
  padding-left: 18px;
  margin: 0;
}
.project-page > .button {
  margin-top: 35px;
}
dialog {
  background: var(--surface);
  color: var(--ink);
  border: 0;
  padding: 0;
  max-height: calc(100dvh - 32px);
  overscroll-behavior: contain;
  box-shadow: var(--shadow);
}
dialog::backdrop {
  background: #14203991;
  backdrop-filter: blur(3px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.close-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 27px;
  line-height: 1;
  z-index: 2;
  background: var(--surface);
  flex-shrink: 0;
}
.detail-dialog {
  width: min(1000px, calc(100% - 32px));
  max-width: 1000px;
  overflow: auto;
}
.detail-dialog > .close-button {
  position: absolute;
  right: 8px;
  top: 8px;
  border-radius: 50%;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.detail-image {
  background: var(--photo);
  min-height: 550px;
}
.detail-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-copy {
  padding: 55px 35px 30px;
}
.detail-copy h2 {
  font-size: 38px;
  margin-block: 12px 20px;
}
.detail-copy > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.detail-price {
  font-size: 24px !important;
  color: var(--ink) !important;
  margin-block: 20px 6px;
}
.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  margin-block: 22px;
}
.detail-facts dt {
  font-size: 9px;
  color: var(--muted);
}
.detail-facts dd {
  margin: 5px 0 0;
  font-size: 16px;
}
.detail-material {
  font-size: 11px !important;
  margin-bottom: 16px;
}
.detail-copy .button {
  width: 100%;
  margin-top: 12px;
}
.detail-note {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 11px;
  color: var(--muted);
}
.detail-note summary {
  cursor: pointer;
  min-height: 32px;
  color: var(--ink);
}
.detail-note p {
  margin-top: 10px;
  line-height: 1.8;
}
.small-note {
  font-size: 10px !important;
  margin-top: 15px;
}
.space-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(470px, 100%);
  max-width: 100%;
  max-height: 100dvh;
  height: 100dvh;
  overflow: auto;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 28px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  font-size: 34px;
  margin-top: 8px;
}
.space-dialog #space-content {
  padding: 25px 28px 30px;
}
.selection-empty {
  padding-top: 40px;
  text-align: center;
}
.selection-empty > svg {
  margin: auto;
  width: 40px;
  height: 40px;
  color: var(--blue);
}
.selection-empty h3 {
  font-size: 29px;
  margin-top: 25px;
}
.selection-empty p {
  font-size: 13px;
  color: var(--muted);
  margin-block: 18px 25px;
}
.selection-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.selection-row > img {
  width: 90px;
  height: 100px;
  object-fit: cover;
}
.selection-row h3 {
  font-size: 18px;
  padding-right: 20px;
}
.selection-row p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.selection-row .row-price {
  font-size: 12px;
  color: var(--ink);
}
.remove-button {
  position: absolute;
  right: 0;
  top: 10px;
  width: 32px;
  height: 32px;
  font-size: 20px;
  color: var(--muted);
}
.quantity {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
  font-size: 11px;
}
.quantity button {
  width: 32px;
  height: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.quantity button:disabled {
  opacity: 0.35;
  cursor: default;
}
.selection-row > strong {
  font-size: 12px;
  font-weight: 400;
  align-self: center;
}
.selection-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}
.selection-total span {
  font-size: 12px;
}
.selection-total strong {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.selection-actions .button {
  width: 100%;
  margin-top: 25px;
}
.selection-actions > .text-button {
  display: flex;
  margin: 12px auto 0;
  font-size: 10px;
  color: var(--muted);
}
.storage-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 18px;
  line-height: 1.8;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  padding: 13px 20px;
  font-size: 12px;
  max-width: calc(100% - 32px);
  width: max-content;
}
@media (min-width: 1600px) {
  .hero h1 {
    font-size: 108px;
  }
  .hero-figure > img {
    min-height: 660px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 24px;
    grid-template-columns: 0.9fr 1.1fr;
  }
  .hero h1 {
    font-size: 74px;
  }
  .hero-copy {
    padding-top: 35px;
  }
  .hero-figure > img {
    min-height: 560px;
  }
  .hero-bottom {
    margin-top: 30px;
  }
  .header nav {
    gap: 20px;
  }
  .brand {
    font-size: 24px;
  }
  .space-story {
    gap: 6%;
  }
  .story-copy {
    padding-right: 20px;
  }
  .story-copy h2 {
    font-size: 40px;
  }
  .range-grid {
    gap: 20px;
  }
  .principles {
    gap: 16px;
  }
  .principles > div {
    gap: 10px;
  }
  .guide-grid {
    gap: 28px;
  }
}
@media (max-width: 800px) {
  .header nav a:last-child {
    display: none;
  }
  .header {
    gap: 18px;
    min-height: 80px;
  }
  .header nav {
    gap: 18px;
  }
  .hero {
    gap: 22px;
    grid-template-columns: 0.9fr 1.1fr;
  }
  .hero h1 {
    font-size: 64px;
  }
  .hero-copy {
    padding-top: 18px;
  }
  .hero-lead {
    font-size: 17px;
  }
  .hero-text {
    font-size: 12px;
  }
  .hero-figure > img {
    min-height: 530px;
  }
  .hero-bottom {
    font-size: 9px;
  }
  .hero-copy > .button {
    margin-top: 22px;
    font-size: 11px;
    gap: 15px;
  }
  .principles {
    gap: 15px;
    padding-block: 23px;
  }
  .principles > div {
    font-size: 10px;
  }
  .principles strong {
    font-size: 11px;
  }
  .product-grid {
    gap: 30px 18px;
  }
  .product h3 {
    font-size: 18px;
  }
  .catalog {
    padding-top: 70px;
  }
  .section-heading {
    gap: 25px;
  }
  .section-heading > p {
    font-size: 11px;
    max-width: 200px;
  }
  .range-grid {
    grid-template-columns: 1fr 1fr;
  }
  .range-grid > .text-button {
    grid-column: 1/-1;
  }
  .space-story {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 70px;
  }
  .story-copy h2 {
    font-size: 34px;
  }
  .space-story figure > img {
    min-height: 470px;
  }
  .measure-guide {
    padding-block: 70px;
  }
  .guide-grid {
    gap: 22px;
  }
  .guide-grid h3 {
    font-size: 20px;
  }
  .guide-grid p {
    font-size: 11px;
  }
  .guide-grid .guide-number {
    font-size: 9px;
  }
  .project-section {
    gap: 40px;
  }
  .project-facts {
    gap: 30px;
  }
  .detail-layout {
    grid-template-columns: 1fr 1fr;
  }
  .detail-copy {
    padding: 50px 24px 25px;
  }
  .detail-copy h2 {
    font-size: 32px;
  }
  .detail-image {
    min-height: 540px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .topline {
    font-size: 7px;
    padding-block: 12px;
  }
  .header {
    min-height: 78px;
    gap: 12px;
  }
  .header .brand {
    font-size: 23px;
    gap: 7px;
  }
  .header .brand img {
    width: 24px;
    height: 24px;
  }
  .header nav {
    display: none;
  }
  .space-button {
    font-size: 10px;
    gap: 7px;
  }
  .space-button svg {
    width: 16px;
    height: 16px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 22px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(65px, 12vw, 88px);
    margin-block: 25px 22px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-lead {
    font-size: 20px;
  }
  .hero-text {
    font-size: 12px;
    max-width: 320px;
    margin-top: 12px;
  }
  .hero-copy > .button {
    margin-top: 24px;
    font-size: 12px;
  }
  .hero-bottom {
    display: none;
  }
  .hero-figure > img {
    min-height: 0;
    height: auto;
    aspect-ratio: 1.18;
    max-height: none;
    object-position: center;
  }
  .hero-figure figcaption {
    padding: 14px;
    font-size: 7px;
    gap: 10px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 22px;
  }
  .principles > div {
    gap: 15px;
    font-size: 10px;
    align-items: center;
  }
  .principles > div p br {
    display: none;
  }
  .principles strong {
    font-size: 10px;
  }
  .principles > div span {
    font-size: 8px;
    padding: 0;
  }
  .catalog {
    padding-top: 55px;
  }
  .section-heading {
    display: block;
    margin-bottom: 24px;
  }
  .section-heading h2 {
    font-size: 33px;
    margin-top: 12px;
  }
  .section-heading > p {
    max-width: none;
    font-size: 11px;
    margin-top: 15px;
  }
  .catalog-controls {
    gap: 12px;
    padding-block: 10px;
  }
  .search input {
    font-size: 11px;
    padding-inline: 0;
  }
  .search {
    gap: 8px;
  }
  .search svg {
    width: 15px;
    height: 15px;
  }
  .sort > span {
    display: none;
  }
  .sort select {
    font-size: 10px;
    padding-right: 15px;
    max-width: 130px;
  }
  .category-row {
    margin-right: -20px;
    padding-right: 20px;
    gap: 5px;
  }
  .filter-chip {
    font-size: 10px;
    padding: 9px 13px;
  }
  .measure-filters summary {
    display: block;
    padding-block: 13px;
    font-size: 10px;
  }
  .measure-filters summary > span {
    display: block;
    font-size: 9px;
    margin-top: 4px;
  }
  .range-grid {
    gap: 20px 18px;
    padding-top: 10px;
  }
  .range-grid label {
    font-size: 10px;
    gap: 8px;
  }
  .range-grid > .text-button {
    font-size: 10px;
  }
  .catalog-status {
    font-size: 9px;
    padding-block: 20px;
    gap: 12px;
  }
  .catalog-status > span {
    font-size: 8px;
    text-align: right;
    max-width: 95px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
  }
  .product-image > img {
    aspect-ratio: 0.92;
  }
  .save-button {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }
  .save-button svg {
    width: 15px;
    height: 15px;
  }
  .dimension-tag {
    bottom: 8px;
    left: 8px;
    font-size: 7px;
    padding: 4px 6px;
  }
  .product-meta {
    padding-top: 12px;
    gap: 7px;
  }
  .product-category {
    font-size: 7px;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
  }
  .product h3 {
    font-size: 17px;
  }
  .product-material {
    font-size: 8px;
    margin-top: 6px;
  }
  .product-price {
    font-size: 10px;
    padding-top: 17px;
  }
  .product-price > button {
    min-width: 25px;
    min-height: 32px;
  }
  .product-price svg {
    width: 15px;
    height: 15px;
  }
  .space-story {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 55px;
  }
  .space-story figure > img {
    min-height: 0;
    aspect-ratio: 1.2;
  }
  .space-story figcaption {
    left: 18px;
    bottom: 17px;
    font-size: 7px;
  }
  .story-copy {
    padding: 32px 25px;
    max-width: none;
  }
  .story-copy h2 {
    font-size: 39px;
    margin-block: 18px;
  }
  .story-copy > p:not(.eyebrow) {
    font-size: 12px;
    max-width: none;
  }
  .measure-guide {
    padding-block: 55px;
  }
  .measure-guide .section-heading h2 {
    font-size: 32px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 25px;
  }
  .guide-grid article {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 8px 15px;
  }
  .guide-number {
    grid-row: 1/3;
    padding-top: 4px;
  }
  .guide-grid h3 {
    font-size: 22px;
    margin: 0;
  }
  .guide-grid p {
    max-width: none;
    font-size: 12px;
    grid-column: 2;
  }
  .closing {
    padding-block: 40px;
  }
  .closing .eyebrow {
    font-size: 8px;
  }
  .closing h2 {
    font-size: 36px;
    margin-block: 18px 25px;
  }
  .closing .button {
    font-size: 11px;
  }
  .demo-note {
    font-size: 9px;
    max-width: 480px;
    padding-block: 24px;
    text-align: left;
  }
  .nmc-footer {
    gap: 10px;
    padding-block: 12px;
    font-size: 10px;
  }
  .nmc-footer .brand {
    font-size: 18px;
    gap: 5px;
  }
  .nmc-footer .brand img {
    width: 26px;
    height: 26px;
  }
  .nmc-footer .brand > span {
    display: none;
  }
  .nmc-footer__nav {
    gap: 8px;
  }
  .nmc-footer__credit {
    font-size: 10px;
  }
  .nmc-footer svg {
    width: 11px;
    height: 11px;
  }
  .project-page {
    padding-block: 40px;
  }
  .project-page h1 {
    font-size: 46px;
    margin-block: 24px;
  }
  .project-page .eyebrow {
    font-size: 8px;
  }
  .project-lead {
    font-size: 16px;
  }
  .project-facts {
    gap: 20px;
    flex-wrap: wrap;
    margin-block: 30px;
  }
  .project-facts dd {
    font-size: 11px;
  }
  .project-section {
    display: block;
    padding-block: 32px;
  }
  .project-section h2 {
    font-size: 29px;
    margin-bottom: 20px;
  }
  .project-section p,
  .project-section li {
    font-size: 13px;
  }
  .project-image figcaption {
    font-size: 9px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-image {
    min-height: 0;
  }
  .detail-image > img {
    aspect-ratio: 1.3;
    object-fit: cover;
    max-height: 330px;
  }
  .detail-copy {
    padding: 28px 24px;
  }
  .detail-copy h2 {
    font-size: 34px;
    margin-block: 10px 15px;
  }
  .detail-copy > p:not(.eyebrow) {
    font-size: 12px;
  }
  .detail-facts {
    margin-block: 18px;
    padding-block: 16px;
  }
  .detail-dialog {
    max-height: calc(100dvh - 24px);
    width: calc(100% - 24px);
  }
  .detail-copy .button {
    font-size: 11px;
  }
  .drawer-head {
    padding: 24px 20px;
  }
  .space-dialog #space-content {
    padding: 10px 20px 25px;
  }
  .selection-row {
    grid-template-columns: 76px 1fr auto;
    gap: 12px;
  }
  .selection-row > img {
    width: 76px;
    height: 100px;
  }
  .selection-row h3 {
    font-size: 17px;
  }
  .selection-total strong {
    font-size: 23px;
  }
  .selection-total span {
    font-size: 11px;
  }
  .space-dialog {
    width: min(430px, 100%);
  }
  .toast {
    bottom: 14px;
    font-size: 11px;
    padding: 12px 15px;
  }
  .empty-state {
    padding: 50px 10px;
  }
  .empty-state h3 {
    font-size: 25px;
  }
  .empty-state p {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .hero h1 {
    font-size: 67px;
  }
  .hero-text {
    font-size: 11px;
  }
  .hero .eyebrow {
    font-size: 7px;
  }
  .brand {
    letter-spacing: -1px;
  }
  .space-button {
    gap: 5px;
  }
  .space-button > span:not(.selection-count) {
    font-size: 9px;
  }
  .product-grid {
    gap: 25px 12px;
  }
  .product h3 {
    font-size: 15px;
  }
  .product-price {
    font-size: 9px;
  }
  .product-meta {
    gap: 4px;
  }
  .product-material {
    font-size: 7px;
  }
  .category-row {
    margin-right: -16px;
    padding-right: 16px;
  }
  .nmc-footer {
    gap: 8px;
  }
  .nmc-footer__nav {
    gap: 7px;
  }
  .topline {
    font-size: 6.5px;
    letter-spacing: 0.08em;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #181f29;
    --surface: #202936;
    --ink: #eeeae2;
    --muted: #a7b0ba;
    --line: #37404a;
    --blue: #9db5ff;
    --pale: #212e42;
    --photo: #29313b;
    --shadow: 0 20px 80px #0008;
  }
  .button {
    background: #335dce;
    color: #fff;
    border-color: #335dce;
  }
  .selection-count {
    background: #335dce;
  }
  .filter-chip.active,
  .filter-chip:hover {
    background: #b8cbff;
    color: #172235;
    border-color: #b8cbff;
  }
  .save-button[aria-pressed="true"] svg {
    fill: #9db5ff;
  }
  .hero-figure img,
  .space-story img,
  .product-image img {
    filter: brightness(0.9);
  }
  .toast {
    background: #eae9e3;
    color: #172235;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

.brand {
  min-height: 44px;
}
