@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,600;1,300;1,600&family=Jost:wght@300;400;500&display=swap');

/* ============================================================
   BASE — tokens, reset, typography
   ============================================================ */

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

:root {
  /* ── Shared brand ── */
  --color-canvas:          #F4F1EC;
  --color-ink:             #1C1917;
  --color-muted:           #7A7269;
  --color-divider:         #DDD8D0;

  /* ── Soňa — warm linen, terracotta blush ── */
  --sona-bg:               #EDE5DC;
  --sona-accent:           #B8957A;
  --sona-accent-light:     #D9C3B5;
  --sona-ink:              #3D2E27;

  /* ── Jaroslav — deep charcoal, aged bronze ── */
  --jaroslav-bg:           #262220;
  --jaroslav-accent:       #8C7A5E;
  --jaroslav-accent-light: #C4B49A;
  --jaroslav-ink:          #F0EBE3;

  /* ── Spacing ── */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 11rem;

  /* ── Typography ── */
  --font-display: 'Cormorant', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  /* ── Easing ── */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-ink);
  background-color: var(--color-canvas);
  line-height: 1.75;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

/* ── Headings ── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
}
h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  font-style: italic;
}

/* ── Utility ── */
.label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

/* ── Scroll reveal ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Focus ── */
:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 4px;
}
