/* Shared display and reading styles. Scope them to page content, away from navigation. */
@font-face {
  font-family: "Great Vibes";
  src: url("GreatVibes-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
.desk-type, .desk-footer-brand {
  --desk-display: "Cormorant Garamond", Georgia, serif;
  --desk-reading: "Spectral", Georgia, serif;
  --desk-script: "Great Vibes", var(--desk-display);
  --desk-ink: #55343f;
  --desk-muted: #694653;
  --desk-rose: #783d55;
  --desk-relief: 0 -1px #fff6dc, 0 1px #e1b786, 0 2px #bd8871, 0 4px 6px #62324842;
}
.desk-type {
  font-family: var(--desk-reading);
  color: var(--desk-ink);
  line-height: 1.62;
}
.desk-type :is(h2, h3, h4, .desk-action, label, .step-number),
.desk-type #request :is(h2, h3, .pill.primary),
.desk-type .request-sheet button[type=submit],
.desk-footer-brand {
  font-family: var(--desk-display);
  letter-spacing: .005em;
}
.desk-type :is(h2, h3, h4) {
  color: var(--desk-ink);
  line-height: 1.1;
  text-wrap: balance;
}
.desk-type :is(h2, h3),
.desk-type #request h2 {
  font-size: clamp(1.85rem, 1.55rem + 1.35vw, 3.25rem);
  font-weight: 600;
}
.desk-type :is(h4, #request #details-title) {
  font-size: clamp(1.27rem, 1.15rem + .5vw, 1.68rem);
  font-weight: 700;
}
.desk-type :is(.invitation, .find-invitation) h3 {
  font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: .005em;
}
.desk-type h2.desk-cover-title {
  font: 400 clamp(3.15rem, 6.4vw, 6.4rem)/1.03 var(--desk-script);
  letter-spacing: 0;
  color: #94596d;
  -webkit-text-stroke: .32px currentColor;
  text-shadow: var(--desk-relief);
  padding-inline: .08em;
}
.desk-type .desk-cover-subtitle {
  font-size: clamp(1.01rem, .86rem + .52vw, 1.36rem);
  font-weight: 500;
  line-height: 1.42;
  color: var(--desk-muted);
}
.desk-type p.italic { font-weight: 500; }
.desk-type :is(.letter-card, .filigree-card, .invitation, .clue-sheet, .find-categories) p {
  font-family: var(--desk-reading);
  line-height: 1.5;
  color: var(--desk-muted);
}
.desk-type :is(.desk-action, label, .step-number),
.desk-type #request .pill.primary,
.desk-type .request-sheet button[type=submit] {
  font-weight: 700;
  line-height: 1.3;
}
.desk-type :is(.desk-action, label),
.desk-type #request .pill.primary,
.desk-type .request-sheet button[type=submit] { font-size: 1.12rem; }
.desk-type :is(input, select, textarea),
.desk-type #request.request-panel,
.desk-type #request fieldset label {
  font-family: var(--desk-reading);
  letter-spacing: normal;
}
.desk-type :is(textarea, input)::placeholder,
.desk-type #request textarea::placeholder {
  color: var(--desk-muted);
  font-style: italic;
  opacity: 1;
}
.desk-type .font-script { font-family: var(--desk-script); }
.desk-type .step-number {
  color: var(--desk-rose);
  font-variant-numeric: lining-nums tabular-nums;
}
.desk-type .sample-sheet h4 { letter-spacing: .1em; }
.desk-footer-brand { font-size: 1.24rem; font-weight: 700; color: var(--desk-ink); }
:is(.desk-type:lang(zh), .desk-type :lang(zh)) {
  --desk-display: "Noto Serif SC", "Songti SC", SimSun, serif;
  --desk-reading: var(--desk-display);
  --desk-script: var(--desk-display);
}
:is(.desk-type:lang(ja), .desk-type :lang(ja)) {
  --desk-display: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --desk-reading: var(--desk-display);
  --desk-script: var(--desk-display);
}
.desk-type :is(.desk-cover-subtitle, p.italic):is(:lang(zh), :lang(ja)) { font-style: normal; }

@media (max-width: 767px) {
  .desk-type h2.desk-cover-title { font-size: clamp(2.7rem, 10vw, 4.5rem); }
  .desk-type :is(input:not([type=radio]), select, textarea) { font-size: 1rem; }
}
