:root {
  --cream: #faf7f2;
  --blush: #e8c4c4;
  --pink: #fae3ed;
  --blush-deep: hsl(0, 37%, 66%);
  --sage: #8a9a7b;
  --sage-dark: #5c6b52;
  --charcoal: #3d3632;
  --warm-gray: #6b635c;
  --white: #ffffff;
  --shadow: rgba(61, 54, 50, 0.08);
  --radius: 12px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--pink);
  line-height: 1.6;
}

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 180, 170, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 1rem 0;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 400;
}

.nav-links a {
  position: relative;
  color: var(--warm-gray);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--sage-dark);
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.15rem 4vw 1.25rem;
  overflow: visible;
  background:
    radial-gradient(
      ellipse at 80% 20%,
      rgba(255, 255, 255, 0.55) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 10% 80%,
      rgba(138, 154, 123, 0.18) 0%,
      transparent 50%
    ),
    var(--pink);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-right: min(190px, 24vw);
}

.eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 4.6vw, 3.35rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--charcoal);
}

.hero-tagline {
  margin: 0.45rem 0 0.85rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--warm-gray);
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-logo {
  position: absolute;
  right: max(1.25rem, 3vw);
  top: 50%;
  transform: translateY(-50%);
  width: min(148px, 18vw);
  height: min(148px, 18vw);
  z-index: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 24px rgba(61, 54, 50, 0.14);
  border: 3px solid rgba(255, 255, 255, 0.65);
}

/* Carousel: 3 full images, with a partial image peeking in on each side. */

.carousel {
  --carousel-gap: 0.85rem;
  --carousel-fit: 3.64;
  position: relative;
  background: var(--blush);
  padding: 1.1rem 0;
}

.carousel-viewport {
  container-type: inline-size;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: var(--carousel-gap);
  transition: transform 0.55s ease;
}

.carousel-slide {
  flex: 0 0 calc((100cqi - 4 * var(--carousel-gap)) / var(--carousel-fit));
  width: calc((100cqi - 4 * var(--carousel-gap)) / var(--carousel-fit));
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.9);
  color: var(--charcoal);
  box-shadow: 0 4px 16px rgba(61, 54, 50, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s, transform 0.2s;
}

.carousel-arrow svg {
  width: 1.35rem;
  height: 1.35rem;
}

.carousel-prev {
  left: max(0.75rem, 2vw);
}

.carousel-next {
  right: max(0.75rem, 2vw);
}

.carousel-arrow:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.04);
}

.carousel-arrow:focus-visible {
  outline: 2px solid var(--sage-dark);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--sage-dark);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(92, 107, 82, 0.25);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--charcoal);
  border: 1px solid rgba(200, 180, 170, 0.5);
}

/* Sections */

.section {
  padding: 5rem 0;
}

/* Pink is the dominant page background.
   Individual sections use translucent/soft variations so the pink remains visible. */

.about {
  background: rgba(255, 255, 255, 0.42);
}

.markets {
  background: rgba(250, 247, 242, 0.38);
}

.flowers,
.portfolio {
  background: rgba(255, 255, 255, 0.42);
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.portfolio-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  border: 4px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 40px rgba(61, 54, 50, 0.15);
}

.portfolio-gallery img[src$="portfolio_3.jpeg"] {
  object-position: center top;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--charcoal);
}

.section-lead {
  margin: 0.5rem 0 0;
  color: var(--warm-gray);
  font-size: 1.05rem;
}

.about-body {
  display: grid;
  grid-template-columns: 1fr 140px;
  column-gap: 1.5rem;
  align-items: start;
}

.about-copy {
  min-width: 0;
}

.about-text {
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
  color: var(--charcoal);
}

.about-photo {
  width: 140px;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px var(--shadow);
  border: 4px solid rgba(255, 255, 255, 0.65);
}

.note {
  padding: 1rem 1.25rem;
  background: rgba(138, 154, 123, 0.12);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--sage-dark);
}

/* Cards */

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(200, 180, 170, 0.3);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 8px 24px var(--shadow);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.shop-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.shop-card {
  display: block;
  padding: 0;
  overflow: hidden;
  color: inherit;
}

.shop-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.shop-card-label {
  margin: 0;
  padding: 0.85rem 0.9rem 1rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--charcoal);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(61, 54, 50, 0.12);
}

.market-card h3,
.flower-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--charcoal);
}

.market-card dl {
  margin: 0;
}

.market-card dl div {
  margin-bottom: 0.75rem;
}

.market-card dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.15rem;
}

.market-card dd {
  margin: 0;
  color: var(--charcoal);
}

