/* ═════════ 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--photo img { width: 100%; height: 100%; margin: 0; object-fit: cover; filter: none; }
.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; }

/* Instrument Serif italic draws the macron of “ē” far to the right, so the hero draws it over a plain “e”
   (the real word, “kastē”, is the heading's accessible label via data-label). */
.macron-last { position: relative; }
.macron-last::after { content: ""; position: absolute; right: 0.03em; top: 0.33em; width: 0.24em; height: 0.045em; border-radius: 1px; background: currentColor; }
:where(.js) [data-split] .macron-last::after { opacity: 0; transition: opacity 400ms var(--ease-out) 450ms; }
:where(.js) [data-split].is-in .macron-last::after, .reduce-motion [data-split] .macron-last::after { opacity: 1; }

.grove-photo { margin: 28px 0 0; max-width: 420px; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 5; }
.grove-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ═════════ 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);
}
.values { display: flex; flex-wrap: wrap; gap: 12px; }
.values .stamp { color: var(--olive); }

/* ═════════ 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) */
/* Par mums: signature, note, founder story */
.story--about { max-width: 760px; }
.about-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.about-split .about-photo { position: sticky; top: calc(var(--header-h) + 24px); }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-l); }
.about-photo figcaption { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); }
.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.photo-pair .about-photo:nth-child(2) { margin-top: clamp(32px, 8vw, 120px); }
.product-photos { max-width: 900px; margin: 0 auto; }
.products__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.products__copy .lead { margin-top: 24px; }
.products__facts { display: grid; gap: 0; margin: 32px 0 24px; border-top: 1px solid var(--line); }
.products__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.products__facts dt { color: var(--muted); }
.products__facts dd { margin: 0; font-weight: 500; text-align: right; }
.products__box .box-grid--single { grid-template-columns: minmax(0, 1fr); }
.products__box .box-note { justify-content: flex-start; }
@media (max-width: 899px) { .products__grid { grid-template-columns: 1fr; } }
.founder.founder--photo { max-width: none; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.founder__photo { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 899px) {
  .about-split, .founder--photo { grid-template-columns: 1fr; }
  .about-split .about-photo, .founder__photo { position: static; max-width: 520px; }
}
@media (max-width: 559px) { .photo-pair { grid-template-columns: 1fr; } .photo-pair .about-photo:nth-child(2) { margin-top: 0; } }
.story--about h2 { margin-bottom: 12px; }
.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; }
