/* Manrope (SIL Open Font License, fonts/OFL.txt), self-hosted: one variable file per subset, weights 400–800. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Anything with the hidden attribute stays hidden, even if a class sets display (audit BR-05). */
[hidden] {
  display: none !important;
}
:root {
  --ink: #252723;
  --muted: #777a72;
  --accent: #f25b3d;
  --paper: #fff;
  --line: #e5e5dd;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  background: #fff;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 5px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:hover,
.btn:hover {
  filter: brightness(0.94);
}
header {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 25px 5%;
  border-bottom: 1px solid var(--line);
}
.city {
  font-size: 12px;
  white-space: nowrap;
}
.search {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  padding: 11px 15px;
  width: 300px;
}
.search input {
  border: 0;
  width: 100%;
  background: none;
  font-size: 12px;
}
.cartlink {
  font-size: 13px;
  white-space: nowrap;
}
.cartlink b {
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: white;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  margin: 0 6px;
}
nav {
  padding: 19px 5%;
  display: flex;
  gap: 30px;
  font-size: 12px;
  overflow: auto;
  white-space: nowrap;
}
nav a.active {
  color: var(--accent);
}
main {
  min-height: 60vh;
}
.hero {
  margin: 12px 3% 0;
  background: var(--paper);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 470px;
}
.hero-copy {
  padding: 54px 7% 40px 9%;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.eyebrow:before {
  content: '●';
  color: var(--accent);
  margin-right: 8px;
}
h1 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: -3px;
  font-weight: 600;
  margin: 25px 0;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero p {
  font-size: 14px;
  color: #696d64;
  line-height: 1.8;
  max-width: 350px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border: 0;
  background: var(--accent);
  color: white;
  border-radius: 7px;
  padding: 16px 23px;
  font-size: 13px;
  font-weight: 700;
}
.hero .btn {
  margin-top: 19px;
}
.hero-image {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.section {
  padding: 55px 5%;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 25px;
}
.section-head h2,
h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 0 0 8px;
}
.section-head p,
.sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.section-head a {
  font-size: 12px;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}
.categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.category {
  background: var(--paper);
  padding: 22px;
  border-radius: 10px;
  min-height: 145px;
  transition: transform 0.2s;
}
.category:hover {
  transform: translateY(-4px);
}
.category span {
  font-size: 27px;
  color: var(--accent);
}
.category b {
  display: block;
  font-size: 14px;
  margin: 18px 0 6px;
}
.category small {
  color: var(--muted);
  font-size: 10px;
}
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
/* Home page product card: the whole card is one link. */
.product {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}
.product .photo {
  height: 230px;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.product .photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product:hover .photo img {
  transform: scale(1.04);
}
.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px;
}
.product-body small {
  font-size: 10px;
  color: var(--muted);
}
.product h3 {
  font-size: 15px;
  margin: 7px 0 16px;
}
.product-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  font-size: 15px;
}
.product-bottom .price-request {
  color: var(--muted);
  font-size: 14px;
}
.product-more {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  padding: 8px 10px;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .product .photo img {
    transition: none;
  }
}
.banner {
  margin: 0 5% 55px;
  padding: 35px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.banner h2 {
  font-size: 28px;
}
.banner p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
footer {
  background: var(--paper);
  padding: 45px 5%;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
footer p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
footer a,
footer small {
  display: block;
  font-size: 11px;
  margin-bottom: 12px;
}
footer small {
  color: var(--muted);
}
/* Generic dialog look (used by the template preview in service-details.js). */
dialog {
  border: 0;
  border-radius: 16px;
  max-width: 900px;
  width: 92%;
  padding: 35px;
}
dialog::backdrop {
  background: #171c1877;
  backdrop-filter: blur(4px);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 12px;
  display: none;
  z-index: 9;
}
.notice {
  padding: 20px;
  background: var(--paper);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.8;
  margin: 20px 0;
}
.empty {
  padding: 60px;
  text-align: center;
}
.info-page {
  max-width: 850px;
}
/* Information pages: about, delivery, contacts, requisites, page not found. */
.info-page h2 {
  font-size: 24px;
  margin: 34px 0 6px;
}
.info-page .sub a,
.info-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.info-list {
  margin: 12px 0 26px;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}
.info-list a {
  color: var(--ink);
  font-weight: 600;
}
.btn.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid #cdd0d2;
}
.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 10px;
}
.requisites {
  margin-top: 40px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.requisites p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.empty .filter {
  justify-content: center;
  margin-top: 30px;
}
@media (max-width: 800px) {
  .empty {
    padding: 30px 0;
  }
}
.crumb {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 28px;
}
.filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.filter a {
  font-size: 12px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.filter a.active {
  background: var(--ink);
  color: white;
}
@media (max-width: 800px) {
  header {
    gap: 15px;
    flex-wrap: wrap;
    padding: 20px 5%;
  }
  .city {
    margin-left: auto;
  }
  .search {
    order: 3;
    width: 100%;
    margin: 0;
  }
  .cartlink {
    margin-left: auto;
  }
  .city {
    display: none;
  }
  nav {
    gap: 23px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 35px 7%;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero-image {
    height: 300px;
  }
  .categories {
    grid-template-columns: repeat(2, 1fr);
  }
  .category:last-child {
    grid-column: span 2;
    min-height: 100px;
  }
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product .photo {
    height: 180px;
  }
  .product-body {
    padding: 13px;
  }
  .section {
    padding: 35px 5%;
  }
  .section-head h2,
  h2 {
    font-size: 27px;
  }
  .banner {
    padding: 24px;
    display: block;
  }
  .banner .btn {
    margin-top: 12px;
  }
  footer {
    flex-wrap: wrap;
  }
  dialog {
    padding: 25px;
  }
  .section-head {
    gap: 16px;
  }
  .section-head a {
    white-space: nowrap;
  }
}

/* Logo: a transparent image cropped to the drawing, so it fits the white header and the grey footer. */
.brand-logo {
  display: block;
  width: fit-content;
  flex: none;
}
.brand-logo picture,
.brand-logo img {
  display: block;
}
.brand-logo img {
  width: 270px;
  height: auto;
}
footer .brand-logo {
  align-self: flex-start;
}
header {
  gap: 28px;
}
@media (max-width: 800px) {
  .brand-logo img {
    width: 220px;
  }
  header {
    gap: 10px;
  }
  .cartlink {
    font-size: 11px;
  }
  .cartlink b {
    margin: 0 3px;
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 370px) {
  header .brand-logo img {
    width: 190px;
  }
}

/* White surfaces and photographic navigation. */
.hero {
  border: 1px solid var(--line);
}
.eyebrow:before {
  content: none;
}
.category {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  min-height: 0;
}
.category > img {
  display: block;
  width: 100%;
  height: 155px;
  object-fit: cover;
}
.category-copy {
  padding: 18px;
}
.category b {
  margin: 0 0 8px;
}
.category small {
  line-height: 1.7;
  display: block;
}
.banner,
.notice {
  border: 1px solid var(--line);
}
footer {
  border-top: 1px solid var(--line);
}
@media (max-width: 800px) {
  .category > img {
    height: 155px;
  }
  .category:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .category:last-child > img {
    height: 150px;
  }
  .category-copy {
    padding: 15px;
  }
  .category b {
    font-size: 13px;
  }
}
/* Soft neutral gray surfaces. */
:root {
  --paper: #f4f5f6;
}
.hero,
.hero-image,
.category,
.product .photo,
.banner,
.notice,
footer {
  background: var(--paper);
}

/* Larger reading text and refined hero/footer. */
.hero p {
  font-size: 16px;
}
.sub,
.section-head p,
.banner p,
.notice {
  font-size: 15px;
  line-height: 1.8;
}
nav,
.city,
.cartlink,
.search input,
.section-head a,
.btn,
.filter a {
  font-size: 14px;
}
.category b {
  font-size: 16px;
}
.category small {
  font-size: 12px;
}
.product h3 {
  font-size: 17px;
  line-height: 1.45;
}
.product-body small,
.product-more,
footer a,
footer small {
  font-size: 13px;
}
footer p {
  font-size: 14px;
}
.crumb {
  font-size: 13px;
}
.product .photo {
  height: 280px;
}
.product .photo img[src*='blossom-business-cards'],
.product .photo img[src*='personal-photo-poster'] {
  object-fit: contain;
}
@media (max-width: 800px) {
  nav {
    font-size: 13px;
  }
  .category b {
    font-size: 15px;
  }
  .category small {
    font-size: 12px;
  }
  .product h3 {
    font-size: 15px;
  }
  .product .photo {
    height: 220px;
  }
}

/* Rotating hero, expanded services and manager request. */
.hero {
  grid-template-columns: 0.85fr 1.3fr;
}
.hero-slider {
  min-height: 470px;
}
.hero-image .hero-slide {
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}
.hero-image .hero-slide.is-active {
  opacity: 1;
}
.hero-image .banner-slide {
  object-fit: contain;
  padding: 65px 0;
  background: #f4f5f6;
}
.categories {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.order-help {
  align-items: start;
}
.order-help > div {
  flex: 1;
}
.order-help form {
  flex: 1;
  min-width: 0;
}
.order-help p {
  max-width: 550px;
}
.order-help label {
  display: block;
  font-size: 14px;
  margin: 0 0 8px;
}
.order-help textarea,
.order-help input {
  font: inherit;
  width: 100%;
  background: #fff;
  border: 1px solid #d5d7d9;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 16px;
  resize: vertical;
}
.order-help .btn {
  width: 100%;
}
#help-result {
  font-size: 13px;
  margin-bottom: 0;
}
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-slider {
    min-height: 0;
    height: auto;
    aspect-ratio: 2.1;
  }
  .hero-image .banner-slide {
    padding: 40px 0 55px;
  }
  .categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category:last-child {
    grid-column: auto;
    display: block;
  }
  .category:last-child > img {
    height: 155px;
  }
  .order-help form {
    margin-top: 24px;
  }
  .hero-slider {
    aspect-ratio: 1.6;
  }
  .hero-image .banner-slide {
    padding: 0 0 50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image .hero-slide {
    transition: none;
  }
}

/* Full-bleed three-second carousel and complete contact footer. */
.hero-image .hero-slide,
.hero-image .banner-slide {
  padding: 0;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}
.site-footer {
  display: block;
  padding: 42px 5% 25px;
  background: var(--paper);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 40px;
}
.site-footer h2 {
  font-size: 19px;
  letter-spacing: 0;
  margin: 0 0 18px;
}
.site-footer p {
  font-size: 14px;
  line-height: 1.8;
}
.footer-contact > a {
  font-size: 15px;
}
.footer-contact p a {
  font-size: 15px;
  margin: 0;
}
.messenger-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.messenger-links a,
.messenger-links button {
  display: inline-flex;
  align-items: center;
  background: white;
  color: var(--ink);
  border: 1px solid #d5d7d9;
  border-radius: 6px;
  padding: 11px 14px;
  font: inherit;
  font-size: 14px;
  margin: 0;
  cursor: pointer;
}
.footer-feedback small {
  margin-top: 14px;
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid #d5d7d9;
  margin-top: 30px;
  padding-top: 24px;
}
.footer-links {
  display: flex;
  gap: 14px 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-links a {
  font-size: 14px;
  margin: 0;
}
.footer-legal {
  display: flex;
  gap: 8px 22px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-legal a {
  font-size: 13px;
  margin: 0;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
  margin: 25px 0;
}
.contact-details p {
  font-size: 16px;
  line-height: 1.8;
}
.contact-details a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 800px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-links {
    gap: 16px 20px;
  }
  .contact-details {
    grid-template-columns: 1fr;
  }
  .hero-image .banner-slide {
    padding: 0;
  }
}

/* Banner height follows the active image: no crop, stretching or letterboxing. */
.hero {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.hero-copy {
  padding: 32px 4%;
  display: block;
}
.hero-copy h1 {
  font-size: clamp(40px, 5vw, 62px);
  margin: 18px 0;
}
.hero-copy p {
  max-width: none;
}
.hero-copy .btn {
  margin-top: 5px;
}
.hero-motto {
  font-weight: 600;
}
.hero-slider {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
}
.hero-image .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 0;
}
.hero-image .hero-slide.is-active {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}
.categories {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.category > img,
.gift-cover {
  height: 205px;
}
.gift-cover {
  display: flex;
  gap: 3px;
  overflow: hidden;
  background: #fff;
}
.gift-cut {
  position: relative;
  width: 33.333%;
  height: 100%;
  overflow: hidden;
}
.gift-cut img {
  position: absolute;
  width: 524%;
  height: 457%;
  max-width: none;
  top: -91%;
  left: 0;
}
.gift-calendar img {
  left: -8.7%;
}
.gift-mug img {
  left: -113%;
}
.gift-shirt img {
  left: -214%;
}
@media (max-width: 800px) {
  .hero-copy {
    padding: 26px 6%;
  }
  .hero-copy h1 {
    font-size: 43px;
  }
  .hero-slider {
    height: auto;
    aspect-ratio: auto;
    min-height: 0;
  }
  .hero-image .hero-slide,
  .hero-image .banner-slide {
    height: auto;
    object-fit: contain;
    padding: 0;
  }
  .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category > img,
  .category:last-child > img,
  .gift-cover {
    height: 155px;
  }
}

/* Side-by-side desktop hero and prominent service navigation. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  align-items: center;
  min-height: 470px;
}
.hero-copy {
  padding: 35px 8%;
}
.hero-slider {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
}
.hero-copy h1 {
  font-size: clamp(42px, 4.6vw, 66px);
}
nav {
  font-size: 16px;
  font-weight: 600;
  gap: 18px 25px;
  flex-wrap: wrap;
  overflow: visible;
  padding: 22px 5%;
  line-height: 1.6;
}
.categories {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.category > img,
.category:last-child > img,
.gift-cover {
  height: 175px;
}
@media (max-width: 1100px) {
  nav {
    font-size: 15px;
  }
  .categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-copy h1 {
    font-size: 46px;
  }
}
@media (max-width: 800px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-items: stretch;
  }
  .hero-copy {
    padding: 28px 7%;
  }
  .hero-copy h1 {
    font-size: 43px;
  }
  .hero-slider {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }
  nav {
    font-size: 15px;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 22px;
    padding: 18px 5%;
  }
  .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category > img,
  .category:last-child > img,
  .gift-cover {
    height: 155px;
  }
}

/* Undistorted service photographs. */
.category[href='#gifts'] > img {
  object-fit: cover;
}
.category[href='#books'] > img {
  object-fit: contain;
  background: #f4f5f6;
}

.gift-cover-natural .gift-cut {
  background-image: url('assets/gifts-source.png');
  background-repeat: no-repeat;
  background-size: auto 457%;
}
.gift-cover-natural .gift-calendar {
  background-position: 7.3% 25.4%;
}
.gift-cover-natural .gift-mug {
  background-position: 29.1% 25.4%;
}
.gift-cover-natural .gift-shirt {
  background-position: 50.2% 25.4%;
}

.hero-slide-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 38px;
  z-index: 3;
  width: max-content;
  max-width: calc(100% - 28px);
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff7e9;
  color: #423b2d;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 2px 12px #0001;
}
.hero-slide-note[hidden] {
  display: none;
}
@media (max-width: 600px) {
  .hero-slide-note {
    font-size: 13px;
    left: 12px;
    bottom: 30px;
    padding: 8px 12px;
  }
}

/* Home slider: the picture alone, round arrows on its sides, thin bars at the bottom. The bar of the active
   slide fills in 6 s; when it is full, app.js shows the next slide (initHero). */
.hero-slider {
  touch-action: pan-y;
}
.hero-image .hero-slide {
  transform: scale(1.025);
  transition:
    opacity 0.8s ease,
    transform 1.6s ease;
}
.hero-image .hero-slide.is-active {
  transform: none;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  box-shadow: 0 6px 22px rgba(20, 24, 31, 0.18);
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.hero-arrow-prev {
  left: 18px;
}
.hero-arrow-next {
  right: 18px;
}
.hero-arrow:hover {
  background: #fff;
  box-shadow: 0 8px 26px rgba(20, 24, 31, 0.24);
  transform: scale(1.06);
}
.hero-arrow:active {
  transform: scale(0.96);
}
.hero-arrow:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.hero-progress {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-progress span {
  width: 30px;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 4px rgba(20, 24, 31, 0.25);
}
.hero-progress i {
  display: block;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.hero-progress .is-active i {
  animation: hero-progress 6s linear forwards;
}
.hero-slider.is-paused .hero-progress .is-active i {
  animation-play-state: paused;
}
@keyframes hero-progress {
  to {
    transform: scaleX(1);
  }
}
@media (max-width: 800px) {
  .hero-arrow {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }
  .hero-arrow svg {
    width: 18px;
    height: 18px;
  }
  .hero-arrow-prev {
    left: 10px;
  }
  .hero-arrow-next {
    right: 10px;
  }
  .hero-progress {
    bottom: 12px;
  }
  .hero-progress span {
    width: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image .hero-slide {
    transform: none;
    transition: none;
  }
  .hero-progress .is-active i {
    animation: none;
    transform: none;
  }
}
