/* ═════════ HERO (homepage): type + a colour-block mosaic in the brand palette ═════════ */
.hero-home { padding-block: clamp(48px, 7vw, 104px) clamp(56px, 8vw, 112px); }
.hero-home__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--pink-ink);
}
.hero__kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.hero__title {
  display: block;
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.hero__lead { margin: 28px 0 36px; font-size: var(--fs-lead); color: var(--muted); max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  aspect-ratio: 1;
  max-width: 100%;
  padding: clamp(16px, 2vw, 26px);
  border-radius: var(--radius-l);
  overflow: hidden;
  color: var(--ink);
}
.tile strong {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.4rem + 3vw, 4.4rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.tile span { font-size: var(--fs-small); line-height: 1.35; max-width: 16ch; }
.tile--orange { background: var(--orange); }
.tile--lime { background: var(--lime); padding: 0; justify-content: center; align-items: center; }
.tile--lime img { width: 108%; max-width: none; margin-left: -4%; filter: drop-shadow(0 18px 20px rgba(43, 33, 64, 0.22)); }
.tile--blue { background: var(--periwinkle); }
.tile--cream { background: var(--paper); border: 1px solid var(--line); color: var(--pink-ink); }
.tile--cream strong { color: var(--pink); }
.tile--cream .price { font-size: clamp(2.4rem, 1.4rem + 3vw, 4.4rem); }
.js .hero-mosaic .tile[data-reveal] { translate: 0 18px; }
.js .hero-mosaic .tile[data-reveal].is-in { translate: none; }
@media (max-width: 899px) {
  .hero-home__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(3.5rem, 16vw, 5.5rem); }
}

.fruit-list { display: grid; }
.fruit-list li {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.fruit-list li:first-child { border-top: 1px solid var(--line); }
.fruit-list .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.fruit-list .qty { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ═════════ Page intro (inner pages) ═════════ */
.page-intro {
  padding: clamp(72px, 10vw, 140px) 0 clamp(48px, 6vw, 88px);
}
.page-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  align-items: end;
  gap: 40px;
}
.page-intro h1 { max-width: 14ch; }
.page-intro .lead { margin-top: 28px; }
.page-intro__aside {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding-bottom: 8px;
  font-size: var(--fs-small);
  color: var(--muted);
}
@media (max-width: 899px) { .page-intro__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ═════════ Home sections ═════════ */
.home-people__foot { margin-top: 44px; }
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.two-col--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 899px) { .two-col, .two-col--even { grid-template-columns: 1fr; } }

/* ═════════ Produkti ═════════ */
.compare-wrap { margin-top: 40px; }
.compare-wrap > details > summary { font-weight: 500; }
.bulk { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); }
@media (max-width: 899px) { .bulk { grid-template-columns: 1fr; } }

/* ═════════ Par mums ═════════ */
.about-hello {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.about-hello em { color: var(--mandarin-ink); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.pillar { padding-top: 24px; border-top: 1.5px solid var(--chestnut); }
.pillar__n { display: block; margin-bottom: 18px; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--mandarin-ink); }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--muted); }
@media (max-width: 899px) { .pillars { grid-template-columns: 1fr; } }

.story { font-size: 1.0625rem; line-height: 1.75; }
.story p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-family: var(--font-display);
  font-size: 4.2em;
  line-height: 0.8;
  font-style: italic;
  color: var(--mandarin-ink);
}
.story__aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: grid;
  gap: 16px;
}
.pull-quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
}
.pull-quote cite { display: block; margin-top: 16px; font-family: var(--font-body); font-style: normal; font-size: var(--fs-small); color: var(--muted); }

.values { display: flex; flex-wrap: wrap; gap: 12px; }
.values .stamp { color: var(--olive); }
.values .stamp:nth-child(2n) { transform: rotate(-1.5deg); }
.values .stamp:nth-child(3n) { transform: rotate(1deg); }

/* ═════════ Sezonālā kaste ═════════ */
.crate-section { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.crate-stage {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-l);
  background:
    radial-gradient(ellipse at 50% 30%, #FFF9E6 0%, rgba(255, 249, 230, 0) 70%),
    var(--sand-2);
  overflow: hidden;
}
.crate-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity var(--t-slow) var(--ease-settle); touch-action: pan-y; }
.crate-stage.is-ready canvas { opacity: 1; }
.crate-stage.is-ready .crate-fallback { opacity: 0; }
.crate-fallback { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity var(--t-slow); }
.crate-fallback img { width: 78%; }
.crate-stage.is-grabbable { cursor: grab; }
.crate-stage.is-grabbing { cursor: grabbing; }
.crate-views {
  position: absolute;
  left: 12px; bottom: 12px;
  z-index: 2;
  display: none;
  gap: 6px;
}
.crate-views button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(251, 247, 240, 0.9);
  font-size: 0.8125rem;
  font-weight: 500;
}
.crate-views button[aria-pressed="true"] { background: var(--chestnut); color: var(--sand); border-color: var(--chestnut); }
.crate-stage.is-ready .crate-views { display: flex; }
@media (hover: hover) and (pointer: fine) { .crate-stage.is-ready .crate-views { display: none; } }
.crate-tip {
  position: absolute;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--night);
  color: var(--on-night);
  font-size: 0.8125rem;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
  opacity: 0;
  transition: opacity var(--t-quick);
}
.crate-tip.is-visible { opacity: 1; }

