/*
  Brand system
  Font: Agrandir Narrow Bold / Regular. Font files are not bundled here because the font needs a valid licence.
  Add your licensed font files to assets/fonts and update assets/fonts/README.md.
*/
:root {
  --ink: #2b2b2b;
  --ink-soft: #484844;
  --muted: #76736c;
  --green: #7d9178;
  --green-dark: #566a51;
  --green-deep: #33422f;
  --beige: #f5f3ee;
  --cream: #fffdf8;
  --sand: #ded6ba;
  --gold: #d7c895;
  --line: rgba(43, 43, 43, 0.12);
  --shadow: 0 24px 80px rgba(43, 43, 43, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
  --header-height: 82px;
  --external-arrow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fffdf8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7'/%3E%3Cpath d='M9 7h8v8'/%3E%3C/svg%3E");
  --font-display: "Agrandir Narrow", "Agrandir", "Arial Narrow", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Agrandir", "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--beige);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(125, 145, 120, 0.2), transparent 34rem),
    radial-gradient(circle at 92% 12%, rgba(215, 200, 149, 0.26), transparent 26rem),
    var(--beige);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.loaded .site-loader {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: scale(1.06);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  color: var(--cream);
  background: var(--green-dark);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 12px 16px;
  color: var(--cream);
  background: var(--green-deep);
  border-radius: 999px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

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

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 120;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform-origin: left;
}

.back-to-top {
  position: fixed;
  right: max(18px, calc(env(safe-area-inset-right) + 18px));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 18px));
  z-index: 130;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  color: var(--cream);
  background: rgba(125, 145, 120, 0.96);
  border: 1px solid rgba(255, 253, 248, 0.54);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(43, 43, 43, 0.12);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.nav-open .back-to-top {
  opacity: 0;
  pointer-events: none;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--green-dark);
  border-color: rgba(255, 253, 248, 0.72);
  box-shadow: 0 12px 28px rgba(43, 43, 43, 0.16);
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(215, 200, 149, 0.72);
  outline-offset: 4px;
}

.back-to-top svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.7s ease;
}

.loader-logo {
  width: clamp(72px, 9.6vw, 114px);
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(43, 43, 43, 0.14));
  animation: badgePop 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite alternate;
}

.loader-badge {
  width: clamp(72px, 9.6vw, 114px) !important;
  height: clamp(118px, 15.7vw, 187px) !important;
  padding: 0 !important;
  display: block !important;
  color: transparent !important;
  font-size: 0 !important;
  background: transparent url("../assets/lukas-logo-symbol-v2.svg?v=3") center / contain no-repeat !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  animation: badgePop 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite alternate;
}

.loader-badge span,
.loader-badge strong,
.loader-badge small {
  display: none !important;
}

.vote-badge span {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.vote-badge strong {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.8;
  font-size: clamp(4rem, 10vw, 5.6rem);
}

.vote-badge small {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 100;
  width: min(calc(100% - 28px), 1220px);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 18px;
  background: rgba(245, 243, 238, 0.74);
  border: 1px solid rgba(43, 43, 43, 0.1);
  border-radius: 999px;
  box-shadow: 0 16px 60px rgba(43, 43, 43, 0.08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 0.3s ease, box-shadow 0.3s ease, top 0.3s ease;
}

.site-header.is-scrolled {
  top: 8px;
  background: rgba(245, 243, 238, 0.92);
  box-shadow: 0 18px 70px rgba(43, 43, 43, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  width: 36px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px;
  overflow: hidden;
  background: transparent url("../assets/lukas-logo-symbol-v2.svg?v=3") center / contain no-repeat !important;
}

img.brand-mark {
  text-indent: 0;
  background-color: transparent !important;
}

.brand-text {
  display: grid;
  gap: 0;
  min-width: 0;
  line-height: 1;
}

.brand-text strong {
  display: block;
  color: var(--ink);
  font-weight: 950;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  letter-spacing: 0;
}

.brand-text small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 650;
  font-size: clamp(0.73rem, 1vw, 0.86rem);
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 12px 14px;
  color: var(--ink-soft);
  border-radius: 999px;
  font-weight: 760;
  font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--ink);
  background: rgba(125, 145, 120, 0.14);
}

.site-nav .nav-button {
  color: var(--cream);
  background: var(--ink);
}

.site-nav .nav-button:hover,
.site-nav .nav-button:focus-visible {
  color: var(--cream);
  background: var(--green-dark);
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  background: var(--ink);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: var(--cream);
  border-radius: 4px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section {
  position: relative;
  padding: clamp(56px, 7vw, 100px) 0;
}

.section[id] {
  scroll-margin-top: calc(var(--header-height) + 30px);
}

.hero {
  position: relative;
  min-height: auto;
  padding: calc(var(--header-height) + 48px) 0 0;
  overflow: hidden;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(43, 43, 43, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 43, 43, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.hero-orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.8;
  animation: orbFloat 10s ease-in-out infinite alternate;
}

.hero-orb-one {
  width: clamp(200px, 34vw, 480px);
  height: clamp(200px, 34vw, 480px);
  left: -12%;
  top: 18%;
  background: rgba(125, 145, 120, 0.18);
}

.hero-orb-two {
  width: clamp(180px, 25vw, 340px);
  height: clamp(180px, 25vw, 340px);
  right: -8%;
  bottom: 18%;
  background: rgba(215, 200, 149, 0.32);
  animation-delay: -4s;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--container));
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.82fr);
  align-items: start;
  column-gap: clamp(30px, 4.6vw, 58px);
  row-gap: clamp(18px, 3vw, 30px);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 950;
  letter-spacing: -0.032em;
  line-height: 0.96;
}

