@font-face {
  font-family: Baskervville;
  src: url("assets/fonts/baskervville.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("assets/fonts/barlow-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("assets/fonts/barlow-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f3ea;
  --ink: #28291f;
  --olive: #323a2b;
  --muted: #535346;
  --rule: #c8c4b5;
  --cream: #fff8e9;
  --rust: #963b18;
  --orange: #ffb481;
  --serif: Baskervville, Georgia, serif;
  --gutter: clamp(20px, 5.2vw, 88px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 Barlow, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .26em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 5px; }
::selection { background: #efc2a2; color: var(--ink); }
[id] { scroll-margin-top: 1.2rem; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 92rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 10; background: var(--paper); color: var(--ink); padding: .6rem 1rem; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: .99; }
h1 { font-size: clamp(3.25rem, 7.7vw, 8.5rem); }
h2 { font-size: clamp(2.35rem, 5.3vw, 5.9rem); }
h3 { font-size: clamp(1.5rem, 3.3vw, 3.5rem); }
h1 em { display: block; font-weight: inherit; }
.button, .text-link { display: inline-flex; align-items: center; gap: 1.05em; width: fit-content; min-height: 48px; font-weight: 600; }
.button { padding: .65rem 1rem; background: var(--cream); color: var(--ink); text-decoration: none; }
.button:hover { background: #eed2b5; }
.dark-button { background: var(--olive); color: var(--cream); }
.dark-button:hover { background: #48543e; }

.mast { position: relative; z-index: 2; }
.mast-inner {
  min-height: 76px;
  padding-inline: var(--gutter);
  display: flex;
  gap: .25rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; width: clamp(122px, 13vw, 174px); min-height: 44px; flex-shrink: 0; }
.mast nav { display: flex; flex-wrap: wrap; column-gap: clamp(.8rem, 2.8vw, 3rem); }
.mast nav a { display: flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.mast nav a:hover, .mast nav [aria-current] { text-decoration: underline; }
.home .mast { position: absolute; inset: 0 0 auto; color: var(--cream); }
/* Cover */
.home .mast-inner {
  min-height: clamp(66px, 7.15vw, 104px);
  border-bottom-color: #fff5de47;
  background: #24201723;
}
.home .mast nav { column-gap: clamp(1rem, 3.3vw, 3.75rem); }
.home .mast nav a {
  font-size: .81rem;
  font-weight: 600;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.home .mast :focus-visible, .cover :focus-visible, .dark-band :focus-visible, .footer :focus-visible {
  outline-color: var(--orange);
}
.cover {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: max(42rem, 100svh, 49vw);
  padding: clamp(80px, 8.8vw, 126px) var(--gutter) 0;
  background: #393227;
  color: var(--cream);
}
.cover-image, .cover::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cover-image { object-fit: cover; object-position: 50% 32%; z-index: -2; }
.cover::before {
  content: "";
  background: linear-gradient(180deg, #221b13ad 0%, #21190f6e 19%, #21190f80 61%, #211a11d9 100%);
  z-index: -1;
}
.cover-body h1 {
  width: max-content;
  max-width: 100%;
  margin-left: -.035em;
  font-size: clamp(5rem, 17.4vw, 22rem);
  line-height: .88;
  letter-spacing: -.04em;
}
.cover-body h1 span { color: #e3b185; }
.cover-body p {
  max-width: 78ch;
  margin-top: clamp(1rem, 3.2vw, 3.6rem);
  font-size: clamp(.76rem, 1.04vw, .97rem);
  font-weight: 600;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.cover-rail {
  position: absolute;
  right: max(12px, calc(var(--gutter) / 2));
  top: 50%;
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 44px;
  min-height: 115px;
  padding-block: .75rem;
  border-left: 1px solid #fff5de59;
  writing-mode: vertical-rl;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}
.cover-rail span { writing-mode: horizontal-tb; }
.cover-rail:hover { text-decoration: underline; }
.cover-bottom {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(11rem, .63fr);
  gap: .8rem clamp(1rem, 3.4vw, 3.8rem);
  align-items: end;
  padding-block: clamp(1.05rem, 2.25vw, 2.6rem) clamp(1.2rem, 3.1vw, 3.4rem);
  border-top: 1px solid #fff5de59;
}
.cover-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  width: fit-content;
  min-height: 44px;
  font: 400 clamp(1.28rem, 2.75vw, 3.3rem)/1.02 var(--serif);
  letter-spacing: -.03em;
  text-decoration: none;
}
.cover-product:hover { text-decoration: underline; }
.cover-product span { font: 400 .9rem Barlow, sans-serif; }
.cover-actions { display: grid; gap: .5rem; justify-self: stretch; }
.cover-actions .button {
  justify-content: space-between;
  width: 100%;
  border: 1px solid #fff5de85;
  padding-inline: 1.15rem;
}
.button-outline { background: #29201538; color: var(--cream); }
.button-outline:hover { background: #fffaec22; }

.collection { padding-block: clamp(3rem, 8vw, 8rem); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, .55fr);
  align-items: end;
  gap: 1rem 2rem;
}
.section-heading h2 em { display: block; color: var(--olive); }
.section-heading p, .specification p, .directory p, .page-heading p { max-width: 32ch; color: var(--muted); }
.collection-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem clamp(1rem, 3.7vw, 3.2rem);
  margin-block: clamp(1.3rem, 4vw, 3.7rem) 1.35rem;
  border-bottom: 1px solid var(--rule);
}
.collection-nav a { display: flex; align-items: center; min-height: 46px; gap: .6rem; font-weight: 600; text-decoration: none; }
.collection-nav a:hover { text-decoration: underline; }

.niche-feature { margin-top: clamp(2.6rem, 6.5vw, 7.25rem); }
.feature-art { display: grid; place-items: center; aspect-ratio: 2.06; overflow: hidden; }
.frame-art { background: #a9a799; }
.interactive-photo { position: relative; width: min(67%, 50rem); }
.interactive-photo > .frame-cut { width: 100%; }
.niche-feature-art { background: #d8ccba; }
.niche-feature-art > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.feature-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .65rem 1.5rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--rule);
}
.feature-caption p { margin-top: .25rem; color: var(--muted); }
.feature-caption .text-link { color: var(--rust); }
.point {
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  translate: -50% -50%;
  width: 44px;
  height: 44px;
  padding: 0 0 .15em;
  border: 1px solid var(--cream);
  border-radius: 50%;
  color: var(--ink);
  background: var(--cream);
  font-size: 1.48rem;
  line-height: 1;
  box-shadow: 0 2px 7px #2520164d;
}
.point:hover, .point[aria-pressed="true"] { background: var(--olive); color: var(--cream); }
.feature-controls { padding-block: .55rem; scroll-margin-block: .75rem; }
.point-index { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(.75rem, 1.7vw, 1.5rem); }
.point-index span { color: var(--muted); }
.point-index button {
  min-height: 44px;
  padding: .15rem 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  font-weight: 600;
}
.point-index button:hover, .point-index button[aria-pressed="true"] { border-bottom-color: var(--rust); color: var(--rust); }
.point-detail {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: .75rem;
  margin-top: .55rem;
  padding: .75rem .5rem .75rem .85rem;
  border: 1px solid var(--rule);
  background: #efebe0;
}
.point-detail strong { font-weight: 600; }
.point-detail p { margin-top: .12rem; color: var(--muted); }
.close-point { min-width: 44px; min-height: 44px; background: transparent; border: 0; font-size: 1.55rem; line-height: 1; }
.frame-cut { width: 84%; height: auto; }
.frame-white {
  clip-path: polygon(evenodd, 7.2% 8.7%, 12.2% 1.9%, 88.6% 2.1%, 93.2% 9.1%, 92.9% 90%, 88.2% 97.7%, 12.1% 97.3%, 7.4% 90.7%, 7.2% 8.7%, 20.12% 21.13%, 20.12% 79.35%, 80.35% 79.35%, 80.35% 21.13%, 20.12% 21.13%);
}
.frame-gray {
  clip-path: polygon(evenodd, 6.5% 8.9%, 11.6% 1.4%, 90.8% 1.9%, 95.6% 9%, 95.3% 90.5%, 89.8% 96.5%, 11.6% 96.5%, 6.7% 90.5%, 6.5% 8.9%, 19.9% 21.38%, 19.9% 79.25%, 82.42% 79.25%, 82.42% 21.38%, 19.9% 21.38%);
}
.dark-band { background: var(--olive); color: var(--cream); }
.band-inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 1rem clamp(1rem, 7vw, 7rem); padding-block: clamp(2.2rem, 6.7vw, 6.7rem); }
.band-inner p, .guide p { color: #f0e5cf; max-width: 49ch; }
.band-inner .text-link, .guide .text-link { color: #ffcb9f; }

.product-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr);
  gap: clamp(1rem, 5vw, 6.5rem);
  align-items: center;
  padding-block: clamp(1.5rem, 5.3vw, 5rem);
}
.product-intro { grid-column: 2; grid-row: 1; }
.product-intro h1 { font-size: clamp(3.1rem, 6.6vw, 7.5rem); }
.product-intro p { max-width: 31ch; margin-block: 1rem 1.35rem; font-size: clamp(1.1rem, 1.45vw, 1.28rem); color: var(--muted); }
.product-intro > .text-link { display: flex; color: var(--rust); margin-top: .35rem; }
.gallery { min-width: 0; margin: 0; border: 0; padding: 0; }
.gallery-art { display: grid; place-items: center; aspect-ratio: 1.4; }
.gallery-art .frame-cut { width: 80%; }
.palette-frame .view-gray { display: none; }
.palette-frame:has([value="cinza"]:checked) .view-gray { display: block; }
.palette-frame:has([value="cinza"]:checked) .view-white { display: none; }
.installed img { width: 100%; aspect-ratio: 1.22; object-fit: cover; object-position: center 50%; }
.swatches { display: flex; flex-wrap: wrap; gap: 0 1.3rem; border-bottom: 1px solid var(--rule); }
.swatches label { position: relative; cursor: pointer; }
.swatches input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.swatches span { display: flex; align-items: center; gap: .45rem; min-height: 47px; border-bottom: 2px solid transparent; }
.swatches span::before { content: ""; width: .85rem; height: .85rem; background: var(--tone); border: 1px solid #7e7a6a; border-radius: 50%; }
.swatches input:checked + span, .swatches label:hover span { border-bottom-color: var(--rust); color: var(--rust); }
.swatches input:focus-visible + span { outline: 2px solid var(--rust); outline-offset: 1px; }
.niche-art { aspect-ratio: 2.22; background: #fff; }
.niche-art figure { display: none; width: 100%; text-align: center; padding: .8rem; }
.niche-art img { margin-inline: auto; width: min(65%, 230px); }
.niche-art figcaption { color: var(--muted); margin-top: .2rem; }
.palette-niche:has([value="branco"]:checked) .view-branco,
.palette-niche:has([value="bege"]:checked) .view-bege,
.palette-niche:has([value="cinza"]:checked) .view-cinza,
.palette-niche:has([value="preto"]:checked) .view-preto,
.palette-niche:has([value="vermelho"]:checked) .view-vermelho { display: block; }

.guide { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)); gap: 1.2rem clamp(1.25rem, 4vw, 4.6rem); padding-block: clamp(2.2rem, 6.7vw, 6.7rem); }
.guide h2, .band-inner h2 { font-size: clamp(2.3rem, 4.6vw, 5.1rem); }
.guide h3 { font-family: Barlow, sans-serif; letter-spacing: 0; font-size: 1.1rem; font-weight: 600; margin-bottom: .45rem; }
.guide .text-link { grid-column: 2 / -1; }
.specification, .directory {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: 1.2rem clamp(1rem, 7vw, 7rem);
  padding-block: clamp(2.1rem, 6vw, 5.75rem);
}
.specification h2, .directory h2 { font-size: clamp(2.2rem, 4.45vw, 4.85rem); }
.specification p, .directory p { margin-top: .8rem; }
.facts, .directory-list { margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.facts > div { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; padding-block: .7rem; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.page-heading { padding-block: clamp(2.3rem, 7.5vw, 7rem) clamp(1.5rem, 4vw, 3rem); }
.page-heading p { margin-top: 1.15rem; }
.directory { border-top: 1px solid var(--rule); }
.directory address { font-style: normal; min-width: 0; }
.directory-list { list-style: none; }
.directory-list a { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .8rem .25rem; border-bottom: 1px solid var(--rule); text-decoration: none; overflow-wrap: anywhere; }
.directory-list a:hover { background: #ede8db; }
.directory-list strong, .directory-list small { display: block; }
.directory-list strong { font-weight: 600; font-size: 1.15rem; }
.directory-list small { color: var(--muted); }

.footer { background: #23251d; color: var(--cream); }
.footer-main { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: .8rem 1.6rem; padding-block: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.footer-main a { display: flex; align-items: center; min-height: 44px; width: fit-content; overflow-wrap: anywhere; }

@media (max-width: 920px) {
  .cover { min-height: max(39rem, 93svh); }
  .cover-image { object-position: 68% 44%; }
  .cover-bottom { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(11.8rem, .6fr); }
  .cover-rail { display: none; }
  .section-heading { grid-template-columns: minmax(0, 1fr); }
  .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide h2, .guide .text-link { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-main > a:last-child { grid-column: 2; }
}
@media (max-width: 620px) {
  .mast-inner { flex-wrap: wrap; min-height: 0; padding-block: .3rem 0; }
  .mast nav { width: 100%; column-gap: .95rem; }
  .mast nav a { font-size: .95rem; }
  .home .mast-inner { min-height: auto; }
  .home .mast nav { column-gap: .8rem; }
  .home .mast nav a { font-size: .74rem; letter-spacing: .045em; }
  .cover {
    min-height: max(36rem, 95svh);
    padding-top: 98px;
  }
  .cover-image { object-position: 68% 42%; }
  .cover-body p { max-width: 33ch; line-height: 1.55; }
  .cover-bottom { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .cover-actions { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover-actions .button { padding-inline: .55rem; gap: .4rem; font-size: .93rem; }
  .cover-product { font-size: clamp(1.1rem, 4.8vw, 1.65rem); }
  .feature-art { aspect-ratio: 1.37; }
  .interactive-photo { width: 87%; }
  .feature-caption { flex-wrap: wrap; }
  .point-index span { width: 100%; }
  .product-lead, .guide, .specification, .directory, .band-inner, .footer-main { grid-template-columns: minmax(0, 1fr); }
  .product-intro { grid-column: 1; }
  .product-intro h1 { font-size: clamp(3rem, 12vw, 5rem); }
  .product-intro h1 em { display: inline; }
  .footer-main > a:last-child { grid-column: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .point { transition: background-color .2s ease, color .2s ease; }
}

/* Inset borders for product photographs and finish previews. */
.photo-frame {
  position: relative;
  min-width: 0;
  padding: clamp(5px, .62vw, 9px);
  border: 1px solid var(--rule);
}
.photo-frame::before,
.photo-frame::after {
  content: "";
  position: absolute;
  width: .85rem;
  height: .85rem;
  border-color: #ab8b64;
  border-style: solid;
  pointer-events: none;
}
.photo-frame::before {
  inset: -4px auto auto -4px;
  border-width: 1px 0 0 1px;
}
.photo-frame::after {
  inset: auto -4px -4px auto;
  border-width: 0 1px 1px 0;
}
.niche-feature-art { position: relative; }
.niche-feature-art > img { position: absolute; inset: 0; }

.home-guide { padding-bottom: clamp(2.1rem, 6vw, 6rem); }
.home-guide .band-inner { width: 100%; }
.guide-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-block: 1px solid #fff5de46;
}
.guide-index > div { padding: 1.2rem clamp(.75rem, 2.4vw, 2.7rem); }
.guide-index > div:first-child { padding-left: 0; }
.guide-index > div + div { border-left: 1px solid #fff5de46; }
.guide-index dt {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f0e5cf;
}
.guide-index dd {
  margin: .38rem 0 0;
  font: 400 clamp(1.15rem, 2.1vw, 2.15rem)/1.12 var(--serif);
}
@media (max-width: 620px) {
  .guide-index { grid-template-columns: 1fr; }
  .guide-index > div { padding: .9rem 0; }
  .guide-index > div + div { border-left: 0; border-top: 1px solid #fff5de46; }
}

/* The title sits below the photographed product, above the existing action line. */
.cover { grid-template-rows: minmax(max(10.5rem, 39svh), 1fr) auto auto; }
.cover-body { grid-row: 2; align-self: end; padding-block: .1rem clamp(.75rem, 2.2vw, 1.7rem); }
.cover-body h1 { font-size: clamp(4rem, min(15.9vw, 22svh), 19rem); }
.cover-body p { margin-top: clamp(.7rem, 1.4vw, 1.1rem); }
.cover-bottom { grid-row: 3; }

.installed-feature { display: block; aspect-ratio: 1.65; }
.installed-feature .interactive-photo { width: 100%; translate: 0 -9.6%; }
.installed-feature img { width: 100%; }
.home-manual { margin-left: 1.2rem; }

.manual { padding-block: clamp(2rem, 6vw, 5.5rem) 0; }
.manual .section-heading { padding-bottom: 1.25rem; }
.manual .section-heading h2 { font-size: clamp(2.2rem, 4.45vw, 4.85rem); }
.manual-link { color: var(--rust); }
.manual-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: instruction;
  margin: 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid var(--rule);
}
.manual-steps li {
  counter-increment: instruction;
  padding: 1.15rem clamp(.75rem, 2.1vw, 1.75rem);
}
.manual-steps li:nth-child(n+4) { border-top: 1px solid var(--rule); }
.manual-steps li:not(:nth-child(3n+1)) { border-left: 1px solid var(--rule); }
.manual-steps li::before {
  content: counter(instruction, decimal-leading-zero);
  display: block;
  color: var(--rust);
  font-size: .85rem;
  margin-bottom: .5rem;
}
.manual-steps h3 { font-size: clamp(1.25rem, 2.2vw, 1.85rem); }
.manual-steps p { margin-top: .4rem; color: var(--muted); }
.manual-illustration { margin-top: .65rem; }
.manual-illustration summary { width: fit-content; min-height: 44px; padding-block: .6rem; cursor: pointer; font-weight: 600; }
.manual-illustration img { width: 100%; }

@media (max-width: 620px) {
  .cover { grid-template-rows: minmax(max(9rem, 38svh), 1fr) auto auto; }
  .cover-body h1 { font-size: clamp(3.3rem, 15.5vw, 6rem); }
  .installed-feature { aspect-ratio: 4 / 3; }
  .installed-feature .interactive-photo { translate: none; }
  .home-manual { margin-left: 0; display: flex; }
  .manual-steps { grid-template-columns: minmax(0, 1fr); }
  .manual-steps li:not(:nth-child(3n+1)) { border-left: 0; }
  .manual-steps li + li { border-top: 1px solid var(--rule); }
}

/* Interactive product view */
.frame-viewer,
.palette-frame .frame-art {
  background: radial-gradient(ellipse at 38% 32%, #53594b, #29352d 72%, #202b24);
}
.frame-viewer { aspect-ratio: 1.42; }
.frame-viewer,
.palette-frame .frame-art { position: relative; }

.frame-viewer canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}
.frame-viewer canvas.is-dragging { cursor: grabbing; }
.frame-viewer canvas:focus-visible { outline-color: var(--orange); outline-offset: -5px; }
.frame-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  margin-top: .55rem;
  border-bottom: 1px solid var(--rule);
}
.frame-tools p { color: var(--muted); font-size: .95rem; }
.frame-actions { display: flex; flex-wrap: wrap; gap: 0 .4rem; }
.frame-actions button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: .25rem .5rem;
  font-weight: 600;
}
.frame-actions button:hover { color: var(--rust); text-decoration: underline; text-underline-offset: .24em; }
.frame-note { color: var(--muted); font-size: .91rem; margin-top: .5rem; }

@media (max-width: 620px) {
  .frame-product .product-intro { grid-row: auto; }
}


.frame-adjustment { padding-block: .85rem 1rem; border-bottom: 1px solid var(--rule); }
.adjustment-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 .65rem; }
.adjustment-heading h2 { font-size: clamp(1.55rem, 2.6vw, 2.25rem); }
.adjustment-heading button { min-height: 44px; color: var(--rust); border: 0; background: transparent; padding: 0; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.frame-adjustment p, .adjustment-dimensions small { color: var(--muted); }
.adjustment-dimensions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1.25rem; margin-top: .65rem; }
.adjustment-dimensions label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .15rem .4rem; font-weight: 600; }
.adjustment-dimensions output { color: var(--rust); font-variant-numeric: tabular-nums; }
.adjustment-dimensions input { display: block; width: 100%; min-height: 36px; margin: 0; accent-color: var(--rust); }
@media (max-width: 425px) { .adjustment-dimensions { grid-template-columns: 1fr; } }


.accessory-product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 1.15rem clamp(1rem, 5vw, 5.5rem);
  padding-block: clamp(1.65rem, 5vw, 4.5rem);
  border-top: 1px solid var(--rule);
}
.accessory-image img { width: 100%; aspect-ratio: 1.26; object-fit: contain; background: #fff; }
.accessory-copy h2 { font-size: clamp(2.3rem, 5vw, 4.6rem); }
.accessory-copy p { margin: .85rem 0 1.2rem; color: var(--muted); max-width: 39ch; }
.accessory-copy .text-link { color: var(--rust); margin-top: .55rem; }
@media (max-width: 620px) {
  .accessory-product { grid-template-columns: minmax(0, 1fr); }
}



/* Product catalogue and accessory viewers */
.products-heading { padding-bottom: 0; }
.products-heading .collection-nav { margin-bottom: 0; }
#nicho.niche-lead { border-top: 1px solid var(--rule); }
.product-intro h2 { font-size: clamp(3.1rem, 6.6vw, 7.5rem); }
.product-intro h2 em { display: block; font-weight: inherit; }
.map-image img { width: 100%; max-height: 30rem; object-fit: contain; background: #eee; }
.map-image figcaption { padding: .5rem .35rem .2rem; color: var(--muted); font-size: .88rem; }
.map-section .text-link { color: var(--rust); margin-top: .65rem; }

.accessory-media { min-width: 0; }

.accessory-media img { width: 100%; aspect-ratio: 1.42; object-fit: contain; background: #fff; }
.accessory-dimension { position: absolute; bottom: .35rem; right: .7rem; color: var(--cream); font-size: .88rem; font-variant-numeric: tabular-nums; pointer-events: none; }
.accessory-adjustment { display: block; margin-top: .5rem; }
.accessory-adjustment label { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; font-weight: 600; }
.accessory-adjustment input { width: 100%; display: block; min-height: 38px; accent-color: var(--rust); margin: 0; }
.accessory-adjustment output { color: var(--rust); }
@media (max-width: 620px) {
  .product-intro h2 { font-size: clamp(3rem, 12vw, 5rem); }
  .product-intro h2 em { display: inline; }
}



/* Product models and their controls form a single exhibit. */
.frame-product,
.accessory-product {
  --stage: #333630;
  --stage-line: #eee6d522;
  --stage-ink: #fff2df;
  --viewer-orange: #f99553;
  --viewer-ink: #321c11;
}

.frame-product .photo-frame,
.accessory-media .photo-frame {
  border: 0;
  padding: 0;
  background: var(--stage);
  color: var(--stage-ink);
}

.stage-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .7rem clamp(.85rem, 2vw, 1.45rem);
  border-bottom: 1px solid var(--stage-line);
  font-size: .89rem;
  font-weight: 600;
  letter-spacing: .025em;
}

.stage-model-label { color: #ffc092; }
.stage-photo-label,
.photo-frame:not(:has(.frame-viewer:not([hidden]))) .stage-model-label,
.photo-frame:not(:has(.frame-viewer:not([hidden]))) .accessory-dimension { display: none; }
.photo-frame:not(:has(.frame-viewer:not([hidden]))) .stage-photo-label { display: block; }

.frame-product .frame-viewer,
.frame-product .frame-art,
.accessory-media .frame-viewer {
  isolation: isolate;
  background: var(--stage);
}

.frame-product .frame-viewer::before,
.frame-product .frame-art::before,
.accessory-media .frame-viewer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), #ffe1be28 50%, transparent calc(50% + .5px)),
    linear-gradient(0deg, transparent calc(50% - .5px), #ffe1be28 50%, transparent calc(50% + .5px)),
    radial-gradient(ellipse at 48% 37%, #5e5d51 0%, transparent 75%);
  border: 1px solid var(--stage-line);
}

.frame-product .frame-viewer::after,
.frame-product .frame-art::after,
.accessory-media .frame-viewer::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 12px 12px auto auto;
  width: clamp(25px, 5vw, 64px);
  height: clamp(25px, 5vw, 64px);
  border-top: 1px solid #f4a16c;
  border-right: 1px solid #f4a16c;
}

.stage-caption .accessory-dimension {
  position: static;
  color: var(--stage-ink);
  text-align: right;
  font-size: 1rem;
}

.frame-product .frame-tools,
.accessory-media .frame-tools {
  margin-top: 0;
  padding: .2rem .65rem .2rem clamp(.85rem, 2vw, 1.45rem);
  gap: .05rem .5rem;
  background: var(--viewer-orange);
  color: var(--viewer-ink);
  border: 0;
}

.frame-product .frame-tools p,
.accessory-media .frame-tools p {
  color: inherit;
  font-size: .93rem;
  padding-block: .35rem;
}

.frame-product .frame-actions,
.accessory-media .frame-actions { gap: 0; }

.frame-product .frame-actions button,
.accessory-media .frame-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding-inline: .75rem;
}

.frame-product .frame-actions button:hover,
.accessory-media .frame-actions button:hover { color: inherit; background: #52270a20; }

.frame-product .frame-actions button:focus-visible,
.accessory-media .frame-actions button:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }

.accessory-media .frame-actions [data-photo] { margin-left: .15rem; border-left: 1px solid #622f1480; padding-inline: .5rem; gap: .3rem; }

.frame-product .frame-adjustment,
.accessory-media .accessory-adjustment {
  margin-top: 0;
  background: #efe5d8;
  padding: clamp(.95rem, 2.5vw, 1.6rem) clamp(.85rem, 2vw, 1.45rem);
  border-bottom: 1px solid #d4c1ac;
}

.frame-product .frame-adjustment h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
.frame-product .frame-adjustment p { margin-top: .35rem; max-width: 55ch; }
.frame-product .adjustment-dimensions { margin-top: 1.05rem; }
.frame-product .adjustment-dimensions output,
.accessory-media .accessory-adjustment output { font-size: 1.13rem; font-variant-numeric: tabular-nums; }

.accessory-heading { padding-block: clamp(2.3rem, 5vw, 5rem) 0; }
.accessory-heading-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .4fr);
  gap: 1rem clamp(1rem, 5vw, 5rem);
  align-items: end;
}
.accessory-heading h1 { font-size: clamp(2.65rem, 7.2vw, 7rem); }
.accessory-heading h1 em { color: var(--rust); }
.accessory-heading-copy p { margin-top: 0; padding-bottom: .5rem; }

.accessory-heading .collection-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 0;
  border-block: 1px solid var(--rule);
}
.accessory-heading .collection-nav a {
  justify-content: space-between;
  padding: .75rem clamp(.6rem, 1.5vw, 1.2rem);
  line-height: 1.25;
}
.accessory-heading .collection-nav a + a { border-inline-start: 1px solid var(--rule); }
.accessory-heading .collection-nav span { color: var(--rust); }
.accessory-heading .collection-nav a:hover { background: #efe5d8; color: var(--rust); }

.accessory-product { align-items: start; padding-block: clamp(2.5rem, 6.8vw, 6.5rem); }
.accessory-heading + .accessory-product { border-top: 0; padding-top: clamp(2rem, 4.2vw, 4.5rem); }
.accessory-copy { padding-top: clamp(.7rem, 4vw, 3rem); }
.accessory-copy h2 { text-wrap: balance; }
.accessory-copy .facts { margin-block: 1.65rem .5rem; }
.accessory-copy .facts dd { color: var(--rust); }

@media (max-width: 860px) {
  .accessory-heading-copy { grid-template-columns: minmax(0, 1fr); }
  .accessory-heading .collection-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accessory-heading .collection-nav a:nth-child(3) { border-inline-start: 0; }
  .accessory-heading .collection-nav a:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}

@media (max-width: 620px) {
  .accessory-copy { padding-top: .15rem; }
  .frame-product .frame-tools,
  .accessory-media .frame-tools { justify-content: space-between; }
}
