/* Açaí Club Bulgaria
   1 Tokens  2 Base  3 Layout  4 Components  5 Sections  6 Motion  7 Draft flag */

/* ---------- 1 Tokens ---------- */

/* Nunito, SIL Open Font License 1.1. Variable files: one file covers weights 400 to 900. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../assets/fonts/nunito-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;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../assets/fonts/nunito-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --purple-900: #2A0B45;
  --purple-800: #3A0F5C; /* deep purple, the primary colour */
  --purple-600: #6A2C91; /* açaí purple */
  --purple-400: #A77BD0;
  --lilac-200: #D8C4EE;
  --lilac-100: #EDE3F7; /* soft lilac */
  --lilac-50: #F8F4FC;
  --green-500: #8FD14F; /* fresh green: text only on purple, never on white */
  --green-100: #EAF6DC;
  --matcha: #93B84F;
  --white: #FFFFFF;
  --ink: #1E0B2E;
  --ink-muted: #54436A;
  --on-dark-muted: rgba(255, 255, 255, 0.82);

  --font-display: "Nunito", "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(2.6rem, 1.3rem + 5.6vw, 6.25rem);
  --fs-h2: clamp(2rem, 1.2rem + 3.2vw, 4.25rem);
  --fs-quote: clamp(1.75rem, 1rem + 3.4vw, 4.5rem);
  --fs-h3: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  --fs-trio: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  --fs-lead: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --fs-body: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-label: 0.8125rem;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --max: 75rem;
  --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --header-h: 4.5rem;
  --shadow: 0 1.5rem 3.5rem -1.5rem rgba(42, 11, 69, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 2 Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
dl,
dd,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--purple-600);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.on-dark :focus-visible,
.site-header :focus-visible {
  outline-color: var(--green-500);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--green-500);
  color: var(--purple-800);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- 3 Layout ---------- */

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--space-section);
}

.on-dark {
  color: var(--white);
}

/* Grid columns keep their share even when a long word would push them wider. */
.hero__inner > *,
.about__grid > *,
.experience__head > *,
.experience__foot > *,
.story__grid > *,
.partners__head > *,
.partners__cta > *,
.enquiry__grid > *,
.final__grid > * {
  min-width: 0;
}

.stack > * + * {
  margin-top: 1.25rem;
}

.stack > .eyebrow + .display {
  margin-top: 0.9rem;
}

/* ---------- 4 Components ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.h2 {
  font-size: var(--fs-h2);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-600);
}

.on-dark .eyebrow {
  color: var(--green-500);
}

.lead {
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1.4;
}

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

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

/* Three-part brand lines such as "Real Fruit. Extraordinary Taste. A Whole New Vibe." */
.trio {
  font-family: var(--font-display);
  font-size: var(--fs-trio);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.trio span {
  display: inline-block;
  margin-right: 0.35em;
}

.trio span:last-child {
  margin-right: 0;
  color: var(--purple-600);
}

.on-dark .trio span:last-child {
  color: var(--green-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3.25rem;
  padding: 0.75rem 1.75rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--green-500);
  color: var(--purple-800);
}

.btn--primary:hover {
  background: var(--white);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn--ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--purple-800);
}

.btn--dark {
  background: var(--purple-800);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--purple-600);
}

.btn--small {
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Photo frames. A frame holds either an <img> or, until the photo exists, a labelled placeholder. */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--lilac-100);
  aspect-ratio: 4 / 5;
}

.photo--square {
  aspect-ratio: 1;
}

.photo--wide {
  aspect-ratio: 3 / 2;
}

.photo--landscape {
  aspect-ratio: 4 / 3;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo__ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.5rem;
  border: 2px dashed var(--purple-400);
  border-radius: inherit;
  background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(106, 44, 145, 0.06) 18px 36px), var(--lilac-100);
  color: var(--purple-600);
  text-align: center;
}

.photo__ph svg {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.4rem;
}