h1 {
  max-width: 880px;
  margin-bottom: 26px;
  font-size: clamp(3.8rem, 8.4vw, 8.8rem);
  text-transform: uppercase;
}

h1 span {
  display: block;
  max-width: 780px;
  margin-top: 10px;
  color: var(--green);
  font-size: clamp(2.15rem, 4.2vw, 4.6rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.9rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.45rem, 2.45vw, 2.05rem);
  text-transform: uppercase;
}

.lead {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions,
.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: auto auto 0 50%;
  z-index: -1;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  transform: translate(-50%, 50%);
  transition: width 0.35s ease, height 0.35s ease;
}

.button:hover::after,
.button:focus-visible::after {
  width: 140%;
  height: 220%;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.button-primary {
  color: var(--cream);
  background: var(--green-deep);
  box-shadow: 0 18px 40px rgba(51, 66, 47, 0.22);
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
  border-color: var(--line);
}

.hero-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(8px, 2vw, 18px);
  max-width: none;
}

.hero-meta div,
.about-points div {
  min-height: 98px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(43, 43, 43, 0.08);
  border-radius: var(--radius-md);
}

.hero-meta span,
.about-points span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-meta strong,
.about-points strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-size: 1.35rem;
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  align-self: start;
  min-height: 0;
  padding-top: clamp(14px, 2.6vw, 34px);
}

.portrait-card {
  position: relative;
  width: min(500px, 92vw);
  margin: 0;
  padding: 10px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.88), rgba(125, 145, 120, 0.36)),
    var(--cream);
  border: 1px solid rgba(43, 43, 43, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 90px rgba(43, 43, 43, 0.22);
  transform-style: preserve-3d;
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 28px -22px -22px 32px;
  z-index: -1;
  background: var(--green);
  border-radius: var(--radius-xl);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 26px;
}

.portrait-card figcaption {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  padding: 16px 18px;
  color: var(--cream);
  background: rgba(43, 43, 43, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(43, 43, 43, 0.24);
  backdrop-filter: blur(14px);
}

.portrait-card figcaption span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
  font-weight: 800;
}

.portrait-card figcaption strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.vote-badge {
  position: absolute;
  top: 28px;
  right: 8px;
  z-index: 4;
  width: clamp(132px, 13vw, 164px);
  height: clamp(132px, 13vw, 164px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 16px;
  text-align: center;
  color: var(--cream);
  background: var(--green);
  border-radius: 50%;
  border: 8px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 24px 50px rgba(43, 43, 43, 0.22);
  animation: floatBadge 5.4s ease-in-out infinite;
}

.vote-badge strong {
  font-size: clamp(3.2rem, 5.6vw, 4.1rem);
}

.vote-badge span {
  max-width: 8.2em;
  font-size: clamp(0.56rem, 0.9vw, 0.68rem);
  line-height: 1.05;
}

.vote-badge small {
  max-width: 8.8em;
  font-size: clamp(0.62rem, 1vw, 0.78rem);
  line-height: 1.05;
}

.marquee {
  position: relative;
  z-index: 2;
  margin-top: clamp(26px, 3.6vw, 48px);
  padding: 16px 0;
  color: var(--cream);
  background: var(--ink);
  overflow: hidden;
  transform: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 36px;
  animation: marquee 26s linear infinite;
}

.marquee span {
  position: relative;
  font-family: var(--font-display);
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: -0.03em;
  font-size: clamp(1rem, 2.35vw, 1.7rem);
}

.marquee span::after {
  content: "•";
  margin-left: 36px;
  color: var(--gold);
}

.intro-section {
  padding-top: clamp(36px, 4.4vw, 64px);
}

.intro-card {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(28px, 5vw, 58px);
  background: rgba(255, 253, 248, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.intro-card h2,
.section-heading h2,
.about-copy h2,
.video-copy h2,
.podcast-copy h2,
.mesto-card h2,
.account-copy h2,
.engagement-copy h2 {
  margin-bottom: clamp(16px, 2.1vw, 26px);
}

.intro-card p:last-child,
.intro-copy p,
.section-heading p,
.video-copy p,
.podcast-copy p,
.mesto-card p,
.engagement-copy p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.intro-copy p {
  margin-bottom: 16px;
}

.intro-copy blockquote {
  margin: 24px 0 0;
  padding: 18px 20px;
  color: var(--green-deep);
  background: rgba(125, 145, 120, 0.12);
  border-left: 5px solid var(--green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-weight: 950;
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase;
}

.section-heading {
  max-width: 840px;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.program-section {
  color: var(--cream);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.16), transparent 34rem),
    linear-gradient(180deg, var(--green), var(--green-deep));
  overflow: hidden;
}

.program-section .section-kicker,
.program-section .section-heading p {
  color: rgba(255, 255, 255, 0.82);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 2.6vw, 28px);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
}

.program-card span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--green-deep);
  background: var(--cream);
  border-radius: 50%;
  font-weight: 950;
}

