/* ===== Naturaleza — Origami Fold design system ===== */
:root {
  --sage: #7c8c6a;
  --sage-light: #a4b48c;
  --sage-dark: #4f5e40;
  --oat: #e8e0d0;
  --oat-dark: #cdbf9e;
  --clay: #c17a52;
  --clay-dark: #9c5c39;
  --paper: #faf8f3;
  --ink: #2c2a24;
  --ink-soft: #5c584c;
  --line: #ddd5c3;
  --radius: 4px;
  --shadow-facet: 0 10px 30px -14px rgba(44, 42, 36, .35);
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html, body { overflow-x: clip; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--clay-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, 92%); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---- utilities ---- */
.u-mt-lg { margin-top: 3rem; }
.u-mb-lg { margin-bottom: 3rem; }
.u-grid-2 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .u-grid-2 { grid-template-columns: 1fr 1fr; } }
.u-grid-3 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .u-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.u-center { text-align: center; }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease), clip-path .7s var(--ease); clip-path: polygon(0 0,100% 0,100% 100%,0 100%); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal--fold { clip-path: polygon(0 0,100% 0,100% 0,0 0); }
.reveal--fold.in-view { clip-path: polygon(0 0,100% 0,100% 100%,0 100%); }
.reveal--stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,248,243,.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo__mark { flex: none; }
.logo__word { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .02em; }
.logo--light { color: var(--paper); }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: .5rem; min-width: 44px; min-height: 44px; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: var(--ink-soft); font-size: .95rem; position: relative; padding-block: .3rem; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--clay); transition: right .3s var(--ease); }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.site-nav a:hover { text-decoration: none; }
.site-nav a.active { color: var(--ink); }
.nav-cart { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); font-weight: 600; }
.cart-count { background: var(--clay); color: #fff; border-radius: 999px; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; padding: 0 5px; }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 0%,100%{ transform: scale(1); } 40%{ transform: scale(1.4); } }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { position: fixed; inset: 72px 0 0 auto; width: min(78vw, 320px); flex-direction: column; align-items: flex-start; gap: 1.2rem; background: var(--paper); padding: 2rem 1.5rem; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; border-left: 1px solid var(--line); height: calc(100vh - 72px); }
  .site-nav.open { transform: translateX(0); visibility: visible; }
}

/* ---- buttons ---- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.6rem; background: var(--sage-dark); color: #fff; border: none; border-radius: var(--radius); font-size: 1rem; font-weight: 600; cursor: pointer; overflow: hidden; z-index: 0; min-height: 44px; transition: color .3s; }
.btn::before { content: ""; position: absolute; inset: 0; left: -100%; width: 100%; background: var(--clay); transition: left .35s var(--ease); z-index: -1; }
.btn:hover::before { left: 0; }
.btn:hover { text-decoration: none; }
.btn--outline { background: transparent; color: var(--sage-dark); border: 1px solid var(--sage-dark); }
.btn--outline::before { background: var(--sage-dark); }
.btn--outline:hover { color: #fff; }
.btn--ghost { background: transparent; color: var(--paper); border: 1px solid rgba(250,248,243,.6); }
.btn--ghost::before { background: rgba(250,248,243,.18); }
.btn--small { padding: .6rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---- hero ---- */
.hero { position: relative; padding: 4rem 0 5rem; overflow: hidden; background: linear-gradient(180deg, var(--oat) 0%, var(--paper) 100%); }
.hero__grid { position: relative; display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; text-align: center; }
.hero__headline { font-size: clamp(2.6rem, 8vw, 5.4rem); margin: 0 0 1rem; }
.hero__sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; margin-inline: auto 1.6rem; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__orbit { position: relative; width: min(90vw, 460px); height: min(90vw, 460px); margin-inline: auto; }
.hero__orbit-core { position: absolute; inset: 30%; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-facet); }
.hero__orbit-core img { width: 100%; height: 100%; object-fit: cover; }
.hero__orbit-item { position: absolute; width: 92px; height: 92px; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-facet); animation: orbit 22s linear infinite; }
.hero__orbit-item img { width: 100%; height: 100%; object-fit: cover; }
.hero__orbit-item:nth-child(2) { top: 50%; left: 50%; margin: -46px 0 0 -46px; animation-delay: 0s; }
.hero__orbit-item:nth-child(3) { top: 50%; left: 50%; margin: -46px 0 0 -46px; animation-delay: -7.3s; }
.hero__orbit-item:nth-child(4) { top: 50%; left: 50%; margin: -46px 0 0 -46px; animation-delay: -14.6s; }
@keyframes orbit { from { transform: rotate(0deg) translateX(170px) rotate(0deg); } to { transform: rotate(360deg) translateX(170px) rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { .hero__orbit-item { animation: none; } .hero__orbit-item:nth-child(2){ transform: translate(60px,-80px); } .hero__orbit-item:nth-child(3){ transform: translate(-90px,20px); } .hero__orbit-item:nth-child(4){ transform: translate(70px,90px); } }
.hero__route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__route path { fill: none; stroke: var(--clay); stroke-width: 2; stroke-dasharray: 6 10; stroke-linecap: round; stroke-dashoffset: 400; animation: dash 3.2s var(--ease) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.1fr .9fr; text-align: left; } .hero__sub { margin-inline: 0 1.6rem; } .hero__actions { justify-content: flex-start; } }

/* ---- grain overlay ---- */
.grain { position: fixed; inset: 0; width: 100vw; height: 100vh; opacity: .05; pointer-events: none; mix-blend-mode: multiply; z-index: 1; }

/* ---- sections / dividers ---- */
.section { padding: 5rem 0; }
.section--tint { background: var(--oat); }
.section__head { max-width: 56ch; margin-bottom: 2.5rem; }
.section__eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--clay-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin-bottom: .6rem; }
.divider { width: 100%; height: 36px; display: block; }

