:root {
  color-scheme: light;
  --black: #171511;
  --paper: #fbf8f1;
  --gold: #d4ae55;
  --ink: #282119;
  --muted: #665b4f;
  --line: #e7dece;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 Arial, Helvetica, sans-serif;
  scroll-padding-top: 68px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid #9b6f27; outline-offset: 3px; }
[hidden] { display: none !important; }
.frame { width: min(100% - 36px, 1260px); margin-inline: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; line-height: 1.08; }
.top { background: var(--black); color: white; }
.topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #ffffff26; }
.topline img { display: block; width: 98px; height: 62px; object-fit: contain; }
.topline a { color: #f5dc9e; font-size: .86rem; text-underline-offset: 4px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 5vw, 70px); }
.kicker { margin: 0 0 9px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero .kicker { color: var(--gold); }
.hero h1 { font-size: clamp(2.5rem, 4.8vw, 4.5rem); margin: 0 0 18px; }
.hero p:not(.kicker) { max-width: 42ch; color: #efe9df; }
.hero-media { display: grid; grid-template-columns: 1.18fr 1fr; align-items: end; gap: 10px; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 1 / 1.16; object-fit: contain; background: white; display: block; padding: 10px; }
.hero-media img + img { aspect-ratio: 1 / 1; }
.btn { display: inline-block; padding: 11px 17px; background: var(--gold); color: var(--black); border: 1px solid var(--gold); font-size: .88rem; font-weight: 700; text-decoration: none; }
.btn:hover { background: #e8ca82; }
.menu { position: sticky; top: 0; z-index: 1; border-bottom: 1px solid var(--line); background: #fff; }
.menu .frame { display: flex; gap: 20px; overflow-x: auto; }
.menu a { flex-shrink: 0; padding: 13px 1px; color: #443527; font-size: .86rem; font-weight: 700; text-decoration: none; }
.menu a:hover { color: #815519; text-decoration: underline; text-underline-offset: 4px; }
.catalog { padding-block: 27px 52px; }
.search { display: flex; gap: 9px 20px; flex-wrap: wrap; align-items: end; justify-content: space-between; padding: 0 0 18px; }
.search label { display: grid; width: min(100%, 510px); gap: 4px; font-size: .89rem; font-weight: 700; }
.search input { min-width: 0; padding: 10px; font: inherit; color: var(--ink); background: #fff; border: 1px solid #9b8873; border-radius: 2px; }
.search p { margin: 0; color: var(--muted); font-size: .86rem; }
.ev-group { padding-block: 25px 31px; border-top: 1px solid var(--line); }
.ev-group h2, .contact h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 3.4vw, 2.85rem); }
.ev-group > p { color: var(--muted); margin-bottom: 17px; }
.ev-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ev-card { border: 1px solid var(--line); min-width: 0; background: #fff; }
.ev-photo { display: block; width: 100%; height: 195px; padding: 9px; object-fit: contain; border-bottom: 1px solid #f0eadf; }
.ev-copy { padding: 14px; }
.ev-code { font-size: .72rem; letter-spacing: .09em; color: #77551f; font-weight: 700; margin-bottom: 3px; }
.ev-card h3 { font-size: .99rem; line-height: 1.3; margin-bottom: 6px; }
.ev-copy p:not(.ev-code) { font-size: .87rem; color: var(--muted); margin-bottom: 8px; }
.ev-quote { display: inline-block; color: #77551f; font-size: .85rem; font-weight: 700; text-underline-offset: 3px; margin-top: 3px; }
.ev-variants { margin: 8px 0; font-size: .84rem; }
.ev-variants summary { cursor: pointer; font-weight: 700; color: #77551f; }
.ev-variants ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; list-style: none; margin: 7px 0; padding: 0; }
.ev-variants button { display: block; width: 100%; height: 100%; padding: 4px 2px; font: inherit; font-size: .67rem; overflow-wrap: anywhere; cursor: pointer; color: var(--ink); background: #fff; border: 1px solid var(--line); }
.ev-variants button[aria-pressed="true"], .ev-variants button:hover { background: #f9f0df; border-color: #a47735; }
.ev-variants img { display: block; width: 100%; height: 40px; object-fit: contain; }
.contact { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; padding: clamp(20px, 5vw, 54px); background: #efe5d3; }
.contact p { margin: 0; max-width: 62ch; }
footer { padding: 25px 0; color: white; background: var(--black); font-size: .9rem; }
footer .frame { display: flex; gap: 12px 24px; flex-wrap: wrap; }
footer strong { color: var(--gold); }
@media (max-width: 940px) { .ev-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 660px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { max-width: 400px; }
  .hero-media img { max-height: 170px; }
  .ev-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ev-photo { height: 142px; }
  .ev-copy { padding: 10px; }
}
@media (max-width: 385px) { .ev-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) { :root { scroll-behavior: smooth; } }
