/* Spotlight 2026: tokens, fonts, base elements and shared utilities. */

/* Brand fonts. Web licences are NOT confirmed: see README.md before publishing. */
@font-face {
  font-family: "SS Marketer Podcast";
  src: url("../assets/fonts/brand_licence-unconfirmed/ss-marketer-podcast.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* Digits are left out on purpose: this font's 5 reads as S, so numerals fall through to Gotham. */
  unicode-range: U+0020-002F, U+003A-007E, U+10D0-10FF;
}

@font-face {
  font-family: "Gotham";
  src: url("../assets/fonts/brand_licence-unconfirmed/gotham-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2027;
}

/* Text face with full Georgian coverage. Noto Sans Georgian, SIL Open Font License. */
@font-face {
  font-family: "Noto Sans Georgian Variable";
  src: url("../assets/fonts/noto-sans-georgian/noto-sans-georgian-georgian-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31;
}

@font-face {
  font-family: "Noto Sans Georgian Variable";
  src: url("../assets/fonts/noto-sans-georgian/noto-sans-georgian-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Noto Sans Georgian Variable";
  src: url("../assets/fonts/noto-sans-georgian/noto-sans-georgian-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Identity palette */
  --color-black: #030303;
  --color-blue: #2b35e8;
  --color-tape: #dc6fb4;
  --color-pink: #e780c2;
  --color-lime: #c5e02a;
  --color-green: #0a4433;
  --color-paper: #f5f5f5;
  --color-paper-soft: rgb(245 245 245 / 0.76);
  --color-paper-muted: rgb(245 245 245 / 0.6);
  --color-paper-dim: rgb(245 245 245 / 0.42);

  /* Type. Every stack ends in fonts that carry Georgian (Mkhedruli). */
  --font-georgian-fallback: "Noto Sans Georgian", "FiraGO", "BPG Arial", "Helvetica Neue", "Segoe UI", "Sylfaen", "DejaVu Sans", system-ui, sans-serif;
  --font-text: "Noto Sans Georgian Variable", var(--font-georgian-fallback);
  --font-display: "SS Marketer Podcast", "Gotham", "BPG Nino Mtavruli", "Noto Sans Georgian Variable", var(--font-georgian-fallback);
  --font-label: "Gotham", "Noto Sans Georgian Variable", var(--font-georgian-fallback);

  --text-body: 1rem;
  --text-small: 0.875rem;
  --leading-display: 0.86;

  /* Ring and dot proportions measured from the main visual (share of the ring's outer diameter). */
  --ring-stroke-ratio: 0.129;
  --dot-ratio: 0.498;

  --space-page: 16px;
  --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);

  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layers */
  --layer-art: 0;
  --layer-content: 1;
  --layer-stage: 2;
  --layer-skip: 10;

  --tap-target: 48px;
}

@media (min-width: 900px) {
  :root {
    --space-page: clamp(28px, 3.4vw, 56px);
  }
}

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

html {
  background: var(--color-black);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--color-black);
  color: var(--color-paper);
  font-family: var(--font-text);
  font-size: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-lime);
  outline-offset: 3px;
}

/* Sections the menu moves focus to (js/menu.js): they take focus for the next Tab, not a frame. */
[tabindex="-1"]:focus {
  outline: none;
}

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

.skip-link {
  position: absolute;
  left: var(--space-page);
  top: 8px;
  z-index: var(--layer-skip);
  padding: 12px 16px;
  background: var(--color-lime);
  color: var(--color-black);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

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

/* Buttons: flat tape-tab rectangles. The identity keeps corners sharp; only the ring and dot are round. */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-target);
  padding: 0 22px;
  background: var(--color-lime);
  color: var(--color-black);
  font-family: var(--font-text);
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-out-expo), background-color var(--duration-fast) linear;
}

@media (min-width: 900px) {
  .btn {
    min-height: clamp(56px, 3.6vw, 72px);
    padding: 0 clamp(28px, 2vw, 40px);
    font-size: clamp(1.125rem, 1.15vw, 1.5rem);
  }
}

.btn:hover {
  background: var(--color-paper);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn--ink {
  background: var(--color-black);
  color: var(--color-lime);
  font-family: var(--font-label);
  letter-spacing: 0.02em;
}

.btn--ink:hover {
  background: var(--color-blue);
  color: var(--color-paper);
}

/* A quieter second button beside a filled one (the sales e-mail next to the buy button). */
.btn--line {
  background: transparent;
  color: currentColor;
  box-shadow: inset 0 0 0 2px currentColor;
}

.btn--line:hover {
  background: var(--color-black);
  color: var(--color-lime);
}

/* The closing call to buy: the biggest button on the page. */
.btn--big {
  min-height: 64px;
  padding: 0 32px;
  font-size: 1.25rem;
}

@media (min-width: 900px) {
  .btn--big {
    min-height: clamp(80px, 6vw, 112px);
    padding: 0 clamp(40px, 3.4vw, 64px);
    font-size: clamp(1.5rem, 2vw, 2.25rem);
  }
}

/*
  Wipe: a transform-only reveal that reads as tape being laid down left to right.
  js/motion.js slides the window in from the left while the content counter-slides,
  so the content itself never moves.
*/
.wipe {
  display: block;
  overflow: hidden;
}

.wipe__inner {
  display: block;
}

.wipe--inline {
  display: inline-block;
  vertical-align: top;
}

/* Rise: a line that comes up from behind its own baseline. */
.rise {
  display: block;
  overflow: hidden;
}

.rise__inner {
  display: block;
}

/* Production notes for content the source page does not provide. */
.placeholder-flag {
  display: inline-block;
  padding: 6px 9px 5px;
  background: var(--color-paper);
  color: var(--color-black);
  font-family: var(--font-label);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  outline: 1px dashed var(--color-black);
  outline-offset: -3px;
}

[data-placeholders="hide"] .placeholder-flag {
  display: none;
}
