/* ============================================
   MINDSHIFT ATELIER — Design Tokens & Base
   ============================================ */

/* Playwrite NZ — Brand Identity Font */
@import url('https://fonts.googleapis.com/css2?family=Playwrite+NZ:wght@100;200;300;400&display=swap');

:root {
  /* Brand Colors */
  --color-magenta: #94176e;
  --color-magenta-dark: #6b1250;
  --color-magenta-light: #b23d8a;
  --color-graumagenta: #a16487;
  --color-graublau: #535269;
  --color-peach: #d4ab98;
  --color-peach-light: #e6cfc2;
  --color-blush: #d2c4c2;
  --color-lavender: #f0e6f6;
  --color-lavender-dark: #ece0f1;

  /* Backgrounds */
  --bg-primary: #fdf9f6;
  --bg-white: #ffffff;
  --bg-surface: #f8f5f2;
  --bg-warm: #faf6f3;
  --bg-lavender: #f0e6f6;
  --bg-peach-tint: rgba(212, 171, 152, 0.15);
  --bg-magenta: #94176e;
  --bg-magenta-dark: #6b1250;

  /* Text */
  --text-primary: #535269;
  --text-heading: #94176e;
  --text-dark: #3d3c4e;
  --text-muted: #7a7990;
  --text-light: #ffffff;

  /* Typography */
  --font-family: 'Playwrite NZ', cursive;
  --font-weight-light: 100;
  --font-weight-body: 200;
  --font-weight-medium: 300;
  --font-weight-bold: 400;

  /* Font Sizes — Bigger scale for readability */
  --text-xs:   clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
  --text-sm:   clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
  --text-base: clamp(1.125rem, 1rem + 0.3vw, 1.25rem);
  --text-lg:   clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem);
  --text-xl:   clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  --text-2xl:  clamp(2.25rem, 1.5rem + 3vw, 4rem);
  --text-3xl:  clamp(2.75rem, 1.2rem + 4.5vw, 5.5rem);
  --text-4xl:  clamp(3rem, 1.5rem + 5vw, 6rem);
  --text-hero: clamp(3rem, 1.5rem + 5vw, 6rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-text: 680px;
  --header-height: 72px;
  --border-radius: 8px;
  --border-radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(83, 82, 105, 0.06);
  --shadow-md: 0 4px 12px rgba(83, 82, 105, 0.08);
  --shadow-lg: 0 8px 24px rgba(83, 82, 105, 0.1);
  --shadow-glow: 0 4px 20px rgba(148, 23, 110, 0.25);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   Reset & Base
   ============================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-body);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-magenta);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

a:hover {
  color: var(--color-magenta-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
  color: var(--text-heading);
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  background: none;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--text {
  max-width: var(--max-width-text);
}

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

/* SVG subtle pattern for section backgrounds */
.pattern-bg {
  position: relative;
}

.pattern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23d4ab98' stroke-width='0.5' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.pattern-bg > * {
  position: relative;
  z-index: 1;
}