/* ---- cards ---- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-facet); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-6px); }

/* ---- product card / strip ---- */
.product-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
@media (min-width: 760px) { .product-strip { grid-auto-flow: row; grid-auto-columns: unset; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); overflow: visible; } }
.product-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-facet); transition: transform .35s var(--ease); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); }
.product-card__media { aspect-ratio: 1/1; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.08); }
.product-card__body { padding: 1.1rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-card__cat { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sage-dark); }
.product-card__price { font-weight: 700; color: var(--clay-dark); margin-top: auto; }

/* ---- ritual builder (signature feature) ---- */
.ritual { position: relative; }
.ritual__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-facet); }
.ritual__controls { display: grid; gap: 1.4rem; grid-template-columns: 1fr; margin-bottom: 1.6rem; }
@media (min-width: 640px) { .ritual__controls { grid-template-columns: 1fr 1fr; } }
.ritual__group legend { font-weight: 700; margin-bottom: .6rem; }
.ritual__chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.ritual__chip { position: relative; }
.ritual__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ritual__chip span { display: inline-flex; padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .9rem; transition: background .25s, border-color .25s, color .25s; min-height: 44px; align-items: center; }
.ritual__chip input:checked + span { background: var(--sage-dark); color: #fff; border-color: var(--sage-dark); }
.ritual__chip input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }
.ritual__result { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ritual__result { grid-template-columns: repeat(3, 1fr); } }
.ritual__step { background: var(--oat); border-radius: var(--radius); padding: 1.1rem; clip-path: polygon(0 0,100% 0,100% 0,0 0); opacity: 0; transition: clip-path .5s var(--ease), opacity .5s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.ritual__step.show { clip-path: polygon(0 0,100% 0,100% 100%,0 100%); opacity: 1; }
.ritual__step-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--clay-dark); }
.ritual__empty { color: var(--ink-soft); font-style: italic; }

/* ---- page hero (inner pages) ---- */
.page-hero { padding: 3.5rem 0 2.5rem; background: var(--oat); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .4rem; }
.page-hero p { color: var(--ink-soft); max-width: 60ch; }

/* ---- breadcrumbs ---- */
.breadcrumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: .8rem; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs span { color: var(--ink); }

/* ---- prose / legal ---- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.2rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.4rem; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.legal-toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 2rem; }
.legal-toc h2 { font-size: 1.05rem; margin-bottom: .6rem; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; }

/* ---- notice ---- */
.notice { border-left: 3px solid var(--sage-dark); background: var(--oat); padding: 1rem 1.2rem; border-radius: var(--radius); margin: 1.4rem 0; }
.notice--warn { border-color: var(--clay); }

/* ---- forms ---- */
.form-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.two-col { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; accent-color: var(--clay); min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--clay); outline-offset: 1px; }
.field-error { color: var(--clay-dark); font-size: .85rem; min-height: 1.2em; }
.field-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.field-row input { flex: 1; min-width: 160px; }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---- contact layout ---- */
.contact-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact-layout { grid-template-columns: 1fr 1fr; } }
.contact-info__item { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1.2rem; }
.contact-info__item svg { flex: none; color: var(--clay-dark); margin-top: .15rem; }