.program-card h3 {
  margin: auto 0 12px;
}

.program-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(34px, 7vw, 94px);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 30px -20px -20px 26px;
  z-index: -1;
  background: var(--green);
  border-radius: var(--radius-xl);
}

.about-media img {
  width: 100%;
  height: min(620px, 78vh);
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.about-quote {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  padding: 18px 20px;
  color: var(--cream);
  background: rgba(43, 43, 43, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(43, 43, 43, 0.24);
  backdrop-filter: blur(14px);
}

.about-quote span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-quote strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.about-points div {
  height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(125, 145, 120, 0.12);
}

.about-points strong {
  margin: 0 0 8px;
}

.about-points span {
  line-height: 1.32;
  font-size: 0.98rem;
}

.video-section {
  color: var(--cream);
  background: var(--ink);
  overflow: hidden;
  padding-block: clamp(40px, 5vh, 70px);
}

.video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 10%, rgba(125, 145, 120, 0.34), transparent 30rem),
    radial-gradient(circle at 16% 80%, rgba(215, 200, 149, 0.16), transparent 28rem);
  pointer-events: none;
}

.video-grid,
.podcast-grid,
.engagement-grid,
.faq-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.video-copy p,
.video-section .section-kicker {
  color: rgba(255, 255, 255, 0.76);
}

.video-copy h2 {
  max-width: 600px;
  font-size: clamp(2.15rem, 4.4vw, 4.3rem);
  line-height: 0.98;
}