.size-options { display: grid; gap: 12px; border: 0; margin: 0; padding: 0; min-width: 0; }
.size-options legend { margin-bottom: 16px; padding: 0; font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.size-option {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.size-option input { position: absolute; opacity: 0; pointer-events: none; }
.size-option__radio { width: 22px; height: 22px; border: 1.5px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: border-color 300ms; }
.size-option__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--mandarin); transform: scale(0); transition: transform 300ms var(--ease-settle); }
.size-option:has(input:checked) { border-color: var(--mandarin); box-shadow: var(--shadow-warm); }
.size-option:has(input:checked) .size-option__radio { border-color: var(--mandarin); }
.size-option:has(input:checked) .size-option__radio::after { transform: scale(1); }
.size-option:has(input:focus-visible) { outline: 2px solid var(--mandarin); outline-offset: 3px; }
.size-option__name { display: block; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; }
.size-option__desc { display: block; margin-top: 2px; font-size: var(--fs-small); color: var(--muted); }
.size-option .price__now { font-size: 1.6rem; }
@media (hover: hover) { .size-option:hover { border-color: rgba(255, 174, 0, 0.5); transform: translateY(-2px); } }
.crate-cta { display: grid; gap: 12px; margin-top: 24px; }
.crate-cta small { color: var(--muted); font-size: var(--fs-small); text-align: center; }
@media (max-width: 899px) {
  .crate-section { grid-template-columns: 1fr; }
  .crate-stage { top: 8px; z-index: 5; aspect-ratio: auto; height: min(40svh, 72vw); box-shadow: 0 12px 24px rgba(43, 33, 64, 0.08); }
}

.product-story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.product-story__art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: var(--radius-l);
  background: var(--tone, var(--sand-2));
  position: relative;
  overflow: hidden;
}
.product-story__art img { width: 64%; height: 72%; object-fit: contain; position: relative; filter: drop-shadow(0 26px 26px rgba(43,33,64,0.16)); }
.product-story h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); margin-bottom: 20px; }
.product-story__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.product-story__meta .stamp { color: var(--olive); padding: 6px 10px; }
.product-story__body { display: grid; gap: 20px; align-content: start; }
.product-story__body > p { color: var(--muted); font-size: 1.0625rem; line-height: 1.75; }
.composition { font-size: var(--fs-small); color: var(--muted); padding-top: 16px; border-top: 1px dashed var(--line-strong); }
@media (max-width: 899px) {
  .product-story { grid-template-columns: 1fr; }
  .product-story__art { aspect-ratio: 16 / 9; }
  .product-story__art img { width: 46%; height: 80%; }
}

/* Rice steps */
.rice-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rice-step {
  display: grid;
  gap: 4px;
  align-content: start;
  min-height: 120px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
  text-align: left;
  transition: opacity 400ms var(--ease-settle), border-color 400ms var(--ease-settle), background-color 400ms var(--ease-settle);
}
.rice-step__time { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
.rice-step__time small { font-size: 0.5em; font-style: italic; }
.rice-step__label { font-size: var(--fs-small); color: var(--muted); }
.rice-step[aria-pressed="true"] { border-color: var(--mandarin); background: var(--mandarin-soft); }
.rice-steps.has-active .rice-step.is-done { opacity: 0.5; }
.rice-ratio { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--radius-m); background: var(--night); color: var(--on-night); }
.rice-ratio strong { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--mandarin); line-height: 1; }
@media (max-width: 559px) { .rice-steps { grid-template-columns: 1fr; } .rice-step { min-height: 0; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 14px; } }

