/* ============================================================
   SSPL Hub + Surface Studio — Base Reset & Master Typography
   Fonts: Cormorant Garamond (Display) & Manrope (Body/UI)
   ============================================================ */

/* ── 1. Google Fonts Import ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Manrope:wght@300;400;500;600;700&display=swap');

/* ── 2. Modern Reset ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* ── 3. Typography Defaults ─────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-snug);
  color: inherit;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  font-weight: 400;
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 400;
}

h5 {
  font-size: var(--text-xl);
  font-weight: 500;
}

h6 {
  font-size: var(--text-xs);
  font-family: var(--font-nav);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
  max-width: 68ch;
}

p:last-child {
  margin-bottom: 0;
}

p.lead {
  font-size: clamp(1.125rem, 1.5vw, 1.35rem);
  line-height: var(--leading-relaxed);
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}

strong, b {
  font-weight: 600;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* ── 4. Architectural Eyebrow / Label ───────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-nav);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: currentColor;
}

/* ── 5. Form Element Resets ─────────────────────────────────── */
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* ── 6. Utility Helpers ─────────────────────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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