:root {
  color-scheme: dark;
  --ink: #191816;
  --paper: #e7dfd3;
  --rust: #d18470;
  --gutter: clamp(18px, 4.5vw, 80px);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--ink);
  color: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.masthead, footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 20px var(--gutter);
}
.masthead { border-bottom: 1px solid #51483f; }
.brand { font-size: clamp(24px, 3vw, 38px); font-weight: 900; letter-spacing: -.09em; }
nav { display: flex; gap: clamp(16px, 4vw, 54px); }
nav a, footer > a:last-child { font-size: .84rem; }
nav a:hover, footer a:hover { color: var(--rust); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr);
  align-items: end;
  margin-bottom: clamp(32px, 6vw, 106px);
}
.hero-text { position: relative; z-index: 1; padding: 64px 0 42px var(--gutter); }
.eyebrow { color: var(--rust); font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; }
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(95px, 12.5vw, 250px);
  font-weight: 400;
  letter-spacing: -.09em;
  line-height: .74;
  margin: .22em 0 .28em -.065em;
  text-shadow: 0 2px 24px #19181690;
}
h1 i { font-weight: inherit; }
.hero-link { display: inline-flex; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid currentColor; white-space: nowrap; }
.hero-link:hover { color: var(--rust); }
.hero-frame { height: clamp(580px, 54vw, 950px); overflow: hidden; }
.hero-frame img { height: 100%; width: 100%; object-fit: cover; object-position: 52% center; }
.catalog, .objects { padding: clamp(38px, 7vw, 115px) var(--gutter); }
.catalog { background: var(--paper); color: var(--ink); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid; padding-bottom: 14px; margin-bottom: clamp(18px, 3vw, 45px); }
.section-heading h2 { font-size: clamp(37px, 7vw, 112px); line-height: .98; letter-spacing: -.075em; font-weight: 500; }
.section-heading span { color: #8c493a; font-size: 1.6rem; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 4vw, 65px) clamp(12px, 2vw, 34px); }
.product { min-width: 0; }
.product-photo { aspect-ratio: 4 / 5; overflow: hidden; background: #b2a492; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product h3 { display: flex; justify-content: space-between; gap: 6px; margin-top: 12px; font-size: clamp(.9rem, 1.6vw, 1.3rem); font-weight: 500; }
.product:hover img { transform: scale(1.035); }
.objects .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.objects .product-photo { aspect-ratio: 3 / 2; }
footer { border-top: 1px solid #51483f; }
.gallery { max-width: min(90vw, 1100px); max-height: 94dvh; background: var(--ink); color: var(--paper); border: 1px solid #74685a; padding: 12px; }
.gallery::backdrop { background: #12110fed; }
.gallery-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 8px; }
.gallery-head h2 { font-size: 1rem; }
.gallery button { background: none; border: 0; color: inherit; font-size: 1.7rem; min-width: 44px; min-height: 44px; cursor: pointer; }
.gallery img { margin-inline: auto; max-height: calc(90dvh - 75px); object-fit: contain; }
html:has(.gallery[open]) { overflow: hidden; }
@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-text { padding: 33px var(--gutter) 25px; }
  h1 { font-size: clamp(76px, 16vw, 132px); }
  .hero-frame { height: auto; aspect-ratio: 5 / 4; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
  .objects .products { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .product-photo img { transition: none; }
}
