/* ============================================
   THE OPTIMIST FLORIST
   A boutique florist in South End, Charlotte.
   Aesthetic: soft luxury minimalist. Aesop × Kinfolk.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Outfit:wght@200;300;400;500;600&display=swap');

:root {
  --cream: #FAF7F2;
  --paper: #F2EDE4;
  --sage: #95A48A;
  --sage-deep: #6D7E63;
  --blush: #E8C5B5;
  --blush-deep: #D4A797;
  --charcoal: #2B2B2B;
  --quiet: #7A7670;
  --line: rgba(43, 43, 43, 0.1);

  --display: 'Italiana', 'Times New Roman', serif;
  --body: 'Outfit', system-ui, sans-serif;

  --container: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--sage); color: var(--cream); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 26px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250, 247, 242, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav__logo {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  text-transform: uppercase;
}

.nav__logo em {
  font-style: normal;
  color: var(--sage-deep);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.78em;
  margin-left: 2px;
}

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

.nav__menu a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

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

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

.nav__cta {
  background: var(--sage) !important;
  color: var(--cream) !important;
  padding: 12px 24px !important;
  letter-spacing: 0.18em !important;
  transition: background 0.3s ease;
}
.nav__cta:hover { background: var(--sage-deep) !important; color: var(--cream) !important; }
.nav__cta::after { display: none; }

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

.eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--charcoal);
}

.h-display {
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 140px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.96;
}

.h-display em {
  font-style: italic;
  color: var(--sage-deep);
}

.h-section {
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.05;
}

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

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--quiet);
  font-weight: 300;
  max-width: 56ch;
}

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

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

.hero__sub {
  margin-top: 44px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--quiet);
  max-width: 42ch;
}

.hero__buttons {
  margin-top: 50px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__media {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--paper);
}

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

.hero__caption {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--quiet);
}

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

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

.section-head__title {
  font-family: var(--display);
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

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

/* ============================================
   FEATURE / THIS WEEK
   ============================================ */
.feature {
  background: var(--paper);
}

.feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.feature__media {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--blush);
}

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

.feature__body h2 { margin-bottom: 30px; }
.feature__body p { color: var(--quiet); margin-bottom: 18px; font-size: 17px; }

.feature__meta {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.feature__meta-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--quiet);
  margin-bottom: 8px;
}

.feature__meta-value {
  font-family: var(--display);
  font-size: 22px;
  color: var(--charcoal);
}

