/* The shop's own wall: the price lettered on it, the wall getting its coat as you scroll. Then the close,
   the last of the coat. */
.wall .scene__pin { position: relative; }
.wall .coat { position: absolute; inset: 0; }

/* The price is sign-written on the wall: ink multiplied into the plaster, read the same on the old
   coat and the new. The words stay in front of the roller, drawn light here so they read over it. */
.wall__words { position: relative; z-index: 4; margin-block: auto; padding-block: clamp(28px, 6svh, 72px); display: grid; gap: clamp(14px, 2.4svh, 30px) 5vw; mix-blend-mode: multiply; color: #211d16; }
.wall__words .h2 { margin: 0; }
.plans { display: grid; gap: clamp(12px, 2svh, 26px); }
.plan h3 { font: clamp(26px, 2.4vw, 38px)/1 var(--serif); letter-spacing: -.02em; }
.plan p { margin: 4px 0 0; max-width: 30em; font-size: clamp(15px, .5vw + 12px, 18px); line-height: 1.4; }
.plan__price { font-size: clamp(16px, .6vw + 12px, 20px); }
.plan__price b { font: clamp(30px, 3.2vw, 54px)/1 var(--serif); letter-spacing: -.02em; margin-right: .15em; }
.plan:first-child .plan__price b { font-size: clamp(64px, 8.4vw, 150px); color: var(--coat-deep); display: inline-block; margin-block: 2px 4px; }
.plan:nth-child(2) .plan__price b { font: 600 clamp(16px, .6vw + 12px, 20px)/1.3 var(--sans); }
.wall__fine { color: #3f392f; margin: 0; }
@media (min-width: 900px) {
  .wall__words { grid-template-columns: 1.15fr 1fr; grid-template-areas: "h h" "a b" "f f"; align-content: center; }
  .wall__words .h2 { grid-area: h; }
  .plan:first-child { grid-area: a; }
  .plans { display: contents; }
  .plan:nth-child(2) { grid-area: b; }
  .wall__fine { grid-area: f; }
}
@media (max-width: 899px) {
  .wall__words { padding-block: 18px; gap: 12px; }
  .wall__words .h2 { font-size: clamp(32px, 8.6vw, 52px); }
  .plans { gap: 10px; }
  .plan h3 { font-size: 24px; }
  .plan p { font-size: 14.5px; line-height: 1.35; margin-top: 2px; }
  .plan:first-child .plan__price b { font-size: clamp(56px, 16vw, 90px); }
  .wall__fine { font-size: 14px; }
}
@media (min-width: 900px) { .wall__words .h2 { font-size: clamp(56px, 6.4vw, 110px); } .plan p { font-size: 18px; } }

/* The rest of what Newcoat does, after the wall and closed until opened: a rate sheet, the service,
   its price, one line on what it is. */
.extras { padding-block: clamp(22px, 5svh, 56px); background: var(--paper); }
.extras summary { cursor: pointer; width: fit-content; font: 600 clamp(16px, .4vw + 14px, 19px)/1.4 var(--sans); color: var(--coat-deep); }
.extras summary:focus-visible { outline: 3px solid var(--coat); outline-offset: 3px; }
.extras details > p { max-width: 40em; margin: 12px 0 16px; color: var(--muted); }
.rates { margin: 0; max-width: 46em; }
.rates > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.rates dt { font-weight: 600; }
.rates dd { margin: 0; }
.rates dd:last-child { grid-column: 1 / -1; color: var(--muted); }
.rate { text-align: right; white-space: nowrap; }

/* The close: the roller's last pass gives the same wall the shop's own blue, and the way to ask and
   the questions are on it once it is done. */
.close .scene__pin { background: var(--primer); }
.faq__h { color: #f3ede2; }
.close__wall { position: relative; flex: 1 1 auto; min-height: 0; display: grid; align-content: center; color: #f3ede2; }
.close__wall .coat { position: absolute; inset: 0; background: var(--primer); }
.close__wall .coat img { object-position: 50% 100%; } /* the wall's foot meets the questions' mirrored top */
.close__act { position: relative; z-index: 4; display: grid; justify-items: start; gap: 22px; padding-block: 28px; }
.close__act .btn { font-size: 19px; }
.close__act .faq { justify-self: stretch; }
.btn--paper { background: var(--paper); color: var(--coat-deep); box-shadow: 0 2px 0 #c9c3b6, 0 10px 24px -12px rgb(0 0 0 / .6); }
.btn--paper:hover { color: var(--coat-deep); box-shadow: 0 4px 0 #c9c3b6, 0 16px 30px -14px rgb(0 0 0 / .7); }
.code { display: grid; gap: 6px; margin-top: 8px; font-size: 15px; }
.code label { font-weight: 600; }
.code__row { display: flex; flex-wrap: wrap; gap: 8px; }
.code input { flex: 1 1 10rem; min-height: 46px; padding: 8px 14px; border: 1.5px solid #aeb3dc; border-radius: 6px; background: rgb(255 255 255 / .08); color: #fff; font: 600 17px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.code input::placeholder { color: #9fa3c9; }
.code button { min-height: 46px; padding: 8px 18px; border: 1.5px solid var(--paper); border-radius: 6px; background: transparent; color: var(--paper); font: 600 16px var(--sans); cursor: pointer; }
.code button:hover { background: var(--paper); color: var(--coat-deep); }
.code small { color: #b9bbdc; font-size: 14px; }
.faq__h { font: clamp(34px, 3.6vw, 56px)/1 var(--serif); letter-spacing: -.02em; }
.qa { border-top: 1px solid rgb(243 237 226 / .3); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; font: 600 17px/1.35 var(--sans); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+" / ""; font: 24px/1 var(--serif); transition: rotate .2s var(--ease); }
.qa[open] summary::after { rotate: 45deg; }
.qa p { margin: 0 0 16px; color: #e2dff0; font-size: 16.5px; line-height: 1.5; max-width: 36em; }
.close :focus-visible { outline-color: #fff; }
.close__ask { display: grid; justify-items: start; gap: 22px; }
@media (min-width: 900px) { .close__act { grid-template-columns: 1fr 1.2fr; column-gap: 6vw; align-items: start; } }
/* On a phone the questions follow the form on the same wall: the close is not pinned there. */
@media (max-width: 899px) {
  .close.is-armed { height: auto; }
  .close.is-armed .scene__pin { position: static; height: auto; }
  .close__act { padding-block: 36px 44px; gap: 40px; }
}
/* On the blue, the way to ask waits for the coat (a short pass); without paint it is there at once. */
.close.is-armed:not(.is-dry) .close__act { opacity: 0; visibility: hidden; }
.close__act { transition: opacity .6s var(--ease), visibility .6s; }
