/* Артбетон Крым — редакционный лендинг v2 */

:root {
  --ink: #1a1814;
  --ink-soft: #2e2a24;
  --cream: #f3ece2;
  --sand: #e6ddd0;
  --paper: #faf7f2;
  --rust: #c45c26;
  --rust-deep: #9a4520;
  --moss: #3d5a4c;
  --line: rgba(26, 24, 20, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --muted: rgba(26, 24, 20, 0.62);
  --muted-inv: rgba(250, 247, 242, 0.72);
  --wrap: 1200px;
  --pad: clamp(18px, 4vw, 40px);
  --radius: 20px;
  --radius-sm: 12px;
  --font: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px rgba(26, 24, 20, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), 100% - var(--pad) * 2);
  margin-inline: auto;
}

/* Grain overlay — лёгкий, без canvas */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Typography */
.kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
}

.kicker--dark {
  color: var(--rust-deep);
}

.kicker--light {
  color: #e8b896;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
}

.head h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.5vw, 48px);
}

.head p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
}

.head--light p {
  color: var(--muted-inv);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--fill {
  background: linear-gradient(135deg, var(--rust) 0%, var(--rust-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(196, 92, 38, 0.35);
}

.btn--ghost {
  border-color: var(--line-light);
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
}

.block--light .btn--ghost,
.block--sand .btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.btn--dark {
  background: var(--ink);
  color: var(--cream);
}

.btn--lg {
  min-height: 52px;
  padding-inline: 26px;
  font-size: 15px;
}

.btn--wide {
  width: 100%;
  max-width: 360px;
}

/* Header */
.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: transform 0.4s var(--ease), background 0.4s ease, box-shadow 0.4s ease;
}

.top.is-scrolled .top__bar {
  max-height: 0;
  opacity: 0;
  padding-block: 0;
}

.top.is-scrolled .top__main {
  background: rgba(26, 24, 20, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.top__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px var(--pad);
  font-size: 12px;
  color: var(--muted-inv);
  background: var(--ink);
  max-height: 40px;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), opacity 0.35s ease, padding 0.35s ease;
}

.top__bar a {
  color: #f0d5c0;
  text-decoration: none;
}

.top__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--rust), var(--rust-deep));
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #fff;
}

.brand__text {
  display: grid;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 15px;
}

.brand__text small {
  font-size: 11px;
  color: var(--muted-inv);
}

.menu {
  display: none;
  gap: 22px;
}

.menu a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-inv);
  text-decoration: none;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: #fff;
}

.top__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

@media (min-width: 960px) {
  .menu {
    display: flex;
  }

  .menu-btn {
    display: none;
  }
}

.menu--open {
  display: flex;
  position: fixed;
  inset: 72px 16px auto 16px;
  flex-direction: column;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(26, 24, 20, 0.97);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow);
}

@media (min-width: 960px) {
  .menu--open {
    position: static;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 120px;
  color: var(--cream);
  background: var(--ink);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(196, 92, 38, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(61, 90, 76, 0.2), transparent 50%),
    linear-gradient(165deg, #12100e 0%, var(--ink) 45%, #252019 100%);
}

.hero__layout {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
  padding-bottom: 48px;
}

@media (min-width: 960px) {
  .hero__layout {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: calc(100svh - 160px);
  }
}

.hero__title {
  margin: 0 0 20px;
  font-size: clamp(38px, 6.5vw, 68px);
  letter-spacing: -0.02em;
}

.hero__title .line {
  display: block;
}

.hero__title .line--accent {
  font-style: italic;
  color: #e8b896;
}

.hero__text {
  margin: 0 0 28px;
  max-width: 46ch;
  color: var(--muted-inv);
  font-size: clamp(15px, 1.4vw, 18px);
}

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__stats li {
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.04);
}

.hero__stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  color: #e8b896;
}

.hero__stats span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted-inv);
}

.hero__media {
  position: relative;
  min-height: 360px;
}

.hero__frame {
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow);
}

.hero__frame--main {
  aspect-ratio: 4 / 5;
}

.hero__frame--main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__frame--float {
  position: absolute;
  right: -8px;
  bottom: -24px;
  width: min(48%, 220px);
  aspect-ratio: 4 / 3;
  z-index: 2;
  animation: float 6s var(--ease) infinite alternate;
}

.hero__frame--float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 3;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(26, 24, 20, 0.75);
  backdrop-filter: blur(8px);
  font-size: 12px;
  border: 1px solid var(--line-light);
}

.hero__badge em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-inv);
}

@keyframes float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-12px);
  }
}

/* Marquee */
.marquee {
  position: relative;
  margin-top: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 28px;
  width: max-content;
  font-size: clamp(18px, 2.5vw, 26px);
  font-family: var(--serif);
  font-style: italic;
  color: rgba(250, 247, 242, 0.5);
  animation: marquee 28s linear infinite;
}