/* ---- product detail ---- */
.product-detail { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .product-detail { grid-template-columns: 1fr 1fr; } }
.product-detail__media { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-facet); }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__price { font-size: 1.8rem; color: var(--clay-dark); font-weight: 700; margin: .6rem 0 1.2rem; }
.product-detail__meta { display: flex; gap: 1.2rem; flex-wrap: wrap; margin: 1rem 0; color: var(--ink-soft); font-size: .9rem; }
.qty-input { width: 80px; }

/* ---- cart / checkout ---- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1.6rem; }
.cart-table th, .cart-table td { padding: .9rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); }
.cart-table__remove { background: none; border: none; color: var(--clay-dark); cursor: pointer; min-height: 44px; min-width: 44px; }
.cart-summary { background: var(--oat); border-radius: var(--radius); padding: 1.6rem; max-width: 420px; margin-left: auto; }
.cart-summary__row { display: flex; justify-content: space-between; margin-bottom: .6rem; }
.cart-summary__total { font-weight: 700; font-size: 1.2rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.cart-empty { text-align: center; padding: 3rem 0; color: var(--ink-soft); }

/* ---- faq ---- */
.faq { display: flex; flex-direction: column; gap: .8rem; max-width: 70ch; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .4rem 1.2rem; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: .9rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--clay-dark); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 1rem; color: var(--ink-soft); }

/* ---- badges / seals ---- */
.seal { width: 86px; height: 86px; }

/* ---- 404 ---- */
.notfound { text-align: center; padding: 5rem 0; }
.notfound__mark { width: 160px; margin-inline: auto 2rem; }

/* ---- toast ---- */
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: .8rem 1.4rem; border-radius: var(--radius); opacity: 0; transition: opacity .3s, transform .3s; z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- footer ---- */
.site-footer { background: var(--sage-dark); color: var(--oat); margin-top: 3rem; }
.footer-divider { display: block; margin-bottom: -1px; }
.footer__grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; padding: 1rem 0 2.5rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer__col h3 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.footer__col a { display: block; color: var(--oat); opacity: .9; margin-bottom: .5rem; }
.footer__email { display: inline-flex; align-items: center; gap: .5rem; margin-top: .6rem; color: #fff; }
.footer__bottom { border-top: 1px solid rgba(250,248,243,.2); padding: 1.2rem 0; font-size: .85rem; opacity: .85; }
.newsletter-form .field-error { color: var(--oat); }

/* ---- cookie banner ---- */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ink); color: var(--oat); padding: 1rem 0; z-index: 100; }
.cookie-banner__row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.cookie-banner p { margin: 0; flex: 1 1 260px; font-size: .9rem; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .7rem; }

/* COMPONENTS:
.container - centered max-width content wrapper
.reveal / .reveal--fold / .reveal--stagger - scroll-reveal animation hooks
.site-header / .site-nav / .nav-toggle / .nav-cart / .cart-count - header & nav
.btn / .btn--outline / .btn--ghost / .btn--small / .btn--block - button variants
.hero / .hero__grid / .hero__headline / .hero__orbit / .hero__route - home hero composition
.grain - fixed full-screen grain texture overlay
.section / .section--tint / .section__head / .section__eyebrow - page sections
.divider - decorative SVG section divider
.card - generic bordered content card
.product-strip / .product-card - catalog grid / scroll-snap strip
.ritual / .ritual__panel / .ritual__controls / .ritual__chips / .ritual__result / .ritual__step - signature Ritual Builder feature
.page-hero - inner page header band
.breadcrumbs - inner page breadcrumb trail
.prose - long-form readable text measure for legal/content pages
.legal-toc - table of contents box for legal pages
.notice / .notice--warn - callout box
.form-grid / .field / .field-error / .field-row / .honeypot - form layout primitives
.contact-layout / .contact-info__item - contact page two-column layout
.product-detail / .product-detail__media / .product-detail__price / .product-detail__meta - product page layout
.cart-table / .cart-summary / .cart-empty - cart & checkout layout
.faq / .faq-item - FAQ accordion
.seal - decorative badge sizing
.notfound / .notfound__mark - 404 page layout
.toast - transient feedback message
.site-footer / .footer__grid / .footer__col / .footer__email / .footer-divider - footer
.cookie-banner / .cookie-banner__actions - cookie consent banner
.u-mt-lg / .u-mb-lg / .u-grid-2 / .u-grid-3 / .u-center / .sr-only - spacing & layout utilities
*/
