@import url('./tokens.css');

/* ============================================================================
   VidiCity landing — components composed from the theme's tokens.

   Type scale: 13 / 16 / 20 / 25 / 31 / 39 / 49 px (0.8125 / 1 / 1.25 / 1.5625 /
   1.9375 / 2.4375 / 3.0625 rem). Steps are fixed, not fluid, so every rendered
   size lands exactly on a step — no accidental 17/18/20 cluster.
   Spacing: 4/8px rhythm. Accent (--vc-primary, the live brand blue #3498db) is
   reserved for the primary CTA fill, the h1 display gradient and link hovers;
   everything else is neutral text.
   ========================================================================= */

/* This page is pinned to the dark palette.

   tokens.css inherits the WordPress theme's light-mode override, which flips the
   whole surface to #f8f9fa. The product art on this page is navy, so a light
   surface puts dark images on white and drops the image captions below 4.5:1.
   Declaring color-scheme first asks the UA for a dark canvas; the re-assertions
   below then win on source order against the theme's prefers-color-scheme block,
   which is why they are repeated here rather than edited out of the shared file.
*/
:root { color-scheme: dark; }

@media (prefers-color-scheme: light) {
  :root {
    --vc-bg-primary: #2c3e50;
    --vc-bg-secondary: #22333f;
    --vc-bg-card: #3a4f66;
    --vc-bg-hover: #44607d;
    --vc-border: #54677d;
    --vc-border-light: #6a7d92;
    --vc-text-primary: #f8f9fa;
    --vc-text-secondary: #dbe3ea;
    --vc-text-muted: #b3c2cf;
    /* re-assert every text-bearing brand token: tokens.css's light block would
       otherwise hand a dark-mode surface a light-mode foreground (#2474b0 on
       #2c3e50 is 2.2:1). */
    --vc-primary: #3498db;
    --vc-primary-dark: #2980b9;
    --vc-primary-light: #8ccbf5;
    --vc-accent: #f4c542;
    --vc-gradient-hero: linear-gradient(135deg, #22333f 0%, #2c3e50 50%, #22333f 100%);
    --vc-gradient-text: linear-gradient(135deg, #8ccbf5 0%, #3498db 100%);
    --vc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --vc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--vc-font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--vc-text-secondary);
  background: var(--vc-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--vc-font-display);
  color: var(--vc-text-primary);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p { margin: 0; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* link text uses the light brand tint: #3498db itself is 3.48:1 on the canvas.
   :not(.btn) for the same specificity reason as the nav rule below — an
   unscoped a:hover (0,1,1) repaints .btn--primary's label on hover. */
a { color: var(--vc-primary-light); text-decoration: none; transition: color 0.2s var(--vc-ease); }
a:not(.btn):hover { color: var(--vc-text-primary); }

:focus-visible {
  outline: 2px solid var(--vc-primary-light);
  outline-offset: 3px;
  border-radius: var(--vc-radius-sm);
}

/* ---------- skip link ---------- */
.skip {
  position: absolute;
  left: var(--vc-spacing-md);
  top: -100px;
  z-index: 100;
  padding: 14px 20px;
  border-radius: var(--vc-radius-full);
  background: var(--vc-gradient-primary);
  color: #ffffff;
  font-weight: 700;
  transition: top 0.2s var(--vc-ease);
}
.skip:focus { top: var(--vc-spacing-md); color: #ffffff; }

/* ---------- layout ---------- */
.shell {
  width: 100%;
  max-width: var(--vc-maxw);
  margin-inline: auto;
  padding-inline: var(--vc-spacing-lg);
}

@media (max-width: 480px) {
  .shell { padding-inline: var(--vc-spacing-md); }
}

.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--vc-bg-primary) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vc-border);
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--vc-spacing-md);
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--vc-spacing-sm);
  min-height: 44px;               /* WCAG touch target */
  font-family: var(--vc-font-display);
  font-size: 1.25rem;             /* scale step 20 */
  font-weight: 700;
  color: var(--vc-text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--vc-radius-full);
  background: var(--vc-primary);
  box-shadow: var(--vc-shadow-glow);
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--vc-spacing-lg);
}

