/* ============================================
   PLAZA MIDWOOD ROASTERY
   A specialty coffee roaster + café in Plaza Midwood, Charlotte.
   Aesthetic: editorial, literary, intentional.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT@9..144,300..900,0..100&family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');

:root {
  --espresso: #2A1810;
  --coffee: #4A2C1F;
  --cream: #F4ECDE;
  --cream-deep: #EBE0CC;
  --oxblood: #722F37;
  --mustard: #C7A95E;
  --ink: #1A0F08;
  --muted: #8B7355;

  --display: 'Fraunces', 'Times New Roman', serif;
  --body: 'Bricolage Grotesque', system-ui, sans-serif;

  --container: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

::selection { background: var(--oxblood); color: var(--cream); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(244, 236, 222, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(42, 24, 16, 0.08);
}

.nav__logo {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--espresso);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.nav__logo em {
  font-style: italic;
  font-variation-settings: "SOFT" 100;
  color: var(--oxblood);
}

.nav__logo small {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 6px;
}

.nav__menu {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav__menu a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--espresso);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--oxblood);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav__menu a:hover,
.nav__menu a.is-active { color: var(--oxblood); }
.nav__menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__menu a.is-active::after { transform: scaleX(1); }

.nav__cta {
  background: var(--espresso) !important;
  color: var(--cream) !important;
  padding: 11px 22px !important;
  border-radius: 999px;
  font-size: 12px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s ease;
}
.nav__cta:hover { background: var(--oxblood) !important; }
.nav__cta::after { display: none; }

/* ============================================
   LAYOUT PRIMITIVES
   ============================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: 880px; margin: 0 auto; padding: 0 40px; }

.eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oxblood);
}

.eyebrow--muted { color: var(--muted); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 350;
  letter-spacing: -0.018em;
  line-height: 1.06;
  color: var(--ink);
}

.h-display {
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 116px);
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 0.98;
  font-variation-settings: "SOFT" 30, "opsz" 144;
}

.h-display em {
  font-style: italic;
  color: var(--oxblood);
  font-variation-settings: "SOFT" 100, "opsz" 144;
}

.h-section {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 350;
  font-variation-settings: "opsz" 96;
}

.h-section em {
  font-style: italic;
  color: var(--oxblood);
}

.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--coffee);
  font-weight: 400;
  max-width: 60ch;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}

.hero__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.hero__eyebrow-row::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--oxblood);
}

.hero__sub {
  margin-top: 36px;
  font-size: 19px;
  line-height: 1.65;
  color: var(--coffee);
  max-width: 44ch;
}

.hero__sidecard {
  background: var(--espresso);
  color: var(--cream);
  padding: 44px 38px;
  border-radius: 4px;
  position: relative;
}

.hero__sidecard-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 14px;
}

.hero__sidecard-title {
  font-family: var(--display);
  font-size: 28px;
  font-style: italic;
  line-height: 1.15;
  margin-bottom: 18px;
  font-variation-settings: "SOFT" 50;
}

.hero__sidecard-detail {
  font-size: 14px;
  line-height: 1.6;
  color: var(--cream-deep);
  opacity: 0.85;
}

.hero__sidecard-meta {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 236, 222, 0.18);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mustard);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 110px 0;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 72px;
  align-items: end;
}

.section-head__title {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 350;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

.section-head__title em {
  font-style: italic;
  color: var(--oxblood);
}

/* ============================================
   COFFEE GRID
   ============================================ */
.coffee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.coffee-card {
  position: relative;
  cursor: pointer;
}

.coffee-card__img {
  aspect-ratio: 4/5;
  background: var(--coffee);
  overflow: hidden;
  margin-bottom: 26px;
  position: relative;
}

.coffee-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.coffee-card:hover .coffee-card__img img { transform: scale(1.06); }

.coffee-card__origin {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 10px;
}

.coffee-card__name {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 350;
  font-style: italic;
  margin-bottom: 14px;
  font-variation-settings: "SOFT" 60;
  letter-spacing: -0.01em;
}

.coffee-card__notes {
  font-size: 15px;
  color: var(--coffee);
  font-style: italic;
  margin-bottom: 18px;
}

.coffee-card__price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid rgba(42, 24, 16, 0.14);
  padding-top: 16px;
}

.coffee-card__price-amount {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
}