.marquee__track span:nth-child(2n) {
  color: var(--rust);
  font-style: normal;
  font-family: var(--font);
  font-size: 14px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Blocks */
.block {
  padding: clamp(56px, 9vw, 100px) 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.block--light {
  background: var(--paper);
}

.block--dark {
  background: var(--ink);
  color: var(--cream);
}

.block--sand {
  background: var(--sand);
}

.block--cta {
  background: linear-gradient(160deg, var(--ink-soft) 0%, var(--ink) 60%);
}

.block--contact {
  background: linear-gradient(135deg, var(--moss) 0%, #2a4036 100%);
  color: var(--cream);
}

/* About */
.about {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.about__visual {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about__chip {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--rust);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.about__copy h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
}

.about__copy p {
  margin: 0 0 14px;
  color: var(--muted);
}

.pill-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pill-list li {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 14px;
}

/* Service cards */
.cards {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.45s var(--ease), border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 184, 150, 0.4);
}

.card__num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 36px;
  color: #e8b896;
  line-height: 1;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #fff;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted-inv);
}

/* Showcase rail */
.showcase {
  padding: clamp(40px, 6vw, 72px) 0;
  background: var(--ink);
}

.showcase .head {
  color: var(--cream);
  padding-bottom: 24px;
}

.showcase .head h2,
.showcase .head p {
  color: var(--cream);
}

.showcase .head p {
  color: var(--muted-inv);
}

.showcase__rail {
  display: flex;
  gap: 16px;
  padding: 0 var(--pad) 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.showcase__rail::-webkit-scrollbar {
  display: none;
}

.showcase__slide {
  flex: 0 0 min(78vw, 520px);
  margin: 0;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-light);
}

.showcase__slide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.showcase__slide:hover img {
  transform: scale(1.04);
}

/* Masonry gallery */
.masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 160px;
  gap: 10px;
}

@media (min-width: 700px) {
  .masonry {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 140px;
    gap: 12px;
  }
}

.masonry__item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.masonry__item--hidden {
  display: none;
}

.masonry__item--xl {
  grid-column: span 2;
  grid-row: span 2;
}

.masonry__item--wide {
  grid-column: span 2;
}

.masonry__item--tall {
  grid-row: span 2;
}

.masonry__link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}

.masonry__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.4s ease;
}

.masonry__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(26, 24, 20, 0.65);
  color: #fff;
  font-size: 20px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}

.masonry__item:hover img {
  transform: scale(1.06);
}

.masonry__item:hover .masonry__zoom {
  opacity: 1;
  transform: scale(1);
}

.masonry__foot {
  margin-top: 28px;
  text-align: center;
}

/* Timeline */
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  position: relative;
}

@media (min-width: 800px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .timeline::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--rust), var(--moss));
    opacity: 0.35;
  }
}

.timeline__item {
  position: relative;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.timeline__dot {
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 6px rgba(196, 92, 38, 0.2);
}

.timeline__item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.timeline__item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Pricing */
.pricing__grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 800px) {
  .pricing__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.price-panel {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.05);
}

.price-panel h3 {
  margin: 0 0 16px;
  font-size: 22px;
  color: #fff;
}

.price-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-panel li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 14px;
  color: var(--muted-inv);
}

.price-panel li:last-child {
  border-bottom: 0;
}

.price-panel strong {
  color: #fff;
}

.price-panel--accent {
  background: linear-gradient(145deg, rgba(196, 92, 38, 0.25), rgba(26, 24, 20, 0.4));
  border-color: rgba(232, 184, 150, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.price-panel__lead {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--cream);
}

.price-panel__note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted-inv);
}

/* Accordion */
.accordion {
  display: grid;
  gap: 10px;
}

.accordion__item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease);
}

.accordion__item[open] {
  box-shadow: 0 12px 32px rgba(26, 24, 20, 0.08);
}

.accordion__item summary {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.accordion__item summary::-webkit-details-marker {
  display: none;
}

.accordion__item p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--muted);
}

/* Contact */
.contact {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .contact {
    grid-template-columns: 1fr 1fr;
  }
}

.contact__info h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 38px);
  color: #fff;
}

.contact__info p {
  margin: 0 0 20px;
  color: var(--muted-inv);
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact__links a {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.25s ease;
}

.contact__links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.form {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-light);
  backdrop-filter: blur(10px);
}

.form__row {
  display: grid;
  gap: 12px;
}

@media (min-width: 560px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.field span {
  font-size: 12px;
  color: var(--muted-inv);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-light);
  background: rgba(26, 24, 20, 0.35);
  color: #fff;
  font: inherit;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form__legal {
  margin: 12px 0 0;
  font-size: 11px;
  color: var(--muted-inv);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Footer */
.footer {
  padding: 40px 0 24px;
  background: var(--ink);
  color: var(--muted-inv);
  font-size: 14px;
}

.footer__grid {
  display: grid;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-light);
}

@media (min-width: 700px) {
  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
  }
}

.footer strong {
  color: var(--cream);
  font-size: 16px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer__nav a {
  color: var(--muted-inv);
  text-decoration: none;
}

.footer__contacts a {
  display: block;
  color: #e8b896;
  text-decoration: none;
  margin-bottom: 6px;
}

.footer__copy {
  margin: 16px auto 0;
  font-size: 12px;
  text-align: center;
  color: rgba(250, 247, 242, 0.45);
}

/* Dock */
.dock {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dock__btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s var(--ease);
}

.dock__btn:hover {
  transform: scale(1.06);
}

.dock__btn--call {
  background: var(--rust);
}

/* Reveal animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Toast */
.toast {
  position: fixed;
  left: var(--pad);
  right: var(--pad);
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  max-width: 400px;
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-size: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.35s var(--ease);
  transform: translateY(12px);
}

.toast.is-on {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .top__actions .btn--ghost {
    display: none;
  }

  .hero__btns {
    flex-direction: column;
  }

  .hero__btns .btn {
    width: 100%;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .hero__frame--float {
    right: 8px;
    bottom: -16px;
    width: 55%;
  }

  .masonry__item--tall {
    grid-row: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee__track,
  .hero__frame--float {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover,
  .masonry__item:hover img {
    transform: none;
  }
}
