:root {
  --paper: #fcfbf8;
  --ink: #211f1d;
  --muted: #58544e;
  --accent: #243294;
  --accent-hover: #19236e;
  --plum: #23242e;
  --acid: #d9dfff;
  --rule: #d7d4ce;
  --display-surface: #eeece7;
  --max-width: 1192px;
  --page-pad: clamp(16px, 4.1vw, 60px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

:focus-visible,
.site-header a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--accent);
}

.skip-link, .button-accent {
  color: #fff;
  background: var(--accent);
}

.button-accent:hover { background: var(--accent-hover); }

.site-header {
  color: var(--ink);
  background: transparent;
}

.shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  border-bottom: 2px solid var(--ink);
  padding-block: clamp(26px, 4.2vw, 63px) clamp(19px, 2.9vw, 37px);
}

.shop-name {
  color: var(--accent);
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  font-weight: 800;
  font-synthesis: none;
  letter-spacing: -0.058em;
  line-height: 0.99;
  word-spacing: 0.06em;
}

.shop-description {
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(0.86rem, 1.4vw, 1.06rem);
  font-weight: 650;
  line-height: 1.45;
}

.site-nav { gap: clamp(13px, 2.6vw, 37px); }
.site-nav a { color: var(--ink); }

.collection {
  padding-block: clamp(21px, 3vw, 36px) clamp(35px, 6vw, 79px);
}

.collection-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 18px;
  margin-bottom: clamp(14px, 1.9vw, 25px);
}

.collection h2, .studio-intro h2, .maker-story h2 {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.047em;
  line-height: 1.08;
}

.collection-heading p {
  color: var(--muted);
  font-size: clamp(0.8rem, 1.35vw, 0.93rem);
  line-height: 1.45;
}

.catalog-grid { gap: clamp(11px, 1.55vw, 21px); }

.product-link {
  border-radius: 0;
  transition: color 130ms, background-color 130ms;
}

.product-image {
  aspect-ratio: 0.98;
  border-radius: 0;
  background: var(--display-surface);
  transition: background-color 130ms;
}

.product-image img {
  padding: 6%;
  transition: none;
}

@media (hover: hover) {
  .product-link:hover {
    color: var(--accent);
    background: #f1f0f9;
    box-shadow: none;
  }

  .product-link:hover .product-image { background: #e7e6ef; }
  .product-link:hover .product-image img { transform: none; }
}

.product-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 5px 7px;
  padding: 10px 2px 9px;
}

.product h3 {
  font-size: clamp(0.99rem, 1.66vw, 1.24rem);
  font-weight: 800;
  letter-spacing: -0.043em;
}

.catalog-grid .product-price {
  margin: 0;
  color: inherit;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.product-size {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: clamp(0.7rem, 1vw, 0.78rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}

.collection-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  margin-top: clamp(12px, 1.85vw, 24px);
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.collection-scale {
  display: flex;
  align-items: center;
  gap: 9px;
}

.collection-facts p + p { margin-top: 3px; }

.scale-objects {
  display: flex;
  height: 44px;
  flex: none;
  align-items: flex-end;
  gap: 1px;
}

.scale-objects img { width: 44px; height: 44px; }
.scale-book {
  width: 20px;
  height: 28px;
  margin-bottom: 2px;
  border: 1px solid #6a6860;
  border-left-width: 3px;
  background: #e9e6da;
}

.studio {
  background: transparent;
  border: 0;
  padding-block: 0 clamp(42px, 6.5vw, 88px);
}

.studio > .wrap { border-top: 2px solid var(--ink); padding-top: clamp(20px, 3.3vw, 43px); }

.studio-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: clamp(17px, 2.3vw, 29px);
}

.studio-comparison {
  display: grid;
  width: min(100%, 304px);
  flex: 0 1 304px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 7px;
}

.studio-comparison img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.66;
  object-fit: cover;
}

.studio-comparison figcaption,
.comparison-caption {
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.4;
}

.studio-comparison figcaption { margin-top: 4px; font-weight: 800; }
.comparison-caption { grid-column: 1 / -1; }

