/* tatsianakirimava.com
   Design tokens and components come from the marketing team's Claude Design
   export ("Modernist" system). Page layout keeps the export's inline styles;
   this file holds fonts, tokens, shared components, responsive rules, hover
   states and the video cards. */

/* ── Fonts: Manrope variable, self-hosted subsets ──────────────────────── */
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/manrope-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/manrope-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/manrope-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-accent: #ec3013;
  --color-accent-2: #e15b47;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);

  --color-neutral-100: #f8f4f4;
  --color-neutral-200: #eae7e7;
  --color-neutral-300: #d7d3d3;
  --color-neutral-400: #bab6b6;
  --color-neutral-500: #9b9797;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;

  --color-accent-100: #fff2ef;
  --color-accent-200: #ffe0d9;
  --color-accent-300: #ffc4b8;
  --color-accent-400: #ff9783;
  --color-accent-500: #ff563c;
  --color-accent-600: #dd2b0f;
  --color-accent-700: #ae1800;
  --color-accent-800: #7c1405;
  --color-accent-900: #4d170e;

  --font-heading: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading-weight: 800;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;

  --radius-sm: 12px;
  --radius-md: 12px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2d2b2b 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2d2b2b 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);
}

/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-body); font-size: 15px; line-height: 1.55; font-weight: 400;
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
blockquote { margin: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* ── Components used on the page ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: 400;
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-ghost.on-accent { color: var(--color-bg); border-color: var(--color-bg); }
.btn-ghost.on-accent:hover { color: var(--color-bg); background: color-mix(in srgb, var(--color-bg) 14%, transparent); }

.nav {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: 2px solid var(--color-divider);
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover { color: var(--color-accent); }
.nav .btn-primary:hover { color: var(--color-bg); }

/* ── Hover states (were style-hover attributes in the export) ──────────── */
.hover-dim:hover { opacity: 0.65; }
.row-link:hover { background: color-mix(in srgb, var(--color-accent) 6%, transparent); }

/* ── Image and caption links ───────────────────────────────────────────── */
.img-link { display: block; color: inherit; text-decoration: none; transition: opacity 0.15s ease; }
.img-link:hover { opacity: 0.9; }
.caption-link { color: inherit; text-decoration: none; }
.caption-link:hover { color: var(--color-accent); }
.footer-linkedin {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: bottom;
  color: var(--color-accent-700); text-decoration: none;
}
.footer-linkedin:hover { color: var(--color-accent); }
.footer-linkedin .li-icon { width: 15px; height: 15px; fill: currentColor; display: block; }

/* ── Video cards ───────────────────────────────────────────────────────── */
.video-card { display: block; text-decoration: none; color: inherit; }
.video-card:hover { color: inherit; opacity: 0.86; }
.video-card:hover .video-play { transform: scale(1.06); background: var(--color-accent-600); }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px;
  background: var(--color-neutral-900);
  /* overflow:hidden alone does not clip an iframe's corners in Safari */
  clip-path: inset(0 round 12px);
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-button {
  display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  background: transparent; border-radius: 12px; text-align: inherit; font: inherit; color: inherit;
}
.video-button.is-playing { cursor: default; }
.video-kicker {
  position: absolute; left: 0; top: 0; z-index: 1;
  background: var(--color-accent); color: var(--color-bg);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-bottom-right-radius: 12px;
}
.video-play {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 72px; height: 50px; margin: -25px 0 0 -36px;
  display: grid; place-items: center;
  background: var(--color-accent); border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}
.video-play svg { width: 26px; height: 26px; display: block; fill: #fff; }
.video-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; margin: 16px 0 8px;
}
.video-meta {
  font-size: 13px; letter-spacing: 0.07em; text-transform: uppercase; margin: 0;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.video-meta a { color: inherit; text-decoration: none; }
.video-meta a:hover { color: var(--color-accent); }
.video-card.is-playing:hover { opacity: 1; }

/* ── Responsive rules from the export ──────────────────────────────────── */
@media (max-width: 980px) {
  [data-r="split"], [data-r="two"], [data-r="three"] { grid-template-columns: minmax(0, 1fr) !important; }
  [data-r="four"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  [data-r="split"] figure { max-width: 400px; }
  [data-r="row"] { grid-template-columns: minmax(0, 1fr) !important; gap: 8px !important; }
  [data-r="row"] > span:last-child { display: none !important; }
}
@media (max-width: 620px) {
  [data-r="four"] { grid-template-columns: minmax(0, 1fr) !important; }
  [data-r="num"] { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; }
  .nav { gap: var(--space-3); }
  .nav .nav-link { display: none; }
}
