.masthead nav { gap: clamp(10px, 2vw, 30px); }
.hero-specimen { position: relative; background: #fff; box-shadow: 12px 12px 0 #d1b592; }
.hero-specimen .shape-frame { aspect-ratio: 1.18; }
.hero-specimen::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none; inset: -12px auto auto -12px;
  width: 49px; height: 96px; border: 2px solid #873c31; border-right: 0; border-bottom: 0;
}
.hero-specimen::after {
  content: ""; position: absolute; inset: auto -12px -12px auto; width: 35%; height: 7px;
  background: linear-gradient(#7a292b 0 35%, transparent 35% 65%, #a36740 65%); pointer-events: none;
}
.catalog-all { margin-top: 12px; }
.page-hero { background: #efe1cf; border-bottom: 1px solid var(--line); }
.page-hero .frame { padding-block: 22px clamp(28px, 4vw, 64px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 5px 14px; color: var(--muted); font-size: .84rem; margin-bottom: 22px; }
.crumbs a { text-decoration-thickness: 1px; }
.crumbs a::after { content: " /"; color: #846551; margin-left: 5px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); gap: clamp(22px, 6vw, 88px); align-items: center; }
.page-grid h1, .template-quote h1 { font-size: clamp(2.65rem, 6vw, 6rem); line-height: 1.02; }
.page-grid .hero-intro { max-width: 47ch; }
.page-grid .button { margin-top: 20px; }
.page-photo { position: relative; border: 1px solid #bba78f; box-shadow: 9px 9px 0 #d8bd9b; background: #fff; }
.page-photo img { width: 100%; aspect-ratio: 1.56; object-fit: cover; }
.template-product .page-photo img { aspect-ratio: 1.35; object-fit: contain; }
.shape-frame { display: block; position: relative; width: 100%; aspect-ratio: 1.42; background: white; }
.template-product .page-photo .shape-frame { aspect-ratio: 1.35; }
.shape-frame > img,
.hero-specimen .shape-frame > img,
.template-product .page-photo .shape-frame > img {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: auto; max-width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain;
  clip-path: inset(0 12.5% 0 0);
}
.page-motif { position: relative; width: min(180px, 45vw); aspect-ratio: 1; justify-self: center; border: 1px solid #9d714d; border-radius: 50%; outline: 1px solid #bf9a70; outline-offset: 9px; }
.page-motif::before { position: absolute; content: ""; width: 57%; height: 22%; left: 22%; top: -10%; border: 2px solid #8c4b37; background: #efe1cf; }
.page-motif::after { position: absolute; content: ""; inset: 38%; transform: rotate(45deg); border: 1px solid #8c4b37; }
.template-catalog .page-motif { border-style: dashed; }
.template-category .page-photo { border-top: 5px double #7a292b; }
.template-system .page-motif { width: 65px; opacity: .8; }
.article-copy { max-width: 72ch; line-height: 1.66; }
.article-copy.wide { max-width: none; }
.article-copy h2, .route-related h2, .passport h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); letter-spacing: -.04em; margin: 1.05em 0 .55em; line-height: 1.1; }
.article-copy p, .article-copy ul { margin: .75em 0; }
.article-copy a, .article-index a { text-underline-offset: .2em; }
.article-copy .card-grid { margin-block: 22px; }
.route-related { margin-top: 38px; border-top: 5px double #b68459; }
.passport { position: relative; width: min(100%, 660px); border: 1px solid #b89879; border-top: 5px double #7a292b; background: #f3e8d9; padding: 18px 22px; }
.passport h2 { margin-top: 0; }
.passport ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 12px; padding-left: 22px; }
.passport p { color: var(--muted); }
.article-index { display: block; padding: 16px 20px; border-left: 5px double #7a292b; background: #f2e5d6; margin-bottom: 24px; }
.article-index ol { margin: 8px 0 0; padding-left: 21px; }
.article-index a:last-child { display: inline; }
.step-label { display: flex; flex-wrap: wrap; gap: 10px; }
.step-label span { padding-bottom: 5px; border-bottom: 3px double #c2a58b; }
#quote-form .step-label span:first-child, #review .step-label span:last-child { border-color: var(--wine); }
.footer-row nav { flex-wrap: wrap; }
@media (max-width: 620px) {
  .masthead nav a:nth-child(even) { display: none; }
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero .frame { padding-block: 16px 30px; }
  .page-grid h1, .template-quote h1 { margin: 8px 0 12px; font-size: clamp(2.3rem, 11vw, 3.7rem); }
  .page-photo { margin-right: 8px; }
  .page-photo img { aspect-ratio: 1.64; }
  .page-motif { width: 54px; justify-self: end; margin: 2px 13px 0 0; }
  .template-system .page-motif { width: 40px; }
  .hero-specimen .shape-frame { aspect-ratio: 1.29; }
  .hero-specimen::before { inset: -6px auto auto -6px; width: 24px; height: 52px; }
  .hero-specimen::after { bottom: -7px; right: -7px; height: 5px; }
  .crumbs a:last-child, .footer-row nav a:last-child { display: inline; }
}
