@font-face {
  font-family: "Instrument Serif";
  src: url("./instrument-serif-latin.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #24213b;
  --paper: #fffaf0;
  --coral: #d44b36;
  --rule: #c7bcac;
  --display: "Instrument Serif", Georgia, serif;
  font: 100%/1.5 Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, p, dl, dd, figure { margin: 0; }
a { color: inherit; }
:is(a, button, input, select):focus-visible {
  outline: 3px solid #3769d9;
  outline-offset: 3px;
}
.sheet { width: min(100%, 66rem); margin-inline: auto; padding: 0 clamp(1.1rem, 4vw, 3rem); }
.masthead, footer, figcaption, .package {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.masthead { padding-block: 1.1rem; border-bottom: 1px solid var(--ink); }
.wordmark { display: flex; align-items: center; gap: .5rem; font: 2.05rem/1 var(--display); letter-spacing: -.035em; }
.window {
  width: .72em;
  height: .77em;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 0 0;
  background: linear-gradient(90deg, transparent 44%, var(--ink) 44% 55%, transparent 55%),
    linear-gradient(0deg, var(--coral) 0 41%, var(--ink) 41% 51%, transparent 51%);
}
.context, .kicker, .scope dt, .sample figcaption, footer, .search-form label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .035em;
}
.number { margin-left: .22rem; padding: .23em .4em; border: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.number:empty { display: none; }
.kicker { text-transform: uppercase; letter-spacing: .12em; color: #803729; }
h1, h2 { font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(3rem, 6.3vw, 5.1rem); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; }
footer { justify-content: flex-start; margin-top: 1.5rem; border-top: 1px solid var(--rule); padding-block: .9rem; font-weight: 400; color: #665f60; }
footer span { color: #a35c4a; }

.service-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3.8rem);
  margin-top: clamp(1.15rem, 3.8vw, 2.6rem);
}
.sample { min-width: 0; }
.print-board {
  height: clamp(22rem, 43vw, 29rem);
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  background: #e7c8b6;
  border: 1px solid #cfaf9e;
}
.print-board img {
  height: 84%;
  width: auto;
  max-width: 87%;
  object-fit: contain;
  border: .32rem solid #fff6e6;
  box-shadow: 0 .6rem 1rem -.55rem #51382d9c, 0 .1rem .2rem #4b2e2945;
  transform: rotate(-3deg);
}
.sample figcaption { margin-top: .55rem; font-weight: 400; }
.sample figcaption span:first-child { font-weight: 600; }
.service-copy h1 { margin: .65rem 0 .9rem; text-wrap: wrap; }
.price { display: flex; align-items: baseline; gap: .45rem; }
.price strong { font: 2.85rem/1.1 var(--display); letter-spacing: -.03em; }
.price span, .package-price small { font: 600 .73rem/1 Arial, sans-serif; letter-spacing: .06em; }
.scope { border-top: 1px solid var(--rule); padding-top: .8rem; margin-top: 1.05rem; }
.scope dt { margin-bottom: .18rem; color: #62575e; }
.scope dd { font-size: 1.12rem; line-height: 1.4; }
.button, .search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .68rem .96rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font: 600 .91rem/1.25 Arial, sans-serif;
  cursor: pointer;
}
.button { margin-top: 1.1rem; }
.button:hover, .search-form button:hover { background: #403c59; }
.button span { font-size: 1.1rem; }
.monogram { font: 6rem/1 var(--display); letter-spacing: -.09em; color: #4c365b; }
[data-studio="P2"] .print-board { background: #e6bd66; }
[data-studio="P3"] .print-board { background: #b7c7ad; }

.artist-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .53fr);
  align-items: center;
  gap: 1.4rem;
  margin-top: clamp(1.15rem, 3vw, 2rem);
  padding: clamp(1.45rem, 4vw, 3rem);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.artist-copy { min-width: 0; }
.artist-banner .kicker { color: #ffc7b6; }
.artist-banner h1 { font-size: clamp(3.75rem, 8vw, 7rem); margin: .7rem 0 .8rem; }
.specialty { font-size: 1.08rem; }
.imprint {
  aspect-ratio: 1 / 1.03;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #dcab7e;
  border-radius: 50% 50% 0 0;
}
.imprint img { height: 100%; width: 100%; object-fit: cover; object-position: 60% 14%; }
.packages { margin-top: clamp(1.2rem, 3vw, 2rem); }
.packages h2 { margin-bottom: .75rem; }
.package { border-block: 1px solid var(--rule); padding: 1.05rem .1rem; text-decoration: none; font-weight: 600; }
.package + .package { border-top: 0; }
.package:hover { color: #81382d; text-decoration: underline; text-underline-offset: .2em; }
.package-price { white-space: nowrap; }
.package-price span { margin-left: .3rem; }
.package-label small { margin-right: .35rem; font: 600 .75rem/1 Arial, sans-serif; color: #803729; }

.search-sheet { max-width: 46rem; margin: 2rem auto 0; }
.search-sheet h1 { margin: .5rem 0 1.4rem; }
.search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .8rem;
  padding: 1.15rem;
  background: #f1ddcd;
}
.search-form label { display: grid; gap: .28rem; flex: 1 1 9rem; }
.search-form :is(input, select) { width: 100%; min-height: 2.6rem; border: 1px solid #8c7e77; border-radius: 0; color: var(--ink); background: var(--paper); font: 1rem Arial, sans-serif; padding: .5rem; }
.search-form button { min-height: 2.6rem; }
.empty { padding: 1rem 0; border-top: 1px solid var(--rule); }

@media (max-width: 37rem) {
  .masthead { padding-block: .85rem; }
  .wordmark { font-size: 1.8rem; }
  .service-sheet { grid-template-columns: 1fr; gap: 1.15rem; }
  .print-board { height: clamp(8.5rem, 43vw, 15rem); }
  .print-board img { width: 100%; height: 100%; max-width: none; border: 0; transform: none; box-shadow: none; object-fit: cover; object-position: 50% 48%; }
  .sample figcaption { margin-top: .3rem; }
  .service-copy h1 { margin: .3rem 0 .5rem; font-size: clamp(2.6rem, 11.5vw, 3.45rem); }
  .price strong { font-size: 2.3rem; }
  .scope { padding-top: .6rem; margin-top: .65rem; }
  .scope dd { font-size: 1rem; }
  .button { margin-top: .8rem; }
  .artist-banner { grid-template-columns: 1.3fr .72fr; padding: 1.25rem; gap: .8rem; }
  .artist-banner h1 { font-size: clamp(2.85rem, 12vw, 4rem); margin: .5rem 0 .6rem; }
  .specialty { font-size: .9rem; }
  .imprint { aspect-ratio: 2 / 3; }
  .search-sheet { margin-top: 1.3rem; }
  .search-form { gap: .65rem; }
  .search-form label { flex-basis: 8rem; }
}
