/* ═══════════════════════════════════════════════════
   BUILD WITH JOY — Global Styles
   Joy Valerie Carrera
   Fonts: Cormorant Garamond (display) + DM Sans (body)
═══════════════════════════════════════════════════ */

@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;1,600&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* ── TOKENS ─────────────────────────────────────── */
:root {
  --teal:        #2A9D8F;
  --teal-dark:   #1E7268;
  --teal-light:  #E8F7F5;
  --teal-mid:    #A8D8D2;
  --gold:        #C8860A;
  --gold-warm:   #E9C46A;
  --gold-light:  #FDF3DC;
  --dark:        #1A3C34;
  --dark-soft:   #2D5147;
  --cream:       #FAF7F2;
  --cream-warm:  #F5EFE4;
  --cream-deep:  #EDE5D8;
  --body:        #4A4A4A;
  --muted:       #7A7A7A;
  --white:       #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   28px;
  --radius-pill: 100px;

  --shadow-soft: 0 4px 32px rgba(26,60,52,0.08);
  --shadow-card: 0 8px 48px rgba(26,60,52,0.12);
}

/* ── RESET ──────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--cream);
  font-family: var(--font-body);
  color: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── LAYOUT ─────────────────────────────────────── */
.container      { max-width: 860px;  margin: 0 auto; padding: 0 32px; }
.container--wide{ max-width: 1060px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 660px; margin: 0 auto; padding: 0 32px; }
section { padding: 88px 0; }

/* ── TYPOGRAPHY ─────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.display em { font-style: italic; color: var(--teal); }
.display--gold em { color: var(--gold-warm); }

h1.display { font-size: clamp(52px, 8vw, 96px); }
h2.display { font-size: clamp(36px, 5vw, 58px); }
h3.display { font-size: clamp(28px, 4vw, 44px); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-body);
}
.eyebrow--teal  { color: var(--teal); }
.eyebrow--gold  { color: var(--gold); }
.eyebrow--muted { color: var(--muted); }
.eyebrow--white { color: rgba(255,255,255,0.55); }

.body-lg { font-size: 18px; font-weight: 300; line-height: 1.75; }
.body-md { font-size: 16px; font-weight: 300; line-height: 1.7; }
.body-sm { font-size: 14px; font-weight: 300; line-height: 1.6; }

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-block;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn--primary {
  background: var(--teal);
  color: var(--white);
  padding: 17px 44px;
}
.btn--primary:hover { background: var(--teal-dark); transform: translateY(-2px); }

.btn--dark {
  background: var(--dark);
  color: var(--white);
  padding: 17px 44px;
}
.btn--dark:hover { background: var(--teal); transform: translateY(-2px); }

.btn--ghost-white {
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.78);
  padding: 16px 40px;
}
.btn--ghost-white:hover { border-color: var(--gold-warm); color: var(--gold-warm); }

.btn--ghost-dark {
  border: 1.5px solid rgba(26,60,52,0.25);
  color: var(--dark);
  padding: 16px 40px;
}
.btn--ghost-dark:hover { border-color: var(--teal); color: var(--teal); }

.btn--sm { padding: 12px 28px; font-size: 11px; }

/* ── PILL / BADGE ───────────────────────────────── */
.pill {
  display: inline-block;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 6px 18px;
}
.pill--teal  { background: var(--teal-light); color: var(--teal-dark); }
.pill--gold  { background: var(--gold-light); color: var(--gold); }
.pill--dark  { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.72); }
.pill--cream { background: var(--cream-deep); color: var(--dark); }

/* ── DIVIDER ────────────────────────────────────── */
.divider {
  width: 56px; height: 2px;
  background: var(--gold-warm);
  border-radius: 2px;
}
.divider--center { margin: 0 auto; }

/* ── NAVIGATION ─────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s;
  padding: 0 48px;
}
.nav.scrolled {
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(26,60,52,0.08);
}
.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-logo em { font-style: italic; color: var(--gold-warm); }
.nav--light .nav-logo { color: var(--white); }
.nav--light .nav-logo em { color: var(--gold-warm); }
.nav.scrolled .nav-logo { color: var(--dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav--light .nav-links a { color: rgba(255,255,255,0.72); }
.nav--light .nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a { color: var(--body); }
.nav.scrolled .nav-links a:hover { color: var(--teal); }

.nav-cta { margin-left: 12px; }

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  border-radius: 2px;
  transition: all 0.25s;
}
.nav--light .nav-hamburger span { background: var(--white); }
.nav.scrolled .nav-hamburger span { background: var(--dark); }

/* mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--white);
  font-style: italic;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--gold-warm); }
.nav-mobile-close {
  position: absolute;
  top: 28px; right: 36px;
  font-size: 28px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: color 0.2s;
}
.nav-mobile-close:hover { color: var(--white); }

/* ── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 72px 0 40px;
}
.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 36px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand-name em { font-style: italic; color: var(--gold-warm); }
.footer-brand-desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer-col-title {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-warm); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  font-weight: 300;
  letter-spacing: 0.04em;
}
.footer-socials { display: flex; gap: 18px; }
.footer-socials a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  font-weight: 500;
  transition: color 0.2s;
}
.footer-socials a:hover { color: var(--gold-warm); }

/* ── SCROLL REVEAL ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── SECTION HEADER UTILITY ─────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .divider { margin: 16px auto 0; }
.section-header .divider { margin-top: 16px; }

/* ── CARDS ──────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-deep);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.card-dark {
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

/* ── ORBS / DECORATIVE ──────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.orb--teal-lg {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(42,157,143,0.18) 0%, transparent 65%);
}
.orb--gold-md {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,134,10,0.13) 0%, transparent 65%);
}

/* ── GRAIN TEXTURE OVERLAY ──────────────────────── */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.35;
  z-index: 1;
}

/* ── ANIMATIONS ─────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.2); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 60px 0; }
  .container, .container--wide, .container--narrow { padding: 0 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