.coffee-card__price-unit {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================
   QUOTE / PULL
   ============================================ */
.pull {
  background: var(--espresso);
  color: var(--cream);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.pull::before {
  content: """;
  position: absolute;
  left: 60px;
  top: -40px;
  font-family: var(--display);
  font-size: 380px;
  font-style: italic;
  color: var(--oxblood);
  opacity: 0.5;
  line-height: 1;
  font-variation-settings: "SOFT" 100;
}

.pull__quote {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 350;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.012em;
  max-width: 22ch;
  position: relative;
  font-variation-settings: "SOFT" 80;
}

.pull__attribution {
  margin-top: 36px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mustard);
}

/* ============================================
   SPLIT CONTENT (image + text)
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split--flipped { grid-template-columns: 1fr 1fr; }
.split--flipped .split__media { order: 2; }

.split__media {
  aspect-ratio: 4/5;
  background: var(--coffee);
  overflow: hidden;
  position: relative;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__body h2 { margin-bottom: 26px; }
.split__body p { margin-bottom: 22px; color: var(--coffee); }
.split__body p:last-child { margin-bottom: 0; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover { background: var(--oxblood); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--espresso);
  border: 1px solid var(--espresso);
}
.btn--ghost:hover { background: var(--espresso); color: var(--cream); }

.btn--cream { background: var(--cream); color: var(--espresso); }
.btn--cream:hover { background: var(--mustard); color: var(--espresso); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--oxblood);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: gap 0.3s ease, letter-spacing 0.3s ease;
}
.text-link:hover { gap: 14px; letter-spacing: 0.18em; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 100px 0 50px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer__brand h3 {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 350;
  color: var(--cream);
  margin-bottom: 18px;
  font-variation-settings: "SOFT" 30;
}

.footer__brand h3 em { font-style: italic; color: var(--mustard); }

.footer__brand p { color: rgba(244, 236, 222, 0.7); max-width: 36ch; font-size: 15px; }

.footer__col h4 {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 22px;
}

.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 12px; }
.footer__col a { color: rgba(244, 236, 222, 0.85); font-size: 14px; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--mustard); }

.footer__address {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244, 236, 222, 0.85);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 36px;
  border-top: 1px solid rgba(244, 236, 222, 0.12);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(244, 236, 222, 0.55);
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding: 200px 0 80px;
  text-align: center;
  border-bottom: 1px solid rgba(42, 24, 16, 0.1);
}

.page-header__title {
  font-family: var(--display);
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.page-header__title em { font-style: italic; color: var(--oxblood); font-variation-settings: "SOFT" 100, "opsz" 144; }

.page-header__sub {
  font-size: 18px;
  color: var(--coffee);
  max-width: 60ch;
  margin: 0 auto;
}

/* ============================================
   MENU TABLE
   ============================================ */
.menu-section {
  margin-bottom: 80px;
}

.menu-section__title {
  font-family: var(--display);
  font-size: 32px;
  font-style: italic;
  font-variation-settings: "SOFT" 60;
  margin-bottom: 8px;
}

.menu-section__lead {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 36px;
  font-style: italic;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid rgba(42, 24, 16, 0.1);
}

.menu-item__name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.menu-item__desc {
  font-size: 14px;
  color: var(--coffee);
  margin-top: 4px;
}

.menu-item__price {
  font-family: var(--display);
  font-size: 20px;
  color: var(--oxblood);
}

/* ============================================
   PROCESS / TIMELINE
   ============================================ */
.process {
  display: grid;
  gap: 60px;
}

.process-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(42, 24, 16, 0.1);
}
.process-step:last-child { border-bottom: none; }

.process-step__number {
  font-family: var(--display);
  font-size: 64px;
  font-style: italic;
  color: var(--oxblood);
  line-height: 1;
  font-variation-settings: "SOFT" 100, "opsz" 96;
}

.process-step__title {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 350;
  margin-bottom: 14px;
}

/* ============================================
   SUBSCRIPTION PLANS
   ============================================ */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.plan {
  background: var(--cream-deep);
  padding: 44px 36px;
  position: relative;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.plan:hover { transform: translateY(-6px); }

.plan--featured {
  background: var(--espresso);
  color: var(--cream);
}

.plan--featured .plan__name { color: var(--mustard); }
.plan--featured .plan__price { color: var(--cream); }
.plan--featured .plan__feature { color: rgba(244, 236, 222, 0.85); }
.plan--featured .plan__feature::before { background: var(--mustard); }

.plan__badge {
  position: absolute;
  top: -12px;
  right: 32px;
  background: var(--mustard);
  color: var(--espresso);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.plan__name {
  font-family: var(--display);
  font-size: 28px;
  font-style: italic;
  font-variation-settings: "SOFT" 70;
  color: var(--oxblood);
  margin-bottom: 12px;
}

.plan__price {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 350;
  line-height: 1;
  margin-bottom: 4px;
}

.plan__period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.plan__features {
  list-style: none;
  margin-bottom: 32px;
}

.plan__feature {
  font-size: 15px;
  padding: 10px 0 10px 22px;
  position: relative;
  color: var(--coffee);
  border-bottom: 1px solid rgba(42, 24, 16, 0.06);
}

.plan__feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 1px;
  background: var(--oxblood);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav { padding: 16px 22px; }
  .nav__menu { gap: 18px; font-size: 12px; }
  .nav__menu a { font-size: 12px; }
  .container, .container--narrow { padding: 0 24px; }
  .hero { padding: 140px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
  .coffee-grid { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--flipped .split__media { order: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 14px; }
  .plans { grid-template-columns: 1fr; gap: 20px; }
  .process-step { grid-template-columns: 1fr; gap: 12px; }
  .process-step__number { font-size: 48px; }
  section { padding: 70px 0; }
  .page-header { padding: 130px 0 60px; }
  .pull::before { font-size: 200px; left: 20px; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__inner > * {
  animation: fadeRise 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero__inner > *:nth-child(2) { animation-delay: 0.15s; }

.coffee-card {
  animation: fadeRise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.coffee-card:nth-child(2) { animation-delay: 0.1s; }
.coffee-card:nth-child(3) { animation-delay: 0.2s; }
