:root {
  --cream: #f6f1e7;
  --cream-2: #efe6d2;
  --paper: #fffcf4;
  --ink: #2f3b33;
  --ink-soft: #556359;
  --muted: #8a8373;
  --accent: #6b8f71;
  --accent-deep: #3f5a47;
  --ochre: #b88a4a;
  --line: rgba(47, 59, 51, 0.12);
  --shadow-sm: 0 2px 10px rgba(47, 59, 51, 0.06);
  --shadow-md: 0 18px 40px -24px rgba(47, 59, 51, 0.35);
  --shadow-lg: 0 30px 70px -30px rgba(47, 59, 51, 0.4);
  --radius: 18px;
  --radius-lg: 26px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1200px 800px at 15% 10%, #fff8ea 0%, transparent 60%),
    radial-gradient(900px 700px at 90% 90%, #d9c9a4 0%, transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.005em;
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

h3 {
  font-size: 1.45rem;
  font-weight: 600;
}

.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 1rem;
}

.eyebrow--center { text-align: center; }

/* ------- NAV ------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  background: rgba(246, 241, 231, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.is-scrolled {
  border-color: var(--line);
  background: rgba(246, 241, 231, 0.9);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.nav__mark { width: 28px; height: 28px; color: var(--accent); }

.nav__links {
  display: flex;
  gap: clamp(0.8rem, 2.4vw, 2rem);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.nav__links a {
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s var(--ease);
}

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

.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  padding: 0.45rem 1rem !important;
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  color: var(--accent-deep) !important;
  font-weight: 500;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav__cta::after { display: none; }
.nav__cta:hover {
  background: var(--accent-deep);
  color: var(--paper) !important;
  transform: translateY(-1px);
}
.nav__cta.is-active {
  background: var(--accent-deep);
  color: var(--paper) !important;
}

@media (max-width: 640px) {
  .nav__links { display: none; }
}

/* ------- HERO ------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 7rem 1.5rem 4rem;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 10% 0;
  margin: 0 auto;
  width: min(92vw, 900px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero__composition {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 1.2s var(--ease) 0.2s forwards;
  will-change: transform;
}

.meditation-icon {
  width: clamp(84px, 10vw, 124px);
  height: auto;
  color: var(--accent);
  filter: drop-shadow(0 6px 22px rgba(47, 59, 51, 0.14));
}

.aura {
  transform-origin: 60px 55px;
  animation: breathe 6s ease-in-out infinite;
}

.figure { color: var(--ink); }

.hero__text { text-align: left; }

.title {
  font-family: "Cormorant Garamond", serif;
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 5.75rem);
  letter-spacing: 0.02em;
  line-height: 1;
  background: linear-gradient(180deg, #2f3b33 0%, #4a5b4e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 0.75rem 0 0;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.hero__lede {
  max-width: 36rem;
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(12px);
  animation: rise 1.2s var(--ease) 0.55s forwards;
}

.hero__cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  animation: rise 1.2s var(--ease) 0.75s forwards;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--accent-deep);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: #32483a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

/* ------- SECTION SHELL ------- */
.story, .products, .how, .contact {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.story__inner, .products__header, .how__inner, .contact__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.story__inner { max-width: 58rem; }

.story__body {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  color: var(--ink-soft);
  max-width: 46rem;
  margin: 1rem auto 0;
}

.pillars {
  list-style: none;
  padding: 0;
  margin: 3rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 50rem;
}

.pillars li {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: rgba(255, 252, 244, 0.5);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.pillars li:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--accent);
}

/* ------- PRODUCTS ------- */
.products {
  background:
    radial-gradient(1000px 500px at 50% 0%, rgba(107, 143, 113, 0.08), transparent 60%);
}

.products__subhead {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--ink-soft);
}

.products__grid {
  max-width: var(--max);
  margin: 3.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107, 143, 113, 0.4);
}

