.theme-ameixa { --hero-ink: #211a17; --warm: #f0be8c; --tonal: #eae0d5; --tone-ink: #794c2d; --image-bed: #2c211b; }
.theme-musgo { --hero-ink: #18211d; --warm: #c6d3a6; --tonal: #e4e8dc; --tone-ink: #455b35; --image-bed: #202820; }
.theme-argila { --hero-ink: #191d2c; --warm: #d3c3f1; --tonal: #e7e4eb; --tone-ink: #574167; --image-bed: #21202c; }
.theme-azul { --hero-ink: #152326; --warm: #b8d9d1; --tonal: #e1e9e5; --tone-ink: #375a53; --image-bed: #2a302b; }
.theme-petroleo { --hero-ink: #132422; --warm: #ecce8e; --tonal: #e8e5d7; --tone-ink: #705326; --image-bed: #172826; }

.series-shelf {
  background: #161a19;
  color: #f3f2ec;
  padding-block: clamp(52px, 7vw, 108px);
}
.series-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  align-items: end;
  gap: 8%;
  margin-bottom: 38px;
}
.series-heading h2, .series-next h2 {
  margin: 18px 0 0;
  font-size: clamp(42px, 5.4vw, 84px);
  font-weight: 560;
  line-height: 1.03;
  letter-spacing: -.055em;
}
.series-heading h2 em { color: #d6b88e; font: italic 1em/.98 Georgia, serif; }
.series-heading > p, .series-next p:not(.kicker) { max-width: 40ch; color: #c8ccc6; line-height: 1.6; }
.series-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 20px; }
.series-card { grid-column: span 2; display: block; min-width: 0; }
.series-card:nth-child(5n+1), .series-card:nth-child(5n+2) { grid-column: span 3; }
.series-cover, .next-cover { display: block; background: var(--image-bed, #222725); overflow: hidden; }
.series-cover img, .next-cover img { display: block; width: 100%; height: auto; }
.series-cover { border: 1px solid #ffffff17; border-radius: 4px; }
.series-info { padding-block: 14px; border-bottom: 1px solid #596057; }
.series-info > span { color: var(--warm); font: 500 .77rem/1.45 var(--mono); }
.series-info h3 { font-size: clamp(24px, 2.5vw, 41px); font-weight: 590; line-height: 1.1; letter-spacing: -.046em; margin: 6px 0; }
.series-info p { color: #c4c9c1; font-size: 1rem; }
.series-card:hover h3, .series-card:focus-visible h3, .series-next h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.mast nav { gap: clamp(18px, 2.55vw, 42px); }
.product-page .mast { background: #101313; }
.product-page .product-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  min-height: clamp(440px, 35.3vw, 680px);
  align-items: stretch;
  background: var(--hero-ink);
}
.product-page .product-hero::after { display: none; }
.product-hero .hero-shell {
  display: flex;
  align-items: center;
  padding: clamp(38px, 5.4vw, 85px) clamp(22px, 3.1vw, 52px) clamp(44px, 5.4vw, 90px) max(var(--pad), calc((100vw - 1640px)/2 + var(--pad)));
}
.product-hero .hero-copy { max-width: 100%; width: 100%; }
.product-hero .kicker { color: var(--warm); font-size: .78rem; }
.product-hero h1 {
  margin: 25px 0 19px;
  font-size: clamp(51px, 5.8vw, 104px);
  letter-spacing: -.067em;
  line-height: 1.005;
}
.product-hero h1 em { display: block; }
.product-hero .intro { max-width: 40ch; color: #e1e3da; }
.product-hero .button.primary, .product-page .next-actions .button { background: var(--warm); color: #181a17; }
.product-hero .button.primary:hover, .product-page .next-actions .button:hover { filter: brightness(1.08); }
.product-hero .hero-visual, .product-hero.show-model .hero-visual {
  position: relative;
  inset: auto;
  width: 100%;
  min-width: 0;
  z-index: 0;
  display: grid;
  align-items: center;
  align-content: center;
  margin: 0;
  background: var(--image-bed);
}
.product-hero .hero-visual > picture { display: block; width: 100%; height: auto; transform: none; }
.product-hero .hero-visual::before {
  content: ""; position: absolute; inset: -8px; background-position: center; background-size: 100% 100%;
  filter: blur(10px); pointer-events: none;
}
.product-hero .hero-visual > picture { position: relative; }
.product-hero.show-model .hero-visual::before { display: none; }
.product-hero .hero-visual > picture img { display: block; width: 100%; height: auto; object-fit: contain; mask-image: none; }
.product-hero .hero-editor { inset: 6% 4% 12%; }
.product-hero.show-model .hero-visual { background: #222725; }
.product-hero .hero-meta { right: clamp(12px,2vw,35px); bottom: 13px; padding: 5px 6px 5px 13px; border: 1px solid #ffffff30; border-radius: 5px; background: #121715ef; color: #e4e6df; }
.product-hero #hero-kind { font: .725rem/1.35 var(--mono); }
.product-hero .compare { border: 0; }
.product-hero .compare button { font-size: .8rem; }
.product-page .nav-num { color: var(--warm); }
.product-page .index a.selected { box-shadow: inset 0 -2px var(--warm); }
.product-page .index a, .product-page .mast nav a { font-size: .875rem; }
.product-page .result { background: var(--tonal); }
.product-page .kicker.dark, .product-page .chapter, .product-page .result h2 em { color: var(--tone-ink); }
.product-page .measure { border-color: var(--tone-ink); }
.product-page .result h2 em { display: block; }
.product-page .process h2 { max-width: 13ch; }
.product-page .hero-actions { gap: clamp(14px, 2vw, 32px); flex-wrap: wrap; }
.product-page .inspection-image { width: 100%; }
.product-page .inspection #detail-note { min-height: 80px; }
.product-page .inspection #detail-note { grid-template-columns: 92px 1fr auto; }
.product-page .inspection .loupe { width: 92px; height: 92px; }
.product-page .credits { font-size: .875rem; }
.product-page .credits summary { min-height: 38px; }
.source-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.source-links a { display: inline-flex; align-items: center; min-height: 40px; text-underline-offset: 3px; }
.series-next { padding-block: clamp(44px, 6vw, 92px); background: #181c1b; color: #f6f5ee; }
.series-next > .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 9%; align-items: center; }
.series-next h2 { margin-block: 15px; }
.next-actions { margin-top: 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.next-actions > a:last-child { padding-block: 10px; text-decoration: underline; text-underline-offset: 4px; font-size: .9rem; }
.next-cover { border-radius: 4px; }

@media (min-width: 1650px) {
  .product-hero .hero-visual > picture, .product-hero .hero-editor { max-width: 1050px; justify-self: center; }
}
@media (max-width: 950px) {
  .series-grid { gap: 24px 14px; }
  .product-page .product-hero { grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); min-height: 425px; }
  .product-hero h1 { font-size: clamp(45px, 6.1vw, 58px); }
  .product-hero .hero-shell { padding-right: 19px; }
  .product-hero .hero-meta { right: 8px; bottom: 8px; }
}
@media (max-width: 700px) {
  .mast nav { display: flex; margin-left: auto; }
  .mast nav a { display: none; }
  .mast nav .nav-collection { display: flex; font-size: .81rem; }
  .mast .header-in { gap: 14px; }
  .series-shelf { padding-block: 47px; }
  .series-heading { display: block; margin-bottom: 23px; }
  .series-heading > p { margin-top: 16px; }
  .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 13px; }
  .series-card, .series-card:nth-child(5n+2) { grid-column: auto; }
  .series-card:nth-child(5n+1) { grid-column: 1 / -1; }
  .series-info { padding-block: 11px; }
  .series-info h3 { font-size: 1.25rem; }
  .series-info span { font-size: .72rem; }
  .series-info p { font-size: .9rem; }
  .product-page .product-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .product-hero .hero-shell { padding: 30px var(--pad) 25px; }
  .product-hero h1 { font-size: clamp(47px, 10.7vw, 76px); margin: 18px 0 14px; }
  .product-hero .intro { font-size: 1rem; max-width: 42ch; }
  .product-hero .hero-visual, .product-hero.show-model .hero-visual { width: 100%; height: auto; margin: 0; }
  .product-hero .hero-visual > picture img { max-height: 56svh; }
  .product-hero .hero-visual::before { display: none; }
  .product-hero .hero-meta { inset: auto; padding: 6px var(--pad); border: 0; border-radius: 0; background: #161b19; }
  .product-page .index a { font-size: .73rem; }
  .product-page .process h2 { max-width: 16ch; }
  .series-next > .wrap { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 480px) {
  .series-grid { grid-template-columns: 1fr; }
  .series-info h3 { font-size: 1.6rem; }
  .series-info p { font-size: 1rem; }
  .product-hero .kicker { font-size: .72rem; }
  .product-page .inspection #detail-note { min-height: 65px; }
  .product-page .inspection #detail-note { grid-template-columns: 68px 1fr auto; }
  .product-page .inspection .loupe { width: 68px; height: 68px; }
}
@media (max-width: 360px) {
  .mast .header-in { gap: 8px; }
  .product-page .index a { font-size: .66rem; }
}
@media (prefers-reduced-motion: reduce) {
  .series-card, .product-hero .hero-visual { transition: none; }
}
