/* ============================================================
   ВОСК И СТАЛЬ — barbershop booking
   Тёмный «грумин-салон»: латунь, крем, одна красная нота.
   ============================================================ */

:root {
  --ink:      #0B0A09;
  --ink-2:    #121110;
  --card:     #171512;
  --card-2:   #1E1B17;
  --line:     rgba(237, 227, 210, .13);
  --line-2:   rgba(237, 227, 210, .28);
  --cream:    #EDE3D2;
  --cream-dim:#C9BEAB;
  --muted:    #8E8172;
  --brass:    #C99B48;
  --brass-hi: #EAC77F;
  --red:      #A83A2E;

  --paper:    #E8DFCD;
  --paper-2:  #DCD1BB;
  --paper-ink:#1A1713;

  --serif: 'Prata', 'Times New Roman', serif;
  --cond:  'Oswald', 'Arial Narrow', sans-serif;
  --body:  'Golos Text', 'Helvetica Neue', Arial, sans-serif;

  --gut: clamp(20px, 5vw, 64px);
  --r: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  /* тёплое световое пятно сверху — «лампа над креслом» */
  content: '';
  position: fixed;
  inset: -20% -20% auto -20%;
  height: 90vh;
  background: radial-gradient(60% 60% at 50% 0%, rgba(201, 155, 72, .16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

::selection { background: var(--brass); color: var(--ink); }

a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
dl, dd, dt, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.muted { color: var(--muted); }

/* ---------------------------------------------------------- top bar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gut);
  background: rgba(11, 10, 9, .78);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line);
}

.topbar__brand { display: flex; align-items: center; gap: 12px; }

.topbar__name {
  font-family: var(--cond);
  font-weight: 500;
  letter-spacing: .26em;
  font-size: 13px;
  text-transform: uppercase;
}

.pole {
  width: 8px; height: 24px;
  border-radius: 4px;
  border: 1px solid var(--line-2);
  background-image: repeating-linear-gradient(
    -45deg, var(--red) 0 4px, var(--cream) 4px 8px, #1F4A6B 8px 12px, var(--cream) 12px 16px);
  background-size: 100% 200%;
  animation: pole 2.4s linear infinite;
}
@keyframes pole { to { background-position: 0 -22.6px; } }

.topbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  font-family: var(--cond);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.topbar__nav a { transition: color .25s; }
.topbar__nav a:hover { color: var(--brass-hi); }
.topbar__phone { color: var(--brass); }
@media (max-width: 640px) { .topbar__nav a:not(.topbar__phone) { display: none; } }

/* ---------------------------------------------------------- hero */

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) clamp(80px, 14vw, 190px);
  gap: 0 clamp(16px, 4vw, 48px);
  padding: clamp(48px, 9vw, 104px) var(--gut) clamp(56px, 9vw, 110px);
  border-bottom: 1px solid var(--line);
}

.hero__rail {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-left: 1px solid var(--line);
}
.hero__rail span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: .5em;
  color: var(--muted);
  padding-bottom: 8px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--cond);
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: clamp(20px, 4vw, 34px);
}
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }

.hero__title {
  font-family: var(--serif);
  font-size: clamp(38px, 8.2vw, 104px);
  line-height: .98;
  letter-spacing: -.02em;
  margin-bottom: clamp(22px, 3.5vw, 36px);
}
.hero__title span { display: block; }
.hero__title .ital {
  font-style: italic;
  color: var(--brass-hi);
  padding-left: clamp(24px, 8vw, 140px);
}

.hero__lede {
  max-width: 46ch;
  color: var(--cream-dim);
  font-size: clamp(15px, 1.5vw, 18px);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: clamp(26px, 4vw, 40px) 0 clamp(34px, 6vw, 60px);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  max-width: 720px;
}
.hero__facts > div {
  padding: 16px 18px;
  box-shadow: 0 0 0 1px var(--line);
}
.hero__facts dt {
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__facts dd {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--cream);
  margin-top: 4px;
}

.hero__mark { position: relative; display: flex; justify-content: flex-end; }
.barberpole {
  width: clamp(34px, 5vw, 62px);
  height: 100%;
  min-height: 240px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background-image: repeating-linear-gradient(
    -50deg,
    rgba(168, 58, 46, .85) 0 16px,
    rgba(237, 227, 210, .82) 16px 32px,
    rgba(31, 74, 107, .8) 32px 48px,
    rgba(237, 227, 210, .82) 48px 64px);
  background-size: 100% 200%;
  animation: pole2 8s linear infinite;
  box-shadow: inset -14px 0 24px rgba(0,0,0,.55), inset 12px 0 18px rgba(255,255,255,.12);
  opacity: .9;
}
@keyframes pole2 { to { background-position: 0 -167px; } }
@media (max-width: 860px) {
  .hero { grid-template-columns: 28px minmax(0, 1fr); }
  .hero__mark { display: none; }
}
@media (max-width: 640px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__rail { display: none; }
}