/* ============================================
   SERVICES (3-up)
   ============================================ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.service {
  background: var(--cream);
  padding: 0;
  transition: transform 0.4s ease;
}

.service:hover { transform: translateY(-8px); }

.service__media {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 30px;
}

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

.service:hover .service__media img { transform: scale(1.05); }

.service__name {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 14px;
}

.service__desc {
  font-size: 15px;
  color: var(--quiet);
  margin-bottom: 22px;
  line-height: 1.7;
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy {
  background: var(--sage);
  color: var(--cream);
  padding: 160px 0;
  text-align: center;
}

.philosophy__quote {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin: 0 auto;
}

.philosophy__quote em { font-style: italic; }

.philosophy__attribution {
  margin-top: 50px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.7);
}

/* ============================================
   SPLIT
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.split--flipped .split__media { order: 2; }

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

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

.split__body h2 { margin-bottom: 26px; }
.split__body p { margin-bottom: 20px; color: var(--quiet); font-size: 17px; }

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

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

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

.btn--sage { background: var(--sage); }
.btn--sage:hover { background: var(--sage-deep); }

.btn--cream { background: var(--cream); color: var(--charcoal); }
.btn--cream:hover { background: var(--paper); color: var(--charcoal); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sage-deep);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap 0.3s ease;
}
.text-link:hover { gap: 18px; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 110px 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: 46px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 22px;
  line-height: 1;
}

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

.footer__brand p {
  color: rgba(250, 247, 242, 0.65);
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.7;
}

.footer__col h4 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 24px;
}

.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 12px; }
.footer__col a, .footer__address {
  color: rgba(250, 247, 242, 0.78);
  font-size: 14px;
  line-height: 1.7;
  transition: color 0.25s ease;
}
.footer__col a:hover { color: var(--blush); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 36px;
  border-top: 1px solid rgba(250, 247, 242, 0.12);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(250, 247, 242, 0.5);
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding: 220px 0 100px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.page-header__title {
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 130px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.page-header__title em { font-style: italic; color: var(--sage-deep); }

.page-header__sub {
  font-size: 18px;
  color: var(--quiet);
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.7;
}

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

.plan {
  background: var(--paper);
  padding: 56px 40px;
  position: relative;
  transition: transform 0.3s ease;
}

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

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

.plan--featured .plan__name,
.plan--featured .plan__price { color: var(--cream); }
.plan--featured .plan__feature { color: rgba(250, 247, 242, 0.85); border-color: rgba(250,247,242,0.18); }
.plan--featured .plan__period { color: rgba(250, 247, 242, 0.6); }

.plan__badge {
  position: absolute;
  top: -12px;
  left: 40px;
  background: var(--blush);
  color: var(--charcoal);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 14px;
  font-weight: 500;
}

.plan__name {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--sage-deep);
}

.plan__price {
  font-family: var(--display);
  font-size: 64px;
  line-height: 1;
  font-weight: 400;
  margin-bottom: 6px;
}

.plan__period {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--quiet);
  margin-bottom: 36px;
}

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

.plan__feature {
  font-size: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--quiet);
}
.plan__feature:last-child { border-bottom: none; }

/* ============================================
   GALLERY (weddings)
   ============================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery__item {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--paper);
}

.gallery__item--tall { aspect-ratio: 4/6; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 8/5; }

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

.gallery__item:hover img { transform: scale(1.04); }

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

.process-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.process-step:last-child { border-bottom: none; }

.process-step__number {
  font-family: var(--display);
  font-size: 72px;
  font-style: italic;
  color: var(--sage-deep);
  line-height: 1;
}

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

/* ============================================
   FAQ
   ============================================ */
.faq__item {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.faq__q {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--charcoal);
}

.faq__a {
  font-size: 16px;
  color: var(--quiet);
  line-height: 1.75;
  max-width: 68ch;
}

/* ============================================
   FORM
   ============================================ */
.form {
  display: grid;
  gap: 28px;
  max-width: 640px;
  margin: 0 auto;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.form__field { display: grid; gap: 8px; }

.form__field label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--quiet);
}

.form__field input,
.form__field textarea,
.form__field select {
  background: var(--cream);
  border: none;
  border-bottom: 1px solid var(--charcoal);
  padding: 14px 0;
  font-family: var(--body);
  font-size: 16px;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.25s ease;
}

.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  border-color: var(--sage-deep);
}

.form__field textarea { resize: vertical; min-height: 120px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav { padding: 18px 24px; }
  .nav__menu { gap: 16px; }
  .nav__menu a { font-size: 11px; letter-spacing: 0.12em; }
  .container, .container--narrow { padding: 0 24px; }
  .hero { padding: 150px 0 90px; }
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .section-head { grid-template-columns: 1fr; gap: 30px; margin-bottom: 56px; }
  .feature__grid, .split { grid-template-columns: 1fr; gap: 50px; }
  .split--flipped .split__media { order: 0; }
  .services, .plans, .gallery { grid-template-columns: 1fr; gap: 30px; }
  .gallery__item--wide { grid-column: span 1; aspect-ratio: 4/5; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 14px; }
  .process-step { grid-template-columns: 1fr; gap: 16px; }
  .process-step__number { font-size: 52px; }
  .form__row { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
  .page-header { padding: 150px 0 70px; }
  .philosophy { padding: 100px 0; }
}

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

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

.service {
  animation: fadeRise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.service:nth-child(2) { animation-delay: 0.12s; }
.service:nth-child(3) { animation-delay: 0.24s; }
