/* ==========================================================================
   KESİT Mimarlık — variables.css
   Design tokens: colour, type, spacing, motion.
   ========================================================================== */

:root {
  /* Palette */
  --c-offwhite: #f5f3ee;
  --c-charcoal: #20201e;
  --c-stone: #e8e5de;
  --c-bronze: #a18b6c;
  --c-dark: #191a18;
  --c-gray: #85847f;
  --c-stone-dark: #2a2b28;

  /* Semantic (light context) */
  --bg: var(--c-offwhite);
  --bg-alt: var(--c-stone);
  --fg: var(--c-charcoal);
  --muted: var(--c-gray);
  --accent: var(--c-bronze);
  --line: rgba(32, 32, 30, 0.14);
  --line-strong: rgba(32, 32, 30, 0.38);
  --img-bg: var(--c-stone);

  /* Typography */
  --font-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --fs-display-xl: clamp(3.25rem, 9.5vw, 10.5rem);
  --fs-display-l: clamp(2.75rem, 6.5vw, 7rem);
  --fs-display-m: clamp(2.25rem, 4.6vw, 4.75rem);
  --fs-display-s: clamp(1.75rem, 3vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.6vw, 1.625rem);
  --fs-lead: clamp(1.1rem, 1.35vw, 1.35rem);
  --fs-body: clamp(0.95rem, 1.05vw, 1.0625rem);
  --fs-small: 0.8125rem;
  --fs-caption: 0.6875rem;

  /* Layout */
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --section-y: clamp(5.5rem, 13vw, 12rem);
  --section-y-s: clamp(3.5rem, 8vw, 7rem);
  --nav-h: 5.25rem;
  --max-w: 1800px;
  --gap: clamp(1rem, 2.2vw, 2.5rem);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --dur-fast: 0.35s;
  --dur: 0.8s;
  --dur-slow: 1.4s;

  /* Z-index scale */
  --z-header: 100;
  --z-menu: 110;
  --z-cursor: 200;
  --z-transition: 300;
  --z-preloader: 400;

  color-scheme: light;
}

/* Dark context — applied to sections / footer */
.theme-dark {
  --bg: var(--c-dark);
  --bg-alt: var(--c-stone-dark);
  --fg: var(--c-offwhite);
  --muted: #9d9c96;
  --line: rgba(245, 243, 238, 0.14);
  --line-strong: rgba(245, 243, 238, 0.4);
  --img-bg: var(--c-stone-dark);
  background-color: var(--bg);
  color: var(--fg);
  color-scheme: dark;
}