/* ---------------------------------------------------------- buttons */

.btn {
  --bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--cream);
  font-family: var(--cond);
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.2,.8,.3,1), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--brass {
  background: linear-gradient(160deg, var(--brass-hi), var(--brass) 60%, #A87C2E);
  border-color: transparent;
  color: #17120A;
  box-shadow: 0 10px 30px -14px rgba(201, 155, 72, .9);
}
.btn--brass:hover { box-shadow: 0 16px 36px -14px rgba(201, 155, 72, 1); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass-hi); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.is-busy { pointer-events: none; opacity: .7; }

/* ---------------------------------------------------------- sections */

.booking, .masters, .prices {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 8vw, 96px) var(--gut);
  border-bottom: 1px solid var(--line);
}

.booking__head { margin-bottom: clamp(28px, 4vw, 46px); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -.01em;
}
.section-note { color: var(--muted); margin-top: 12px; max-width: 52ch; }

.booking__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 26vw, 340px);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 980px) {
  .booking__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------- steps */

.step {
  border-top: 1px solid var(--line);
  padding: clamp(20px, 3vw, 30px) 0;
  transition: opacity .4s;
}
.step:first-child { border-top: 0; padding-top: 0; }
.step.is-locked { opacity: .34; pointer-events: none; }

.step__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}
.step__num {
  font-family: var(--cond);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--brass);
  padding-top: 2px;
}
.step__title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 27px);
}
.step__pick {
  margin-left: auto;
  font-family: var(--cond);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-align: right;
}

/* --- услуги */

#services { display: grid; gap: 8px; }

.svc {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 18px;
  width: 100%;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, background .25s, transform .2s;
}
.svc::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--brass);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .3s cubic-bezier(.2,.8,.3,1);
}
.svc:hover { border-color: var(--line-2); background: var(--card-2); }
.svc[aria-checked="true"] { border-color: var(--brass); background: var(--card-2); }
.svc[aria-checked="true"]::before { transform: scaleY(1); transform-origin: top; }

.svc__name { grid-column: 1; grid-row: 1; font-size: 17px; }
.svc__desc { grid-column: 1; grid-row: 2; font-size: 13px; color: var(--muted); }
.svc__meta { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
.svc__price { font-family: var(--cond); font-size: 20px; color: var(--cream); display: block; }
.svc__dur {
  font-family: var(--cond);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
}

/* --- мастера */

#masters-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }

.mst {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.mst:hover { border-color: var(--line-2); background: var(--card-2); }
.mst[aria-checked="true"] { border-color: var(--brass); background: var(--card-2); }
.mst[aria-checked="true"] .mono { background: var(--brass); color: #17120A; border-color: transparent; }

.mono {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--brass-hi);
  transition: background .25s, color .25s, border-color .25s;
}
.mst__text { display: grid; gap: 2px; min-width: 0; }
.mst__name { display: block; font-size: 15px; }
.mst__role {
  display: block;
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- дни */

.days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.days::-webkit-scrollbar { height: 4px; }
.days::-webkit-scrollbar-thumb { background: var(--line-2); }

.day {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 78px;
  padding: 12px 8px 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: center;
  display: grid;
  gap: 1px;
  transition: border-color .25s, background .25s, transform .2s;
}
.day:hover:not([disabled]) { border-color: var(--line-2); transform: translateY(-2px); }
.day[aria-checked="true"] { border-color: var(--brass); background: var(--card-2); }
.day[disabled] { opacity: .3; cursor: not-allowed; }

.day__wd {
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.day__num { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.day__mon { font-family: var(--cond); font-size: 11px; letter-spacing: .1em; color: var(--cream-dim); text-transform: uppercase; }
.day__free {
  margin-top: 6px;
  font-family: var(--cond);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--brass);
  text-transform: uppercase;
}
.day[disabled] .day__free { color: var(--muted); }
.day[aria-checked="true"] .day__num { color: var(--brass-hi); }

/* --- слоты */

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }

.slot {
  padding: 12px 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--cream);
  font-family: var(--cond);
  font-size: 17px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, transform .18s;
}
.slot:hover:not([disabled]) { border-color: var(--brass); transform: translateY(-2px); }
.slot[aria-checked="true"] {
  background: linear-gradient(160deg, var(--brass-hi), var(--brass));
  border-color: transparent;
  color: #17120A;
}
.slot[disabled] {
  color: var(--muted);
  cursor: not-allowed;
  background: transparent;
  text-decoration: line-through;
  text-decoration-color: var(--red);
}

.empty {
  padding: 22px 18px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  color: var(--muted);
  font-size: 14px;
}

/* ---------------------------------------------------------- форма */

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: block; }
.field--wide, .form__error, .form__legal, .form .btn { grid-column: 1 / -1; }
@media (max-width: 620px) { .form { grid-template-columns: minmax(0, 1fr); } }

.field__label {
  display: block;
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.field__label em { font-style: normal; opacity: .6; }

.field input {
  width: 100%;
  padding: 13px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  transition: border-color .25s, background .25s;
}
.field input::placeholder { color: rgba(142, 129, 114, .7); }
.field input:focus {
  outline: none;
  border-color: var(--brass);
  background: var(--card-2);
}

:where(button, a, input):focus-visible {
  outline: 2px solid var(--brass-hi);
  outline-offset: 3px;
}

.form__error {
  margin: 0;
  padding: 12px 14px;
  border-left: 2px solid var(--red);
  background: rgba(168, 58, 46, .12);
  color: #E9B4AC;
  font-size: 14px;
}
.form__legal { font-size: 12px; color: var(--muted); }

/* --- подтверждение */

.done { display: grid; gap: 12px; justify-items: start; }
.done__title { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 34px); }
.done__text { color: var(--cream-dim); max-width: 52ch; }
.done strong { color: var(--brass-hi); font-weight: 500; }

/* ---------------------------------------------------------- талон */

.ticket-wrap { position: sticky; top: 84px; }

.ticket {
  position: relative;
  background:
    linear-gradient(180deg, var(--paper), var(--paper-2));
  color: var(--paper-ink);
  padding: 26px 24px 22px;
  border-radius: var(--r);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
  overflow: hidden;
}
.ticket::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  opacity: .35;
  pointer-events: none;
}