.video-section .button-ghost {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.video-showcase {
  position: relative;
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(560px, 100%);
  padding-bottom: 48px;
  isolation: isolate;
}

.phone-device {
  position: relative;
  z-index: 2;
  width: auto;
  height: clamp(500px, calc(100svh - var(--header-height) - 154px), 690px);
  max-width: min(430px, calc(100% - 92px));
  aspect-ratio: 9 / 16;
  padding: 9px;
  background:
    linear-gradient(145deg, #181918, #555d51 42%, #171817);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
}

.phone-button {
  position: absolute;
  width: 5px;
  background: linear-gradient(180deg, #2f332d, #0e100e);
  border-radius: 999px;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.12);
}

.phone-button-left {
  top: 112px;
  left: -5px;
  height: 82px;
}

.phone-button-right {
  top: 150px;
  right: -5px;
  height: 116px;
}

.phone-glass {
  position: relative;
  width: 100%;
  height: 100%;
  background: #050605;
  border-radius: 29px;
  overflow: hidden;
}

.phone-camera {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 6;
  width: 72px;
  height: 20px;
  display: grid;
  place-items: center;
  background: #070807;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-camera span {
  width: 9px;
  height: 9px;
  background: radial-gradient(circle at 35% 35%, #637a84, #111 70%);
  border-radius: 50%;
}

.video-slider {
  position: relative;
  height: 100%;
}

.video-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px) scale(0.985);
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.video-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 29px;
  background: #111;
}

.carousel-controls {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: 100%;
  height: calc(100% - 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  pointer-events: none;
}

.carousel-arrow,
.carousel-dots button {
  border: 0;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.9rem;
  line-height: 1;
  pointer-events: auto;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.carousel-dots {
  position: absolute;
  right: auto;
  bottom: -42px;
  left: 50%;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible,
.carousel-dots button:hover,
.carousel-dots button:focus-visible,
.carousel-dots button.is-active {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
}

.podcast-section {
  background: var(--beige);
}

.podcast-copy {
  align-self: start;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--green-deep);
  font-weight: 950;
}

.inline-link::after {
  content: "";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background-color: var(--green);
  background-image: var(--external-arrow-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px 15px;
  border-radius: 50%;
}

.podcast-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.podcast-links a {
  min-height: 210px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 44px rgba(43, 43, 43, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.podcast-links a:hover,
.podcast-links a:focus-visible {
  background: rgba(125, 145, 120, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(43, 43, 43, 0.12);
}

.podcast-links span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--green);
  border-radius: 50%;
  font-weight: 950;
}

.podcast-links span.external-link-badge {
  background-color: var(--green);
  background-image: var(--external-arrow-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.podcast-links strong {
  display: block;
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  font-size: 2rem;
}

.podcast-links small {
  color: var(--muted);
}

.mesto-section {
  padding-top: clamp(44px, 5vw, 78px);
  padding-bottom: clamp(48px, 5vw, 84px);
  background:
    linear-gradient(180deg, rgba(43, 43, 43, 0.04), rgba(43, 43, 43, 0.015) 30%, rgba(43, 43, 43, 0.035) 100%),
    var(--beige);
  border-top: 1px solid rgba(125, 145, 120, 0.13);
}

.mesto-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.86fr);
  gap: clamp(32px, 4.4vw, 68px);
  align-items: center;
  padding: clamp(34px, 4.8vw, 62px);
  color: var(--cream);
  background: var(--green-deep);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mesto-card::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -120px;
  width: 420px;
  height: 420px;
  background: rgba(215, 200, 149, 0.16);
  border-radius: 50%;
}

.mesto-card > * {
  position: relative;
  z-index: 1;
}

.mesto-card .section-kicker,
.mesto-card p {
  color: rgba(255, 255, 255, 0.78);
}

.mesto-title {
  max-width: 9.2em;
  margin-bottom: 0;
  font-size: clamp(3.05rem, 6.2vw, 5.45rem);
  line-height: 0.9;
}

.mesto-title span,
.mesto-title em {
  display: block;
}

.mesto-title em {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-top: 12px;
  padding: 12px 18px 14px;
  color: var(--green-deep);
  background: var(--cream);
  border-radius: 999px;
  font-style: normal;
  font-size: clamp(1.05rem, 1.8vw, 1.52rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.mesto-title em::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 28px;
  width: 18px;
  height: 18px;
  background: var(--cream);
  transform: rotate(45deg);
}

.mesto-countdown-note {
  max-width: 34rem;
  margin: 20px 0 0;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.45;
}

.mesto-card .button-primary {
  color: var(--green-deep);
  background: var(--cream);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.mesto-card .button-ghost {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.mesto-copy {
  max-width: 610px;
}

.mesto-contact-side {
  display: grid;
  align-self: start;
  gap: 18px;
  padding-top: clamp(8px, 1.4vw, 18px);
}

.mesto-contact-intro {
  display: grid;
  gap: 10px;
  max-width: 36rem;
  padding-left: 18px;
  border-left: 3px solid rgba(215, 200, 149, 0.72);
}

.mesto-contact-intro span {
  color: #d7c895;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mesto-contact-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 1.45vw, 1.24rem);
  line-height: 1.42;
}

.mesto-links {
  align-self: center;
  width: min(100%, 520px);
  grid-template-columns: 1fr;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(125, 145, 120, 0.18)),
    var(--cream);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.16);
}

.mesto-links a {
  min-height: 60px;
}

.mesto-card .countdown {
  width: min(100%, 490px);
  max-width: none;
  margin-top: clamp(18px, 2.4vw, 26px);
  gap: 10px;
}

.mesto-card .countdown div {
  min-height: clamp(82px, 8vw, 98px);
  padding: 12px 10px;
  background: rgba(255, 253, 248, 0.94);
  border-color: rgba(255, 255, 255, 0.28);
}

.mesto-card .countdown strong {
  display: block;
  width: 100%;
  color: var(--ink);
  letter-spacing: -0.015em;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 0.88;
}

.mesto-card .countdown span {
  color: var(--muted);
}

.issue-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.issue-stack span {
  padding: 16px 20px;
  color: var(--green-deep);
  background: var(--cream);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 950;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.account-section {
  padding-top: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(34px, 4vw, 58px);
  background:
    linear-gradient(180deg, rgba(245, 243, 238, 0), rgba(125, 145, 120, 0.08) 100%),
    var(--beige);
}

.account-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.72fr);
  gap: clamp(28px, 4.4vw, 58px);
  align-items: start;
  padding: clamp(28px, 3.8vw, 44px);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(125, 145, 120, 0.16)),
    var(--cream);
  border: 1px solid rgba(125, 145, 120, 0.22);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.account-card::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -200px;
  width: 430px;
  height: 430px;
  background: rgba(215, 200, 149, 0.24);
  border-radius: 50%;
}

.account-card > * {
  position: relative;
  z-index: 1;
}

.account-copy p {
  color: var(--ink-soft);
  max-width: 64ch;
  font-size: 0.98rem;
}

.account-card h2 {
  font-size: clamp(2.35rem, 3.8vw, 3.5rem);
}

.account-message {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(125, 145, 120, 0.24);
}

.account-message p {
  max-width: none;
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.account-message p:last-child {
  margin-bottom: 0;
}

.account-message .account-lead {
  color: var(--ink);
  font-size: 1.02rem;
}

.account-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.account-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 0;
}

.account-details div {
  padding: 14px 16px;
  background: rgba(125, 145, 120, 0.13);
  border: 1px solid rgba(125, 145, 120, 0.22);
  border-radius: var(--radius-md);
}

.account-details span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.account-details strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  word-break: break-word;
}

.account-details div:first-child strong {
  white-space: normal;
}

.account-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 0;
}

.account-actions .button {
  min-height: 48px;
  padding: 12px 17px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.account-qr {
  justify-self: center;
  width: min(260px, 100%);
  margin: 8px 0 0;
  padding: 16px;
  background: var(--cream);
  border: 1px solid rgba(43, 43, 43, 0.1);
  border-radius: 24px;
  box-shadow: 0 28px 64px rgba(43, 43, 43, 0.14);
}

.account-qr img {
  width: 100%;
  background: #fff;
  border-radius: 14px;
}

.engagement-section {
  padding-top: clamp(30px, 4.2vw, 58px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.45) 100%),
    var(--beige);
}

.engagement-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.78fr);
}