.flower-season {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blush-deep);
  background: rgba(232, 196, 196, 0.25);
  border-radius: 999px;
}

.flower-card p {
  margin: 0;
  color: var(--warm-gray);
}

/* Shop detail */

.shop-detail {
  background: rgba(255, 255, 255, 0.42);
  min-height: calc(100vh - 8rem);
}

.shop-detail-body {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.15fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.shop-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.shop-detail-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  border: 3px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 24px rgba(61, 54, 50, 0.12);
}

.shop-detail-photo {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(61, 54, 50, 0.15);
  border: 4px solid rgba(255, 255, 255, 0.65);
}

.shop-back {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.shop-back:hover {
  color: var(--blush-deep);
}

.shop-detail-copy h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
}

.shop-detail-copy p {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  color: var(--charcoal);
}

.shop-prices {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(138, 154, 123, 0.12);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.shop-prices li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.shop-prices li + li {
  margin-top: 0.5rem;
}

.shop-detail-copy .btn {
  margin-top: 0.5rem;
}

.order-form {
  margin-top: 1.75rem;
  padding: 1.5rem 1.35rem 1.6rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(200, 180, 170, 0.35);
  border-radius: var(--radius);
}

.order-form h2 {
  margin: 0 0 1.15rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.order-form .form-error {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  background: rgba(180, 70, 70, 0.1);
  border-left: 3px solid #a24b4b;
  color: #7a2e2e;
  font-size: 0.95rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.required {
  color: var(--blush-deep);
}

.order-form .field-hint {
  margin: 0.2rem 0 0.4rem;
  font-size: 0.85rem;
  color: var(--warm-gray);
}

.order-form select,
.order-form input,
.order-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(200, 180, 170, 0.7);
  border-radius: 8px;
  background: var(--white);
  color: var(--charcoal);
  font-family: inherit;
  font-size: 0.95rem;
}

.order-form textarea {
  resize: vertical;
  min-height: 5rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.order-form .btn {
  width: 100%;
  text-align: center;
  margin-top: 0.35rem;
}

.order-form .venmo-form-note {
  margin-top: 0.85rem;
  text-align: center;
}

.shop-detail-copy .venmo-pay p {
  margin: 0 0 0.85rem;
}

.venmo-pay .btn-venmo {
  display: inline-block;
  margin: 0.25rem 0 1rem;
  background: #008cff;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 140, 255, 0.28);
}

.venmo-pay .btn-venmo:hover {
  background: #0074d4;
}

.venmo-steps {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: var(--sage-dark);
}

.venmo-steps li + li {
  margin-top: 0.35rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(61, 54, 50, 0.45);
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  width: min(440px, 100%);
  padding: 1.75rem 1.5rem 1.6rem;
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(61, 54, 50, 0.22);
}

.modal h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
}

.modal p {
  margin: 0 0 0.75rem;
  color: var(--charcoal);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.modal-actions .btn {
  text-align: center;
  margin-top: 0;
}

.modal .btn-venmo {
  background: #008cff;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 140, 255, 0.28);
}

.modal .btn-venmo:hover {
  background: #0074d4;
}

/* Contact */

.contact {
  background:
    radial-gradient(
      ellipse at 50% 100%,
      rgba(255, 255, 255, 0.45) 0%,
      transparent 60%
    ),
    rgba(250, 247, 242, 0.38);
}

.contact-inner {
  text-align: center;
}

.contact .section-header {
  margin-bottom: 0.65rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.contact-email {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--sage-dark);
  transition: color 0.2s;
}

.contact-email:hover {
  color: var(--blush-deep);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.social-link {
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(200, 180, 170, 0.4);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--charcoal);
  transition:
    background 0.2s,
    border-color 0.2s;
}

.social-link:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
}

/* Footer */

.site-footer {
  padding: 2rem 0;
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0.25rem 0;
}

.footer-note {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Responsive */

@media (max-width: 760px) {
  .hero-tagline {
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-links {
    gap: 1.25rem;
    font-size: 0.9rem;
  }

  .hero {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 4vw 1.35rem;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-tagline {
    font-size: min(1rem, 4.6vw);
    white-space: normal;
  }

  .hero-logo {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    display: block;
    width: 92px;
    height: 92px;
    margin: 0.9rem auto 0;
  }

  .carousel {
    --carousel-gap: 0.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .about-body {
    grid-template-columns: 1fr 110px;
    column-gap: 1rem;
  }

  .about-photo {
    width: 110px;
    max-height: 140px;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-detail-body {
    grid-template-columns: 1fr;
  }

  .shop-detail-photo {
    max-height: 50vh;
  }
}