/* /mikrofon.css */
/* /hilfe/mikrofon/: the microphone guide after Wispr's microphone page, in our own hand (checklist 83 to 86).
   Centred head with the app's own four scenes (people whispering into each kind of microphone), "Bevor du etwas
   kaufst" as four painted cards in the day's hours (Wispr's green cards), the types as cards with the app's own
   product shots (the two desk microphones large), the app's own whisper line on an evening band, questions.
   Every picture comes from the app (assets/mics/SOURCE.md); nothing on this page is generated. */

.mic-head { text-align: center; }
.mic-head .crumb { display: flex; justify-content: center; }
.mic-head .ph__h { max-width: 17ch; margin-inline: auto; }
.mic-head .ph__lead { max-width: 46ch; margin-inline: auto; }
.mic-scenes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(40px, 5vw, 72px); }
.mic-scenes img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; background: #d9d3c6; }
.mic-scenes img:nth-child(even) { margin-top: 28px; }

/* before you buy: the heading stays, four painted cards */
.mic-before { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.mic-before__head { position: sticky; top: calc(var(--stick) + 24px); }
.mic-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; margin: 0; padding: 0; }
.mic-cards li { position: relative; padding: 28px 28px 30px; border-radius: 16px; background-color: var(--mc); background-image: var(--impasto-soft); background-size: 420px; min-height: 236px; display: flex; flex-direction: column; }
.mic-cards li[data-hour="noon"] { --mc: #f3e7cf; }
.mic-cards li[data-hour="golden"] { --mc: #f2d39b; }
.mic-cards li[data-hour="late"] { --mc: #eab47f; }
.mic-cards li[data-hour="dusk"] { --mc: #d9998b; }
.mic-cards svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mic-cards h3 { margin-top: auto; padding-top: 28px; font-family: var(--display); font-weight: 600; font-variation-settings: var(--head-axes-sm); font-size: 1.625rem; line-height: 1.1; letter-spacing: -0.012em; }
.mic-cards p { margin-top: 10px; font-size: 1.0625rem; line-height: 1.5; color: rgb(22 19 15 / 0.82); }

/* the types: cards with the app's product shots. The shots stand on a cool studio grey; multiplied onto a warm
   plate they sit in the page's paper instead of cutting a grey square out of it. */
.mic-h { text-align: center; max-width: none; }
.mic-lead { text-align: center; max-width: 46ch; margin-inline: auto; }
.mic-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin-top: clamp(32px, 4vw, 56px); }
.mic { grid-column: span 3; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); }
.mic--big, .mic--less { grid-column: span 6; }
.mic--big { flex-direction: row; align-items: stretch; }
.mic__pic { display: block; background: #f6ecd9; overflow: hidden; }
.mic__pic img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; mix-blend-mode: multiply; }
.mic--big .mic__pic { flex: none; width: 54%; }
.mic--big .mic__pic img { height: 100%; aspect-ratio: 1; }
.mic__pic--two { display: grid; grid-template-columns: 1fr 1fr; }
/* the three cards of the lower row share their two rows (picture, words), so the words start on one line although
   the double picture is a few pixels wider per shot */
@supports (grid-template-rows: subgrid) {
  .mic:not(.mic--big) { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; }
  .mic:not(.mic--big) .mic__pic img { height: 100%; }
}
.mic > div { padding: 20px 22px 24px; display: flex; flex-direction: column; }
.mic--big > div { justify-content: flex-end; padding: 28px; }
.mic__where { font-size: 0.9375rem; font-weight: 600; color: var(--forest); }
.mic h3 { margin-top: 6px; font-family: var(--display); font-weight: 600; font-variation-settings: var(--head-axes-sm); font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.01em; }
.mic--big h3 { font-size: 1.875rem; }
.mic p:last-child { margin-top: 8px; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); }
.mic--less .mic__where { color: #9a4a35; }
.mic--less .mic__pic img { filter: saturate(0.7); opacity: 0.8; }

.mic-psst { text-align: center; }
.mic-psst .blk__h { max-width: 16ch; margin-inline: auto; }
.mic-psst .blk__p { max-width: 44ch; margin-inline: auto; }
.mic-psst .ph__act { justify-content: center; }

@media (max-width: 1100px) {
  .mic-before { grid-template-columns: 1fr; }
  .mic-before__head { position: static; }
  .mic { grid-column: span 6; }
  .mic--big, .mic--less { grid-column: span 12; }
}
@media (max-width: 640px) {
  .mic-cards { grid-template-columns: 1fr; }
  .mic-cards li { min-height: 0; }
  .mic-scenes { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mic-scenes img { border-radius: 12px; }
  .mic-scenes img:nth-child(even) { margin-top: 20px; }
  .mic, .mic--big, .mic--less { grid-column: span 12; flex-direction: column; }
  .mic--big .mic__pic { width: 100%; }
  .mic--big .mic__pic img { aspect-ratio: 4 / 3; height: auto; }
  .mic--big h3 { font-size: 1.5rem; }
  .mic--big > div { padding: 20px 22px 24px; }
}
