/* ============================================
   ROBERT KALLI — Global Design System
   robertkalli.com
   ============================================ */

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

/* ============================================
   TOKENS
   ============================================ */

:root {
  /* Core Palette */
  --color-night:       #0D0B09;
  --color-deep:        #1C1814;
  --color-shadow:      #2E2720;
  --color-border:      #3A3028;
  --color-muted:       #6B6159;
  --color-warm:        #A0907F;
  --color-light:       #E8E0D4;
  --color-gold:        #C9A96E;
  --color-gold-dim:    #8A6E3E;

  /* Subdomain Accents */
  --color-massage-bg:  #1A2A24;
  --color-massage-mid: #243D32;
  --color-massage-acc: #4A9E7A;

  --color-mann-bg:     #0F0F1A;
  --color-mann-mid:    #1A1A2E;
  --color-mann-acc:    #6B6EBF;

  --color-paar-bg:     #1F1418;
  --color-paar-mid:    #2E1A22;
  --color-paar-acc:    #BF6B8A;

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

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

  /* Borders */
  --border-fine:   0.5px solid var(--color-border);
  --border-gold:   1px solid var(--color-gold);

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:   180ms;
  --dur-mid:    320ms;
  --dur-slow:   600ms;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-night);
  color: var(--color-light);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   TYPOGRAPHY SCALE
   ============================================ */

.t-display {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-light);
}

.t-headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: var(--color-gold);
}

.t-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.t-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-warm);
}

.t-small {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 720px;
}

/* ============================================
   GOLD LINE DIVIDER
   ============================================ */

.gold-line {
  display: block;
  width: 40px;
  height: 0.5px;
  background: var(--color-gold);
  opacity: 0.6;
}

.gold-line--full {
  width: 100%;
  opacity: 0.15;
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--color-night); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-muted); }

/* ============================================
   SELECTION
   ============================================ */

::selection {
  background: var(--color-gold);
  color: var(--color-night);
}
