/* Le Rucher des Grange-la-Battiaz — mobile first */

:root {
  --cream: #FBF6EA;
  --paper: #FFFCF4;
  --ink: #332E27;
  --ink-soft: #6E645A;
  --sage: #93A585;
  --pink: #DFA6AC;
  --lavender: #B7A6CE;
  --honey: #C98B2E;
  --gold: #E4B45A;
  --rule: #E3D9C4;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(228, 180, 90, .10), transparent 42%),
    radial-gradient(circle at 84% 78%, rgba(183, 166, 206, .10), transparent 46%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

/* ---------- card ---------- */

.card {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(51, 46, 39, .05), 0 12px 34px rgba(51, 46, 39, .08);
  overflow: hidden;
}

.border {
  height: 58px;
  background-image: url("assets/floral-border.svg");
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: auto 58px;
}

.border--top { transform: scaleY(-1); }

/* ---------- hero ---------- */

.hero {
  padding: 4px 24px 0;
}

.hero__hive {
  display: block;
  width: 104px;
  height: auto;
  margin: 0 auto 6px;
}

.hero__title {
  margin: 0;
  font-family: Parisienne, "Snell Roundhand", "Brush Script MT", cursive;
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1.3;
  letter-spacing: .01em;
  color: var(--ink);
}

.hero__tagline {
  margin: .55rem 0 0;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--honey);
}

.hero__intro {
  max-width: 30ch;
  margin: 1rem auto 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- content ---------- */

.content {
  padding: 8px 24px 28px;
}

.section { padding: 22px 0; }

.section__title {
  margin: 0 0 .85rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lead {
  margin: 0 0 .9rem;
  font-size: 1.5rem;
  line-height: 1.45;
}

.amp {
  font-style: italic;
  color: var(--honey);
}

.muted {
  margin: 0;
  color: var(--ink-soft);
}

address.muted { font-style: normal; }

.villages {
  margin: 1rem 0 0;
  font-size: .95rem;
  line-height: 1.9;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.small { font-size: .95rem; }

/* ---------- ornament ---------- */

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ornament span {
  height: 1px;
  width: 54px;
  background: linear-gradient(to right, transparent, var(--rule), transparent);
}

.ornament svg { display: block; }

/* ---------- harvests ---------- */

.harvests {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 20px;
}

.harvest__icon {
  display: block;
  margin: 0 auto .4rem;
}

.harvest__name {
  margin: 0 0 .15rem;
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: .01em;
}

.harvest__note {
  margin: 0;
  font-size: .95rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- prices ---------- */

.price-intro {
  margin-bottom: .7rem;
  letter-spacing: .04em;
}

.prices {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 12px;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(228, 180, 90, .07), rgba(228, 180, 90, 0));
}

.price__weight {
  font-size: 1.2rem;
  letter-spacing: .04em;
}

.price__amount {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--honey);
  white-space: nowrap;
}

.price__dash { letter-spacing: -.02em; }

/* ---------- button ---------- */

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 13px 26px;
  border: 1px solid var(--honey);
  border-radius: 999px;
  background: transparent;
  color: var(--honey);
  font-size: 1.05rem;
  letter-spacing: .02em;
  text-decoration: none;
  word-break: break-word;
  transition: background-color .2s ease, color .2s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--honey);
  color: #FFFCF4;
}

/* ---------- footer ---------- */

.footer {
  padding: 22px 24px 34px;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: .75;
}

.footer p { margin: 0; }

/* ---------- larger screens ---------- */

@media (min-width: 620px) {
  body { font-size: 19px; }

  .card { margin-top: 40px; border-radius: 4px; }

  .border { height: 64px; background-size: auto 64px; }

  .hero { padding-top: 10px; }
  .hero__hive { width: 128px; }
  .hero__title { font-size: 3.4rem; }
  .hero__intro { max-width: 42ch; font-size: 1.12rem; }

  .content { padding: 16px 56px 40px; }

  .section { padding: 28px 0; }

  .lead { font-size: 1.75rem; }

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

  .prices {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .price {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 20px 16px;
  }

  .footer { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