.ticket__punch {
  position: absolute;
  left: -6px; right: -6px;
  height: 10px;
  background-image: radial-gradient(circle at 5px 5px, var(--ink) 4.2px, transparent 4.6px);
  background-size: 14px 10px;
}
.ticket__punch--top { top: -5px; }
.ticket__punch--bottom { bottom: -5px; }

.ticket__head {
  display: flex;
  justify-content: space-between;
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(26, 23, 19, .55);
}
.ticket__shop {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: .02em;
  margin: 6px 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(26, 23, 19, .3);
}

.ticket__rows { display: grid; gap: 11px; }
.ticket__rows > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 8px;
}
.ticket__rows dt {
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(26, 23, 19, .55);
}
.ticket__rows > div::after {
  content: '';
  grid-column: 2;
  border-bottom: 1px dotted rgba(26, 23, 19, .35);
  transform: translateY(-4px);
}
.ticket__rows dd {
  grid-column: 3;
  font-size: 15px;
  font-weight: 500;
  text-align: right;
  max-width: 190px;
}
.ticket__rows dd.is-empty { color: rgba(26, 23, 19, .35); font-weight: 400; }

.ticket__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(26, 23, 19, .3);
  font-family: var(--cond);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(26, 23, 19, .6);
}
.ticket__total strong {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--paper-ink);
}

.ticket__stamp {
  position: absolute;
  left: 16px;
  bottom: 104px;
  padding: 8px 14px;
  border: 3px double var(--red);
  color: var(--red);
  font-family: var(--cond);
  font-size: 17px;
  letter-spacing: .22em;
  text-transform: uppercase;
  transform: rotate(-9deg) scale(1.6);
  opacity: 0;
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,1.4,.4,1);
  pointer-events: none;
}
.ticket.is-done .ticket__stamp { opacity: .82; transform: rotate(-9deg) scale(1); }
.ticket.is-done { box-shadow: 0 30px 70px -26px rgba(201,155,72,.5); }

/* ---------------------------------------------------------- мастера / прайс */

.masters__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.mcard {
  background: var(--ink-2);
  padding: clamp(20px, 3vw, 30px);
  transition: background .35s;
}
.mcard:hover { background: var(--card); }
.mcard__mono {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--brass);
  border-radius: 50%;
  color: var(--brass-hi);
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 18px;
}
.mcard__name { font-family: var(--serif); font-size: 22px; }
.mcard__role {
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 6px 0 12px;
}
.mcard__bio { color: var(--cream-dim); font-size: 14px; }
.mcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag {
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 999px;
}

.pricelist { display: grid; gap: 0; max-width: 880px; }
.pricelist li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 10px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.pricelist .p-name { font-family: var(--serif); font-size: clamp(18px, 2.2vw, 22px); }
.pricelist .p-dur { font-family: var(--cond); font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.pricelist .p-price { font-family: var(--cond); font-size: 20px; color: var(--brass-hi); }

/* ---------------------------------------------------------- footer */

.footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: clamp(34px, 5vw, 60px) var(--gut);
  color: var(--cream-dim);
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.footer__brand {
  font-family: var(--cond);
  letter-spacing: .26em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--cream);
  display: block;
  margin-bottom: 8px;
}
.footer a:hover { color: var(--brass-hi); }
.footer__note { font-size: 12px; max-width: 34ch; }

/* ---------------------------------------------------------- анимации */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise .9s cubic-bezier(.2,.8,.3,1) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes rise { to { opacity: 1; transform: none; } }

.pop { animation: pop .35s cubic-bezier(.2,1.5,.4,1); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
