:root {
  --ink: #292a28;
  --muted: #626762;
  --blush: #d69d9a;
  --coral: #e97c70;
  --sage: #879982;
  --blue: #7eadd0;
  --line: #ebe5e1;
  --white: #fffdfb;
  --shadow: 0 14px 40px rgba(83, 66, 58, .08);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #fffdfb 38%, #fefcf9 100%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(1100px, calc(100% - 40px));
  min-height: 96px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { width: 275px; }
.social-link,
.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  text-decoration: none;
}
.social-link { padding: 12px 0; }
.social-link:hover,
.footer-instagram:hover { color: var(--coral); }
.instagram-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1.8px solid currentColor;
  border-radius: 6px;
  position: relative;
}
.instagram-icon::before {
  content: "";
  position: absolute;
  inset: 4.5px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
}
.instagram-icon::after {
  content: "";
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  right: 3px;
  top: 3px;
  border-radius: 50%;
  background: currentColor;
}

main { padding: 0 20px; }
.intro {
  max-width: 1000px;
  margin: 58px auto 34px;
  text-align: center;
}
.intro h1 {
  margin: 0;
  font: 500 clamp(28px, 4vw, 42px)/1.2 var(--serif);
  letter-spacing: -.02em;
}
.flourish {
  margin: 20px auto 0;
  display: flex;
  width: 190px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--coral);
}
.flourish span { flex: 1; height: 1px; background: var(--sage); opacity: .65; }
.flourish b { font-size: 18px; }

