@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #26242b;
  --muted: #6c665e;
  --cream: #faf5ea;
  --cream-2: #f2ead8;
  --panel: #fffdf8;
  --line: #e7ddc8;
  --indigo: #2c2a4a;
  --berry: #454a86;
  --berry-deep: #33366a;
  --sage: #6f8f6f;
  --sage-deep: #4f6e50;
  --bloom: #d5809b;
  --bloom-deep: #bd6584;
  --shadow: 0 18px 40px -24px rgba(44, 42, 74, 0.45);
  --shadow-sm: 0 8px 22px -16px rgba(44, 42, 74, 0.5);
  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1140px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--indigo);
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 720px); margin-inline: auto; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sage-deep);
  margin-bottom: 1rem;
}
.eyebrow.on-dark { color: #c7d7bf; }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-primary { background: var(--berry); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--berry-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--indigo); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--berry); color: var(--berry); transform: translateY(-2px); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost.on-dark:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 234, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; gap: 1.5rem; line-height: 1.2; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { display: block; font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.25rem; line-height: 1.1; color: var(--indigo); letter-spacing: -0.01em; }
.brand-tag { display: block; font-family: 'Inter', sans-serif; font-size: 0.62rem; line-height: 1.2; margin-top: 2px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-deep); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--ink); position: relative; padding: 0.25rem 0; transition: color 0.2s var(--ease); }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--bloom); border-radius: 2px; transition: width 0.28s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--berry); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { margin-left: 0.5rem; }
.nav-drawer { display: contents; }

/* ---------- Mobile nav toggle (checkbox-driven, no JS) ---------- */
.nav-toggle-input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 42px; height: 42px; border-radius: 10px; flex: none;
  border: 1px solid var(--line); background: var(--panel); cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--indigo); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle-input:focus-visible ~ .nav-toggle { outline: 2px solid var(--berry); outline-offset: 2px; }
.nav-toggle-input:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle-input:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-toggle-input:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(180deg, rgba(28,26,48,0.35), rgba(28,26,48,0.72)), var(--indigo) center/cover no-repeat;
  min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 15% 100%, rgba(69,74,134,0.55), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: clamp(3rem, 8vw, 6rem) 0; max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 500; }
