/* ============================================================
   MEGAN BURTON — BEAUX ARTS LUXURY EDITORIAL DESIGN SYSTEM
   ============================================================ */

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@300,400,500&display=swap');

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

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

body {
  background-color: #E8DDD0;
  color: #2C2520;
  font-family: 'General Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- COLOR TOKENS --- */
:root {
  --bg:         #E8DDD0;
  --text:       #2C2520;
  --text-body:  #555048;
  --text-muted: #8C7E74;
  --hairline:   #C4B5A8;
}

/* --- TYPOGRAPHY --- */
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: var(--text);
}

h3 {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--text);
}

p {
  font-family: 'General Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-body);
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--text-muted);
}

/* --- LABEL / EYEBROW --- */
.label {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2rem;
}

.eyebrow {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 1rem;
}

/* --- HAIRLINE RULE --- */
hr.hairline {
  border: none;
  border-top: 1px solid var(--hairline);
  width: 60px;
  margin: 2rem 0;
  display: block;
}

hr.hairline-full {
  border: none;
  border-top: 1px solid var(--hairline);
  width: 100%;
  margin: 0;
}

/* --- GHOST BUTTON --- */
.btn-ghost {
  display: inline-block;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  padding: 14px 36px;
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: 0;
  text-decoration: none;
}

.btn-ghost:hover {
  background: var(--text);
  color: var(--bg);
}

/* --- LAYOUT --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

section {
  padding: 140px 0;
}

/* --- NAVIGATION --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav.scrolled {
  background: #E8DDD0;
}

.nav-logo {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.7rem;
  color: var(--text);
  text-decoration: none;
}

.nav-logo:hover {
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
  list-style: none;
}

.nav-links a {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.65rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-muted);
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .label {
  margin-bottom: 1.5rem;
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 2rem;
}

.hero-subtext {
  font-family: 'General Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'General Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* --- STATEMENT SECTION --- */
.statement {
  text-align: center;
  padding: 140px 0;
}

.statement-quote {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.4;
  color: var(--text);
  max-width: 860px;
  margin: 0 auto;
}

/* --- WORK CARDS GRID --- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 60px;
}

.work-card {
  display: flex;
  flex-direction: column;
}

.work-card .card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-style: normal;
}

.work-card p {
  margin-bottom: 2rem;
  flex: 1;
}

/* --- ABOUT SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 60px;
  align-items: start;
}

.about-left {
  padding-top: 0.5rem;
}

.about-right h2 {
  margin-bottom: 2rem;
}

.about-right p + p {
  margin-top: 1.5rem;
}

/* --- CONTACT SECTION --- */
.contact-centered {
  text-align: center;
}

.contact-centered .label {
  display: block;
  text-align: center;
}

.contact-centered h2 {
  margin-bottom: 1.5rem;
}

.contact-email {
  font-family: 'General Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2.5rem;
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  font-family: 'General Sans', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.footer-center {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-right a {
  font-family: 'General Sans', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-right a:hover {
  color: var(--text);
}

/* --- WRITING PAGE --- */
.pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.3;
  color: var(--text);
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.pull-attribution {
  font-family: 'General Sans', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
  display: block;
}

.topics-list {
  list-style: none;
  margin-top: 2.5rem;
  max-width: 560px;
}

.topics-list li {
  font-family: 'General Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-body);
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hairline);
}

.topics-list li:first-child {
  border-top: 1px solid var(--hairline);
}

/* --- WORK PAGE --- */
.work-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--hairline);
}

.work-section:last-of-type {
  border-bottom: none;
}

.work-section h2 {
  margin: 1rem 0 1.5rem;
}

.work-section p {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

/* --- CONTACT PAGE --- */
.contact-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 0 80px;
}

.contact-page h1 {
  margin-bottom: 1.5rem;
}

.contact-page .body-text {
  max-width: 500px;
  margin: 0 auto 2rem;
  color: var(--text-body);
}

.contact-large-email {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text);
  display: block;
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}

.contact-large-email:hover {
  color: var(--text-muted);
}

.contact-note {
  margin-top: 3rem;
  font-family: 'General Sans', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-note a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--hairline);
}

.contact-note a:hover {
  color: var(--text);
}

/* --- PAGE TITLE SECTIONS --- */
.page-title {
  padding-top: 180px;
  padding-bottom: 100px;
}

.page-title h1 {
  margin-top: 1.5rem;
  max-width: 800px;
}

.page-title-subtext {
  font-family: 'General Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
  nav {
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg);
  }

  .nav-links {
    gap: 28px;
  }

  .hero-inner {
    padding: 0 24px;
  }

  .hero {
    padding-top: 140px;
  }

  section {
    padding: 80px 0;
  }

  .container {
    padding: 0 24px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 0 24px;
  }

  .footer-right {
    justify-content: center;
  }

  .statement {
    padding: 80px 0;
  }

  .page-title {
    padding-top: 140px;
    padding-bottom: 60px;
  }

  .contact-page {
    padding: 140px 24px 60px;
  }

  .work-section {
    padding: 60px 0;
  }
}
