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

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

html { cursor: none; }

/* ── VARIABLES ── */
:root {
  --cream:      #faf7f2;
  --warm-white: #fff9f4;
  --sage:       #7a9e7e;
  --sage-light: #b8d4bb;
  --sage-dark:  #4a7050;
  --blush:      #e8d5c4;
  --charcoal:   #2c2c2c;
  --mid:        #666;
  --light:      #999;
  --accent:     #b07d5a;
  --nav-height: 68px;
}

/* ── BASE ── */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  padding-top: var(--nav-height);
}

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

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ── DESKTOP NAV ── */
.desktop-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  height: 68px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.menu-item {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color 0.3s;
  padding: 8px 12px;
  border-radius: 6px;
}
.menu-item:hover { color: var(--sage); }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  height: 68px;
}

/* ── HAMBURGER ICON ── */
.menu-icon {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-icon span {
  width: 25px; height: 2px;
  background-color: var(--charcoal);
  display: block;
  border-radius: 2px;
  transition: 0.3s;
}

/* ── LOGO ── */
.logo { height: 40px; width: auto; }

/* ── SIDENAV ── */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0; right: 0;
  background: rgba(250, 247, 242, 0.98);
  backdrop-filter: blur(16px);
  overflow-x: hidden;
  transition: width 0.35s ease;
  z-index: 999;
  border-left: 1px solid rgba(180,160,140,0.2);
  display: flex;
  flex-direction: column;
  padding-top: 4rem;
}
.sidenav a {
  padding: 1rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}
.sidenav a:hover { color: var(--sage-dark); }
.sidenav .closebtn {
  position: absolute;
  top: 1rem; right: 1.2rem;
  font-size: 1.6rem;
  color: var(--charcoal);
}

/* ── CUSTOM CURSOR ── */
.cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--sage-dark);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--sage);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s ease, height 0.35s ease, border-color 0.35s ease, opacity 0.3s;
}
body.hovering .cursor-dot  { width: 10px; height: 10px; background: var(--accent); }
body.hovering .cursor-ring { width: 54px; height: 54px; border-color: var(--accent); opacity: 0.5; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-child.visible { opacity: 1; transform: translateY(0); }

/* ── TILT CARD ── */
.tilt-card {
  will-change: transform;
  transform-style: preserve-3d;
}

/* ── HERO ── */
.hero-name {
  transition: letter-spacing 0.4s ease, transform 0.4s ease;
}
.hero-name:hover {
  letter-spacing: 0.05em;
  transform: translateY(-4px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(122,158,126,0.18), transparent 60%),
    radial-gradient(circle at 20% 70%, rgba(232,213,196,0.2), transparent 60%),
    var(--cream);
}

/* ── ABOUT PAGE ── */
.page-hero {
  padding: 5rem 3rem 2rem;
  max-width: 1100px;
  margin: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  padding: 0 3rem 5rem;
  max-width: 1100px;
  margin: 0;
  align-items: start;
}

.about-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 3rem 3rem;
  max-width: 900px;
  margin: 0;
}
.about-images img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
}

.about-text { text-align: left; }
.about-text p { text-align: left; }

/* ── CONTACT ── */
.contact-section {
  padding: 4rem 3rem 5rem;
  max-width: 900px;
}
.contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 1.2rem;
}
.contact-text {
  font-size: 1rem;
  color: var(--mid);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.contact-links {
  display: flex;
  gap: 2rem;
}
.contact-links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: 0.3s;
}
.contact-links a:hover {
  border-color: var(--sage-dark);
  color: var(--sage-dark);
}

.mobile-break {
  display: none;
}

@media (max-width: 600px) {
  .mobile-break {
    display: inline;
  }
}

/* ── MEDIA QUERY ── */
@media screen and (max-width: 800px) {
  .desktop-nav { display: none; }
  .mobile-nav  { display: flex; }
  .about-images { grid-template-columns: 1fr; }
  .cursor-dot, .cursor-ring { display: none; }
  html { cursor: auto; }
}

@media screen and (max-width: 800px) {

  /* NAV */
  .desktop-nav { display: none; }
  .mobile-nav  { display: flex; }

  /* HERO SECTION FIX */
  .hero {
    padding: 0 1.5rem;
    min-height: 90vh;
  }

  .hero-name {
    font-size: clamp(2.5rem, 10vw, 4rem);
    line-height: 1.1;
  }

  .hero-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100%;
    overflow-wrap: break-word;
  }


  .hero-cta {
    font-size: 0.7rem;
  }

  /* PREVENT TEXT FROM GOING OFF SCREEN */
  .hero-content {
    max-width: 100%;
  }

  /* SCROLL TEXT POSITION */
  .hero-scroll {
    right: 1.5rem;
    bottom: 1.5rem;
  }

  /* PAGE CARDS */
  .page-cards {
    padding: 3rem 1.5rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  /* CURSOR OFF ON MOBILE */
  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  html {
    cursor: auto;
  }
}