.studio-layout {
  overflow: visible;
  grid-template-columns: minmax(0, 1.56fr) minmax(0, 1fr);
  gap: clamp(20px, 6vw, 78px);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.studio-preview {
  grid-template-rows: auto minmax(320px, 1fr) auto;
  min-height: 0;
  gap: 7px;
  padding: 0;
  background: transparent;
}

.preview-heading { min-height: unset; color: var(--ink); }
#preview-name { margin-inline-start: 0; }

.preview-stage,
.preview-stage[data-interactive] {
  border: 0;
  border-radius: 0;
  background: var(--display-surface);
}

.preview-stage[data-interactive][data-light-on] { background: #191922; }
.preview-stage:not([data-light-on]) .preview-orbit { color: #5b5867; }
.studio-preview figcaption { color: var(--muted); }

.preview-light::before {
  border-color: #b4b0a9;
  background: #fcfbf8;
}

.preview-light:hover::before { background: #e8e6e2; }
.preview-light[aria-pressed="true"]::before { background: #f1d59f; }

.studio-controls {
  justify-content: flex-start;
  border: 0;
  padding: 0;
}

.select-wrap select, .order-fields input {
  border-color: #c2bdb5;
  border-radius: 2px;
  background: #fff;
}

.text-button, .studio-more summary { color: var(--accent); }
.text-button[aria-disabled="true"] { color: var(--muted); }
.studio-order { border-color: var(--rule); }
.order-button { border: 0; border-radius: 2px; }
.studio-order .order-button { justify-content: center; }

.home-notes { display: block; padding-block: 0 clamp(42px, 5vw, 66px); }

.maker-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
  align-items: start;
  gap: clamp(22px, 8.4vw, 115px);
  border-top: 2px solid var(--ink);
  padding-top: clamp(24px, 4.2vw, 57px);
  scroll-margin-top: 24px;
}

.maker-story h2 { max-width: 18ch; text-wrap: balance; }
.home-notes p { max-width: 51ch; color: var(--ink); }
.home-notes .maker-signature { margin-top: 16px; color: var(--accent); }

.maker-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.32;
  object-fit: cover;
}

.maker-detail figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.lamp-care {
  display: grid;
  grid-template-columns: minmax(138px, 0.65fr) repeat(3, minmax(0, 1fr));
  gap: 8px clamp(10px, 2.9vw, 38px);
  margin-top: clamp(29px, 5vw, 62px);
  border: 0;
  border-top: 1px solid var(--rule);
  padding: clamp(18px, 3vw, 31px) 0 0;
}

.lamp-care h2 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
.lamp-care p, .lamp-care p + p { margin: 0; color: var(--muted); font-size: 0.86rem; }

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 19px;
  color: var(--ink);
  background: transparent;
}

.site-footer .wordmark { color: var(--accent); }
.footer-legal { color: var(--muted); }
.order-dialog { border-color: var(--rule); border-radius: 3px; background: var(--paper); }
.order-overview, .order-fields { border-color: var(--rule); }
.order-close { border-color: #c2bdb5; }

@media (max-width: 1050px) {
  .product-content { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

@media (max-width: 770px) {
  .shop-header { align-items: flex-start; }
  .catalog-grid { row-gap: 16px; }
  .product-image { aspect-ratio: 1.09; }
  .studio-layout { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  .studio-preview { grid-template-rows: auto minmax(0, 1fr) auto; }
  .lamp-care { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lamp-care h2 { grid-column: 1 / -1; }
}

@media (max-width: 565px) {
  .shop-header {
    flex-direction: column;
    gap: 7px;
    padding-block: 23px 6px;
  }

  .shop-name { font-size: clamp(2.7rem, 12.1vw, 4.25rem); }
  .shop-description { margin-top: 6px; }
  .site-nav a { padding-block: 10px; }
  .collection-heading { display: block; }
  .collection-heading p { margin-top: 5px; }
  .product-content { padding: 7px 1px 5px; }
  .product h3 { font-size: 0.99rem; }
  .catalog-grid .product-price { font-size: 0.83rem; }
  .studio-intro { flex-direction: column; }
  .studio-comparison { flex: none; }
  .studio-preview { height: clamp(290px, 81vw, 425px); }
  .maker-story, .lamp-care { grid-template-columns: minmax(0, 1fr); }
  .maker-story { gap: 19px; }
}
