/* Dearmasco's product pages share the studio header, footer and typefaces. */
body.dm-product { background: #fcfaf5; }
.dm-landing {
  --dm-paper: #fcfaf5;
  --dm-ink: #302836;
  --dm-muted: #645a60;
  --dm-accent: #683a51;
  --dm-line: #d9d0c7;
  --dm-panel: #e9eee4;
  --dm-tint: #f0e9e7;
  --dm-round: .85rem;
}
.dm-landing [hidden] { display: none !important; }
.dm-landing .dm-hero { grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(2rem,4.5vw,5rem); }
.dm-landing .dm-brand {
  display: flex;
  align-items: center;
  gap: clamp(.65rem,1.25vw,1.2rem);
  margin: 0 0 clamp(1.2rem,2vw,1.8rem);
  font-family: inherit;
  font-size: clamp(2.45rem,5vw,4.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.045em;
  color: var(--dm-accent);
}
.dm-brand img {
  flex: none;
  width: clamp(4.5rem,7.2vw,6.5rem);
  height: auto;
  border-radius: 22%;
}
.dm-landing .dm-hero-question {
  margin: 0 0 .85rem;
  font-size: clamp(2rem,3.3vw,3.15rem);
}
.dm-landing .dm-deck { max-width: 40ch; color: var(--dm-ink); }
.dm-landing .dm-actions { gap: .35rem 1.25rem; margin-bottom: .45rem; }
.dm-landing .dm-secondary, .dm-entry-link, .dm-dialog button { text-decoration: underline; text-underline-offset: .2em; }
.dm-landing .dm-status, .dm-price-note, .dm-visit figcaption, .dm-example figcaption { color: var(--dm-muted); font-size: .94rem; }
.dm-visit, .dm-example figure { margin: 0; min-width: 0; }
.dm-album { position: relative; isolation: isolate; aspect-ratio: 1.35; border-radius: var(--dm-round); overflow: hidden; background: #dce4d5; }
.dm-album .dm-photo { display: block; width: 82%; height: 100%; object-fit: cover; object-position: 45% 46%; }
.dm-album .dm-sample { position: absolute; width: 49%; height: auto; inset: auto 3.5% 5.5% auto; border: 4px solid var(--dm-paper); border-radius: .75rem; box-shadow: 0 3px 20px #251a2138; }
.dm-visit figcaption { display: flex; gap: .5rem; align-items: center; justify-content: space-between; }
.dm-entry-link, .dm-dialog button { display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; font-weight: 650; color: var(--dm-accent); }
.dm-landing .dm-journal, .dm-landing .dm-tier, .dm-landing .dm-links { border-color: var(--dm-line); }
.dm-example-choices h2 { margin-bottom: 1.4rem; }
.dm-example { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); column-gap: clamp(2rem,5vw,5rem); align-items: start; margin-block: 1.5rem; }
.dm-example h3, .dm-example p { grid-column: 1; }
.dm-example p { align-self: start; font-size: 1.12rem; max-width: 44ch; margin: 0; }
.dm-example figure { grid-column: 2; grid-row: 1 / span 2; background: var(--dm-panel); border-radius: var(--dm-round); padding: 1.25rem; text-align: center; }
.dm-example figure img { display: block; width: 100%; max-width: 20rem; height: auto; margin: auto; border: 1px solid #bfcabf; border-radius: .55rem; }
.dm-example figcaption { margin-top: .65rem; }
.dm-interactive { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); grid-template-rows: auto 1fr; gap: 1.25rem clamp(2rem,5vw,5rem); }
.dm-interactive .dm-example-choices { grid-column: 1; grid-row: 1; }
.dm-interactive .dm-example { display: contents; }
.dm-interactive .dm-example p { grid-area: 2 / 1; }
.dm-interactive .dm-example h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dm-switches { display: flex; flex-wrap: wrap; gap: 0 clamp(.8rem,2vw,1.75rem); border-bottom: 1px solid var(--dm-line); }
.dm-switches button, .dm-dialog button { font-family: inherit; background: none; cursor: pointer; border: 0; padding: .45rem 0; }
.dm-switches button { color: var(--dm-muted); min-height: 44px; font-size: 1rem; border-bottom: 3px solid transparent; }
.dm-switches button[aria-pressed="true"] { color: var(--dm-accent); font-weight: 700; border-bottom-color: currentColor; }
.dm-switches button:hover, .dm-entry-link:hover { color: var(--dm-ink); }
.dm-landing button:focus-visible { outline: 3px solid var(--studio-ink); outline-offset: 3px; }
.dm-comparison { width: 100%; max-width: 60rem; table-layout: fixed; border-collapse: collapse; text-align: left; line-height: 1.35; }
.dm-comparison th, .dm-comparison td { padding: .85rem .8rem; border-bottom: 1px solid var(--dm-line); overflow-wrap: anywhere; }
.dm-comparison th:first-child { width: 41%; padding-left: 0; }
.dm-comparison thead th { color: var(--dm-accent); vertical-align: bottom; }
.dm-comparison tbody th { font-weight: 600; }
.dm-comparison tr > :last-child { background: var(--dm-tint); }
.dm-comparison small { display: block; font-size: .88em; font-weight: 500; }
.dm-landing .dm-price-note { margin-top: .7rem; }
.dm-dialog { border: 1px solid var(--dm-line); border-radius: var(--dm-round); padding: .8rem; background: var(--dm-paper); color: var(--dm-ink); width: min(96vw,30rem); max-height: 94vh; max-height: 94dvh; margin: auto; overflow: auto; }
.dm-dialog::backdrop { background: #211a23b5; }
.dm-dialog > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.dm-dialog form { margin: 0; }
.dm-dialog img { display: block; width: 100%; height: auto; border-radius: .4rem; }
@media (max-width:760px) {
  .dm-landing .dm-hero { grid-template-columns: minmax(0,1fr); gap: 1.25rem; padding-block: 2rem; }
  .dm-landing .dm-brand { font-size: clamp(2.4rem,11.3vw,3.25rem); margin-bottom: 1.1rem; }
  .dm-brand img { width: 4.5rem; }
  .dm-landing .dm-actions { margin-top: 1rem; }
  .dm-album { aspect-ratio: 1.47; }
  .dm-visit { max-width: 33rem; }
  .dm-interactive, .dm-example { display: block; }
  .dm-example-choices h2 { margin-bottom: 1rem; }
  .dm-example p { margin: 1rem 0; }
  .dm-example figure { padding: 1rem; }
  .dm-comparison th, .dm-comparison td { font-size: .93rem; padding: .7rem .4rem; }
}
@media (max-width:359px) {
  .dm-brand img { width: 4rem; }
}