/* :not(.btn) is load-bearing — .nav a (0,1,1) was overriding .btn--primary
   (0,1,0) and repainting the header CTA text in secondary grey (1.27:1). */
.nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;               /* WCAG touch target (was 22px) */
  padding-inline: 4px;
  font-size: 1rem;                /* scale step 16 */
  font-weight: 500;
  color: var(--vc-text-secondary);
}

.nav a:not(.btn):hover { color: var(--vc-text-primary); }

@media (max-width: 900px) {
  .nav { gap: var(--vc-spacing-md); }
  .nav a.nav__hide { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--vc-spacing-sm);
  min-height: 44px;               /* WCAG touch target (was 41px) */
  padding: 12px 24px;             /* 4px rhythm */
  border-radius: var(--vc-radius-full);
  border: 1px solid transparent;
  font-family: var(--vc-font-sans);
  font-size: 1rem;                /* scale step 16 */
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--vc-ease), box-shadow 0.25s var(--vc-ease),
              background 0.2s var(--vc-ease), border-color 0.2s var(--vc-ease);
}

.btn--primary {
  background: var(--vc-gradient-primary);
  color: #ffffff;                 /* 4.61:1 on the light stop, 6.99:1 on the dark */
  box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--vc-primary) 55%, transparent);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px color-mix(in srgb, var(--vc-primary) 65%, transparent);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--vc-text-primary);
  border-color: var(--vc-border-light);
}
.btn--ghost:hover {
  background: var(--vc-bg-hover);
  border-color: var(--vc-primary);
  transform: translateY(-2px);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 10vw, 7rem) clamp(3rem, 8vw, 5rem);
  background: var(--vc-gradient-hero);
  overflow: hidden;
}

/* soft brand bloom — atmosphere, not decoration */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--vc-gradient-glow);
  pointer-events: none;
}

.hero__grid-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--vc-border) 45%, transparent) 1px, transparent 1px);
  background-size: 72px 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  opacity: 0.5;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--vc-spacing-sm);
  padding: 8px 12px;              /* 8px rhythm */
  margin-bottom: var(--vc-spacing-lg);
  border: 1px solid var(--vc-border-light);
  border-radius: var(--vc-radius-full);
  background: color-mix(in srgb, var(--vc-bg-card) 60%, transparent);
  font-size: 0.8125rem;           /* scale step 13 */
  font-weight: 500;
  color: var(--vc-text-secondary);
  letter-spacing: 0.01em;
}

.eyebrow b { color: var(--vc-primary-light); font-weight: 600; }

.hero h1 {
  font-size: 1.9375rem;           /* scale step 31 */
  margin-bottom: var(--vc-spacing-md);
  max-width: 17ch;
  text-wrap: balance;
}
@media (min-width: 600px) { .hero h1 { font-size: 2.4375rem; } }  /* 39 */
@media (min-width: 1100px) { .hero h1 { font-size: 3.0625rem; } } /* 49 */

.hero h1 em {
  font-style: normal;
  background: var(--vc-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  font-size: 1.25rem;             /* scale step 20 — reads as a lede (1.25x body) */
  line-height: 1.55;
  max-width: 54ch;
  margin-bottom: var(--vc-spacing-xl);
  color: var(--vc-text-secondary);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vc-spacing-md);
  margin-bottom: var(--vc-spacing-xl);
}

/* proof strip */
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vc-spacing-xl);
  padding-top: var(--vc-spacing-lg);
  border-top: 1px solid var(--vc-border);
}

.proof__item { display: flex; flex-direction: column; gap: 4px; }