.category-list {
  width: min(1000px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.category-card {
  --accent: var(--blush);
  --tint: #fff4f3;
  min-height: 170px;
  display: grid;
  grid-template-columns: 300px 1fr 72px;
  align-items: center;
  overflow: hidden;
  color: inherit;
  background: linear-gradient(90deg, var(--tint) 0 11%, #fff 55%);
  border: 1px solid var(--line);
  border-radius: 19px;
  text-decoration: none;
  box-shadow: 0 3px 9px rgba(72, 54, 45, .03);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: var(--shadow);
  outline: none;
}
.category-card.featured { min-height: 255px; grid-template-columns: 48% 1fr 78px; }
.card-image { height: 100%; min-height: 170px; overflow: hidden; }
.featured .card-image { min-height: 255px; }
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.category-card:hover .card-image img { transform: scale(1.025); }
.card-copy { padding: 30px 32px; }
.card-copy h2 {
  margin: 0;
  font: 500 clamp(27px, 3vw, 39px)/1.12 var(--serif);
  letter-spacing: -.025em;
}
.card-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 11px;
  color: white;
  background: var(--accent);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.arrow {
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 65%, white);
  border-radius: 50%;
  font-size: 28px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.featured .arrow { color: white; background: var(--accent); border-color: var(--accent); }
.category-card:hover .arrow { color: white; background: var(--accent); transform: translateX(3px); }
.coral { --accent: #e97c70; --tint: #fff0ed; }
.blush { --accent: #dc9994; --tint: #fff1f0; }
.blue { --accent: #78a9ce; --tint: #edf8fd; }
.green { --accent: #899c78; --tint: #f2f6ec; }
.butter { --accent: #bf9a55; --tint: #fff9e9; }

.site-footer {
  width: min(1000px, calc(100% - 40px));
  margin: 70px auto 0;
  padding: 55px 20px 42px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.footer-logo { width: 230px; margin: auto; }
.site-footer p { margin: 8px 0 20px; color: var(--muted); }
.footer-instagram { margin-bottom: 28px; }
.site-footer small { display: block; color: #777a76; line-height: 1.5; }

@media (max-width: 760px) {
  .header-inner { min-height: 76px; width: min(100% - 28px, 1100px); }
  .brand { width: 205px; }
  .social-link span:last-child { display: none; }
  .intro { margin: 42px auto 28px; }
  .intro h1 { font-size: clamp(27px, 8vw, 35px); }
  .category-card,
  .category-card.featured {
    min-height: 0;
    grid-template-columns: 124px 1fr 45px;
    border-radius: 15px;
  }
  .category-card.featured { grid-template-columns: 1fr; }
  .card-image { min-height: 150px; }
  .featured .card-image { min-height: 215px; }
  .featured .card-copy { padding-right: 70px; }
  .featured .arrow { position: absolute; right: 35px; margin-top: 215px; }
  .category-card.featured { position: relative; }
  .card-copy { padding: 22px 18px; }
  .card-copy h2 { font-size: clamp(23px, 6vw, 30px); }
  .card-copy p { display: none; }
  .featured .card-copy p { display: block; font-size: 14px; }
  .eyebrow { margin-bottom: 8px; }
  .arrow { width: 38px; height: 38px; font-size: 22px; }
}

@media (max-width: 450px) {
  main { padding: 0 13px; }
  .category-list { gap: 13px; }
  .category-card:not(.featured) { grid-template-columns: 105px 1fr 38px; }
  .card-image { min-height: 135px; }
  .card-copy { padding: 18px 13px; }
  .card-copy h2 { font-size: 22px; }
  .arrow { width: 32px; height: 32px; font-size: 19px; }
  .site-footer { width: calc(100% - 26px); }
}

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

/* ===== Sidebar ===== */
.sidebar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 4px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  flex: 0 0 auto;
}
.sidebar-toggle:hover { border-color: var(--coral); }
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.hamburger { position: relative; }
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.header-inner { position: relative; }

.sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(41, 42, 40, .38);
  opacity: 0;
  transition: opacity .25s ease;
}
.sidebar-overlay.is-visible { opacity: 1; }

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 31;
  width: min(280px, 82vw);
  height: 100%;
  background: var(--white);
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(-100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}
.sidebar.is-open { transform: translateX(0); }
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  border-bottom: 1px solid var(--line);
}
.sidebar-logo { width: 150px; }
.sidebar-close {
  width: 34px;
  height: 34px;
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.sidebar-close:hover { color: var(--coral); }
.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-nav a {
  display: block;
  padding: 13px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
}
.sidebar-nav a:hover,
.sidebar-nav a:focus-visible { background: #fff4f3; color: var(--coral); }
body.sidebar-open { overflow: hidden; }

/* ===== Horizontal scroll strip ===== */
.scroll-strip-section {
  width: min(1100px, 100%);
  margin: 46px auto 0;
}
.scroll-strip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 0 4px;
}
.scroll-strip-head h2 {
  margin: 0;
  font: 500 clamp(22px, 3vw, 28px)/1.2 var(--serif);
  letter-spacing: -.02em;
}
.scroll-strip-all {
  flex: 0 0 auto;
  font-weight: 500;
  text-decoration: none;
  color: var(--coral);
  white-space: nowrap;
}
.scroll-strip-all:hover { text-decoration: underline; }
.scroll-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: none;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--blush) transparent;
}
.scroll-strip::-webkit-scrollbar { height: 8px; }
.scroll-strip::-webkit-scrollbar-thumb { background: var(--blush); border-radius: 8px; }
.strip-card {
  --accent: var(--blush);
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}
.strip-image {
  width: 220px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.strip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.strip-card:hover .strip-image img { transform: scale(1.04); }
.strip-label {
  display: block;
  margin-top: 10px;
  font-weight: 500;
  font-size: 15px;
}
.strip-card.coral { --accent: #e97c70; }
.strip-card.blush { --accent: #dc9994; }
.strip-card.blue { --accent: #78a9ce; }
.strip-card.green { --accent: #899c78; }
.strip-card.butter { --accent: #bf9a55; }

/* ===== Carousel placeholder ===== */
.carousel-section {
  width: min(1100px, 100%);
  margin: 50px auto 0;
}
.carousel-placeholder {
  padding: 62px 24px;
  text-align: center;
  background: linear-gradient(180deg, #fff9f3 0%, #fdf4f0 100%);
  border: 1.5px dashed color-mix(in srgb, var(--blush) 55%, var(--line));
  border-radius: 22px;
}
.carousel-icon {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 26px;
  color: var(--coral);
}
.carousel-eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.carousel-placeholder h2 {
  margin: 0 auto;
  max-width: 480px;
  font: 500 clamp(22px, 3vw, 28px)/1.3 var(--serif);
  letter-spacing: -.02em;
}
.carousel-placeholder-inner p {
  margin: 12px auto 0;
  max-width: 440px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}
.carousel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blush) 60%, var(--line));
}
.carousel-dots span:first-child { background: var(--coral); }

/* ===== Shop page heading ===== */
.page-heading {
  max-width: 900px;
  margin: 50px auto 30px;
  text-align: center;
}
.page-heading .back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.page-heading .back-link:hover { color: var(--coral); }
.page-heading h1 {
  margin: 0;
  font: 500 clamp(28px, 4vw, 40px)/1.2 var(--serif);
  letter-spacing: -.02em;
}
.page-heading p { margin: 12px 0 0; color: var(--muted); }

@media (max-width: 760px) {
  .strip-image, .strip-card { width: 168px; }
  .strip-image { height: 168px; }
  .carousel-placeholder { padding: 44px 18px; }
}

/* ===== Instagram-style cube photo carousel ===== */
.carousel-section {
  display: flex;
  justify-content: center;
}
.ig-carousel {
  width: min(340px, 86vw);
  perspective: 1400px;
  border-radius: 18px;
  box-shadow: 0 32px 60px -12px rgba(60, 40, 32, .38), 0 14px 28px -10px rgba(60, 40, 32, .28);
}
.ig-carousel-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.65, 0, .35, 1);
}
.ig-carousel-stage.is-spinning { transform: rotateY(-90deg); }
.ig-carousel-stage.is-resetting { transition: none; }
.ig-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}
.ig-face-front { transform: rotateY(0deg) translateZ(var(--half-w, 170px)); }
.ig-face-right { transform: rotateY(90deg) translateZ(var(--half-w, 170px)); }

.ig-post {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(60, 40, 32, .2);
}
.ig-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}
.ig-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  border: 1px solid var(--line);
  padding: 3px;
  background: #fff;
}
.ig-handle { font-weight: 600; font-size: 14px; letter-spacing: -.01em; }
.ig-handle-us {
  display: inline-block;
  width: .95em;
  height: .09em;
  margin-left: 1px;
  background: currentColor;
  transform: translateY(.32em);
  vertical-align: baseline;
}
.ig-dots-icon {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
}
.ig-dots-icon span { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.ig-post-image { flex: 1; min-height: 0; overflow: hidden; background: var(--line); }
.ig-post-image img { width: 100%; height: 100%; object-fit: cover; }
.ig-post-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  color: var(--ink);
  flex: 0 0 auto;
}
.ig-post-actions svg { width: 21px; height: 21px; }
.ig-post-actions .ig-bookmark { margin-left: auto; }
.ig-heart { fill: #ed4956; stroke: #ed4956; }

.ig-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
}
.ig-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blush) 55%, var(--line));
  cursor: pointer;
}
.ig-dot.is-active { background: var(--coral); }

/* ===== Garden illustration framing the hero ===== */
.intro {
  position: relative;
}
.intro-copy {
  position: relative;
  z-index: 2;
}
.intro-garden-corner {
  position: absolute;
  top: -10px;
  width: 68px;
  height: auto;
  z-index: 1;
  opacity: .95;
  pointer-events: none;
}
.intro-garden-corner-left { left: 4px; }
.intro-garden-corner-right { right: 4px; }

@media (max-width: 760px) {
  .intro-garden-corner { width: 46px; }
}

/* ===== Swaying flower bed behind + below the Instagram carousel ===== */
.ig-garden-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 70px 0 130px;
}
.ig-garden-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 96px;
  height: 1px;
  background: #ebe5e1;
  z-index: 0;
}
.ig-carousel {
  position: relative;
  z-index: 1;
}

