:root {
  --background: 0 0% 0%;
  --foreground: 0 0% 100%;
  --card: 0 0% 5%;
  --card-foreground: 0 0% 100%;
  --primary: 0 0% 100%;
  --primary-foreground: 0 0% 0%;
  --secondary: 0 0% 12%;
  --secondary-foreground: 0 0% 85%;
  --muted: 0 0% 15%;
  --muted-foreground: 0 0% 65%;
  --accent: 170 15% 45%;
  --accent-foreground: 0 0% 100%;
  --border: 0 0% 20%;
  --input: 0 0% 18%;
  --ring: 0 0% 40%;
  --hero-subtitle: 210 17% 95%;
  --radius: 0.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: hsl(var(--border) / 1);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.flash-public {
  max-width: 42rem;
  margin: 5.5rem auto 0;
  padding: 0.85rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  text-align: center;
  border: 1px solid hsl(var(--border));
}

.flash-public--ok {
  background: hsl(0 0% 8%);
  color: hsl(var(--hero-subtitle));
}

.flash-public--err {
  background: hsl(0 0% 10%);
  color: hsl(var(--muted-foreground));
}

.font-serif {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
}

.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;
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.text-hero-subtitle {
  color: hsl(var(--hero-subtitle));
}

.text-fg {
  color: hsl(var(--foreground));
}

.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Fade-up reveal (replaces Framer whileInView) */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Layout helpers */
.container-narrow {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container-narrow {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 2rem;
}

@media (min-width: 768px) {
  .site-header {
    padding: 1rem 7rem;
  }
}

.site-header__inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark--nav {
  width: 1.75rem;
  height: 1.75rem;
}

.logo-mark--nav .logo-mark__inner {
  width: 0.75rem;
  height: 0.75rem;
  border-width: 1px;
}

.logo-mark--cta {
  width: 2.5rem;
  height: 2.5rem;
}

.logo-mark--cta .logo-mark__inner {
  width: 1.25rem;
  height: 1.25rem;
  border-width: 1px;
}

.logo-mark__ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 2px solid hsl(var(--foreground) / 0.6);
}

.logo-mark__inner {
  position: relative;
  z-index: 1;
  border-radius: 9999px;
  border: 1px solid hsl(var(--foreground) / 0.6);
}

.nav-primary {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding-left: 1.5rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .nav-primary {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .nav-primary {
    padding-left: 3rem;
  }
}

.nav-primary a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.nav-primary a:hover {
  color: hsl(var(--foreground));
}

.nav-primary__sep {
  color: hsl(var(--muted-foreground) / 0.5);
}

.social-row {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  color: hsl(var(--foreground));
  text-decoration: none;
}

.social-btn svg {
  width: 1rem;
  height: 1rem;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__fade {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 16rem;
  background: linear-gradient(to top, hsl(var(--background)), transparent);
}

.hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 7rem 1.5rem 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hero__content {
    padding-top: 8rem;
  }
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-proof__stat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-availability {
  font-size: 0.8125rem;
  margin: 0 0 0.5rem;
}

.hero-proof__text {
  margin: 0;
  max-width: 20rem;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.45;
}

@media (min-width: 640px) {
  .hero-proof {
    flex-wrap: nowrap;
  }

  .hero-proof__text {
    text-align: left;
    max-width: none;
  }
}

.service-visual {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: hsl(var(--foreground) / 0.85);
}

.hero__title {
  max-width: 56rem;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.05;
}

.hero__title em {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.05em;
}

.hero__lead {
  margin: 1.5rem auto 0;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

.hero__form {
  margin-top: 2.5rem;
  display: flex;
  width: 100%;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.5rem;
}

@media (min-width: 640px) {
  .hero__form {
    flex-direction: row;
    align-items: center;
  }
}

.hero__form input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  outline: none;
}

.hero__form input::placeholder {
  color: hsl(var(--muted-foreground));
}

.btn-subscribe {
  flex-shrink: 0;
  border: 0;
  border-radius: 9999px;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.btn-subscribe:hover {
  transform: scale(1.03);
}

.btn-subscribe:active {
  transform: scale(0.98);
}

.hero__cta-wrap {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.contact-modal[hidden] {
  display: none !important;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.contact-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem 1.5rem;
  color: hsl(var(--foreground));
}

.contact-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.contact-modal__close:hover {
  color: hsl(var(--foreground));
}

.contact-modal__title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding-right: 2rem;
}

.contact-modal__lead {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.contact-modal__tg-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-modal__tg {
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 8rem;
  text-align: center;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
  background: hsl(0 0% 8% / 0.6);
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.contact-modal__tg:hover {
  border-color: hsl(0 0% 100% / 0.25);
  background: hsl(0 0% 12% / 0.75);
}

.contact-modal__divider {
  margin: 1.25rem 0 1rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.contact-modal__divider span {
  padding: 0 0.5rem;
}

.contact-modal__form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-modal__label {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.contact-modal__input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  background: hsl(0 0% 6%);
  color: hsl(var(--foreground));
  outline: none;
}

.contact-modal__input:focus {
  border-color: hsl(0 0% 100% / 0.35);
}

.contact-modal__submit {
  width: 100%;
  margin-top: 0.25rem;
  border-radius: 0.5rem;
}

.contact-modal__feedback {
  margin: 1rem 0 0;
  min-height: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.contact-modal__feedback.contact-modal__feedback--ok {
  color: #22c55e;
}

.contact-modal__feedback.contact-modal__feedback--err {
  color: hsl(0 0% 72%);
}

/* Sections */
.section-search {
  max-width: 72rem;
  margin: 0 auto;
  padding: 13rem 1.5rem 1.5rem;
}

@media (min-width: 768px) {
  .section-search {
    padding-top: 16rem;
    padding-bottom: 2.25rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.section-search h2 {
  text-align: center;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.05;
}

.section-search h2 em {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.05em;
}

.section-search__sub {
  margin: 1.5rem auto 6rem;
  max-width: 42rem;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.6;
}

.platform-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .platform-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.platform-card img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.platform-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.platform-card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}

.section-search__tag {
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Mission */
.section-mission video {
  display: block;
  margin: 0 auto;
  width: min(800px, 92vw);
  height: min(800px, 92vw);
  object-fit: cover;
}

#mission-track {
  position: relative;
  min-height: 240vh;
}

.mission-sticky {
  position: sticky;
  top: 6rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

@media (min-width: 768px) {
  .mission-sticky {
    top: 7rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.mission-p1 {
  margin: 0;
  font-size: clamp(1.375rem, 3vw, 3rem);
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.25;
}

.mission-p2 {
  margin: 2.5rem 0 0;
  font-size: clamp(1.125rem, 2.2vw, 1.875rem);
  font-weight: 500;
  line-height: 1.35;
}

.mission-word {
  display: inline;
  opacity: 0.15;
}

.section-mission {
  padding-bottom: 8rem;
}

@media (min-width: 768px) {
  .section-mission {
    padding-bottom: 11rem;
  }
}

.flex-center {
  display: flex;
  justify-content: center;
}

.mission-word--hl {
  color: hsl(var(--foreground));
}

.mission-word--muted {
  color: hsl(var(--hero-subtitle));
}

/* Solution */
.section-solution {
  border-top: 1px solid hsl(var(--border) / 0.3);
  padding: 8rem 1.5rem;
}

@media (min-width: 768px) {
  .section-solution {
    padding: 11rem 2.5rem;
  }
}

.section-solution__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.section-solution__label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.section-solution h2 {
  margin: 1rem 0 0;
  max-width: 56rem;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-solution h2 em {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
}

.solution-video-wrap {
  margin-top: 3rem;
  overflow: hidden;
  border-radius: 1rem;
}

.solution-video-wrap video {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  display: block;
}

.feature-grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-grid h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.feature-grid p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}

/* Портфолио — паттерн showcase-card (как desighn-site), монохром под токены сайта */
.section-portfolio {
  border-top: 1px solid hsl(var(--border) / 0.3);
  padding: clamp(4.5rem, 10vw, 7rem) 1.5rem;
}

@media (min-width: 768px) {
  .section-portfolio {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.section-portfolio__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.section-portfolio__head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section-portfolio__title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: hsl(var(--foreground));
}

.section-portfolio__dek {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.section-portfolio__list {
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 5vw, 4rem);
}

.section-portfolio__empty {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.section-portfolio__empty code {
  font-size: 0.85em;
}

.showcase-card {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: linear-gradient(145deg, hsl(0 0% 7% / 0.98) 0%, hsl(0 0% 3% / 0.99) 100%);
  box-shadow:
    inset 0 1px 0 0 hsl(var(--foreground) / 0.08),
    0 0 0 1px hsl(var(--foreground) / 0.12),
    0 24px 56px -24px rgba(0, 0, 0, 0.65);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.showcase-card:hover {
  transform: translateY(-2px);
  border-color: hsl(var(--foreground) / 0.22);
  box-shadow:
    inset 0 1px 0 0 hsl(var(--foreground) / 0.12),
    0 0 0 1px hsl(var(--foreground) / 0.12),
    0 0 64px -10px hsl(var(--foreground) / 0.12),
    0 28px 64px -28px rgba(0, 0, 0, 0.75);
}

@media (min-width: 960px) {
  .showcase-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 3rem;
    padding: 2.75rem 3rem 2.75rem 2.75rem;
  }

  .showcase-card--mirrored .showcase-card__visual {
    order: 1;
  }

  .showcase-card--mirrored .showcase-card__content {
    order: 2;
  }
}

.tags {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tags--showcase {
  margin: 0 0 1.25rem;
}

.tags__item {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 0.35rem;
  background: hsl(var(--foreground) / 0.1);
  border: 1px solid hsl(var(--foreground) / 0.22);
  color: hsl(var(--foreground) / 0.92);
}

.showcase-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.showcase-card__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
}

.showcase-card__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: hsl(var(--foreground));
}

.showcase-card__lead {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  color: hsl(var(--hero-subtitle));
  line-height: 1.5;
}

.showcase-card__text {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
}

.showcase-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--primary-foreground));
  background: hsl(var(--foreground));
  text-decoration: none;
  border: 1px solid hsl(var(--foreground));
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.showcase-card__cta:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
  box-shadow: 0 0 28px -4px hsl(var(--foreground) / 0.35);
}

.showcase-card__cta-icon {
  font-size: 1rem;
  line-height: 1;
}

.showcase-card__repo {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  border-bottom: 1px solid hsl(var(--foreground) / 0.2);
  padding-bottom: 0.1rem;
}

.showcase-card__repo:hover {
  color: hsl(var(--foreground));
  border-bottom-color: hsl(var(--foreground));
}

.showcase-card__frame {
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  box-shadow:
    0 20px 50px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px hsl(var(--foreground) / 0.12);
  line-height: 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s ease, box-shadow 0.25s ease;
}

.showcase-card__frame:hover,
.showcase-card__frame:focus-visible {
  opacity: 0.95;
  box-shadow:
    0 20px 50px -20px rgba(0, 0, 0, 0.85),
    0 0 0 1px hsl(var(--foreground) / 0.2);
}

.showcase-card__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.showcase-card__frame--empty {
  line-height: 1.5;
  min-height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--card));
}

.showcase-card__placeholder {
  padding: 1.5rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  max-width: 16rem;
}

/* CTA */
.section-cta {
  position: relative;
  overflow: hidden;
  border-top: 1px solid hsl(var(--border) / 0.3);
  padding: 8rem 1.5rem;
}

@media (min-width: 768px) {
  .section-cta {
    padding: 11rem 1.5rem;
  }
}

.section-cta__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-cta__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: hsl(var(--background) / 0.45);
}

.section-cta__content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
}

.section-cta h2 {
  margin: 2rem 0 0;
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-cta__sub {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.cta-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.btn-primary-lg:hover {
  transform: scale(1.02);
}

.btn-primary-lg:active {
  transform: scale(0.98);
}

.btn-glass-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: transform 0.15s ease;
}

.btn-glass-lg:hover {
  transform: scale(1.02);
}

.btn-glass-lg:active {
  transform: scale(0.98);
}

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 3rem 2rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
  .site-footer {
    flex-direction: row;
    align-items: center;
    padding-left: 7rem;
    padding-right: 7rem;
  }
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: hsl(var(--foreground));
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-link strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}