.proof__n {
  font-family: var(--vc-font-display);
  font-size: 1.5625rem;           /* scale step 25 */
  font-weight: 700;
  color: var(--vc-text-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.proof__l {
  font-size: 0.8125rem;           /* scale step 13 */
  color: var(--vc-text-muted);
  letter-spacing: 0.02em;
}

/* hero visual: product shot + search panel */
.hero__visual { position: relative; min-width: 0; }

.hero__shot {
  position: relative;
  margin: 0 0 var(--vc-spacing-lg);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius-xl);
  overflow: hidden;
  background: var(--vc-bg-card);
  box-shadow: var(--vc-shadow-lg);
}

.hero__shot img { width: 100%; }

.hero__shot figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: var(--vc-spacing-md) var(--vc-spacing-lg);
  font-size: 0.8125rem;
  color: var(--vc-text-primary);
  background: linear-gradient(to top, color-mix(in srgb, var(--vc-bg-primary) 92%, transparent), transparent);
}

.panel {
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius-xl);
  background: var(--vc-bg-card);
  box-shadow: var(--vc-shadow-lg);
  overflow: hidden;
}

.panel__bar {
  display: flex;
  align-items: center;
  gap: var(--vc-spacing-sm);
  padding: var(--vc-spacing-md);
  border-bottom: 1px solid var(--vc-border);
  background: color-mix(in srgb, var(--vc-bg-secondary) 70%, transparent);
}

.panel__dots { display: flex; gap: 8px; }

.panel__dots i {
  width: 8px;
  height: 8px;
  border-radius: var(--vc-radius-full);
  background: var(--vc-border-light);
  display: block;
}

.panel__title {
  font-size: 0.8125rem;
  color: var(--vc-text-muted);
  letter-spacing: 0.02em;
}

.panel__body { padding: var(--vc-spacing-lg); display: grid; gap: var(--vc-spacing-lg); }

/* ---------- marketplace: search ---------- */
.search { display: grid; gap: var(--vc-spacing-md); }

.search__field { display: grid; gap: 4px; min-width: 0; }

.search__label {
  font-size: 0.8125rem;
  color: var(--vc-text-muted);
  letter-spacing: 0.02em;
}

.search__input,
.search__select {
  width: 100%;
  min-width: 0;
  min-height: 44px;               /* WCAG touch target */
  padding: 10px 12px;
  border: 1px solid var(--vc-border-light);
  border-radius: var(--vc-radius-md);
  background: color-mix(in srgb, var(--vc-bg-secondary) 60%, transparent);
  color: var(--vc-text-primary);
  font-family: var(--vc-font-sans);
  font-size: 1rem;
  line-height: 1.4;
}

.search__input::placeholder { color: var(--vc-text-muted); }

.search__input:focus,
.search__select:focus { border-color: var(--vc-primary); outline: none; }
.search__input:focus-visible,
.search__select:focus-visible { outline: 2px solid var(--vc-primary-light); outline-offset: 2px; }

/* secondary action: solid navy, not a second accent fill in the same section */
.search__btn {
  background: var(--vc-bg-primary);
  color: var(--vc-text-primary);
  border-color: var(--vc-border-light);
}
.search__btn:hover { background: var(--vc-bg-hover); transform: translateY(-2px); }

/* ---------- marketplace: worked example listing ---------- */
.listing {
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius-lg);
  background: color-mix(in srgb, var(--vc-bg-secondary) 55%, transparent);
  overflow: hidden;
}

.listing__shot {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--vc-border);
  background: var(--vc-bg-secondary);
}

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

.listing__play {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--vc-radius-full);
  background: var(--vc-gradient-primary);
  color: #ffffff;
  box-shadow: var(--vc-shadow-md);
}
.listing__play svg { width: 16px; height: 16px; }

.listing__dur {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 2px 8px;
  border-radius: var(--vc-radius-sm);
  background: color-mix(in srgb, #000000 70%, transparent);
  color: #ffffff;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.listing__body { padding: var(--vc-spacing-md); }

.listing__name { font-size: 1.25rem; margin-bottom: 4px; }

.listing__meta { font-size: 0.8125rem; color: var(--vc-text-muted); }

.listing__stars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--vc-text-muted);
}

