/* ============================================================
   BASE — Reset, CSS Custom Properties, Typography
   ============================================================ */

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

/* --- Custom Properties --- */
:root {
  /* Surface */
  --color-base:        #0D0907;
  --color-surface-1:   #1C1714;
  --color-surface-2:   #2A2320;

  /* Text */
  --color-text-primary:   #EDEBE8;
  --color-text-secondary: #A09990;
  --color-text-muted:     #6B6360;

  /* Display heading — warm antique gold, editorial film tone */
  --color-heading:        #C9A86A;
  --shadow-heading:       0 0 40px rgba(201, 168, 106, 0.22), 0 2px 8px rgba(13, 9, 7, 0.6);

  /* Accents — drawn from the three collections */
  --color-coral:    #C9614A;
  --color-brass:    #A8845A;
  --color-velvet:   #3D1F4E;

  /* Utility */
  --color-border:   rgba(237, 235, 232, 0.1);
  --color-overlay:  rgba(13, 9, 7, 0.55);

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

  /* Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.5rem;
  --text-4xl:  3.5rem;
  --text-5xl:  5rem;
  --text-6xl:  7.5rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s var(--ease-out);
}

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

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

body {
  background-color: var(--color-base);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Base Elements --- */
img, video {
  display: block;
  max-width: 100%;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Typography Utilities --- */
.serif        { font-family: var(--font-serif); }
.serif-italic { font-family: var(--font-serif); font-style: italic; }

.text-xs  { font-size: var(--text-xs); }
.text-sm  { font-size: var(--text-sm); }
.text-lg  { font-size: var(--text-lg); }
.text-xl  { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }
.text-6xl { font-size: var(--text-6xl); }

.text-secondary { color: var(--color-text-secondary); }
.text-muted     { color: var(--color-text-muted); }
.tracking-wide  { letter-spacing: 0.12em; }
.tracking-wider { letter-spacing: 0.2em; }
.uppercase      { text-transform: uppercase; }

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-12); }
}

@media (min-width: 1200px) {
  .container { padding-inline: var(--space-16); }
}

/* --- Dividers --- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin-block: var(--space-16);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  transition: all var(--transition);
}

.btn:hover {
  border-color: var(--color-text-secondary);
  color: var(--color-text-primary);
}

.btn-coral {
  border-color: var(--color-coral);
  color: var(--color-coral);
}

.btn-coral:hover {
  background: var(--color-coral);
  color: var(--color-base);
}