.photo__ph-label {
  font-weight: 700;
}

.photo__ph-meta {
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* The drawn swirl. Its colour comes from `color` on the <svg>. */
.swirl {
  width: 100%;
  height: auto;
  color: var(--purple-600);
  overflow: visible;
}

.swirl--matcha {
  color: var(--matcha);
}

/* ---------- 5 Sections ---------- */

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--white);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: rgba(42, 11, 69, 0.94);
  box-shadow: 0 0.5rem 2rem -1rem rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  transition: min-height 0.3s var(--ease);
}

.is-scrolled .site-header__inner {
  min-height: 3.75rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45em;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__country {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--green-500);
}

.site-nav__list {
  display: flex;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

.site-nav__link {
  display: inline-block;
  white-space: nowrap;
  padding: 0.5rem 0;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  border-bottom-color: var(--green-500);
}

.site-nav__cta {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.25rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.lang-switch a[aria-current] {
  background: var(--white);
  color: var(--purple-800);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 1.5rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}

.menu-toggle__bars {
  position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before {
  top: -0.45rem;
}

.menu-toggle__bars::after {
  top: 0.45rem;
}

.nav-open .menu-toggle__bars {
  background: transparent;
}

.nav-open .menu-toggle__bars::before {
  transform: translateY(0.45rem) rotate(45deg);
}

.nav-open .menu-toggle__bars::after {
  transform: translateY(-0.45rem) rotate(-45deg);
}

.btn--small {
  white-space: nowrap;
}

@media (max-width: 74.99rem) {
  .site-header__cta {
    display: none;
  }
}

@media (max-width: 68.74rem) {
  /* The wordmark stacks to leave room for the language switch and menu button. */
  .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    font-size: 1.35rem;
  }

  .brand__country {
    font-size: 0.5625rem;
  }

  /* Without JavaScript the links stay visible as a second header row. */
  html:not(.js) .site-header__inner {
    flex-wrap: wrap;
  }

  html:not(.js) .site-nav {
    order: 3;
    width: 100%;
    padding-bottom: 0.5rem;
  }

  html:not(.js) .site-nav__list {
    flex-wrap: wrap;
    gap: 0 1.25rem;
  }

  html:not(.js) .site-header {
    position: absolute;
  }

  html:not(.js) .hero__inner {
    padding-top: calc(var(--header-h) + 5rem);
  }

  /* With JavaScript the links become a full-screen menu behind the toggle. */
  .js .menu-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
    background: var(--purple-900);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0s 0.3s;
    overflow-y: auto;
  }

  /* Visible at once on opening, so focus can move to the first link. */
  .js.nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s, visibility 0s;
  }

  .js .site-nav__list {
    flex-direction: column;
    gap: 0.25rem;
  }

  .js .site-nav__link {
    padding: 0.35rem 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 9vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .js .site-nav__cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 2rem;
  }

  .nav-open,
  .nav-open body {
    overflow: hidden;
  }
}

/* Hero */
.hero {
  background:
    radial-gradient(60rem 40rem at 78% 38%, rgba(167, 123, 208, 0.38), transparent 62%),
    radial-gradient(40rem 30rem at 8% 96%, rgba(143, 209, 79, 0.1), transparent 60%),
    linear-gradient(160deg, var(--purple-800) 0%, var(--purple-900) 100%);
  overflow: hidden;
  overflow: clip;
}

.hero__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: 2rem;
}

.hero__title {
  display: block;
  margin-top: 0.75rem;
  font-size: var(--fs-hero);
  line-height: 1.02;
}

.hero__lead {
  max-width: 26ch;
  margin-top: 1.25rem;
}

.hero__offer {
  max-width: 34rem;
  margin-top: 1rem;
  font-weight: 700;
}

.hero__actions {
  margin-top: 1.75rem;
}

.hero__art {
  position: relative;
  width: min(100%, 23rem);
  margin-inline: auto;
}