.engagement-copy {
  max-width: 680px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.countdown div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 128px;
  min-width: 0;
  padding: 18px;
  text-align: center;
  background: rgba(255, 253, 248, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.countdown strong {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  font-family: var(--font-display);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: -0.025em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.countdown span {
  display: block;
  width: 100%;
  color: var(--muted);
  text-align: center;
  line-height: 1;
  font-size: 0.9rem;
}

.engagement-panel {
  position: relative;
  display: grid;
  align-content: center;
  gap: 20px;
  min-height: 100%;
  padding: clamp(28px, 4vw, 48px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.engagement-panel::before {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 270px;
  height: 270px;
  background: rgba(125, 145, 120, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.engagement-panel > * {
  position: relative;
  z-index: 1;
}

.panel-kicker {
  margin: 0;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.engagement-panel h3 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.engagement-panel p:not(.panel-kicker) {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.engagement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.engagement-direct {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 6px;
}

.engagement-direct a {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  color: var(--ink);
  background: rgba(125, 145, 120, 0.1);
  border: 1px solid rgba(125, 145, 120, 0.18);
  border-radius: 18px;
}

.engagement-direct span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.engagement-direct strong {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.engagement-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.engagement-social a {
  padding: 10px 14px;
  color: var(--green-deep);
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 950;
}

.engagement-direct a:hover,
.engagement-direct a:focus-visible,
.engagement-social a:hover,
.engagement-social a:focus-visible {
  background: rgba(125, 145, 120, 0.16);
}

.faq-section {
  padding-top: clamp(52px, 7vw, 92px);
  padding-bottom: clamp(20px, 3vw, 42px);
  background:
    linear-gradient(180deg, rgba(125, 145, 120, 0.07), rgba(125, 145, 120, 0.07)),
    var(--beige);
}

.faq-grid {
  align-items: start;
}

.accordion {
  display: grid;
  gap: 12px;
}

details {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(43, 43, 43, 0.06);
  overflow: hidden;
}

summary {
  padding: 22px 24px;
  font-family: var(--font-display);
  font-weight: 950;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-size: 1.35rem;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--ink-soft);
}

.contact-section {
  padding-top: 0;
  background:
    linear-gradient(180deg, rgba(125, 145, 120, 0.07), rgba(125, 145, 120, 0.07)),
    var(--beige);
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(125, 145, 120, 0.14)),
    var(--cream);
  border: 1px solid rgba(125, 145, 120, 0.24);
  border-radius: 30px;
  box-shadow: 0 24px 58px rgba(43, 43, 43, 0.1);
}

.contact-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 16px 18px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(43, 43, 43, 0.08);
  border-radius: 999px;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: inset 0 -1px 0 rgba(125, 145, 120, 0.16);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card a::after {
  content: "";
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background-color: var(--green);
  background-image: var(--external-arrow-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px 15px;
  border-radius: 50%;
}

.engagement-contacts {
  grid-column: 1 / -1;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  background: rgba(125, 145, 120, 0.16);
  box-shadow: 0 16px 34px rgba(43, 43, 43, 0.1);
  transform: translateX(4px);
}

.mesto-links.contact-card {
  grid-template-columns: 1fr;
}

.mesto-links.contact-card a {
  border-radius: 22px;
  white-space: normal;
}

.site-footer {
  padding: clamp(42px, 5vw, 64px) 0;
  color: rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(circle at 88% 20%, rgba(125, 145, 120, 0.18), transparent 24rem),
    var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.site-footer p {
  margin: 0;
}

.footer-copy {
  display: grid;
  gap: 10px;
}

.footer-privacy {
  width: fit-content;
  margin-top: 6px;
  color: var(--cream);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(168, 184, 158, 0.45);
  text-underline-offset: 5px;
}

.footer-logo-plate {
  width: fit-content;
  max-width: 100%;
  display: block;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.footer-logo {
  width: min(220px, 100%);
  height: auto;
  display: block;
}

.footer-facts {
  margin: 0;
  display: grid;
  gap: 11px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}

.footer-facts div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.footer-facts dt {
  color: #a8b89e;
  font-family: var(--font-display);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
  white-space: nowrap;
}

.footer-facts dd {
  margin: 0;
  color: var(--cream);
  font-size: 0.94rem;
  line-height: 1.45;
}

.footer-info {
  display: grid;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  color: var(--cream);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding: 0 0 5px;
  color: var(--cream);
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(168, 184, 158, 0.34);
  border-radius: 0;
  font-weight: 900;
  font-size: 0.9rem;
}

.footer-links a + a::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  background: #a8b89e;
  border-radius: 50%;
  opacity: 0.75;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

.tilt-card {
  will-change: transform;
  transform-style: preserve-3d;
}

@keyframes badgePop {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-10px) scale(1.03); }
}

@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, -34px, 0) scale(1.08); }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 1060px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    padding-left: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 22px);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 8px;
    padding: 18px;
    background: rgba(245, 243, 238, 0.96);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 16px;
  }

  .hero-grid,
  .intro-card,
  .about-grid,
  .video-grid,
  .podcast-grid,
  .mesto-card,
  .account-card,
  .engagement-grid,
  .faq-grid,
  .contact-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
    gap: clamp(22px, 4vw, 44px);
  }

  .hero-media {
    min-height: auto;
    padding-top: 10px;
  }

  .portrait-card {
    width: min(430px, 88vw);
  }

  .about-media {
    width: min(460px, 100%);
    justify-self: center;
  }

  .video-showcase {
    width: min(560px, 100%);
  }

  .phone-device {
    width: min(370px, calc(100% - 128px));
    height: auto;
  }

  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .footer-facts div {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 12px;
  }

  .footer-links {
    align-items: center;
    flex-direction: row;
    gap: 10px 18px;
  }

  .footer-links a + a::before {
    content: "";
  }

  .mesto-card,
  .issue-stack {
    justify-content: flex-start;
  }

  .mesto-contact-side {
    padding-top: 0;
  }

  .account-qr {
    justify-self: center;
  }
}

@media (min-width: 721px) and (max-width: 1060px) {
  .mesto-card {
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.78fr);
    gap: clamp(24px, 3.4vw, 42px);
    padding: clamp(30px, 4vw, 46px);
  }

  .mesto-card .section-kicker {
    margin-bottom: 14px;
  }

  .mesto-title {
    max-width: 8.8em;
    font-size: clamp(2.6rem, 5.4vw, 4.05rem);
  }

  .mesto-title em {
    margin-top: 10px;
    padding: 10px 15px 12px;
    font-size: clamp(0.96rem, 1.8vw, 1.18rem);
  }

  .mesto-countdown-note {
    margin-top: 16px;
    font-size: 0.96rem;
  }

  .mesto-card .countdown {
    width: min(100%, 430px);
    gap: 8px;
  }

  .mesto-card .countdown div {
    min-height: 82px;
    border-radius: 16px;
  }

  .mesto-card .countdown strong {
    font-size: clamp(1.85rem, 4.4vw, 2.45rem);
  }

  .mesto-contact-side {
    gap: 14px;
    padding-top: 4px;
  }

  .mesto-contact-intro {
    gap: 8px;
    padding-left: 14px;
  }

  .mesto-contact-text {
    font-size: 0.98rem;
  }

  .mesto-links {
    padding: 10px;
    border-radius: 22px;
  }

  .mesto-links.contact-card a {
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .site-header {
    width: calc(100% - 18px);
    top: 8px;
  }

  h1 {
    font-size: clamp(3.05rem, 15vw, 4.55rem);
    line-height: 0.9;
  }

  h1 span {
    max-width: 12em;
    font-size: clamp(1.85rem, 8vw, 2.65rem);
  }

  h2 {
    font-size: clamp(2rem, 9.4vw, 3.1rem);
    line-height: 0.98;
  }

  h3 {
    font-size: clamp(1.32rem, 7vw, 1.72rem);
  }

  .lead {
    font-size: 1.02rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 28px);
    min-height: auto;
  }

  .hero-grid {
    width: min(calc(100% - 36px), var(--container));
  }

  .section[id] {
    scroll-margin-top: calc(var(--header-height) + 18px);
  }

  .site-footer {
    padding: 30px 0;
  }

  .back-to-top {
    right: max(14px, calc(env(safe-area-inset-right) + 14px));
    bottom: max(14px, calc(env(safe-area-inset-bottom) + 14px));
    width: 50px;
    height: 50px;
  }

  .back-to-top svg {
    width: 25px;
    height: 25px;
  }

  .faq-section {
    padding-bottom: 58px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-copy {
    gap: 6px;
  }

  .footer-privacy {
    margin-top: 2px;
    font-size: 0.9rem;
  }

  .footer-facts {
    gap: 8px;
  }

  .footer-facts div {
    grid-template-columns: minmax(118px, 0.38fr) minmax(0, 1fr);
    gap: 10px;
  }

  .footer-facts dt {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .footer-facts dd {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    align-items: start;
  }

  .footer-links a {
    min-height: 0;
    width: fit-content;
  }

  .footer-links a + a::before {
    content: none;
  }

  .hero-meta,
  .about-points,
  .podcast-links,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    margin-top: 28px;
  }

  .countdown {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-actions,
  .video-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-meta div,
  .about-points div {
    min-height: auto;
  }

  .about-points div {
    height: 112px;
    padding: 16px;
  }

  .about-points span {
    font-size: 0.95rem;
    line-height: 1.28;
  }

  .portrait-card {
    width: min(330px, calc(100vw - 72px));
    padding: 8px;
    border-radius: 28px;
  }

  .portrait-card::before {
    inset: 20px -12px -14px 18px;
  }

  .portrait-card img {
    border-radius: 22px;
  }

  .portrait-card figcaption {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: min(246px, calc(100% - 28px));
    padding: 10px 12px;
    border-radius: 16px;
  }

  .portrait-card figcaption span {
    font-size: 0.68rem;
  }

  .portrait-card figcaption strong {
    max-width: none;
    font-size: clamp(0.86rem, 3.95vw, 0.98rem);
    line-height: 0.98;
  }

  .vote-badge {
    top: 4px;
    right: -2px;
    width: 86px;
    height: 86px;
    padding: 10px;
    border-width: 5px;
    box-shadow: 0 18px 34px rgba(43, 43, 43, 0.2);
  }

  .vote-badge span {
    font-size: 0.43rem;
    letter-spacing: 0.05em;
  }

  .vote-badge strong {
    font-size: 2.15rem;
  }

  .vote-badge small {
    font-size: 0.5rem;
    line-height: 1;
  }

  .marquee {
    margin-top: 42px;
    padding: 12px 0;
  }

  .intro-card,
  .contact-card,
  .mesto-card {
    border-radius: 22px;
  }

  .mesto-card {
    gap: 20px;
    padding: 28px 24px;
  }

  .mesto-card .section-kicker {
    margin-bottom: 14px;
  }

  .mesto-card .mesto-title {
    max-width: 8.5em;
    font-size: clamp(2.15rem, 11.2vw, 3.25rem);
    line-height: 0.92;
  }

  .mesto-title em {
    margin-top: 10px;
    padding: 9px 13px 10px;
    border-radius: 18px;
    font-size: clamp(0.92rem, 4.5vw, 1.08rem);
    line-height: 1.08;
  }

  .mesto-title em::before {
    top: -7px;
    left: 22px;
    width: 14px;
    height: 14px;
  }

  .mesto-countdown-note {
    margin-top: 16px;
    font-size: 0.94rem;
    line-height: 1.38;
  }

  .mesto-card p {
    font-size: 0.96rem;
  }

  .mesto-contact-side {
    gap: 14px;
    padding-top: 0;
  }

  .mesto-contact-text {
    font-size: 0.96rem;
    line-height: 1.38;
  }

  .mesto-card .countdown {
    width: 100%;
    margin-top: 16px;
    gap: 8px;
  }

  .mesto-card .countdown div {
    min-height: 82px;
    padding: 10px 6px;
    border-radius: 16px;
  }

  .mesto-card .countdown strong {
    font-size: clamp(1.85rem, 10vw, 2.38rem);
  }

  .mesto-card .button {
    width: auto;
    align-self: flex-start;
    padding-right: 22px;
    padding-left: 22px;
  }

  .mesto-links {
    padding: 10px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
  }

  .mesto-links.contact-card a {
    min-height: 56px;
    padding: 13px 14px;
    border-radius: 18px;
    font-size: 0.95rem;
  }

  .mesto-links.contact-card a::after {
    width: 30px;
    height: 30px;
    background-size: 14px 14px;
  }

  .program-card {
    min-height: 0;
    padding: 20px;
  }

  .program-card span {
    width: 42px;
    height: 42px;
  }

  .program-card h3 {
    margin: 28px 0 10px;
  }

  .program-card p {
    font-size: 0.92rem;
  }

  .about-media::before {
    inset: 18px -12px -12px 14px;
  }

  .about-quote {
    position: relative;
    z-index: 2;
    right: auto;
    bottom: auto;
    left: auto;
    margin: -78px 14px 0;
    color: var(--cream);
  }

  .about-media img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .video-showcase {
    width: min(450px, 100%);
    padding-bottom: 58px;
  }

  .phone-device {
    width: min(318px, calc(100% - 116px));
    height: auto;
    border-radius: 30px;
    padding: 7px;
  }

  .phone-glass,
  .video-slide video {
    border-radius: 22px;
  }

  .phone-camera {
    width: 58px;
    height: 17px;
    top: 8px;
  }

  .phone-camera span {
    width: 7px;
    height: 7px;
  }

  .carousel-controls {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(450px, 100%);
    height: calc(100% - 58px);
    justify-content: space-between;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.58rem;
  }

  .podcast-links {
    gap: 12px;
  }

  .podcast-links a {
    min-height: 142px;
    padding: 20px;
    border-radius: 20px;
  }

  .podcast-links span {
    width: 42px;
    height: 42px;
    font-size: 0.86rem;
  }

  .podcast-links strong {
    margin-top: 18px;
    font-size: 1.62rem;
  }

  .carousel-dots {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
  }

  .issue-stack span {
    padding: 12px 14px;
    font-size: 1.05rem;
  }

  .account-section {
    padding-top: 34px;
  }

  .account-message {
    grid-template-columns: 1fr;
  }

  .account-card {
    width: min(calc(100% - 40px), 760px);
    padding: 24px;
    border-radius: 22px;
  }

  .account-card::after {
    right: -230px;
    bottom: -210px;
  }

  .account-details {
    grid-template-columns: 1fr;
  }

  .account-details div {
    padding: 12px 14px;
  }

  .account-actions {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .account-actions .button {
    width: 100%;
  }

  .account-details div:first-child strong {
    white-space: normal;
  }

  .account-qr {
    width: min(280px, 100%);
    justify-self: center;
    margin-top: 4px;
    padding: 12px;
    border-radius: 22px;
  }

  .account-qr img {
    border-radius: 14px;
  }

  .countdown div {
    min-height: 104px;
    padding: 12px 8px;
  }

  .countdown strong {
    font-size: clamp(1.9rem, 12vw, 2.55rem);
  }

  .contact-card {
    padding: 12px;
  }

  .contact-card a {
    align-items: center;
    flex-direction: row;
    border-radius: 20px;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .back-to-top {
    width: 46px;
    height: 46px;
  }

  .mesto-card {
    padding: 24px 18px;
  }

  .mesto-card .mesto-title {
    font-size: clamp(2rem, 10.5vw, 2.75rem);
  }

  .mesto-title em {
    font-size: 0.9rem;
  }

  .mesto-countdown-note,
  .mesto-contact-text {
    font-size: 0.9rem;
  }

  .mesto-card .countdown {
    gap: 6px;
  }

  .mesto-card .countdown div {
    min-height: 74px;
    padding: 9px 4px;
    border-radius: 14px;
  }

  .mesto-card .countdown strong {
    font-size: clamp(1.62rem, 9vw, 2.08rem);
  }

  .mesto-card .countdown span {
    font-size: 0.72rem;
  }

  .mesto-links.contact-card a {
    gap: 10px;
    min-height: 50px;
    padding: 11px 12px;
    font-size: 0.86rem;
  }

  .portrait-card {
    width: min(315px, calc(100vw - 58px));
  }

  .portrait-card figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .vote-badge {
    top: -2px;
    right: -4px;
    width: 76px;
    height: 76px;
    border-width: 4px;
  }

  .vote-badge strong {
    font-size: 1.85rem;
  }

  .vote-badge span {
    font-size: 0.38rem;
  }

  .vote-badge small {
    font-size: 0.45rem;
  }

  .phone-device {
    width: min(300px, calc(100% - 92px));
    height: auto;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
