/* ============================================================
   Luckey Consulting LLC — styles.css
   Brand tokens, typography, layout, and utility classes
   ============================================================ */

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

/* ------------------------------------------------------------
   2. BRAND TOKENS
   ------------------------------------------------------------ */
:root {
  /* Colors */
  --navy:        #1B2A4A;
  --navy-light:  #243660;
  --gold:        #B8942A;
  --gold-light:  #D4AD45;
  --cream:       #F5F0E8;
  --cream-dark:  #EAE4D8;
  --white:       #FFFFFF;
  --text-primary:   #1B2A4A;
  --text-secondary: #4A5568;
  --text-muted:     #8A93A6;
  --border:         rgba(27, 42, 74, 0.12);
  --border-strong:  rgba(27, 42, 74, 0.25);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

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

  /* Layout */
  --max-width:      1100px;
  --content-width:  720px;
  --nav-height:     68px;
  --radius-sm:      4px;
  --radius-md:      8px;
  --radius-lg:      14px;

  /* Transitions */
  --transition: 0.2s ease;
}

/* ------------------------------------------------------------
   3. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-primary);
  background-color: var(--cream);
  line-height: 1.7;
  min-height: 100vh;
}

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

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

ul, ol {
  list-style: none;
}

/* ------------------------------------------------------------
   4. TYPOGRAPHY SCALE
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.display {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.display-italic {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
}

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.kicker {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ------------------------------------------------------------
   5. LAYOUT UTILITIES
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

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

.section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.section--lg {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.section--cream  { background-color: var(--cream); }
.section--white  { background-color: var(--white); }
.section--navy   { background-color: var(--navy); }

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Spacing helpers */
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }

/* ------------------------------------------------------------
   6. CARDS
   ------------------------------------------------------------ */
.card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md);
}

.card--cream {
  background: var(--cream);
  border-color: var(--border);
}

.card--navy {
  background: var(--navy);
  color: var(--white);
}

.card--navy h3,
.card--navy h4 {
  color: var(--white);
}

.card--navy p {
  color: rgba(255,255,255,0.7);
}

.card-icon {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

/* ------------------------------------------------------------
   7. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  background: var(--cream-dark);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.08);
}

/* ------------------------------------------------------------
   8. DIVIDERS
   ------------------------------------------------------------ */
.divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: var(--space-lg) 0;
}

.divider--gold {
  border-color: var(--gold);
  opacity: 0.4;
}

/* ------------------------------------------------------------
   9. PILLS / BADGES
   ------------------------------------------------------------ */
.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 100px;
  border: 0.5px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
}

.pill--gold {
  background: rgba(184,148,42,0.1);
  border-color: rgba(184,148,42,0.3);
  color: #8a6818;
}

.pill--navy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ------------------------------------------------------------
   10. PAGE HEADER (reusable hero for inner pages)
   ------------------------------------------------------------ */
.page-header {
  background: var(--navy);
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
}

.page-header .kicker {
  margin-bottom: var(--space-xs);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.page-header .lead {
  color: rgba(255,255,255,0.65);
  max-width: 560px;
}

/* ------------------------------------------------------------
   11. UTILITY
   ------------------------------------------------------------ */
.text-center { text-align: center; }
.text-right  { text-align: right; }

.text-navy   { color: var(--navy); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: var(--white); }

.font-display { font-family: var(--font-display); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ------------------------------------------------------------
   12. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  :root {
    --space-xl:  2.5rem;
    --space-2xl: 4rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .flex-between {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
}
