:root {
  --af-ink: #171512;
  --af-ink-soft: #312d28;
  --af-ivory: #f4f0e8;
  --af-paper: #fbf9f4;
  --af-sand: #d8cfc1;
  --af-taupe: #8d8173;
  --af-red: #a52324;
  --af-line: rgb(23 21 18 / 13%);
  --af-display: "Bodoni Moda", Didot, "Times New Roman", serif;
  --af-body: "Helvetica Neue", "Avenir Next", "Segoe UI", sans-serif;
  --af-ease: cubic-bezier(.22, 1, .36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  -webkit-text-size-adjust: 100%;
}

body[data-cms-rendered="true"] {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 0 18%, rgb(216 207 193 / 18%), transparent 30rem),
    var(--af-ivory);
  color: var(--af-ink);
  font-family: var(--af-body);
  text-rendering: optimizeLegibility;
}

body[data-cms-rendered="true"]::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

body[data-cms-rendered="true"] ::selection {
  color: var(--af-paper);
  background: var(--af-red);
}

/* Insights: contenuti proprietari collegati ai servizi Alpi Fashion. */
.af-insight-shell {
  width: min(100% - 2.5rem, 80rem);
  margin-inline: auto;
}

.af-insight-hero {
  padding: clamp(6rem, 11vw, 10rem) 0 clamp(4.5rem, 8vw, 7rem);
  color: var(--af-paper);
  background:
    radial-gradient(circle at 82% 12%, rgb(165 35 36 / 22%), transparent 27rem),
    linear-gradient(135deg, #171512 0%, #29241f 65%, #171512 100%);
}

.af-insight-breadcrumb {
  display: flex;
  overflow: hidden;
  align-items: center;
  gap: .6rem;
  margin-bottom: 3rem;
  color: rgb(244 240 232 / 58%);
  font-size: .68rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.af-insight-breadcrumb span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.af-insight-breadcrumb a:hover { color: var(--af-paper); }

.af-insight-kicker,
.af-insight-related > div:first-child > p,
.af-insights-strip__heading p {
  color: var(--af-sand);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.af-insight-hero h1 {
  max-width: 14ch !important;
  margin-top: 1rem;
  color: var(--af-paper);
  font-family: var(--af-display);
  font-size: clamp(3.35rem, 7vw, 7.25rem) !important;
  line-height: .94;
}

.af-insight-deck {
  max-width: 52rem;
  margin-top: 2rem;
  color: rgb(244 240 232 / 78%);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.65;
}

.af-insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(244 240 232 / 16%);
  color: rgb(244 240 232 / 62%);
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.af-insight-body-wrap { padding-block: clamp(2.5rem, 6vw, 6rem); }

.af-insight-cover {
  margin: 0 0 clamp(3rem, 7vw, 6rem);
}

.af-insight-cover img {
  width: 100%;
  max-height: 48rem;
  aspect-ratio: 16 / 9;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: 0 30px 70px rgb(23 21 18 / 14%);
}

.af-insight-cover figcaption {
  margin-top: .8rem;
  color: rgb(23 21 18 / 52%);
  font-size: .72rem;
  letter-spacing: .06em;
}

.af-insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.af-insight-copy { max-width: 48rem; }
.af-insight-copy > p:first-child {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--af-line);
  color: var(--af-ink);
  font-family: var(--af-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.45;
}
.af-insight-copy li { margin: .55rem 0; }

.af-insight-service {
  position: sticky;
  top: 8rem;
  padding: 2rem;
  border: 1px solid var(--af-line);
  border-radius: 1.25rem;
  background: rgb(251 249 244 / 84%);
  box-shadow: 0 24px 55px rgb(23 21 18 / 8%);
}
.af-insight-service > p {
  color: var(--af-taupe);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.af-insight-service h2 {
  margin-top: .7rem;
  font-family: var(--af-display);
  font-size: 2.25rem;
  line-height: 1.05;
}
.af-insight-service > span {
  display: block;
  margin-top: 1rem;
  color: rgb(23 21 18 / 70%);
  font-size: .9rem;
  line-height: 1.7;
}
.af-insight-service > a,
.af-insights-strip__heading a {
  display: inline-flex;
  margin-top: 1.5rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid currentColor;
  color: var(--af-ink);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.af-insight-related {
  margin-top: clamp(5rem, 10vw, 9rem);
  padding-top: 3rem;
  border-top: 1px solid var(--af-line);
}
.af-insight-related h2 {
  margin-top: .5rem;
  font-family: var(--af-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.af-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.af-insight-card {
  overflow: hidden;
  border: 1px solid var(--af-line);
  border-radius: 1.35rem;
  background: var(--af-paper);
  box-shadow: 0 20px 45px rgb(23 21 18 / 7%);
  transition: transform .35s var(--af-ease), box-shadow .35s var(--af-ease);
}
.af-insight-card:hover {
  box-shadow: 0 28px 60px rgb(23 21 18 / 12%);
  transform: translateY(-.35rem);
}
.af-insight-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--af-sand);
}
.af-insight-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--af-ease);
}
.af-insight-card:hover .af-insight-card__image img { transform: scale(1.045); }
.af-insight-card__content { padding: 1.5rem; }
.af-insight-card__content > p {
  color: var(--af-taupe);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.af-insight-card__content h3 {
  margin-top: .7rem;
  font-family: var(--af-display);
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  line-height: 1.08;
}
.af-insight-card__content > span {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 1rem;
  color: rgb(23 21 18 / 68%);
  font-size: .88rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.af-insight-card__content > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--af-line);
  color: rgb(23 21 18 / 52%);
  font-size: .63rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.af-insight-card__content > div a { color: var(--af-ink); font-weight: 700; }

.af-insights-strip {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background: linear-gradient(180deg, rgb(216 207 193 / 26%), rgb(251 249 244 / 55%));
}
.af-insights-strip__heading {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 3rem;
  align-items: end;
}
.af-insights-strip__heading h2 {
  max-width: 13ch;
  margin-top: .7rem;
  font-family: var(--af-display);
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  line-height: .98;
}
.af-insights-strip__heading > div:last-child > span {
  display: block;
  max-width: 31rem;
  color: rgb(23 21 18 / 68%);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .af-insight-layout,
  .af-insights-strip__heading { grid-template-columns: 1fr; }
  .af-insight-service { position: static; }
  .af-insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .af-insight-shell { width: min(100% - 2rem, 80rem); }
  .af-insight-hero { padding-top: 5rem; }
  .af-insight-breadcrumb { margin-bottom: 2rem; }
  .af-insight-grid { grid-template-columns: 1fr; }
  .af-insight-card__content > div { align-items: flex-start; flex-direction: column; }
  .af-insight-cover img { aspect-ratio: 4 / 3; border-radius: 1rem; }
}

body[data-cms-rendered="true"] a,
body[data-cms-rendered="true"] button {
  touch-action: manipulation;
}

.cms-skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  color: var(--af-paper);
  background: var(--af-ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.cms-skip-link:focus {
  transform: translateY(0);
}

.cms-scroll-progress {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
}

.cms-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--af-red);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

body[data-cms-rendered="true"] > header {
  isolation: isolate;
  overflow: visible;
  border-color: var(--af-line);
  background: rgb(244 240 232 / 90%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 65%);
  transition: background .3s ease, box-shadow .3s ease;
}

body[data-cms-rendered="true"].cms-has-scrolled > header {
  background: rgb(244 240 232 / 97%);
  box-shadow: 0 14px 34px rgb(23 21 18 / 7%);
}

body[data-cms-rendered="true"] > header > div > div {
  height: 5.5rem;
}

body[data-cms-rendered="true"] > header img[alt="Alpi Fashion"] {
  width: auto;
  max-width: 12.5rem;
  height: 2.35rem;
}

body[data-cms-rendered="true"] #main-menu > a:not(.inline-flex) {
  position: relative;
  padding: 2.15rem .1rem 2rem;
  letter-spacing: .09em;
}

body[data-cms-rendered="true"] #main-menu > a:not(.inline-flex)::after {
  position: absolute;
  right: 0;
  bottom: 1.45rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .35s var(--af-ease);
}

body[data-cms-rendered="true"] #main-menu > a:not(.inline-flex):hover::after,
body[data-cms-rendered="true"] #main-menu > a.cms-nav-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

body[data-cms-rendered="true"] #main-menu > a.cms-nav-active {
  color: var(--af-ink);
}

body[data-cms-rendered="true"] main {
  position: relative;
}

body[data-cms-rendered="true"] main h1,
body[data-cms-rendered="true"] main h2,
body[data-cms-rendered="true"] main h3 {
  text-wrap: balance;
}

body[data-cms-rendered="true"] main h1 {
  max-width: 15ch;
  font-size: clamp(3.5rem, 6vw, 6.4rem);
  line-height: .94;
  letter-spacing: -.045em;
}

body[data-cms-rendered="true"] main h2 {
  letter-spacing: -.025em;
}

body[data-cms-rendered="true"] main p {
  text-wrap: pretty;
}

body[data-cms-rendered="true"] main > section:first-child {
  display: flex;
  min-height: clamp(37rem, 78svh, 52rem);
  align-items: center;
  padding-top: clamp(5.5rem, 9vw, 8rem);
  padding-bottom: clamp(5.5rem, 9vw, 8rem);
}

body[data-page="privacy-policy"] main > section:first-child,
body[data-page="cookie-policy"] main > section:first-child,
body[data-page="magazine-article"] main > section:first-child {
  display: block;
  min-height: 0;
}

body[data-cms-rendered="true"] main > section:first-child > img {
  transform: scale(1.015);
  filter: saturate(.9) contrast(1.04);
}

body[data-cms-rendered="true"] main > section:first-child .animate-fade-up {
  position: relative;
  max-width: 56rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 0;
  border-left: 2px solid rgb(244 240 232 / 72%);
  border-radius: 0;
  background: linear-gradient(90deg, rgb(17 17 17 / 44%), rgb(17 17 17 / 8%) 78%, transparent);
  box-shadow: none;
  backdrop-filter: blur(1px);
}

body[data-cms-rendered="true"] main > section:first-child.bg-editorial-grid .animate-fade-up {
  border-left-color: var(--af-red);
  background: linear-gradient(90deg, rgb(244 240 232 / 84%), transparent);
}

body[data-cms-rendered="true"] main > section:first-child .animate-fade-up > p:first-child {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: currentColor;
  opacity: .72;
}

body[data-cms-rendered="true"] main > section:first-child .animate-fade-up > p:first-child::before {
  width: 2.5rem;
  height: 1px;
  content: "";
  background: currentColor;
}

body[data-cms-rendered="true"] main > section:first-child .animate-fade-up > p:nth-of-type(2) {
  max-width: 36rem;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.45;
}

body[data-page="home"] main > section:first-child h1 {
  max-width: 14ch;
  font-size: clamp(3.5rem, 6vw, 6.4rem);
}

body[data-page="home"] main > section:first-child .animate-fade-up > div:last-child {
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
}

@media (min-width: 768px) and (max-height: 850px) {
  body[data-cms-rendered="true"] main > section:first-child {
    min-height: calc(100svh - 5.5rem);
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  body[data-cms-rendered="true"] main > section:first-child .animate-fade-up {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  body[data-page="privacy-policy"] main > section:first-child,
  body[data-page="cookie-policy"] main > section:first-child,
  body[data-page="magazine-article"] main > section:first-child {
    min-height: 0;
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}

.cms-signature {
  border-bottom: 1px solid var(--af-line);
  background: var(--af-paper);
}

.cms-signature__inner {
  display: grid;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.2rem 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cms-signature p {
  display: flex;
  min-height: 2.8rem;
  align-items: center;
  gap: .75rem;
  padding: 0 1.1rem;
  border-left: 1px solid var(--af-line);
  color: rgb(23 21 18 / 72%);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cms-signature p:last-child {
  border-right: 1px solid var(--af-line);
}

.cms-signature span {
  color: var(--af-red);
  font-family: var(--af-display);
  font-size: 1.1rem;
  letter-spacing: 0;
}

body[data-cms-rendered="true"] main [class*="page_section__"] {
  position: relative;
}

body[data-cms-rendered="true"] main [class*="page_section__"]::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: max(1.25rem, calc((100vw - 80rem) / 2));
  width: min(9rem, 20vw);
  height: 1px;
  content: "";
  background: var(--af-line);
}

body[data-cms-rendered="true"] main [class*="page_section__"] > div > div > .max-w-3xl:first-child > p:first-child,
body[data-cms-rendered="true"] main [class*="page_section__"] .max-w-3xl > p:first-child {
  color: var(--af-red);
  font-weight: 600;
  letter-spacing: .2em;
}

body[data-cms-rendered="true"] main article.group,
body[data-cms-rendered="true"] main a.group {
  position: relative;
  border-radius: .45rem;
  border-color: var(--af-line);
  background: rgb(251 249 244 / 88%);
  box-shadow: 0 16px 42px rgb(23 21 18 / 5%);
  transition: transform .55s var(--af-ease), box-shadow .55s var(--af-ease), border-color .55s var(--af-ease);
}

body[data-cms-rendered="true"] main article.group:hover,
body[data-cms-rendered="true"] main a.group:hover {
  border-color: rgb(23 21 18 / 25%);
  box-shadow: 0 28px 62px rgb(23 21 18 / 11%);
  transform: translateY(-.45rem);
}

body[data-cms-rendered="true"] main article.group img,
body[data-cms-rendered="true"] main a.group img {
  filter: saturate(.82) contrast(1.03);
  transition: transform 1s var(--af-ease), filter .6s ease;
}

body[data-cms-rendered="true"] main article.group:hover img,
body[data-cms-rendered="true"] main a.group:hover img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.035);
}

body[data-cms-rendered="true"] main .rounded-3xl,
body[data-cms-rendered="true"] main .rounded-2xl {
  border-radius: .65rem;
}

body[data-cms-rendered="true"] main a.inline-flex,
body[data-cms-rendered="true"] main button[type="submit"] {
  position: relative;
  min-height: 3.1rem;
  gap: .7rem;
  overflow: hidden;
  letter-spacing: .11em;
  transition: color .35s ease, background .35s ease, border-color .35s ease, transform .35s var(--af-ease);
}

body[data-cms-rendered="true"] main a.inline-flex:hover,
body[data-cms-rendered="true"] main button[type="submit"]:hover:not(:disabled) {
  transform: translateY(-2px);
}

body[data-cms-rendered="true"] main a.inline-flex[href]::after {
  content: "\2192";
  font-size: 1rem;
  line-height: 1;
  transition: transform .35s var(--af-ease);
}

body[data-cms-rendered="true"] main a.inline-flex[href]:hover::after {
  transform: translateX(.25rem);
}

body[data-cms-rendered="true"] main a[class~="hover:bg-ivory"][class~="hover:text-charcoal"]:hover {
  border-color: var(--af-ivory) !important;
  color: var(--af-ink) !important;
  background: var(--af-ivory) !important;
}

body[data-cms-rendered="true"] main a[class~="hover:bg-black"]:hover {
  border-color: #000 !important;
  color: var(--af-paper) !important;
  background: #000 !important;
}

/* Stable button contrast, independent from legacy utility-class ordering. */
body[data-cms-rendered="true"] main a.inline-flex[class~="bg-charcoal"],
body[data-cms-rendered="true"] main button[type="submit"] {
  border-color: var(--af-ink) !important;
  color: var(--af-paper) !important;
  background: var(--af-ink) !important;
}

body[data-cms-rendered="true"] main a.inline-flex[class~="bg-charcoal"]:hover,
body[data-cms-rendered="true"] main button[type="submit"]:hover:not(:disabled) {
  border-color: #000 !important;
  color: #fff !important;
  background: #000 !important;
}

body[data-cms-rendered="true"] main a.inline-flex[class~="bg-transparent"] {
  border-color: var(--af-ink) !important;
  color: var(--af-ink) !important;
  background: transparent !important;
}

body[data-cms-rendered="true"] main a.inline-flex[class~="bg-transparent"]:hover {
  border-color: var(--af-ink) !important;
  color: var(--af-paper) !important;
  background: var(--af-ink) !important;
}

body[data-cms-rendered="true"] main article a.inline-flex {
  min-height: 2.65rem;
  padding: .65rem 1rem !important;
  border: 1px solid rgb(23 21 18 / 55%) !important;
  border-radius: 999px;
  color: var(--af-ink) !important;
  background: transparent !important;
}

body[data-cms-rendered="true"] main article a.inline-flex:hover {
  border-color: var(--af-ink) !important;
  color: var(--af-paper) !important;
  background: var(--af-ink) !important;
}

body[data-cms-rendered="true"] main .bg-charcoal a.inline-flex,
body[data-cms-rendered="true"] main section.bg-charcoal a.inline-flex {
  border-color: var(--af-ivory) !important;
  color: var(--af-ink) !important;
  background: var(--af-ivory) !important;
}

body[data-cms-rendered="true"] main .bg-charcoal a.inline-flex:hover,
body[data-cms-rendered="true"] main section.bg-charcoal a.inline-flex:hover {
  border-color: var(--af-sand) !important;
  color: var(--af-ink) !important;
  background: var(--af-sand) !important;
}

body[data-cms-rendered="true"] main .bg-charcoal a.inline-flex + a.inline-flex,
body[data-cms-rendered="true"] main section.bg-charcoal a.inline-flex + a.inline-flex {
  border-color: rgb(244 240 232 / 82%) !important;
  color: var(--af-ivory) !important;
  background: var(--af-ink-soft) !important;
}

body[data-cms-rendered="true"] main .bg-charcoal a.inline-flex + a.inline-flex:hover,
body[data-cms-rendered="true"] main section.bg-charcoal a.inline-flex + a.inline-flex:hover {
  border-color: var(--af-ivory) !important;
  color: var(--af-ink) !important;
  background: var(--af-ivory) !important;
}

body[data-cms-rendered="true"] main a.inline-flex:focus-visible,
body[data-cms-rendered="true"] main button:focus-visible {
  outline: 3px solid var(--af-red) !important;
  outline-offset: 3px;
}

body[data-cms-rendered="true"] main button[type="submit"]:disabled {
  cursor: wait;
  opacity: .62;
}

body[data-cms-rendered="true"] > header button[aria-controls="main-menu"] {
  border-color: var(--af-ink) !important;
  color: var(--af-ink) !important;
  background: var(--af-ivory) !important;
  transition: color .25s ease, background .25s ease;
}

body[data-cms-rendered="true"] > header button[aria-controls="main-menu"]:hover,
body[data-cms-rendered="true"] > header button[aria-controls="main-menu"]:focus-visible {
  color: var(--af-paper) !important;
  background: var(--af-ink) !important;
  outline: 2px solid var(--af-red);
  outline-offset: 2px;
}

body[data-cms-rendered="true"] [data-cookie-banner] button[data-cookie-choice="rejected"] {
  border-color: rgb(244 240 232 / 82%) !important;
  color: var(--af-ivory) !important;
  background: var(--af-ink-soft) !important;
}

body[data-cms-rendered="true"] [data-cookie-banner] button[data-cookie-choice="accepted"] {
  border-color: var(--af-ivory) !important;
  color: var(--af-ink) !important;
  background: var(--af-ivory) !important;
}

body[data-cms-rendered="true"] [data-cookie-banner] button:hover,
body[data-cms-rendered="true"] [data-cookie-banner] button:focus-visible {
  border-color: var(--af-sand) !important;
  color: var(--af-ink) !important;
  background: var(--af-sand) !important;
  outline: 2px solid var(--af-red);
  outline-offset: 2px;
}

body[data-cms-rendered="true"] .cms-mobile-cta {
  border-color: var(--af-ivory);
  color: var(--af-paper);
  background: var(--af-ink);
}

body[data-cms-rendered="true"] main form {
  position: relative;
}

body[data-cms-rendered="true"] main form label {
  color: rgb(23 21 18 / 68%);
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}

body[data-cms-rendered="true"] main form input:not([type="checkbox"]),
body[data-cms-rendered="true"] main form select,
body[data-cms-rendered="true"] main form textarea {
  border: 0;
  border-bottom: 1px solid rgb(23 21 18 / 26%);
  border-radius: 0;
  background: transparent;
  transition: border-color .25s ease, background .25s ease;
}

body[data-cms-rendered="true"] main form input:not([type="checkbox"]):focus,
body[data-cms-rendered="true"] main form select:focus,
body[data-cms-rendered="true"] main form textarea:focus {
  border-color: var(--af-red);
  background: rgb(255 255 255 / 48%);
  box-shadow: none;
  outline: 0;
}

body[data-cms-rendered="true"] footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 120%, rgb(165 35 36 / 22%), transparent 35rem),
    var(--af-ink);
}

body[data-cms-rendered="true"] footer::before {
  position: absolute;
  top: 2.5rem;
  right: -2rem;
  content: "ALPI";
  color: rgb(244 240 232 / 3.5%);
  font-family: var(--af-display);
  font-size: clamp(8rem, 20vw, 20rem);
  line-height: .7;
  letter-spacing: -.08em;
  pointer-events: none;
}

body[data-cms-rendered="true"] footer > div {
  position: relative;
}

body[data-cms-rendered="true"] footer a {
  transition: color .25s ease, opacity .25s ease;
}

body[data-cms-rendered="true"] footer a:hover {
  color: #fff;
}

.cms-rich-content {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.85;
}

.cms-rich-content p,
.cms-rich-content ul,
.cms-rich-content ol,
.cms-rich-content blockquote,
.cms-rich-content h2,
.cms-rich-content h3 {
  margin-top: 1.75rem;
}

.cms-rich-content h2,
.cms-rich-content h3 {
  font-family: var(--af-display);
  line-height: 1.08;
  color: var(--af-ink);
}

.cms-rich-content h2 { font-size: clamp(2.25rem, 4.5vw, 4rem); }
.cms-rich-content h3 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.cms-rich-content a { text-decoration: underline; text-underline-offset: .22em; }
.cms-rich-content img { margin: 2.5rem 0; border-radius: .4rem; }
.cms-rich-content blockquote {
  padding: 1.5rem 0 1.5rem 1.75rem;
  border-left: 2px solid var(--af-red);
  font-family: var(--af-display);
  font-size: 1.45em;
  line-height: 1.45;
}

/* Alpi AI Concierge */
.af-chatbot {
  position: fixed;
  z-index: 58;
  right: 1.25rem;
  bottom: 1.25rem;
  color: var(--af-ink);
  font-family: var(--af-body);
}

.af-chatbot[hidden],
.af-chatbot [hidden] {
  display: none !important;
}

.af-chatbot__toggle {
  display: flex;
  min-height: 3.65rem;
  align-items: center;
  gap: .75rem;
  padding: .55rem 1rem .55rem .55rem;
  border: 1px solid rgb(244 240 232 / 35%);
  border-radius: 999px;
  color: var(--af-paper);
  background: var(--af-ink);
  box-shadow: 0 20px 45px rgb(0 0 0 / 24%);
  cursor: pointer;
  transition: transform .25s var(--af-ease), background .25s ease;
}

.af-chatbot__toggle:hover,
.af-chatbot__toggle:focus-visible {
  color: var(--af-ink);
  background: var(--af-sand);
  outline: 3px solid rgb(165 35 36 / 30%);
  outline-offset: 3px;
  transform: translateY(-2px);
}

.af-chatbot__toggle > span:last-child,
.af-chatbot__toggle strong,
.af-chatbot__toggle small {
  display: block;
  text-align: left;
}

.af-chatbot__toggle strong {
  font-family: var(--af-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
}

.af-chatbot__toggle small {
  margin-top: .2rem;
  font-size: .58rem;
  letter-spacing: .1em;
  opacity: .65;
  text-transform: uppercase;
}

.af-chatbot__monogram {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border-radius: 999px;
  color: var(--af-paper);
  background: var(--af-red);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.af-chatbot__panel {
  position: absolute;
  right: 0;
  bottom: 4.55rem;
  display: grid;
  width: min(29rem, calc(100vw - 2rem));
  max-height: min(46rem, calc(100vh - 7rem));
  overflow: hidden;
  border: 1px solid rgb(23 21 18 / 16%);
  border-radius: 1.35rem;
  background: var(--af-paper);
  box-shadow: 0 30px 80px rgb(0 0 0 / 28%);
  animation: af-chat-in .35s var(--af-ease) both;
}

@keyframes af-chat-in {
  from { opacity: 0; transform: translateY(1rem) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.af-chatbot__header {
  position: relative;
  padding: 1.35rem 3.2rem 1.2rem 1.35rem;
  color: var(--af-ivory);
  background:
    radial-gradient(circle at 100% 0, rgb(165 35 36 / 48%), transparent 15rem),
    var(--af-ink);
}

.af-chatbot__header p,
.af-chatbot__lead-heading p {
  margin: 0;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  opacity: .65;
  text-transform: uppercase;
}

.af-chatbot__header h2 {
  margin: .45rem 0 .55rem;
  color: var(--af-ivory);
  font-family: var(--af-display);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.af-chatbot__header > div > span {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgb(244 240 232 / 65%);
  font-size: .65rem;
}

.af-chatbot__header i {
  width: .45rem;
  height: .45rem;
  border-radius: 99px;
  background: #86efac;
  box-shadow: 0 0 0 .22rem rgb(134 239 172 / 12%);
}

.af-chatbot__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgb(244 240 232 / 25%);
  border-radius: 999px;
  color: var(--af-ivory);
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.af-chatbot__close:hover,
.af-chatbot__close:focus-visible {
  color: var(--af-ink);
  background: var(--af-ivory);
  outline: 2px solid var(--af-red);
}

.af-chatbot__messages {
  display: grid;
  max-height: 15.5rem;
  gap: .7rem;
  overflow-y: auto;
  padding: 1rem 1.15rem .6rem;
  overscroll-behavior: contain;
}

.af-chatbot__message {
  max-width: 88%;
  padding: .75rem .85rem;
  border: 1px solid rgb(23 21 18 / 10%);
  border-radius: .9rem .9rem .9rem .2rem;
  background: #fff;
}

.af-chatbot__message.is-user {
  justify-self: end;
  border-color: rgb(165 35 36 / 18%);
  border-radius: .9rem .9rem .2rem .9rem;
  background: rgb(165 35 36 / 7%);
}

.af-chatbot__message span {
  display: block;
  margin-bottom: .25rem;
  color: var(--af-taupe);
  font-size: .55rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.af-chatbot__message p {
  margin: 0;
  color: var(--af-ink);
  font-size: .86rem;
  line-height: 1.55;
}

.af-chatbot__suggestions {
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  padding: .55rem 1.15rem .75rem;
  scrollbar-width: none;
}

.af-chatbot__suggestions::-webkit-scrollbar { display: none; }

.af-chatbot__suggestions button {
  flex: 0 0 auto;
  padding: .5rem .7rem;
  border: 1px solid rgb(23 21 18 / 22%);
  border-radius: 999px;
  color: var(--af-ink);
  background: transparent;
  font-size: .65rem;
  font-weight: 650;
  cursor: pointer;
}

.af-chatbot__suggestions button:hover,
.af-chatbot__suggestions button:focus-visible {
  color: var(--af-paper);
  background: var(--af-ink);
  outline: 2px solid rgb(165 35 36 / 25%);
}

.af-chatbot__handoff {
  margin: 0 1.15rem .75rem;
  padding: .7rem;
  border: 1px solid rgb(165 35 36 / 24%);
  border-radius: .7rem;
  color: var(--af-red);
  background: rgb(165 35 36 / 5%);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.af-chatbot.wants-handoff .af-chatbot__handoff {
  color: var(--af-paper);
  background: var(--af-red);
  animation: af-chat-pulse 1.8s ease 1;
}

@keyframes af-chat-pulse {
  50% { box-shadow: 0 0 0 .4rem rgb(165 35 36 / 12%); }
}

.af-chatbot__message-form {
  padding: .8rem 1.15rem 1rem;
  border-top: 1px solid rgb(23 21 18 / 10%);
}

.af-chatbot__message-form > label,
.af-chatbot__fields label:not(.af-chatbot__privacy) {
  display: block;
  color: var(--af-taupe);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.af-chatbot__message-form > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .55rem;
  margin-top: .4rem;
}

.af-chatbot__message-form textarea,
.af-chatbot__fields input,
.af-chatbot__fields textarea {
  width: 100%;
  padding: .68rem .75rem;
  border: 1px solid rgb(23 21 18 / 20%);
  border-radius: .65rem;
  color: var(--af-ink);
  background: #fff;
  font: inherit;
  font-size: .82rem;
  resize: vertical;
}

.af-chatbot__message-form textarea:focus,
.af-chatbot__fields input:focus,
.af-chatbot__fields textarea:focus {
  border-color: var(--af-red);
  outline: 2px solid rgb(165 35 36 / 12%);
}

.af-chatbot__message-form button[type="submit"],
.af-chatbot__lead-actions button:first-child {
  min-width: 5.5rem;
  border: 1px solid var(--af-ink);
  border-radius: .65rem;
  color: var(--af-paper);
  background: var(--af-ink);
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
}

.af-chatbot__message-form button[type="submit"]:hover,
.af-chatbot__lead-actions button:first-child:hover {
  border-color: var(--af-red);
  background: var(--af-red);
}

.af-chatbot__message-form button:disabled,
.af-chatbot__lead-actions button:disabled {
  cursor: wait;
  opacity: .55;
}

.af-chatbot__message-form > p,
.af-chatbot__lead-form > p {
  margin: .45rem 0 0;
  color: var(--af-red);
  font-size: .68rem;
}

.af-chatbot__lead-form {
  overflow-y: auto;
  padding: 1rem 1.15rem;
}

.af-chatbot__lead-heading h3 {
  margin: .25rem 0 .9rem;
  font-family: var(--af-display);
  font-size: 1.45rem;
  font-weight: 400;
}

.af-chatbot__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}

.af-chatbot__fields label:not(.af-chatbot__privacy) input,
.af-chatbot__fields label:not(.af-chatbot__privacy) textarea {
  display: block;
  margin-top: .3rem;
  text-transform: none;
}

.af-chatbot__full { grid-column: 1 / -1; }

.af-chatbot__privacy {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .55rem;
  color: rgb(23 21 18 / 72%);
  font-size: .68rem;
  line-height: 1.45;
}

.af-chatbot__privacy input {
  width: 1rem;
  height: 1rem;
  margin-top: .1rem;
  accent-color: var(--af-red);
}

.af-chatbot__privacy a {
  color: var(--af-red);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.af-chatbot__lead-actions {
  display: flex;
  gap: .55rem;
  margin-top: .8rem;
}

.af-chatbot__lead-actions button {
  min-height: 2.6rem;
  padding: .65rem 1rem;
}

.af-chatbot__lead-actions button:last-child {
  border: 0;
  color: var(--af-ink);
  background: transparent;
  font-size: .7rem;
  cursor: pointer;
}

.af-chatbot__panel > footer {
  padding: .65rem 1.15rem;
  border-top: 1px solid rgb(23 21 18 / 9%);
  color: rgb(23 21 18 / 50%);
  background: #efe8de;
  font-size: .58rem;
  line-height: 1.45;
  text-align: center;
}

.af-chatbot__trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.cms-cookie-open .af-chatbot {
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
}

.cms-reveal {
  opacity: 0;
  transform: translateY(2.25rem);
  transition: opacity .8s var(--af-ease), transform .8s var(--af-ease);
}

.cms-reveal.cms-visible {
  opacity: 1;
  transform: translateY(0);
}

.cms-mobile-cta {
  display: none;
}

@media (max-width: 1023px) {
  html {
    scroll-padding-top: 5.5rem;
  }

  body[data-cms-rendered="true"] > header > div > div {
    height: 4.75rem;
  }

  body[data-cms-rendered="true"] > header img[alt="Alpi Fashion"] {
    height: 2rem;
    max-width: min(12.5rem, calc(100vw - 8rem));
  }

  body[data-cms-rendered="true"] > header button[aria-controls="main-menu"] {
    min-width: 4.6rem;
    min-height: 2.75rem;
    justify-content: center;
  }

  body[data-cms-rendered="true"] #main-menu.mobile-menu-open {
    position: absolute;
    z-index: 80;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: calc(100vh - 4.75rem);
    height: calc(100dvh - 4.75rem);
    max-height: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 1.1rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
    border-bottom: 1px solid var(--af-line);
    background: rgb(244 240 232 / 98%);
    box-shadow: 0 24px 44px rgb(0 0 0 / 12%);
    overscroll-behavior: contain;
  }

  body[data-cms-rendered="true"] #main-menu.mobile-menu-open a {
    padding: .85rem 0;
    border-bottom: 1px solid var(--af-line);
    font-family: var(--af-display);
    font-size: 1.45rem;
    font-weight: 400;
    letter-spacing: -.015em;
    text-transform: none;
  }

  body[data-cms-rendered="true"] #main-menu.mobile-menu-open a::after {
    display: none;
  }

  body.cms-menu-open {
    overflow: hidden;
  }

  body.cms-chat-open {
    overflow: hidden;
  }

  .cms-mobile-cta {
    position: fixed;
    z-index: 55;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    display: inline-flex;
    min-height: 2.9rem;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.15rem;
    border: 1px solid rgb(244 240 232 / 22%);
    border-radius: 999px;
    color: var(--af-paper);
    background: rgb(23 21 18 / 94%);
    box-shadow: 0 18px 35px rgb(0 0 0 / 20%);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    transition: opacity .25s ease, transform .25s ease;
  }

  body.cms-menu-open .cms-mobile-cta,
  body.cms-cookie-open .cms-mobile-cta,
  body.cms-chat-open .cms-mobile-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(1rem);
  }

  .af-chatbot {
    right: auto;
    left: .75rem;
    bottom: calc(.75rem + env(safe-area-inset-bottom));
  }

  .af-chatbot__toggle {
    min-height: 3rem;
    padding: .4rem .8rem .4rem .4rem;
  }

  .af-chatbot__monogram {
    width: 2.2rem;
    height: 2.2rem;
  }

  .af-chatbot__panel {
    position: fixed;
    inset: auto .65rem calc(.65rem + env(safe-area-inset-bottom));
    width: auto;
    height: min(44rem, calc(100vh - 1.3rem - env(safe-area-inset-bottom)));
    height: min(44rem, calc(100dvh - 1.3rem - env(safe-area-inset-bottom)));
    max-height: calc(100vh - 1.3rem - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 1.3rem - env(safe-area-inset-bottom));
  }

  .af-chatbot[data-open="true"] .af-chatbot__toggle {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 767px) {
  body[data-cms-rendered="true"] > header > div > div {
    height: 4.25rem;
    gap: .75rem;
  }

  body[data-cms-rendered="true"] > header img[alt="Alpi Fashion"] {
    height: 1.75rem;
    max-width: min(10.75rem, calc(100vw - 7.25rem));
  }

  body[data-cms-rendered="true"] > header button[aria-controls="main-menu"] {
    min-width: 4.35rem;
    min-height: 2.55rem;
    padding: .6rem .85rem !important;
    font-size: .66rem;
  }

  body[data-cms-rendered="true"] #main-menu.mobile-menu-open {
    height: calc(100vh - 4.25rem);
    height: calc(100dvh - 4.25rem);
    padding: .8rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
  }

  body[data-cms-rendered="true"] #main-menu.mobile-menu-open a {
    padding: .72rem 0;
    font-size: clamp(1.15rem, 5.5vw, 1.35rem);
  }

  body[data-cms-rendered="true"] main h1 {
    max-width: 13ch;
    font-size: clamp(2.55rem, 11.5vw, 3.85rem);
    line-height: 1;
    overflow-wrap: break-word;
  }

  body[data-cms-rendered="true"] main h2 {
    font-size: clamp(2rem, 9.5vw, 2.85rem);
    line-height: 1.08;
  }

  body[data-cms-rendered="true"] main > section:first-child {
    min-height: max(34rem, calc(100svh - 4.25rem));
    align-items: center;
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  body[data-cms-rendered="true"] main > section:first-child .animate-fade-up {
    width: 100%;
    padding: 1.25rem .35rem 1.25rem 1rem;
    background: linear-gradient(90deg, rgb(17 17 17 / 52%), rgb(17 17 17 / 14%) 88%, transparent);
  }

  body[data-cms-rendered="true"] main > section:first-child .animate-fade-up > p:nth-of-type(2) {
    font-size: clamp(1.05rem, 5vw, 1.25rem);
    line-height: 1.42;
  }

  body[data-cms-rendered="true"] main > section:first-child .animate-fade-up > p:nth-of-type(3) {
    font-size: .95rem;
    line-height: 1.6;
  }

  body[data-page="home"] main > section:first-child > img,
  body[data-page="contact"] main > section:first-child > img {
    object-position: 68% center;
  }

  body[data-page="privacy-policy"] main > section:first-child,
  body[data-page="cookie-policy"] main > section:first-child {
    min-height: 0;
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  body[data-page="privacy-policy"] main h1,
  body[data-page="cookie-policy"] main h1,
  body[data-page="magazine-article"] main h1 {
    max-width: 18ch;
  }

  body[data-page="magazine-article"] main > article {
    padding: 3.25rem 1.25rem 5rem;
  }

  body[data-cms-rendered="true"] main [class*="page_section__"] {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  body[data-cms-rendered="true"] main [class*="page_sectionTight__"] {
    padding-top: 0;
  }

  body[data-cms-rendered="true"] main .p-8 {
    padding: 1.5rem;
  }

  body[data-cms-rendered="true"] main img.h-72,
  body[data-cms-rendered="true"] main img.h-80,
  body[data-cms-rendered="true"] main img[class~="h-[24rem]"] {
    height: clamp(17rem, 82vw, 21rem);
  }

  body[data-cms-rendered="true"] main [class~="min-h-[34rem]"],
  body[data-cms-rendered="true"] main [class~="min-h-[28rem]"] {
    min-height: 27rem;
  }

  body[data-cms-rendered="true"] main article.group > div.h-56,
  body[data-cms-rendered="true"] main a.group > img.h-56 {
    height: 14rem;
  }

  body[data-cms-rendered="true"] main a.inline-flex,
  body[data-cms-rendered="true"] main button[type="submit"] {
    min-height: 3.25rem;
    padding: .8rem 1.15rem !important;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }

  body[data-cms-rendered="true"] main form input:not([type="checkbox"]),
  body[data-cms-rendered="true"] main form select,
  body[data-cms-rendered="true"] main form textarea {
    min-height: 3.15rem;
    font-size: 1rem;
  }

  body[data-cms-rendered="true"] main form textarea {
    min-height: 8.5rem;
  }

  body[data-cms-rendered="true"] main form label[class*="flex"] {
    line-height: 1.55;
    text-transform: none;
  }

  body[data-cms-rendered="true"] main form input[type="checkbox"] {
    width: 1.2rem;
    min-width: 1.2rem;
    height: 1.2rem;
  }

  body[data-cms-rendered="true"] footer > div {
    padding-top: 3.5rem;
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
  }

  body[data-cms-rendered="true"] footer .grid.gap-12 {
    gap: 2.25rem;
  }

  body[data-cms-rendered="true"] footer a,
  body[data-cms-rendered="true"] footer p {
    overflow-wrap: anywhere;
  }

  .cms-signature__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: .6rem 1.25rem;
  }

  .cms-signature p {
    min-height: 3.5rem;
    padding: .5rem .65rem;
    border-bottom: 1px solid var(--af-line);
    font-size: .62rem;
    line-height: 1.35;
  }

  .cms-signature p:nth-child(2n) {
    border-right: 1px solid var(--af-line);
  }

  body[data-cms-rendered="true"] main [class*="page_section__"]::before {
    left: 1.25rem;
    width: 4rem;
  }

  body[data-cms-rendered="true"] main article.group:hover,
  body[data-cms-rendered="true"] main a.group:hover {
    transform: none;
  }

  .af-chatbot__header {
    padding: 1.05rem 3rem 1rem 1rem;
  }

  .af-chatbot__header h2 {
    font-size: 1.45rem;
  }

  .af-chatbot__messages {
    min-height: 0;
    max-height: none;
  }

  .af-chatbot__fields {
    grid-template-columns: 1fr;
  }

  .af-chatbot__full { grid-column: auto; }

  .af-chatbot__message-form textarea,
  .af-chatbot__fields input,
  .af-chatbot__fields textarea {
    font-size: 1rem;
  }

  [data-cookie-banner] {
    max-height: calc(100dvh - 1rem);
    overflow-y: auto;
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom)) !important;
    overscroll-behavior: contain;
  }
}

@media (max-width: 480px) {
  body[data-cms-rendered="true"] main h1 {
    font-size: clamp(2.3rem, 11.5vw, 3.2rem);
  }

  body[data-cms-rendered="true"] main > section:first-child {
    min-height: max(32rem, calc(100svh - 4.25rem));
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  body[data-cms-rendered="true"] main > section:first-child .animate-fade-up > div:last-child,
  body[data-cms-rendered="true"] main > section:first-child .animate-fade-up > div.mt-9 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  body[data-cms-rendered="true"] main > section:first-child a.inline-flex {
    width: 100%;
  }

  .cms-signature__inner {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .cms-signature p {
    padding-right: .45rem;
    padding-left: .45rem;
    letter-spacing: .09em;
  }

  .cms-mobile-cta {
    right: .65rem;
    min-height: 3rem;
    max-width: calc(100vw - 5.2rem);
    padding-right: .9rem;
    padding-left: .9rem;
    text-align: center;
  }

  .af-chatbot__toggle {
    padding: .4rem;
  }

  .af-chatbot__toggle > span:last-child {
    display: none;
  }

  .af-chatbot__panel {
    inset: max(.35rem, env(safe-area-inset-top)) .35rem max(.35rem, env(safe-area-inset-bottom));
    height: auto;
    max-height: none;
    border-radius: 1rem;
  }

  .af-chatbot__panel > footer {
    display: none;
  }

  .af-chatbot__message-form > div {
    grid-template-columns: minmax(0, 1fr) 4.8rem;
  }

  [data-cookie-banner] button[data-cookie-choice] {
    width: 100%;
    min-height: 3rem;
  }
}

@media (max-width: 1023px) and (max-height: 600px) {
  body[data-cms-rendered="true"] #main-menu.mobile-menu-open a {
    padding: .5rem 0;
    font-size: 1.05rem;
  }

  .af-chatbot__header {
    padding-top: .75rem;
    padding-bottom: .7rem;
  }

  .af-chatbot__header h2 {
    margin: .25rem 0;
    font-size: 1.25rem;
  }

  .af-chatbot__header > div > span,
  .af-chatbot__panel > footer {
    display: none;
  }

  .af-chatbot__message-form {
    padding-top: .55rem;
    padding-bottom: .6rem;
  }
}

@media (hover: none) {
  body[data-cms-rendered="true"] main article.group:hover,
  body[data-cms-rendered="true"] main a.group:hover,
  body[data-cms-rendered="true"] main article.group:hover img,
  body[data-cms-rendered="true"] main a.group:hover img,
  body[data-cms-rendered="true"] main a.inline-flex:hover,
  body[data-cms-rendered="true"] main button[type="submit"]:hover:not(:disabled) {
    transform: none;
  }
}

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