.hero__art::before {
  content: "";
  position: absolute;
  inset: 4% -12% 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(216, 196, 238, 0.42), transparent);
}

.hero__art .swirl {
  position: relative;
  color: #9154BE;
  filter: drop-shadow(0 2rem 2.5rem rgba(20, 4, 36, 0.55));
}

.hero__art img {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 2rem 3rem -1rem rgba(20, 4, 36, 0.6);
}

.hero__berry {
  position: absolute;
  width: 13%;
}

.hero__berry--1 {
  top: 12%;
  left: 2%;
}

.hero__berry--2 {
  top: 34%;
  right: -4%;
  width: 9%;
}

.hero__berry--3 {
  bottom: 12%;
  left: -6%;
  width: 17%;
}

.hero__leaf {
  position: absolute;
  top: 3%;
  right: 6%;
  width: 22%;
}

.hero__intro {
  display: grid;
  gap: 1.25rem 3rem;
  padding-block: 2.5rem clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__intro p {
  max-width: 34rem;
}

.hero__intro .trio {
  margin-top: 0.75rem;
}

@media (max-width: 26.24rem) {
  .hero__actions .btn {
    width: 100%;
  }
}

@media (min-width: 56rem) {
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .hero__art {
    width: min(100%, 30rem);
  }

  .hero__intro {
    grid-template-columns: 1fr 1fr;
  }

  .hero__intro .trio {
    grid-column: 1 / -1;
  }
}

/* What is açaí */
.about__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about__media {
  position: relative;
  width: min(100%, 30rem);
  margin-inline: auto;
  padding: 0 14% 14% 0;
}

.about__media .photo--square {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  border: 0.5rem solid var(--white);
  box-shadow: var(--shadow);
}

.about__media--wide {
  padding: 0 0 18% 0;
}

.about__media--wide .photo--square {
  right: auto;
  left: 6%;
  width: 36%;
}

.say-it {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem 1.1rem;
  border-radius: var(--radius);
  background: var(--lilac-100);
  color: var(--purple-800);
}

.say-it__label {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-600);
}

.say-it__sound {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 3vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}

.about .trio {
  color: var(--purple-800);
}

@media (min-width: 56rem) {
  .about__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(3rem, 7vw, 6rem);
  }
}

/* The experience */
.experience {
  background:
    radial-gradient(50rem 30rem at 100% 0%, rgba(167, 123, 208, 0.35), transparent 60%),
    linear-gradient(200deg, var(--purple-600) 0%, var(--purple-800) 55%, var(--purple-900) 100%);
}

.experience__head {
  display: grid;
  gap: 1.5rem 4rem;
  align-items: end;
}

.flavours {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.flavour {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
}

.flavour__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.6;
  background: var(--lilac-100);
}

.flavour__media .swirl {
  position: absolute;
  left: 50%;
  top: 9%;
  width: 62%;
  transform: translateX(-50%);
}

.flavour--matcha .flavour__media {
  background: var(--green-100);
}

.flavour__media .photo {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
}

.flavour--more .flavour__media {
  background: var(--lilac-50);
}

.flavour__body {
  position: relative;
  flex: 1;
  padding: 1.5rem 1.75rem 2rem;
  background: var(--white);
}

.flavour__name {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--purple-800);
}

.flavour__body p {
  margin-top: 0.6rem;
  color: var(--ink-muted);
}

.flavour__body .flavour__for {
  font-weight: 700;
  color: var(--purple-600);
}

.flavour__body .btn {
  margin-top: 1.1rem;
}

.flavour__body .flavour__for + p {
  margin-top: 0.35rem;
}