.hero h1 em { font-style: italic; color: #f0c9d6; }
.hero .lede { font-size: clamp(1.05rem, 2.4vw, 1.3rem); margin-top: 1.4rem; max-width: 34em; color: rgba(255,255,255,0.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28);
  padding: 0.4rem 0.95rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.04em; margin-bottom: 1.4rem; backdrop-filter: blur(4px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bloom); box-shadow: 0 0 0 4px rgba(213,128,155,0.3); }

.page-hero { min-height: min(62vh, 520px); }

/* ---------- Marquee strip ---------- */
.strip { background: var(--indigo); color: #e9e6f5; padding: 1rem 0; overflow: hidden; }
.strip-track { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; }
.strip-track span { font-family: 'Fraunces', serif; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 3rem; letter-spacing: 0.01em; }
.strip-track span::after { content: '❋'; color: var(--bloom); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--cream-2);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.split-media:hover img { transform: scale(1.05); }
.split-media .tag {
  position: absolute; left: 1.1rem; bottom: 1.1rem; background: var(--panel); color: var(--indigo);
  padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.split-body h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.split-body p { color: var(--muted); margin-top: 1.1rem; font-size: 1.05rem; }
.split-body .btn { margin-top: 1.8rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cream-2); color: var(--sage-deep); margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Facts / pricing ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; }
.fact { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: center; }
.fact .num { font-family: 'Fraunces', serif; font-size: 2.4rem; color: var(--berry); line-height: 1; }
.fact .lbl { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }

.pricecard {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem; box-shadow: var(--shadow-sm);
}
.pricerow { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px dashed var(--line); }
.pricerow:last-child { border-bottom: none; }
.pricerow .name { font-weight: 500; }
.pricerow .name small { display: block; color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.pricerow .amt { font-family: 'Fraunces', serif; font-size: 1.25rem; color: var(--berry); white-space: nowrap; }
.fineprint { color: var(--muted); font-size: 0.85rem; margin-top: 1.2rem; }

/* ---------- Demo note ---------- */
.demo-note {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  background: var(--cream-2); border: 1px dashed var(--line); color: var(--muted);
  border-radius: 999px; padding: 0.55rem 1.1rem; font-size: 0.85rem; width: fit-content;
}
.demo-note strong { color: var(--sage-deep); font-weight: 600; }

/* ---------- Shop ---------- */
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.cart-link { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--berry); }
.cart-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.cart-link .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 0.35rem; border-radius: 999px; background: var(--bloom); color: #fff; font-size: 0.75rem; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.6rem; }
.product {
  display: flex; flex-direction: column; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-media { position: relative; aspect-ratio: 4 / 3; background: var(--cream-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.product:hover .product-media img { transform: scale(1.05); }
.product-media .tag {
  position: absolute; left: 0.9rem; top: 0.9rem; background: var(--panel); color: var(--indigo);
  padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.product-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.5rem; }
.product-body h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.product-body p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.1rem; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; }
.product .price { font-family: 'Fraunces', serif; font-size: 1.4rem; color: var(--berry); }
.product .price small { font-family: 'Inter', sans-serif; font-size: 0.72rem; color: var(--muted); display: block; font-weight: 500; }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.85rem; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.cart-list { display: grid; gap: 1rem; }
.cart-item {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 1.2rem; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem;
}
.cart-item .thumb { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--cream-2); }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.cart-item .meta { color: var(--muted); font-size: 0.85rem; }
.qty-pill { display: inline-flex; align-items: center; gap: 0.9rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.7rem; margin-top: 0.6rem; font-size: 0.9rem; }
.qty-pill span { color: var(--muted); }
.cart-item .line-amt { font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--berry); white-space: nowrap; }
.cart-summary .totalrow { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; color: var(--muted); }
.cart-summary .totalrow.grand { border-top: 1px solid var(--line); margin-top: 0.4rem; padding-top: 1rem; color: var(--ink); font-weight: 600; }
.cart-summary .totalrow.grand .amt { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--berry); font-weight: 500; }
.cart-summary .btn { width: 100%; justify-content: center; margin-top: 1.4rem; }

/* ---------- Panels ---------- */
.panel-cream { background: var(--cream-2); }
.panel-indigo { background: var(--indigo); color: #ece9f6; }
.panel-indigo h2, .panel-indigo h3 { color: #fff; }
.panel-indigo p { color: #cfc9e6; }

.checklist { list-style: none; display: grid; gap: 0.8rem; margin-top: 1.4rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--muted); }
.checklist.on-dark li { color: #cfc9e6; }
.checklist li::before {
  content: '✿'; color: var(--bloom); font-size: 1rem; line-height: 1.5; flex: none;
}

/* ---------- Story / prose ---------- */
.prose p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.3rem; }
.prose p:first-of-type::first-letter {
  font-family: 'Fraunces', serif; float: left; font-size: 3.6rem; line-height: 0.82;
  padding: 0.3rem 0.7rem 0 0; color: var(--bloom-deep);
}
.pull {
  font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(1.4rem, 3.4vw, 2rem);
  color: var(--indigo); line-height: 1.35; margin: 2.5rem 0; padding-left: 1.4rem;
  border-left: 3px solid var(--bloom);
}

/* ---------- Contact / visit ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.info-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem; }
.info-card a { color: var(--berry); text-decoration: none; font-weight: 500; }
.info-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.info-card p { color: var(--muted); font-size: 0.98rem; }
.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3rem); }
.cta-band p { color: #cfc9e6; max-width: 40em; margin: 1rem auto 2rem; }
.cta-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo); color: #cfc9e6; padding: 3.5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-top .brand-name { color: #fff; }
.footer-top p { color: #b6afd4; font-size: 0.95rem; margin-top: 0.9rem; max-width: 32ch; }
.footer-col h4 { font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; color: #9b93c4; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a { color: #cfc9e6; text-decoration: none; font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; padding-top: 1.6rem; font-size: 0.85rem; color: #9b93c4; }
.footer-bottom a { color: inherit; }

/* ---------- Reveal on scroll (progressive, CSS-only) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(26px); animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 32%; }
  }
}
@keyframes reveal { to { opacity: 1; transform: none; } }

/* ---------- Entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fade-up { opacity: 0; transform: translateY(20px); animation: reveal 0.9s var(--ease) forwards; }
  .d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.24s; } .d3 { animation-delay: 0.38s; } .d4 { animation-delay: 0.52s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top .footer-brand { grid-column: 1 / -1; }
  .nav { flex-wrap: nowrap; }
  .nav-toggle { display: inline-flex; }
  .nav-drawer {
    display: block; position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
    padding: 0 1.25rem; max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease);
  }
  .nav-toggle-input:checked ~ .nav-drawer { max-height: 480px; opacity: 1; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 0.9rem 0.1rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-cta { display: flex; margin: 0.95rem 0 1.15rem; justify-content: center; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item .thumb { width: 64px; height: 64px; }
  .cart-item .line-amt { grid-column: 2; }
}