.card__media {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 60%, #fffaec 0%, #f1e6cb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}

.card:hover .card__media img { transform: scale(1.04) rotate(-1deg); }

.card__body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.card h3 {
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.15;
}

.card__sub {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.card__desc {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.card__foot {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.price {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
}

.size {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------- HOW TO ENJOY ------- */
.how__inner { max-width: 68rem; }

.steps {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  text-align: left;
}

.steps li {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, 0.55);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.steps li:hover {
  background: var(--paper);
  transform: translateY(-3px);
}

.steps__num {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.steps h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ------- CONTACT ------- */
.contact {
  background:
    linear-gradient(180deg, transparent, rgba(107, 143, 113, 0.06));
}

.contact__lede {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--ink-soft);
}

.contact__grid {
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 54rem;
}

.contact__card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.4rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-align: left;
}

.contact__card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.contact__label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact__value {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  color: var(--ink);
}

/* ------- FOOTER ------- */
.footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer__tag {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ------- REVEAL ON SCROLL ------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ------- ANIMATIONS ------- */
@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 560px) {
  .hero__composition { flex-direction: column; gap: 1rem; }
  .hero__text { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ------- ORDER PAGE ------- */
.page-order main { padding-top: 5.5rem; }

.order-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem) 2rem;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.order-hero__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0;
}

.order-hero__lede {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
}

.order {
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 5rem;
}

.order__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

@media (min-width: 960px) {
  .order__grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
  }
}

.order__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  grid-template-areas:
    "media body price"
    "media body controls";
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.order-row.is-active {
  border-color: var(--accent);
  box-shadow: 0 12px 30px -20px rgba(107, 143, 113, 0.5);
}

.order-row__media {
  grid-area: media;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 60%, #fffaec 0%, #f1e6cb 100%);
  border-radius: var(--radius);
  padding: 0.5rem;
}

.order-row__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.order-row__body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.order-row__body h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
}

.order-row__sub {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.order-row__desc {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.order-row__price {
  grid-area: price;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 600;
  align-self: start;
}

.order-row__controls {
  grid-area: controls;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
}

.order-row__subtotal {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  color: var(--ink-soft);
  min-width: 3.5rem;
  text-align: right;
}

.order-row.is-active .order-row__subtotal { color: var(--accent-deep); }

@media (max-width: 640px) {
  .order-row {
    grid-template-columns: 84px 1fr;
    grid-template-areas:
      "media body"
      "controls controls";
  }
  .order-row__media { width: 84px; height: 84px; }
  .order-row__price { display: none; }
  .order-row__controls { justify-content: space-between; }
}

/* qty stepper */
.qty {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.qty__btn {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.15rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.qty__btn:hover {
  background: var(--accent-deep);
  color: var(--paper);
}

.qty__input {
  width: 40px;
  text-align: center;
  border: 0;
  background: transparent;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty__input:focus { outline: none; }

/* summary */
.order-summary {
  position: sticky;
  top: 5.5rem;
  align-self: start;
}

.summary__inner {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.summary__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.8rem;
  margin: 0 0 1rem;
}

.summary__items {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.summary__items li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.summary__items li .summary__name { color: var(--ink); }
.summary__items li .summary__qty {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-left: 0.4rem;
}
.summary__items li .summary__line { color: var(--ink-soft); }

.summary__empty {
  color: var(--muted);
  font-style: italic;
  padding: 0.75rem 0 !important;
  justify-content: center !important;
  border-bottom: 1px solid var(--line);
}

.summary__plus {
  display: inline-block;
  background: var(--cream);
  border-radius: 4px;
  padding: 0 0.35rem;
  font-style: normal;
  color: var(--accent-deep);
}

.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0 0.25rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

.summary__total strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  color: var(--ink);
  font-weight: 600;
}

.order-form {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 0.75rem;
}

.order-form__full { grid-column: 1 / -1; }

.order-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.order-form input {
  padding: 0.7rem 0.85rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 0.94rem;
  color: var(--ink);
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.order-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper);
}

.order-actions {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.6rem;
}

.order-actions .btn {
  padding: 0.95rem 1.4rem;
  text-align: center;
  font-size: 0.82rem;
}

.order-actions .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.summary__fine {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 960px) {
  .order-summary { position: static; }
  .order-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .order-form { grid-template-columns: 1fr; }
  .order-form__full { grid-column: 1; }
}