.stars { color: var(--vc-accent); letter-spacing: 1px; }

.listing__score { color: var(--vc-text-primary); font-weight: 600; }

.listing__count { color: var(--vc-text-muted); }

/* ---------- section head ---------- */
.sec-head { max-width: 62ch; margin-bottom: var(--vc-spacing-xl); }

.sec-kicker {
  display: block;
  margin-bottom: var(--vc-spacing-sm);
  font-family: var(--vc-font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vc-text-secondary);   /* was --vc-primary: accent overuse */
}

.sec-head h2 {
  font-size: 1.5625rem;             /* scale step 25 */
  margin-bottom: var(--vc-spacing-md);
  text-wrap: balance;
}
@media (min-width: 900px) { .sec-head h2 { font-size: 1.9375rem; } }  /* 31 */

.sec-head p { font-size: 1rem; }

.sub-head {
  font-size: 1.25rem;               /* scale step 20 */
  margin-bottom: var(--vc-spacing-md);
}

/* ---------- category explorer ---------- */
.cats {
  list-style: none;
  margin: 0 0 var(--vc-spacing-sm);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--vc-spacing-sm);
}

.cat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--vc-spacing-sm);
  min-height: 44px;                 /* WCAG touch target */
  padding: 12px var(--vc-spacing-md);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius-md);
  background: color-mix(in srgb, var(--vc-bg-card) 55%, transparent);
  transition: border-color 0.25s var(--vc-ease), background 0.25s var(--vc-ease);
}

.cat:hover {
  border-color: var(--vc-border-light);
  background: var(--vc-bg-hover);
}

/* hover lifts the tile to --vc-bg-hover; the muted count would fall to 3.59:1 */
.cat:hover .cat__n { color: var(--vc-text-secondary); }

.cat__name { font-size: 1rem; color: var(--vc-text-primary); font-weight: 600; }

.cat__n { font-size: 0.8125rem; color: var(--vc-text-muted); font-variant-numeric: tabular-nums; }

.cats__note {
  margin-bottom: var(--vc-spacing-xl);
  font-size: 0.8125rem;
  color: var(--vc-text-muted);
}

/* ---------- wide image band ---------- */
.band {
  position: relative;
  margin: 0 0 var(--vc-spacing-xl);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius-xl);
  overflow: hidden;
  box-shadow: var(--vc-shadow-lg);
}

.band img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

.band figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--vc-spacing-md) var(--vc-spacing-lg);
  font-size: 0.8125rem;
  color: var(--vc-text-primary);
  background: linear-gradient(to top, color-mix(in srgb, var(--vc-bg-primary) 92%, transparent), transparent);
}

/* ---------- segment trio ---------- */
.segments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--vc-spacing-lg);
}

.segment {
  padding: var(--vc-spacing-lg);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius-lg);
  background: color-mix(in srgb, var(--vc-bg-card) 55%, transparent);
}

.segment h3 {
  font-size: 1.25rem;               /* scale step 20 */
  margin-bottom: var(--vc-spacing-sm);
}

.segment p { font-size: 1rem; color: var(--vc-text-muted); }

/* ---------- feature cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--vc-spacing-lg);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius-lg);
  background: var(--vc-bg-card);
  transition: transform 0.3s var(--vc-ease), border-color 0.3s var(--vc-ease),
              box-shadow 0.3s var(--vc-ease);
  overflow: hidden;
}

/* accent hairline that wipes in on hover */
.card::after {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: var(--vc-gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--vc-ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--vc-border-light);
  box-shadow: var(--vc-shadow-lg);
}

.card:hover::after { transform: scaleX(1); }

/* card media sits flush to the top edge, above the hairline */
.card__shot {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--vc-border);
  background: var(--vc-bg-secondary);
}