/* ═════════ Piegāde ═════════ */
.route {
  position: relative;
  padding: clamp(32px, 4vw, 48px) 0 8px;
}
.route-line { width: 100%; height: auto; overflow: visible; }
.route__distance { margin-top: 10px; font-size: var(--fs-small); color: var(--muted); text-align: center; }
.route-line--v { display: none; }
.route__stops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
  font-size: var(--fs-small);
}
.route__stops li:nth-child(2) { text-align: center; }
.route__stops li:last-child { text-align: right; }
.route__stops strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.route__stops span { color: var(--muted); }
.route-dot { fill: var(--sand); stroke: var(--chestnut); stroke-width: 1.5; }
.route-dot--end { fill: var(--mandarin); stroke: var(--mandarin); }
@media (max-width: 767px) {
  .route { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
  .route-line--h { display: none; }
  .route-line--v { display: block; width: 40px; height: 280px; }
  .route__stops { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); height: 280px; margin: 0; align-items: start; }
  .route__stops li, .route__stops li:nth-child(2), .route__stops li:last-child { text-align: left; }
  .route__stops li:nth-child(2) { align-self: center; }
  .route__stops li:last-child { align-self: end; }
}

.elsewhere {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: clamp(16px, 2vw, 28px);
  padding: clamp(24px, 3vw, 36px);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-l);
}
.elsewhere h3 { font-size: 1.6rem; }
.elsewhere p { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 767px) { .elsewhere { grid-template-columns: 1fr; } }

/* ═════════ Sazinies ═════════ */
.contact-hero { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.contact-avatar {
  display: grid;
  place-items: center;
  width: clamp(120px, 14vw, 180px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mandarin);
  color: var(--chestnut);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-style: italic;
  position: relative;
  overflow: hidden;
}
.contact-avatar img { width: 78%; height: 78%; object-fit: contain; }
.contact-avatar .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 559px) { .contact-hero { grid-template-columns: 1fr; } }

/* ═════════ Par mums: where it grows ═════════ */
.origin { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.origin-map { width: 100%; height: auto; overflow: visible; }
.origin-map .coast { fill: rgba(153, 178, 234, 0.25); stroke: var(--chestnut); stroke-width: 1.4; stroke-linejoin: round; }
.origin-map .coast-draw { fill: none; stroke: var(--chestnut); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.origin-map .pin { fill: var(--mandarin); stroke: var(--paper); stroke-width: 3; }
.origin-map .pin-ring { fill: none; stroke: var(--mandarin); stroke-width: 1.5; opacity: 0.5; }
.origin-map text { font-family: var(--font-body); font-size: 15px; fill: var(--chestnut); }
.origin-map .label-lg { font-family: var(--font-display); font-size: 28px; font-style: italic; }
.origin-map .sea { font-family: var(--font-display); font-style: italic; font-size: 18px; fill: var(--muted); }
.origin__facts { display: grid; gap: 18px; margin-top: 28px; }
.origin__facts div { display: grid; grid-template-columns: 14px 1fr; gap: 14px; align-items: baseline; }
.origin__facts .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--mandarin); }
.origin__facts strong { display: block; font-weight: 500; }
.origin__facts span { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 899px) { .origin { grid-template-columns: 1fr; } }

/* Section-head variations (not every section gets the eyebrow + italic formula) */
.bulk__big {
  display: flex; align-items: baseline; gap: 0.12em;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 7vw, 9rem);
  line-height: 0.85;
  color: var(--mandarin-ink);
}
.bulk__big small { font-size: 0.3em; font-style: italic; color: var(--muted); }
.product-story__price {
  margin: 0 0 14px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-story__price .price { color: var(--mandarin-ink); letter-spacing: 0.04em; }

/* Par mums: signature, note, founder story */
.origin .lead { margin-top: 28px; }
.origin-map .label-md { font-family: var(--font-display); font-size: 22px; font-style: italic; }
.story__sign { margin-top: 8px; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.25; }
.story__sign span { display: block; margin-top: 6px; font-family: var(--font-body); font-size: var(--fs-small); color: var(--muted); }
.people-note { margin: 32px 0 0; color: var(--muted); font-size: 0.9375rem; }
.founder { max-width: calc(46rem + var(--gutter) * 2); }
.founder h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.founder__quote { position: relative; margin: 0; padding-left: clamp(0px, 4vw, 56px); }
.founder__quote::before {
  content: "“";
  position: absolute;
  left: -0.08em; top: -0.32em;
  font-family: var(--font-display);
  font-size: clamp(5rem, 9vw, 8rem);
  line-height: 1;
  color: var(--orange);
}
.founder__quote p { font-size: 1.0625rem; line-height: 1.8; }
.founder__quote p:first-of-type { font-family: var(--font-display); font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); line-height: 1.45; }
.founder__quote cite { display: block; margin-top: 28px; font-style: normal; font-size: var(--fs-small); font-weight: 500; color: var(--muted); }
@media (max-width: 559px) { .founder__quote::before { position: static; display: block; margin-bottom: -0.35em; } }

/* ───────── Privātuma politika ───────── */
.prose { max-width: 720px; }
.prose h2 { margin: 2em 0 0.5em; font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.prose a { color: var(--chestnut); text-underline-offset: 3px; }