@keyframes ig-sway {
  0%, 100% { transform: rotate(calc(var(--amt, 3deg) * -1)); }
  50% { transform: rotate(var(--amt, 3deg)); }
}

.ig-flowers-blur {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: blur(5px);
  pointer-events: none;
}
.ig-real-flower {
  position: absolute;
  bottom: 16px;
  z-index: 0;
  pointer-events: none;
  transform-origin: 50% 100%;
  animation-name: ig-sway;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.ig-real-flower-tulip {
  left: 4%;
  height: 300px;
  animation-duration: 4.1s;
  animation-delay: -2.6s;
  --amt: 2.8deg;
}
.ig-real-flower-lily {
  left: 16%;
  height: 610px;
  animation-duration: 4.6s;
  animation-delay: -0.8s;
  --amt: 2.2deg;
}
.ig-real-flower-daisy {
  left: 30%;
  height: 260px;
  animation-duration: 5.1s;
  animation-delay: -3.4s;
  --amt: 2.6deg;
}
.ig-real-flower-ranunculus {
  right: 30%;
  height: 340px;
  animation-duration: 4.4s;
  animation-delay: -1.9s;
  --amt: 2.4deg;
}
.ig-real-flower-thistle {
  right: 16%;
  height: 560px;
  animation-duration: 5.4s;
  animation-delay: -2.2s;
  --amt: 2.0deg;
}
.ig-real-flower-lily-small {
  right: 4%;
  height: 260px;
  animation-duration: 3.9s;
  animation-delay: -1.1s;
  --amt: 3.0deg;
}
@media (prefers-reduced-motion: reduce) {
  .ig-real-flower { animation: none; }
}

@media (max-width: 760px) {
  .ig-garden-wrap { padding: 44px 0 90px; }
  .ig-garden-wrap::after { bottom: 60px; }
  .ig-real-flower-tulip { height: 150px; left: 2%; }
  .ig-real-flower-lily { height: 300px; left: 12%; }
  .ig-real-flower-daisy { height: 130px; left: 27%; }
  .ig-real-flower-ranunculus { height: 165px; right: 27%; }
  .ig-real-flower-thistle { height: 275px; right: 12%; }
  .ig-real-flower-lily-small { height: 130px; right: 2%; }
}
