/* The little prints share the paper, warm light and deck order of the opening. */
.inquiry-paper {padding-bottom: clamp(23px, 2vw, 32px)}
.inquiry-paperhead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 1.4vw, 24px);
  margin-bottom: 24px;
}
.note-heading {min-width: 0}
.inquiry-place {flex-wrap: wrap; column-gap: 8px; row-gap: 0}
.inquiry-paper .note-tape {
  top: -9px;
  left: auto;
  right: clamp(40px, 5.8vw, 94px);
  width: 53px;
  height: 22px;
  transform: rotate(10deg);
}
.inquiry-paper:has(#inquiry-form:not([hidden])) .note-tape {display: none}
.note-prints {
  position: relative;
  align-self: start;
  width: 128px;
  margin: -34px -6px -5px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #422829;
  line-height: 1;
}
.note-mini-stack {
  display: block;
  position: relative;
  height: 112px;
  isolation: isolate;
}
.note-mini-stack::after {
  content: '';
  position: absolute;
  z-index: 3;
  width: 47px;
  height: 15px;
  left: 34%;
  top: -3px;
  background: linear-gradient(5deg, #debc8cca, #f1d8afdb);
  transform: rotate(7deg);
  clip-path: polygon(1% 6%, 99% 0, 97% 35%, 100% 66%, 98% 100%, 0 96%, 2% 67%, 0 32%);
  pointer-events: none;
}
.note-mini-print {
  position: absolute;
  inset: 3px 10px 4px;
  padding: 4px 4px 9px;
  background: #f8eedc;
  box-shadow: 1px 3px 5px #34212447, 0 0 1px #694c3e6e;
  pointer-events: none;
}
.note-mini-print img {width: 100%; height: 100%; object-fit: cover}
.note-back {transform: translate(-5%, 1%) rotate(-10deg); background: #dcc8b1}
.note-middle {transform: translate(6%, 2%) rotate(10deg); background: #e6d5bf}
.note-front {transform: rotate(-3deg)}
.turn-caption {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding-top: 5px;
  font: 700 18px/1.1 Hand, cursive;
}
.turn-caption span {font: 16px/1 DM, Arial, sans-serif}
.note-print-leaving {
  z-index: 2;
  animation: note-print-turn 320ms var(--ease-out) both;
}
@keyframes note-print-turn {
  from {transform: rotate(-3deg); opacity: 1}
  to {transform: translateX(40%) rotate(8deg); opacity: 0}
}
.inquiry-paper.arrived .note-mini-stack {
  animation: note-prints-arrive 600ms var(--ease-enter);
}
@keyframes note-prints-arrive {
  from {clip-path: inset(100% 0 0 0)}
  to {clip-path: inset(0)}
}
.note-heading .note-signature:empty {display: none}
.note-heading .note-signature {white-space: normal; overflow-wrap: anywhere; margin-top: 4px; font-size: clamp(20px, 1.8vw, 27px)}
.inquiry-fields label, .inquiry-manual, .native-note label {color: #33212a; font-weight: 600}
.inquiry-fields input, .inquiry-fields textarea {font-weight: 400}
.inquiry-status:empty {min-height: 0; margin: 0}
@media (max-width: 950px) {
  .inquiry-paper {padding-top: 29px}
  .note-prints {width: 120px; margin-top: -22px}
  .note-mini-stack {height: 99px}
}
@media (max-width: 680px) {
  .inquiry-paperhead {margin-bottom: 19px; gap: 5px}
  .inquiry-paper {padding-bottom: 23px}
  .pagefoot {padding-bottom: max(12px, env(safe-area-inset-bottom))}
}
@media (prefers-reduced-motion: reduce) {
  .inquiry-paper.arrived .note-mini-stack {animation: none}
  .note-print-leaving {animation: note-print-fade 180ms linear both; animation-duration: 180ms !important}
  @keyframes note-print-fade {from {opacity: 1} to {opacity: 0}}
}

.mast-call {display: none}
@media (max-width: 680px) {
  .mast-call:not([hidden]) {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #a77961;
    border-radius: 50%;
    color: #ffd6b6;
  }
  .mast-call .ico {width: 21px; height: 21px}
}
@media (max-width: 410px) {
  .mastinner {gap: 4px; padding-inline: clamp(10px, 50vw - 172px, 23px)}
  .navact {gap: 4px}
  .navact .header-cta {padding-inline: 9px}
}
@media (max-width: 360px) {
  .mastinner {padding-inline: 10px}
  .mastinner .brand {gap: 6px}
  .mastinner .brandname {font-size: 22px}
  .navact .header-cta {padding-inline: 10px}
  .navact .header-cta .ico {display: none}
}