.experience__foot {
  display: grid;
  gap: 1.25rem 4rem;
  align-items: center;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

@media (min-width: 48rem) {
  .flavours {
    grid-template-columns: repeat(3, 1fr);
  }

  .experience__head,
  .experience__foot {
    grid-template-columns: 1fr 1fr;
  }
}

/* Our story */
.story {
  background: var(--lilac-100);
}

.story__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.story__media {
  width: min(100%, 26rem);
  margin-inline: auto;
}

.story__quote {
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 2px solid var(--purple-800);
  font-size: var(--fs-quote);
  color: var(--purple-800);
}

.story__quote span {
  display: block;
}

.story__quote span + span {
  color: var(--purple-600);
}

@media (min-width: 56rem) {
  .story__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(3rem, 7vw, 6rem);
  }
}

/* Partnerships */
.partners__head {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.partners__sub {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: 1.35;
  color: var(--purple-600);
}

/* Second line of the subheading: same type, sitting close to the first line */
.stack > .partners__sub--more {
  margin-top: 0.15rem;
}

.partners__lists {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.list-card {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: var(--lilac-100);
}

.list-card--dark {
  background: var(--purple-800);
}

.list-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--purple-800);
}

.list-card--dark .list-card__title {
  color: var(--green-500);
}

.list-card ul {
  margin-top: 1.25rem;
}

.list-card li {
  position: relative;
  padding: 0.8rem 0 0.8rem 2rem;
  border-top: 1px solid rgba(58, 15, 92, 0.16);
  font-weight: 600;
}

.list-card--dark li {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.list-card li::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 0.15rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--purple-600);
}

.list-card--dark li::before {
  top: 1.2rem;
  left: 0.1rem;
  width: 0.95rem;
  height: 0.5rem;
  border-radius: 0;
  border-left: 3px solid var(--green-500);
  border-bottom: 3px solid var(--green-500);
  background: none;
  transform: rotate(-45deg);
}

.partners__cta {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(30rem 20rem at 100% 0%, rgba(167, 123, 208, 0.4), transparent 65%),
    var(--purple-800);
}

.partners__cta-title {
  margin-top: 1.25rem;
  font-size: var(--fs-h2);
  color: var(--green-500);
}

@media (min-width: 48rem) {
  .partners__lists {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 56rem) {
  .partners__head {
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(3rem, 7vw, 6rem);
  }

  .partners__cta {
    grid-template-columns: 1fr auto;
  }
}

/* Enquiry form */
.enquiry {
  background: var(--lilac-50);
}

.enquiry__grid {
  display: grid;
  gap: 2.5rem;
}

.enquiry__direct {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lilac-200);
}

/* Regional contacts: one group per region, phone and email as links */
.contacts {
  display: grid;
  gap: 1.5rem 2.5rem;
}

.contacts__region {
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-600);
}

.on-dark .contacts__region {
  color: var(--green-500);
}

.contacts__list {
  margin-top: 0.5rem;
}

.contacts__list li + li {
  margin-top: 0.2rem;
}

.contacts__list a {
  font-size: var(--fs-lead);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contacts__list a:hover {
  text-decoration: underline;
}

/* Social links as pills */
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 1.1rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.social a:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--purple-800);
}

.social--final {
  margin-top: 1.75rem;
}

.site-footer .social a {
  min-height: 2.5rem;
  color: var(--white);
}

.form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form__row {
  display: grid;
  gap: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: var(--fs-small);
  font-weight: 700;
}

.field__optional {
  font-weight: 400;
  color: var(--ink-muted);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid #B7A6CB;
  border-radius: 0.75rem;
  background: var(--white);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple-600);
  box-shadow: 0 0 0 3px rgba(106, 44, 145, 0.25);
}

.field [aria-invalid="true"] {
  border-color: #B3261E;
}

.field__error {
  margin-top: 0.35rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #B3261E;
}

.field__error:empty {
  display: none;
}