.card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--vc-ease);
}

.card:hover .card__shot img { transform: scale(1.04); }

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--vc-spacing-lg);
}

.card h3 {
  font-size: 1.25rem;               /* scale step 20 */
  margin-bottom: var(--vc-spacing-sm);
}

.card p { font-size: 1rem; color: var(--vc-text-muted); }

.card__meta {
  margin-top: auto;
  padding-top: var(--vc-spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--vc-spacing-sm);
  font-size: 0.8125rem;
  color: var(--vc-text-muted);
}

.card--icon .card__body { height: 100%; }
.card--slim .card__body { height: 100%; }

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--vc-radius-md);
  display: grid;
  place-items: center;
  background: var(--vc-bg-hover);
  border: 1px solid var(--vc-border);
  margin-bottom: var(--vc-spacing-md);
  color: var(--vc-text-secondary);  /* was --vc-primary: accent overuse */
}
.card__icon svg { width: 22px; height: 22px; }

.chip {
  padding: 4px 12px;                /* 4/8px rhythm */
  border-radius: var(--vc-radius-full);
  background: color-mix(in srgb, var(--vc-border) 40%, transparent);
  border: 1px solid var(--vc-border-light);
  color: var(--vc-text-secondary);  /* was --vc-primary: accent overuse */
  font-weight: 600;
  font-size: 0.8125rem;             /* scale step 13 */
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ---------- creator split ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--vc-spacing-lg);
}

.split__card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius-lg);
  background: var(--vc-bg-card);
}

.split__card h3 {
  font-size: 1.25rem;               /* scale step 20 */
  margin-bottom: var(--vc-spacing-sm);
}

.split__card p { font-size: 1rem; color: var(--vc-text-muted); }

.ticks {
  list-style: none;
  margin: var(--vc-spacing-lg) 0 0;
  padding: 0;
  display: grid;
  gap: var(--vc-spacing-sm);
}

.ticks li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  color: var(--vc-text-secondary);
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--vc-primary-light);
  border-bottom: 2px solid var(--vc-primary-light);
  transform: rotate(-45deg);
}

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--vc-radius-xl);
  border: 1px solid var(--vc-border);
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--vc-primary) 12%, transparent), transparent 70%),
    var(--vc-bg-card);
  overflow: hidden;
}

.cta h2 {
  font-size: 1.5625rem;             /* scale step 25 */
  margin-bottom: var(--vc-spacing-md);
  text-wrap: balance;
}
@media (min-width: 900px) { .cta h2 { font-size: 1.9375rem; } }  /* 31 */

.cta p { max-width: 52ch; margin-inline: auto; margin-bottom: var(--vc-spacing-xl); font-size: 1.25rem; }

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--vc-border);
  padding-block: var(--vc-spacing-xl) var(--vc-spacing-lg);
  margin-top: var(--vc-spacing-2xl);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--vc-spacing-md);
}

.foot p { font-size: 0.8125rem; color: var(--vc-text-muted); }

.foot__links { display: flex; flex-wrap: wrap; gap: var(--vc-spacing-lg); }

.foot__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;                 /* WCAG touch target (was 22px) */
  padding-inline: 4px;
  font-size: 0.8125rem;
  color: var(--vc-text-secondary);
}

.foot__links a:hover { color: var(--vc-text-primary); }

.foot__platform {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--vc-spacing-md);
  margin-top: var(--vc-spacing-lg);
  padding-top: var(--vc-spacing-md);
  border-top: 1px solid var(--vc-border);
  font-size: 0.8125rem;
  color: var(--vc-text-muted);
}

.foot__platform-l {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vc-text-secondary);
}

/* ---------- scroll reveal (progressive enhancement) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--vc-ease), transform 0.6s var(--vc-ease);
}

.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover, .cat:hover, .search__btn:hover { transform: none; }
  .card:hover .card__shot img { transform: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
