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

:root {
  --cream: #F9F6F0;
  --olive-green: #2C3525;
  --terracotta: #BA6856;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--cream);
  color: var(--olive-green);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--olive-green);
}

a {
  color: var(--olive-green);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--terracotta);
}

/* Header */
.editorial-header {
  padding: 1.5rem 4vw;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(44, 53, 37, 0.15);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 3rem;
}

.nav-right {
  justify-content: flex-end;
}

.logo a {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.logo a:hover {
  color: var(--olive-green);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4vw;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 6rem 4vw 8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 85vh;
}

.hero-text {
  flex: 1;
  z-index: 10;
  margin-top: -4rem;
}

.hero-text h1 {
  font-size: clamp(5rem, 11vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.hero-text h1 span {
  display: block;
  font-style: italic;
  padding-left: 12%;
  color: var(--terracotta);
  text-shadow: 0 0 20px rgba(249, 246, 240, 0.4);
}

.hero-meta {
  margin-top: 4rem;
  padding-left: 12%;
  max-width: 65%;
  font-family: var(--font-sans);
}

.hero-meta p:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--olive-green);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.hero-meta p:last-child {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
}

.hero-image {
  flex: 1;
  max-width: 36%;
  position: absolute;
  right: 6%;
  top: 8%;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3/4;
  border-radius: 200px 200px 0 0;
  box-shadow: 0 20px 50px rgba(44, 53, 37, 0.08);
  transition: transform 0.7s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

/* Philosophy Section */
.philosophy {
  padding: var(--spacing-xl) 0;
  background-color: var(--cream);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--spacing-lg);
  font-style: italic;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.philosophy-grid .col p {
  font-size: 1.125rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: var(--spacing-md);
  max-width: 90%;
}

.philosophy-grid .col:first-child p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--terracotta);
  font-family: var(--font-serif);
}

/* Services Section */
.services {
  padding: var(--spacing-xl) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--olive-green);
  border-bottom: 1px solid var(--olive-green);
}

.service-item {
  padding: 4rem 2rem;
  position: relative;
  transition: background-color 0.4s ease;
}

.service-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--olive-green);
}

.service-item:hover {
  background-color: rgba(186, 104, 86, 0.05);
}

.service-number {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  display: block;
  opacity: 0.6;
}

.service-item h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.service-item p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.8;
}

/* Footer */
.footer {
  padding: 4rem 4vw;
  text-align: center;
  border-top: 1px solid rgba(44, 53, 37, 0.2);
  margin-top: var(--spacing-xl);
}

.footer p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    padding-top: 2rem;
  }

  .hero-text {
    width: 100%;
    margin-bottom: 3rem;
  }

  .hero-text h1 span {
    padding-left: 0;
  }

  .hero-image {
    position: relative;
    max-width: 80%;
    right: auto;
    top: auto;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .nav-left,
  .nav-right {
    justify-content: center;
    gap: 1.5rem;
  }

  .nav-left {
    order: 2;
  }

  .logo {
    order: 1;
  }

  .nav-right {
    order: 3;
  }

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

  .service-item:not(:last-child)::after {
    width: 100%;
    height: 1px;
    right: auto;
    bottom: 0;
    top: auto;
  }
}
/* Elm St Digital Return Badge */
.elm-st-return-badge {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #111827;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 50px;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.elm-st-return-badge:hover {
  background-color: #374151;
  transform: translateY(-2px);
}

/* Mobile Overrides for ThePrestige */
@media (max-width: 768px) {
  /* Hero Typography */
  .hero-text h1 {
    font-size: clamp(3rem, 12vw, 4.5rem);
    line-height: 1.05;
  }

  /* Navigation 2x2 Grid */
  .nav-left, .nav-right {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 15px !important;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .nav-left a, .nav-right a {
    font-size: 0.75rem;
  }

  /* Return Badge */
  .elm-st-return-badge {
    font-size: 12px;
    padding: 8px 12px;
  }
  .hide-mobile {
    display: none;
  }

  /* General Spacing around VOL 01 */
  .hero-meta {
    margin-top: 2rem;
  }
  .hero {
    min-height: auto;
    padding-bottom: 4rem;
  }

  /* Content Containers Padding */
  .philosophy .container,
  .services .container,
  .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}