/* Spam trap: hidden from people, visible to bots that fill every field. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__notice {
  font-size: var(--fs-small);
  color: var(--ink-muted);
}

.form__status {
  padding: 0.9rem 1.1rem;
  border-radius: 0.75rem;
  background: var(--green-100);
  font-weight: 600;
}

.form__status:empty {
  display: none;
}

.form__status[data-state="error"] {
  background: #FBE9E7;
  color: #8C1D18;
}

@media (min-width: 40rem) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 56rem) {
  .enquiry__grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(3rem, 7vw, 6rem);
    align-items: start;
  }
}

/* Final call */
.final {
  background:
    radial-gradient(45rem 32rem at 85% 60%, rgba(167, 123, 208, 0.34), transparent 62%),
    linear-gradient(200deg, var(--purple-800) 0%, var(--purple-900) 100%);
  overflow: hidden;
  overflow: clip;
}

.final__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.final__title {
  font-size: clamp(2.4rem, 1.2rem + 5vw, 6rem);
  line-height: 1.02;
}

.final__title span {
  display: block;
}

.final__title span + span {
  color: var(--green-500);
}

.final .lead {
  margin-top: 1.5rem;
}

.final__brand {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.final__actions {
  margin-top: 1.75rem;
}

.contact-list {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.final__art {
  position: relative;
  width: min(70%, 22rem);
  margin-inline: auto;
}

.final__art .swirl {
  color: #9154BE;
  filter: drop-shadow(0 2rem 2.5rem rgba(20, 4, 36, 0.55));
}

@media (min-width: 30rem) {
  .contacts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 56rem) {
  .final__grid {
    grid-template-columns: 1.3fr 0.7fr;
  }

  .final__art {
    width: 100%;
  }
}

/* Footer */
.site-footer {
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  background: var(--ink);
  color: var(--lilac-200);
  font-size: var(--fs-small);
}

.site-footer a {
  color: var(--white);
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer__message {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.site-footer__title {
  margin-bottom: 0.75rem;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-500);
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }
}

@media (min-width: 64rem) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  }

  /* The enquiry column is narrow on wide screens: one region under the other. */
  .enquiry__direct {
    grid-template-columns: 1fr;
  }
}

/* Privacy pages */
.site-header.is-solid {
  background: var(--purple-900);
}

.legal {
  padding-block: calc(var(--header-h) + 3rem) var(--space-section);
}

.legal__inner {
  max-width: 44rem;
}

.legal h1 {
  font-size: var(--fs-h2);
  color: var(--purple-800);
}

.legal h2 {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--purple-800);
}

.legal p,
.legal ul {
  margin-top: 1rem;
}

.legal ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.legal__draft {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--green-100);
  font-weight: 600;
}

/* ---------- 6 Motion ---------- */

/* Content is hidden for the fade only once the script is running (.js on <html>). */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js [data-reveal="2"] {
  transition-delay: 0.12s;
}

.js [data-reveal="3"] {
  transition-delay: 0.24s;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(-1.2deg);
  }

  50% {
    transform: translateY(-0.75rem) rotate(1.2deg);
  }
}

.hero__art .swirl,
.final__art .swirl {
  animation: drift 8s ease-in-out infinite;
  transform-origin: 50% 85%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__art .swirl,
  .final__art .swirl {
    animation: none;
  }

  .btn,
  .site-header,
  .site-header__inner {
    transition: none;
  }
}

@media print {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .site-header {
    position: static;
  }
}

/* ---------- 7 Draft flag ---------- */

/* A photo placeholder never shows on the live site: once the draft marker is gone it is hidden. */
html:not([data-draft]) .photo.is-placeholder,
html:not([data-draft]) .story__media:has(.is-placeholder) {
  display: none;
}

/* Shown while <html> carries data-draft. Remove the attribute, and the noindex meta tag, at launch. */
html[data-draft] body::after {
  content: "DRAFT";
  position: fixed;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 90;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--green-500);
  color: var(--purple-800);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  pointer-events: none;
}

html[data-draft]:lang(bg) body::after {
  content: "ЧЕРНОВА";
}
