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

/* ─── CSS Custom Properties ─────────────────────────────────────────────── */
:root {
  /* Palette */
  --color-bg: #FAF7F2;
  --color-surface: #FFFFFF;
  --color-beige-light: #F1EAE0;
  --color-beige: #E8DCC8;
  --color-beige-dark: #C9B79C;
  --color-sand: #D4BFA0;

  /* Text */
  --color-text: #1F1A14;
  --color-text-soft: #5A4F42;
  --color-text-muted: #8A7E6E;

  /* Accents */
  --color-gold: #B8965A;
  --color-gold-dark: #95773F;
  --color-ocean: #2C4A52;

  /* Utility */
  --color-border: #E5DCC9;
  --color-shadow: rgba(31, 26, 20, 0.08);

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

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;

  /* Layout */
  --container-max: 1280px;
  --container-pad: 2rem;
  --nav-h: 80px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.05;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0;
}

h4 {
  font-size: 1.125rem;
  font-weight: 500;
}

p {
  color: var(--color-text-soft);
  max-width: 65ch;
}

.label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-soft);
}

/* ─── Layout utilities ───────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-2xl);
}

.section--beige {
  background-color: var(--color-beige-light);
}

.section--dark {
  background-color: var(--color-ocean);
  color: #FAF7F2;
}

.section__header {
  margin-bottom: var(--space-xl);
}

.section__header .label {
  display: block;
  margin-bottom: var(--space-sm);
}

.section__header h2 {
  margin-bottom: 1rem;
}

.section__header p {
  max-width: 52ch;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background-color 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

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

.btn--gold {
  background-color: var(--color-gold);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(184, 150, 90, 0.25);
}

.btn--gold:hover {
  background-color: var(--color-gold-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(184, 150, 90, 0.35);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.btn--outline:hover {
  background-color: var(--color-gold);
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.02);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-text-soft);
  border: 1px solid var(--color-border);
}

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

/* ─── Divider ────────────────────────────────────────────────────────────── */
.divider {
  width: 3rem;
  height: 1px;
  background-color: var(--color-gold);
  margin-block: var(--space-md);
}

.divider--center {
  margin-inline: auto;
}

/* ─── Skip link (accessibility) ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--color-gold);
  color: white;
  z-index: 9999;
  border-radius: 2px;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
}

/* ─── Price highlight ────────────────────────────────────────────────────── */
.price {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--color-gold);
  letter-spacing: -0.01em;
}

.price__unit {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 0.25rem;
}

/* ─── Icon + label pair ──────────────────────────────────────────────────── */
.icon-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--color-text-soft);
}

.icon-label svg {
  flex-shrink: 0;
  color: var(--color-text-muted);
}

/* ─── Scroll padding for fixed nav ──────────────────────────────────────── */
[id] {
  scroll-margin-top: var(--nav-h);
}

/* ─── Responsive breakpoints ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --container-pad: 1.25rem;
    --space-2xl: 3.5rem;
    --space-xl: 2.25rem;
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
    --space-2xl: 2.75rem;
    --space-xl: 1.75rem;
  }
}
