/*
 * Ro-ga 2026 redesign — "The living herbarium"
 * A contemporary apothecary catalogue: field-note typography, botanical
 * colour, assertive scale and a commerce-first product rhythm.
 *
 * This sheet intentionally sits after style.css and i18n.css. The original
 * sheet remains the behavioural safety net; these rules replace only the
 * visible system while preserving every existing CMS/content key and script.
 */

:root {
  --ink: #33382f;
  --graphite: #66665e;
  --chalk: #a9aa9f;
  --band: #dedfd6;
  --paper: #f3f0e8;
  --olive: #6c6c55;
  --white: #faf8f1;
  --forest: #393f35;
  --mist: #e7e6df;
  --sun: #8b8067;
  --line: rgba(57, 63, 53, 0.2);
  --hair: 1px solid var(--line);
  --maxw: 1440px;
  --maxw-zig: 1600px;
  --nav-h: 148px;
  --nav-pad: clamp(24px, 3.3vw, 64px);
  --pad: clamp(24px, 4vw, 64px);
  --r: 0px;
  --t-hero: clamp(4rem, 7.4vw, 8rem);
  --t-sec: clamp(2.75rem, 4.9vw, 5.7rem);
  --t-sub: clamp(1.25rem, 1.8vw, 1.75rem);
  --t-lead: clamp(1.05rem, 1.25vw, 1.28rem);
  --dur: 280ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  background: var(--paper);
}

body {
  position: relative;
  font-size: 1.03rem;
  line-height: 1.72;
  color: var(--graphite);
  background: var(--paper);
}

/* 2026-09-23 — pressed-botanical paper (lavender, sage, chamomile) restored
   over the whole site, exactly as in the pre-09-22 version Yonatan liked. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.062;
  mix-blend-mode: multiply;
  /* 2026-09-23: a second, half-offset layer fills the blank strip between
     the leaf columns; tiles a touch bigger and wider (420 → 450x290). */
  background:
    url("../img/texture-paper.png") calc(50% + 225px) calc(50% + 145px) / 450px
      290px repeat,
    url("../img/texture-paper.png") center / 450px 290px repeat;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1,
h2 {
  font-weight: 400;
}

p {
  text-wrap: pretty;
}

.wrap {
  max-width: var(--maxw);
}

.eyebrow {
  display: flex;
  align-items: center;
  width: fit-content;
  color: var(--olive);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* The little rule that used to trail the kicker ("החנות ———") is gone —
   the word alone carries the kicker now. */
.eyebrow::before {
  content: none;
}

.sec__head--center .eyebrow,
.hero .eyebrow {
  margin-inline: auto;
}

.lead {
  line-height: 1.68;
}

.sec {
  position: relative;
  padding-block: clamp(88px, 9vw, 156px) clamp(76px, 8vw, 132px);
}

.sec--tight {
  padding-block: clamp(56px, 6vw, 96px);
}

.sec--hair {
  border-top-color: var(--line);
}

/* Buttons: high-contrast editorial controls, never pills or shadows. */
.btn {
  position: relative;
  min-height: 50px;
  padding: 15px 24px;
  overflow: hidden;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition:
    color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform 120ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--olive);
  border-color: var(--olive);
}

.btn--secondary {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.btn--secondary:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

/* Single-row editorial navigation. */
.nav {
  z-index: 60;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 0;
  backdrop-filter: blur(12px);
}

.nav__bar {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: 1fr;
  max-width: none;
  min-height: var(--nav-h);
  padding: 0 var(--nav-pad);
  column-gap: clamp(28px, 3.6vw, 72px);
}

.nav__bar::before {
  display: none;
}

.nav__side--nav {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  padding: 0;
}

.nav__brand {
  grid-column: 2;
  grid-row: 1;
  padding: 0;
}

.nav__brand::after {
  display: none;
}

.nav__side--util {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  padding: 0;
  gap: 20px;
}

.nav__crest {
  position: relative;
  flex-direction: row;
  gap: 12px;
  padding-inline: 0;
  color: var(--forest);
}

.nav__crest::before,
.nav__crest::after {
  content: "";
  display: none;
  width: 42px;
  height: 1px;
  flex: 0 0 auto;
  background: color-mix(in srgb, var(--olive) 68%, transparent);
}

.nav__logo {
  width: auto;
  height: 68px;
  filter: brightness(0) saturate(100%) invert(16%) sepia(18%) saturate(860%)
    hue-rotate(104deg) brightness(91%) contrast(92%);
}

.nav__mark {
  margin: 0 0 0 -0.12em;
  color: var(--forest);
  font-size: 1.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
}

.nav__rule {
  display: none;
}

.nav__tagline {
  display: block;
  margin-top: 5px;
  color: var(--olive);
  font-family: var(--f-body);
  font-size: 0.66rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.18em;
  direction: ltr;
}

.nav__links {
  gap: clamp(30px, 3.2vw, 66px);
}

.nav__links a {
  position: relative;
  min-width: 74px;
  padding: 15px 8px;
  border: 0;
  text-decoration: none;
  color: var(--forest);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

.nav__links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 2px;
  height: 3px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform var(--dur) var(--ease);
}

.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__search-field {
  width: clamp(220px, 17vw, 340px);
  border-bottom-color: var(--line);
}

.nav__search input {
  padding-block: 13px;
  font-size: 0.92rem;
}

.nav__search-go {
  width: 50px;
}

.nav__lang {
  border-inline: 1px solid var(--line);
  padding-inline: 12px;
}

.nav__lang button {
  min-width: 42px;
  min-height: 42px;
  font-size: 0.8rem;
}

.nav__lang::after {
  display: none;
}

.nav__cart {
  width: 84px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
}

.nav__cart::before {
  content: "BAG";
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.nav__cart svg {
  width: 28px;
  height: 28px;
}

.nav__cart:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

.nav__cart-count {
  top: -7px;
  inset-inline-end: -7px;
  min-width: 20px;
  height: 20px;
  background: var(--olive);
  color: var(--white);
}

/* Value points become a ruled field-note strip. */
.page-home .sec--band.sec--tight:not(.sec--social) {
  padding-block: 0;
  /* warm beige, matching the original edition */
  background: #ebe4d6;
}

.page-home .sec--band.sec--tight:not(.sec--social) .wrap {
  padding-inline: 0;
}

.values {
  gap: 0;
  border-inline: 1px solid var(--line);
}

.values__item {
  position: relative;
  min-height: 300px;
  display: grid;
  grid-template-columns: 66px 1fr;
  grid-template-rows: auto 1fr;
  align-content: center;
  column-gap: 20px;
  padding: clamp(38px, 4vw, 68px);
  text-align: start;
  border-inline-start: 1px solid var(--line);
}

.values__item:first-child {
  border-inline-start: 0;
}

.values__icon {
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
  margin: 0;
  filter: saturate(0.7);
}

.values__item .eyebrow {
  margin: 0 0 14px;
}

.values__item h3 {
  font-size: clamp(1.35rem, 1.7vw, 1.7rem);
}

.values__item p {
  max-width: 29ch;
  margin: 10px 0 0;
  font-size: 0.94rem;
}

/* Collection introduction and asymmetric featured catalogue. */
.sec--feature {
  padding-top: clamp(64px, 6.5vw, 108px);
  overflow: clip;
}

.sec--feature .sec__head {
  /* minmax(0,…) freezes the split so narrowing the image in Mission Control
     cannot reflow the text column — a side handle must change width only. */
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(56px, 8vw, 132px);
  margin-bottom: clamp(72px, 8vw, 128px);
}

.sec--feature .img-offset {
  align-self: stretch;
  min-height: 520px;
}

.sec--feature .img-offset::before {
  inset-block: 34px -30px;
  inset-inline-start: -30px;
  width: 44%;
  height: auto;
  background: var(--band);
}

.sec--feature .img-offset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sec--feature .split__text {
  padding-block: 34px;
  border-block: 1px solid var(--line);
}

.sec--feature h2 {
  max-width: 9ch;
  font-size: var(--t-sec);
  line-height: 0.98;
}

.sec--feature .lead {
  max-width: 38ch;
}

.sec--feature .pgrid {
  grid-template-columns: 1.65fr repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 34px);
}

.sec--feature .pcard:first-child .pcard__name {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

/* Desktop masthead: the brand owns the upper row; navigation and store
   utilities sit against the lower edge, echoing a traditional apothecary
   shopfront without disturbing the compact mobile header. */
@media (min-width: 1025px) {
  :root {
    --nav-h: 148px;
  }

  .nav__bar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 90px 58px;
    padding: 0 clamp(28px, 3vw, 56px);
    column-gap: var(--s4);
  }

  .nav__bar::before {
    display: none;
  }

  .nav__brand {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    padding: 6px 0 2px;
  }

  .nav__crest {
    padding-inline: 0;
  }

  .nav__crest::before,
  .nav__crest::after {
    display: none;
  }

  .nav__side--nav {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    padding: 0 0 4px;
  }

  .nav__side--util {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    padding: 0 0 4px;
  }
}

/* Product cards are flat catalogue entries, not floating cards. */
.pcard {
  position: relative;
}

.pcard::before {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  color: var(--olive);
  font-family: var(--f-body);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.pcard__tile,
.sec--band .pcard__tile,
.pagehead--band .pcard__tile {
  /* The catalogue photography is square. Matching the frame to the source
     removes the tinted letterbox bands that appeared above and below it. */
  aspect-ratio: 1;
  background: var(--mist);
  border: 1px solid transparent;
  overflow: hidden;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.pcard__tile img {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.01);
  transition:
    transform 700ms var(--ease),
    filter var(--dur) ease,
    opacity var(--dur) ease;
}

/* Ida's catalogue photography is deliberately framed with breathing room. */
.pcard[data-slug] .pcard__tile img {
  object-fit: contain;
}

.pcard__image--primary,
.pcard__image--secondary {
  position: absolute;
  inset: 0;
}

.pcard__image--secondary {
  opacity: 0;
  transform: scale(1.02);
}

.pcard:hover .pcard__tile {
  background: var(--band);
  border-color: var(--line);
}

@media (hover: hover) {
  .pcard:hover .pcard__tile .pcard__image--primary,
  .pcard:focus-within .pcard__tile .pcard__image--primary {
    transform: scale(1.035);
    opacity: 1;
  }

  .pcard:has(.pcard__image--secondary):hover
    .pcard__tile
    .pcard__image--primary,
  .pcard:has(.pcard__image--secondary):focus-within
    .pcard__tile
    .pcard__image--primary {
    opacity: 0;
  }

  .pcard:hover .pcard__tile .pcard__image--secondary,
  .pcard:focus-within .pcard__tile .pcard__image--secondary {
    transform: scale(1);
    filter: saturate(0.82) contrast(1.01);
    opacity: 1;
  }
}

.pcard__meta {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 15px;
  color: var(--olive);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.pcard__meta i {
  display: none;
  font-style: normal;
  font-size: 0.9rem;
}

.pcard__badge {
  top: 12px;
  inset-inline-start: 12px;
  padding: 8px 10px;
  background: var(--forest);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

.pcard__badge--sale {
  background: var(--sun);
  color: var(--white);
}

.pcard__name {
  min-height: 0;
  margin-top: 8px;
  font-size: 1.2rem;
  line-height: 1.2;
  text-align: start;
}

.pcard__price {
  margin-top: 7px;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: start;
}

.pcard__cta {
  margin-top: 18px;
}

.pcard__cta .btn {
  justify-content: center;
  min-height: 42px;
  padding-inline: 15px;
  border: 1px solid var(--olive);
  border-radius: 0;
  background: transparent;
  color: var(--olive);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-align: center;
}

.pcard__cta .btn::after {
  content: none;
}

.pcard__cta .btn:hover {
  padding-inline: 15px;
  border-color: var(--olive);
  background: var(--olive);
  color: var(--white);
}

.pcard__cta .btn--soldout {
  color: var(--graphite);
  opacity: 0.64;
}

.pcard__cta .btn--soldout::after {
  content: "—";
}

/* Editorial craft chapters. */
.sec--zig-top,
.sec--zig-bottom {
  overflow: clip;
}

.sec--zig-top {
  padding-block: clamp(100px, 10vw, 168px);
  background: var(--band);
}

.sec--zig-bottom {
  padding-block: clamp(100px, 10vw, 168px);
  background: var(--paper);
}

.sec--zig-top > .wrap,
.sec--zig-bottom > .wrap {
  max-width: var(--maxw-zig);
}

.zig,
.zig--media-right,
.zig--media-left {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  column-gap: clamp(64px, 8vw, 150px);
}

.zig--media-left {
  grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr);
}

.zig--media-right .zig__media,
.zig--media-left .zig__media {
  margin: 0;
}

.zig__text {
  max-width: 620px;
  padding-block: 36px;
  border-block: 1px solid var(--line);
}

.zig__text--lg h2 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 4.3vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.zig__text--lg p {
  max-width: 43ch;
  font-size: clamp(1rem, 1.12vw, 1.14rem);
  line-height: 1.76;
}

.zig__text .eyebrow {
  margin-bottom: 20px;
}

.zig--media-right .img-pair {
  --hang: clamp(72px, 8vw, 126px);
}

.zig--media-right .img-pair__over {
  inset-inline-end: -28px;
  width: min(43%, 380px);
  /* no cream mat around the inset portrait — the photo sits bare */
  padding: 0;
  background: transparent;
}

.sec--zig-bottom .zig__media,
.sec--zig-bottom .zig__text {
  margin-top: 0;
}

.sec--zig-bottom .zig__media img {
  aspect-ratio: 4 / 3;
  max-height: 680px;
}

.split__list {
  border-top-color: var(--line);
}

.split__list li {
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) 1fr;
  gap: 14px;
  padding-block: 16px;
  border-bottom-color: var(--line);
}

/* Ida's portrait is the deliberate dark chapter, repeated by the footer. */
.sec--zig-bottom + .sec--portrait {
  padding-top: clamp(92px, 10vw, 168px);
}

.sec--portrait {
  background: var(--mist);
  color: var(--graphite);
}

.sec--portrait .split {
  grid-template-columns: 0.84fr 1.16fr;
  gap: clamp(64px, 10vw, 160px);
}

.sec--portrait h2,
.sec--portrait strong {
  color: var(--forest);
}

.sec--portrait h2 {
  max-width: 8ch;
  font-size: var(--t-sec);
  line-height: 0.95;
}

.sec--portrait .eyebrow {
  color: var(--olive);
}

.sec--portrait .btn--secondary {
  border-color: var(--forest);
  color: var(--forest);
}

.sec--portrait .btn--secondary:hover {
  background: var(--forest);
  color: var(--white);
}

.sec--portrait .img-mat {
  padding: 14px;
  border-color: var(--line);
  background: var(--paper);
}

.sec--portrait .img-mat img {
  filter: saturate(0.85) contrast(1.06);
}

.sec--social {
  background: var(--mist);
}

.sec--social .sec__head h2 {
  max-width: 11ch;
  margin-inline: auto;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: 1;
}

.igstrip {
  gap: 1px;
  margin-top: clamp(44px, 5vw, 80px);
  background: var(--line);
  border: 1px solid var(--line);
}

.igstrip a {
  overflow: hidden;
  background: var(--paper);
}

.igstrip img {
  transition:
    transform 700ms var(--ease),
    filter var(--dur) ease;
}

.igstrip a:hover img {
  transform: scale(1.035);
  filter: saturate(0.84);
}

/* Catalogue pages. */
.pagehead {
  padding-block: clamp(74px, 8vw, 134px) clamp(56px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.pagehead--band {
  background: var(--band);
}

.pagehead h1 {
  max-width: 10ch;
  margin-top: 20px;
  font-size: clamp(3.8rem, 7vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.page-shop .pagehead .wrap::after {
  content: "MADE BY HAND";
  display: block;
  margin-top: 36px;
  color: var(--olive);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.page-shop main > .sec {
  padding-top: 42px;
}

/* Category filter: a centred, free-standing group of separate buttons —
   no full-width rules, no vertical dividers, deliberately large. */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(9px, 0.95vw, 15px);
  overflow: visible;
  border-block: 0;
}

.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(48px, 4.2vw, 64px);
  padding: clamp(12px, 1.2vw, 18px) clamp(17px, 2vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  font-size: clamp(0.92rem, 1.15vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.chip:first-child {
  border-inline-start: 1px solid var(--line);
}

.chip:hover {
  border-color: var(--forest);
  background: var(--mist);
  color: var(--ink);
}

.chip[aria-pressed="true"] {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

.chip[aria-pressed="true"]:hover {
  background: var(--forest);
  color: var(--white);
}

.page-shop .pgrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: clamp(62px, 6vw, 98px) clamp(18px, 2vw, 32px);
}

.page-shop .pcard:nth-child(7n + 1) {
  grid-column: span 1;
}

/* Product detail as an apothecary specimen sheet. */
.page-product main > .sec:first-child {
  padding-top: clamp(44px, 5vw, 80px);
}

.pdp__crumb {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.pdp {
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(64px, 8vw, 144px);
}

.pdp__main {
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: zoom-in;
}

.pdp__main:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 4px;
}

.pdp__main img {
  object-fit: contain;
  filter: saturate(0.82) contrast(1.01);
}

.thumbs {
  width: fit-content;
  max-width: 100%;
  gap: 12px;
  margin-top: 14px;
  margin-inline-end: auto;
  background: transparent;
}

.thumb {
  width: clamp(82px, 5vw, 96px);
  height: auto;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: var(--paper);
}

.thumb img {
  object-fit: cover;
}

.thumb[aria-current="true"] {
  outline: 2px solid var(--forest);
  outline-offset: -2px;
}

.pdp__info {
  position: sticky;
  top: calc(var(--nav-h) + 36px);
  padding: clamp(24px, 3vw, 48px) 0 0;
  border-top: 1px solid var(--line);
}

.pdp h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 5.2vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.pdp__price {
  margin-top: 28px;
  font-size: 1.4rem;
}

.pdp__blurb {
  max-width: 44ch;
  margin-top: 24px;
  padding-bottom: 30px;
  border-bottom-color: var(--line);
  font-size: 1.06rem;
}

.qty,
.qty__val {
  border-color: var(--line);
}

.pdp__details {
  border-top-color: var(--line);
}

.page-product .sec--hair {
  background: var(--mist);
}

.page-product .sec--hair .sec__head h2 {
  font-size: clamp(2.7rem, 4.5vw, 5rem);
  line-height: 1;
}

.rail {
  gap: clamp(18px, 2vw, 32px);
}

/* Contact: a generous founder-led page, not a thin utility form. */
.page-contact .pagehead {
  min-height: 610px;
  padding-block: 0;
  background: var(--mist);
}

.pagehead__contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  align-items: center;
  gap: clamp(56px, 8vw, 132px);
  max-width: none;
  min-height: 610px;
  padding-inline: 0;
}

.pagehead__contact-copy {
  padding-block: 34px;
}

.page-contact .pagehead h1 {
  max-width: none;
  margin-top: 30px;
  font-size: clamp(5.2rem, 8.4vw, 10.5rem);
}

.page-contact .pagehead p {
  max-width: 41ch;
  margin-top: 30px;
  font-size: clamp(1.12rem, 1.25vw, 1.35rem);
  line-height: 1.75;
}

.contact-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--forest);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.contact-promises span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.contact-promises span::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--olive);
}

.pagehead__contact-portrait {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-height: 470px;
  overflow: hidden;
  background: var(--band);
}

.pagehead__contact-copy {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  width: min(760px, 54%);
  margin-inline-start: auto;
  padding: clamp(42px, 5vw, 76px);
  background: color-mix(in srgb, var(--paper) 91%, transparent);
  backdrop-filter: blur(5px);
}

.pagehead__contact-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.76) contrast(1.01);
}

.pagehead__contact-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 49, 40, 0.14), transparent 46%),
    linear-gradient(0deg, rgba(24, 49, 40, 0.58), transparent 36%);
  pointer-events: none;
}

.pagehead__contact-portrait figcaption {
  position: absolute;
  z-index: 1;
  inset-inline: 30px;
  inset-block-end: 28px;
  color: var(--white);
}

.pagehead__contact-portrait strong,
.pagehead__contact-portrait span {
  display: block;
}

.pagehead__contact-portrait strong {
  font-family: var(--f-disp);
  font-size: 1.65rem;
  font-weight: 500;
}

.pagehead__contact-portrait span {
  margin-top: 5px;
  color: rgba(255, 253, 247, 0.74);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.page-contact main > .sec {
  padding-block: clamp(72px, 7vw, 118px) clamp(92px, 9vw, 148px);
}

.page-contact main > .sec > .wrap {
  max-width: 1600px;
}

.page-contact .contact {
  grid-template-columns: minmax(0, 1.65fr) minmax(340px, 0.65fr);
  gap: clamp(26px, 3vw, 52px);
}

.page-contact .contact form {
  padding: clamp(42px, 5vw, 78px);
  background: color-mix(in srgb, var(--white) 76%, var(--paper));
  border: 1px solid var(--line);
  border-top: 7px solid var(--forest);
}

.contact__form-head {
  max-width: 720px;
  margin-bottom: clamp(44px, 5vw, 76px);
}

.contact__form-head h2 {
  margin-top: 18px;
  color: var(--forest);
  font-size: clamp(3rem, 5vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.contact__form-head p {
  max-width: 48ch;
  margin-top: 20px;
  font-size: 1.08rem;
  line-height: 1.72;
}

.page-contact .form-grid {
  gap: clamp(32px, 3.2vw, 54px) clamp(30px, 3.6vw, 62px);
}

.page-contact .contact aside {
  padding: clamp(38px, 4vw, 62px);
  background: var(--forest);
  border-top: 7px solid var(--olive);
  color: rgba(255, 253, 247, 0.7);
}

.contact__aside-intro {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  margin-bottom: 46px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 253, 247, 0.2);
}

.contact__aside-intro span {
  color: #c5d3a6;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.contact__aside-intro p {
  color: var(--white);
  font-family: var(--f-disp);
  font-size: 1.65rem;
  line-height: 1.35;
}

.page-contact .aside__block + .aside__block {
  border-top-color: rgba(255, 253, 247, 0.2);
}

.page-contact .aside__block h3,
.page-contact .contact-list b {
  color: #c5d3a6;
}

.page-contact .contact-list li + li {
  margin-top: 26px;
}

.page-contact .contact-list a {
  color: var(--white);
  border-bottom-color: rgba(255, 253, 247, 0.38);
  font-size: 1.05rem;
}

.page-contact .aside__block p {
  color: rgba(255, 253, 247, 0.72);
  font-size: 1rem;
  line-height: 1.85;
}

.field {
  gap: 10px;
}

.field label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.field input,
.field select,
.field textarea {
  padding: 18px 0;
  border-width: 0 0 1px;
  border-color: var(--line);
  background: transparent;
  font-size: 1.12rem;
}

.page-contact .field textarea {
  min-height: 210px;
}

.page-contact .form-actions {
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.page-contact .form-actions .btn {
  min-width: 170px;
  min-height: 58px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest);
}

.formmsg {
  background: var(--mist);
  border-color: var(--line);
  border-inline-start-color: var(--olive);
}

.checkout {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(64px, 9vw, 148px);
}

.checkout__aside {
  top: calc(var(--nav-h) + 28px);
  padding: clamp(28px, 3vw, 44px);
  border: 0;
  border-top: 5px solid var(--forest);
  background: var(--mist);
}

.checkout__block + .checkout__block,
.sumrow--total,
.olines {
  border-color: var(--line);
}

.ship {
  border-color: var(--line);
  background: transparent;
}

.ship.is-on {
  border-color: var(--forest);
  background: var(--mist);
}

/* Cart drawer echoes a physical paper order slip. */
.drawer__panel {
  width: min(640px, 100%);
  background: var(--paper);
  border-inline-end: 1px solid var(--line);
}

.drawer__head,
.drawer__foot {
  border-color: var(--line);
}

.drawer__head {
  min-height: 112px;
  padding: 30px clamp(26px, 3vw, 46px);
}

.drawer__body,
.drawer__foot {
  padding-inline: clamp(26px, 3vw, 46px);
}

.drawer__title {
  font-family: var(--f-disp);
  font-size: 2.15rem;
  letter-spacing: -0.02em;
}

.drawer__promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.drawer__promise span {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  color: var(--forest);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.drawer__promise span + span {
  border-inline-start: 1px solid var(--line);
}

.drawer__promise span::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--olive);
}

.drawer__body {
  padding-block: 34px;
}

.drawer__empty {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.drawer__empty h3 {
  max-width: 8ch;
  margin-top: 18px;
  color: var(--forest);
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.drawer__empty p {
  max-width: 42ch;
  margin-top: 24px;
  font-size: 1rem;
  line-height: 1.75;
}

.drawer__foot {
  padding-block: 28px 24px;
  background: var(--mist);
}

.drawer__summary-label {
  display: block;
  margin-bottom: 18px;
  color: var(--olive);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.drawer__foot .sumrow {
  padding-block: 7px;
}

.drawer__foot .sumrow--grand {
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--forest);
  font-family: var(--f-disp);
  font-size: 1.48rem;
  font-weight: 500;
}

.drawer__delivery-note {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--white) 58%, transparent);
  font-size: 0.78rem;
  line-height: 1.55;
}

.drawer__foot .btn {
  min-height: 58px;
  font-size: 0.82rem;
}

.citem,
.drawer__ship,
.sumrow--total {
  border-color: var(--line);
}

.citem {
  grid-template-columns: 118px 1fr;
  gap: 22px;
  padding-bottom: 28px;
  margin-bottom: 28px;
}

.citem__thumb {
  aspect-ratio: 4 / 5;
  background: var(--mist);
  border: 1px solid var(--line);
}

.citem__thumb img {
  object-fit: cover;
}

.citem__cat {
  display: block;
  margin-bottom: 5px;
  color: var(--olive);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.citem__name {
  font-size: 1.24rem;
}

.citem__unit {
  margin-top: 8px;
  font-size: 0.86rem;
}

.citem__row {
  margin-top: 20px;
}

.citem__total {
  font-size: 1rem;
}

.drawer__track {
  background: var(--mist);
}

/* Dark footer: one calm ending, simplified through contrast rather than cards. */
.footer {
  padding-block: clamp(72px, 8vw, 128px) 32px;
  background: var(--forest);
  border-top: 0;
  color: rgba(255, 253, 247, 0.68);
}

.footer__grid {
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  gap: clamp(48px, 8vw, 132px);
}

.footer__brand {
  color: var(--white);
}

.footer__logo {
  filter: brightness(0) invert(1);
}

.footer h4,
.footer a,
.footer strong,
.footer .nav__word {
  color: var(--white);
}

.footer .nav__word span {
  color: rgba(255, 253, 247, 0.72);
}

.footer h4 {
  font-family: var(--f-body);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.footer a:hover {
  color: #c5d3a6;
}

.footer__base {
  margin-top: clamp(64px, 8vw, 116px);
  padding-top: 24px;
  border-top-color: rgba(255, 253, 247, 0.18);
  color: rgba(255, 253, 247, 0.48);
}

/* Keep the white specimen lightbox pristine. */
.lbox {
  --paper: #ffffff;
  --ink: #15251f;
  --graphite: #59615d;
}

/* Tablet: collapse the editorial compositions before they feel squeezed. */
@media (max-width: 1180px) and (min-width: 1025px) {
  :root {
    --nav-h: 136px;
  }

  .nav__bar {
    grid-template-rows: 82px 54px;
  }

  .nav__search {
    display: none;
  }

  .sec--feature .pgrid {
    grid-template-columns: 1.45fr repeat(3, 1fr);
  }

  .zig,
  .zig--media-right,
  .zig--media-left {
    column-gap: 54px;
  }
}

@media (max-width: 1024px) {
  :root {
    --nav-h: 88px;
    --pad: clamp(22px, 5vw, 48px);
    --t-hero: clamp(3.5rem, 11vw, 6.5rem);
  }

  .nav__bar {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "burger brand cart";
    min-height: var(--nav-h);
    padding: 8px var(--pad);
  }

  .nav__side--nav,
  .nav__side--util {
    display: contents;
  }

  .nav__burger {
    grid-area: burger;
  }

  .nav__brand {
    grid-area: brand;
  }

  .nav__brand::after,
  .nav__cart::before {
    display: none;
  }

  .nav__cart {
    grid-area: cart;
    width: 56px;
    height: 56px;
  }

  .nav__logo {
    height: 52px;
  }

  .nav__mark {
    font-size: 0.96rem;
  }

  .nav.is-open .nav__bar {
    grid-template-areas:
      "burger brand  cart"
      "menu   menu   menu"
      "search search search"
      "lang   lang   lang";
    padding-bottom: 28px;
  }

  .nav.is-open .nav__nav {
    border-top-color: var(--line);
  }

  .nav.is-open .nav__links a {
    padding-block: 18px;
    border-bottom-color: var(--line);
    font-size: 1.45rem;
  }

  .nav.is-open .nav__lang {
    border-inline: 0;
    padding-inline: 0;
  }

  .values {
    grid-template-columns: 1fr;
  }

  .values__item {
    min-height: 0;
    grid-template-columns: 70px 1fr;
    padding: 38px var(--pad);
    border-top: 1px solid var(--line);
    border-inline-start: 0;
  }

  .values__item:first-child {
    border-top: 0;
  }

  .sec--feature .sec__head,
  .sec--portrait .split,
  .page-contact .contact,
  .checkout,
  .pdp {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .page-contact .pagehead {
    min-height: 0;
  }

  .pagehead__contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: 0;
  }

  .pagehead__contact-copy {
    position: relative;
    width: auto;
    margin-inline-start: 0;
  }

  .pagehead__contact-portrait {
    position: relative;
    inset: auto;
  }

  .pagehead__contact-copy {
    padding-block: 10px 0;
    background: transparent;
    backdrop-filter: none;
  }

  .page-contact .pagehead h1 {
    font-size: clamp(4.8rem, 13vw, 8rem);
  }

  .pagehead__contact-portrait {
    min-height: 520px;
  }

  .page-contact .contact form,
  .page-contact .contact aside {
    padding: clamp(36px, 7vw, 64px);
  }

  .sec--feature .img-offset {
    min-height: 440px;
  }

  .sec--feature .pgrid {
    grid-template-columns: 1.35fr 1fr;
  }

  .zig,
  .zig--media-right,
  .zig--media-left {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .zig--media-left .zig__media {
    order: -1;
  }

  .zig__text {
    max-width: none;
  }

  .sec--portrait .img-mat {
    max-width: 680px;
  }

  .page-shop .pgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-shop .pcard:nth-child(7n + 1) {
    grid-column: span 2;
  }

  .pdp__gallery,
  .pdp__info {
    order: 0;
  }

  .pdp__info {
    position: static;
  }

  .checkout__aside {
    position: static;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 20px;
    --t-sec: clamp(2.45rem, 13vw, 4.2rem);
  }

  body::before {
    opacity: 0.045;
  }

  .sec {
    padding-block: 76px 68px;
  }

  .eyebrow {
    font-size: 0.78rem;
  }

  .nav__bar {
    padding-inline: 16px;
  }

  .nav__brand {
    max-width: 190px;
  }

  .nav__crest {
    gap: 8px;
  }

  .nav__logo {
    height: 46px;
  }

  .nav__mark {
    font-size: 0.84rem;
    letter-spacing: 0.05em;
  }

  .nav__cart {
    width: 46px;
    height: 46px;
  }

  .page-contact .pagehead {
    padding-block: 52px 24px;
  }

  .page-contact .pagehead h1 {
    margin-top: 22px;
    font-size: clamp(4.1rem, 21vw, 6rem);
  }

  .page-contact .pagehead p {
    margin-top: 22px;
    font-size: 1rem;
  }

  .contact-promises {
    display: grid;
    gap: 12px;
    margin-top: 28px;
  }

  .pagehead__contact-portrait {
    min-height: 390px;
  }

  .pagehead__contact-portrait figcaption {
    inset-inline: 22px;
    inset-block-end: 20px;
  }

  .page-contact main > .sec {
    padding-block: 42px 76px;
  }

  .page-contact .contact {
    gap: 24px;
  }

  .page-contact .contact form,
  .page-contact .contact aside {
    padding: 30px 22px 36px;
  }

  .contact__form-head {
    margin-bottom: 42px;
  }

  .contact__form-head h2 {
    font-size: clamp(3.1rem, 16vw, 4.7rem);
  }

  .page-contact .form-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-contact .field--full {
    grid-column: auto;
  }

  .page-contact .field textarea {
    min-height: 170px;
  }

  .page-contact .form-actions .btn {
    width: 100%;
  }

  .drawer__promise span {
    min-height: 52px;
    padding-inline: 10px;
    font-size: 0.61rem;
  }

  .citem {
    grid-template-columns: 92px 1fr;
    gap: 16px;
  }

  .values__item {
    grid-template-columns: 52px 1fr;
    column-gap: 16px;
    padding-block: 30px;
  }

  .values__icon {
    width: 46px;
    height: 46px;
  }

  .values__item p {
    font-size: 0.88rem;
  }

  .sec--feature {
    padding-top: 82px;
  }

  .sec--feature .sec__head {
    gap: 44px;
    margin-bottom: 60px;
  }

  .sec--feature .img-offset {
    min-height: 0;
  }

  .sec--feature .img-offset img {
    height: auto;
  }

  .sec--feature .pgrid {
    grid-template-columns: 1fr 1fr;
    gap: 46px 14px;
  }

  .sec--feature .pcard:first-child .pcard__name,
  .page-shop .pcard:nth-child(7n + 1) .pcard__name {
    font-size: 1.05rem;
  }

  .pcard {
    padding-top: 24px;
  }

  .pcard__name {
    margin-top: 12px;
    font-size: 0.98rem;
  }

  .pcard__cta {
    margin-top: 12px;
  }

  .pcard__cta .btn {
    min-height: 42px;
    padding-inline: 8px;
    font-size: 1rem;
    letter-spacing: 0;
  }

  .zig__text--lg h2 {
    font-size: var(--t-sec);
  }

  .zig--media-right .img-pair__over {
    inset-inline-end: -10px;
  }

  .split__list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .sec--portrait h2 {
    font-size: var(--t-sec);
  }

  .igstrip {
    grid-template-columns: repeat(2, 1fr);
  }

  .pagehead {
    padding-block: 58px 50px;
  }

  .pagehead h1 {
    font-size: clamp(3.4rem, 16vw, 5.3rem);
  }

  .page-shop main > .sec {
    padding-top: 28px;
  }

  .page-shop .pgrid {
    grid-auto-flow: row;
    gap: 56px 14px;
  }

  .page-shop .pcard:nth-child(7n + 1) {
    grid-column: span 1;
  }

  .page-shop .pcard:nth-child(7n + 1) .pcard__tile {
    aspect-ratio: 1;
  }

  .pdp h1 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .thumb {
    width: 76px;
    height: 76px;
  }

  .page-product .sec--hair .sec__head h2 {
    font-size: 2.7rem;
  }

  .rail {
    grid-auto-columns: 70%;
  }

  .page-contact .contact aside,
  .checkout__aside {
    padding: 26px 22px;
  }

  .footer {
    padding-top: 76px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    display: none;
  }

  .pcard__tile img,
  .igstrip img {
    transition: none;
  }
}

/* The shop header sat in a narrow right-hand column with a large empty band
   beside it — widen the copy so it uses the row. */
.page-shop .pagehead h1 {
  max-width: 18ch;
}

.page-shop .pagehead p {
  max-width: min(980px, 100%);
}

.page-shop .pagehead {
  padding-block: clamp(56px, 5.5vw, 96px) clamp(44px, 4.5vw, 72px);
}

@media (max-width: 1024px) {
  .page-shop .pagehead p {
    max-width: min(620px, 100%);
  }
}

/* ==========================================================================
   Home hero — a faithful copy of the original edition (ro-ga-by-ida-original).
   Every value below is read straight off that sheet, so the hero reads
   identically; the rest of the site keeps the larger redesign scale.
   ========================================================================== */
.page-home .hero {
  min-height: min(80vh, 660px);
}

.page-home .hero h1 {
  font-size: clamp(1.95rem, 4.05vw, 3.05rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: normal;
}

.page-home .hero .eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
}

.page-home .hero__sub {
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
}

.page-home .hero .btn {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 10px 22px;
}

/* 2026-09-23 — "האהובים ביותר": the intro image, the text AND the first
   products must share one screen (Yonatan: "especially on mobile").
   The intro photo becomes a fixed-height crop, the head/grid gap tightens. */
.sec--feature {
  padding-top: clamp(40px, 4.5vw, 72px);
}

.sec--feature .sec__head {
  margin-bottom: clamp(32px, 3.4vw, 52px);
}

.sec--feature .img-offset {
  min-height: 0;
  align-self: center;
}

.sec--feature .img-offset img {
  height: clamp(300px, 42vh, 430px);
  object-position: 50% 58%;
}

.sec--feature .split__text {
  padding-block: 24px;
}

@media (max-width: 1024px) {
  .sec--feature .sec__head {
    gap: 22px;
  }

  .sec--feature .img-offset::before {
    display: none;
  }

  .sec--feature .img-offset img {
    height: clamp(170px, 26vh, 300px);
  }
}

@media (max-width: 640px) {
  .sec--feature {
    padding-top: 36px;
  }

  .sec--feature .sec__head {
    gap: 16px;
    margin-bottom: 26px;
  }

  .sec--feature .img-offset img {
    height: clamp(150px, 22vh, 190px);
  }

  .sec--feature .split__text {
    padding-block: 16px;
  }

  .sec--feature .split__text h2 {
    font-size: clamp(2rem, 9vw, 2.5rem);
    max-width: none;
  }

  .sec--feature .split__text .lead {
    margin-block: 10px 16px;
  }

  .sec--feature .pgrid {
    row-gap: 32px;
  }
}

/* 2026-09-23 — remove the empty grey band above "הסיפור שלי / כך נולד RO-GA":
   story text and photos start right at the top of the band. */
.sec--zig-top {
  padding-top: clamp(28px, 3vw, 48px);
}

.sec--zig-top .zig__text {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.sec--zig-top .zig__media {
  margin-top: 0;
}

@media (min-width: 1025px) {
  .sec--zig-top .zig {
    align-items: start;
  }
}

/* 2026-09-26 — first screen = header + hero + the three value points, nothing
   else. The HERO grows to take the leftover height (value strip keeps its
   normal 300px), so the story band never peeks in on tall screens. */
@media (min-width: 1025px) {
  .page-home .hero {
    min-height: max(min(80vh, 660px), calc(100svh - 86px - 300px));
  }
}

/* 2026-09-26 — story band ("כך נולד RO-GA") a bit shorter: tighter bottom
   padding, paragraph rhythm and line height. */
.sec--zig-top {
  padding-bottom: clamp(48px, 5vw, 88px);
}

.sec--zig-top .zig__text p {
  line-height: 1.6;
  margin-block: 0 0.75em;
}

.sec--zig-top .zig__text h2 {
  margin-bottom: 0.45em;
}

/* 2026-09-26 — Instagram band ("מה קורה בסטודיו השבוע") shorter: the huge
   "big breath" top gap after the workshops band is trimmed. */
.sec--zig-bottom + .sec--social,
.sec--social {
  padding-top: clamp(44px, 4.5vw, 84px);
  padding-bottom: clamp(44px, 4.5vw, 84px);
}

/* 2026-09-26 — contact form "a bit shorter": tighter rows, slimmer fields,
   a shorter message box, and no second rule line under the message box. */
.page-contact .form-grid {
  gap: clamp(20px, 2vw, 34px) clamp(30px, 3.6vw, 62px);
}

.page-contact .field input,
.page-contact .field select,
.page-contact .field textarea {
  padding: 12px 0;
}

.page-contact .field textarea {
  min-height: 130px;
}

.page-contact .form-actions {
  margin-top: 26px;
  padding-top: 0;
  border-top: 0;
}

/* 2026-09-26 — small designer credit in the footer. */
.foot__credit {
  font-size: 0.72rem;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

.foot__credit a {
  color: inherit;
  text-decoration: none;
  unicode-bidi: isolate;
}

.foot__credit a:hover {
  text-decoration: underline;
}

/* 2026-09-26 — checkout: less blank space, bigger, proportional */
/* One content width (1240px) for head + form + summary, so nothing floats
   in a wide empty margin; form ~59% / summary ~41%. */
.page-checkout main .wrap {
  max-width: calc(1240px + 2 * var(--pad));
}

/* Page head: slimmer band; the intro sits beside the title instead of
   under it, so the left half of the band is no longer empty. */
.page-checkout .pagehead {
  padding-block: clamp(32px, 3.4vw, 56px) clamp(28px, 3vw, 48px);
}

.page-checkout .pagehead h1 {
  max-width: none;
  margin-top: 8px;
  font-size: clamp(3rem, 5.4vw, 5.6rem);
}

.page-checkout .pagehead .pdp__crumb {
  font-size: 0.95rem;
}

.page-checkout .pagehead p:not(.pdp__crumb) {
  max-width: 46ch;
  font-size: var(--t-lead);
  line-height: 1.65;
}

@media (min-width: 1025px) {
  .page-checkout .pagehead .wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    column-gap: clamp(40px, 5vw, 96px);
  }

  .page-checkout .pagehead .pdp__crumb {
    grid-column: 1 / -1;
  }

  .page-checkout .pagehead p:not(.pdp__crumb) {
    justify-self: end;
    margin: 0 0 0.6em;
  }
}

/* Main area: tighter section padding, wider form, closer columns. */
.page-checkout [data-checkout] {
  padding-block: clamp(32px, 3.4vw, 56px) clamp(48px, 4.6vw, 80px);
}

.page-checkout .checkout {
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr);
  gap: clamp(32px, 3.6vw, 60px);
}

/* Section titles: real headings on the site's display face, not 12px tags. */
.page-checkout .checkout__block h2,
.page-checkout .checkout__aside h2 {
  margin-bottom: 18px;
  font-family: var(--f-disp);
  font-size: clamp(1.5rem, 1.9vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.page-checkout .checkout__block + .checkout__block {
  margin-top: 32px;
  padding-top: 30px;
}

/* Fields: one scale with the contact form, a touch larger. */
.page-checkout .form-grid {
  gap: 20px clamp(24px, 2.4vw, 36px);
}

.page-checkout .field {
  gap: 4px;
}

.page-checkout .field label {
  color: var(--ink);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.page-checkout .field input,
.page-checkout .field textarea {
  padding: 10px 0;
  font-size: 1.18rem;
}

/* Shipping choices: bigger cards and type, like the shop filter chips. */
.page-checkout .ship {
  gap: 18px;
  padding: 20px 24px;
}

.page-checkout .ship + .ship {
  margin-top: 12px;
}

.page-checkout .ship input {
  width: 20px;
  height: 20px;
}

.page-checkout .ship__label {
  font-size: 1.14rem;
}

.page-checkout .ship__note {
  margin-top: 3px;
  font-size: 0.98rem;
}

.page-checkout .ship__cost {
  font-size: 1.14rem;
}

/* Payment note + submit button sized from the body text. */
.page-checkout .checkout__block p {
  font-size: 1.05rem !important; /* beats the inline 0.9375rem */
  line-height: 1.65;
}

.page-checkout .form-actions {
  margin-top: 22px;
}

.page-checkout .form-actions .btn {
  min-width: 260px;
  min-height: 60px;
  padding-inline: 2.4em;
  font-size: 0.95rem;
}

/* Order summary: bigger lines and total, sticky under the header. */
.page-checkout .checkout__aside {
  top: calc(var(--nav-h) + 20px);
  padding: clamp(28px, 2.8vw, 44px);
}

.page-checkout .oline {
  grid-template-columns: 76px 1fr auto;
  gap: 16px;
}

.page-checkout .oline__qty {
  min-width: 22px;
  font-size: 0.8rem;
}

.page-checkout .oline__main b {
  font-size: 1.15rem;
}

.page-checkout .oline__unit {
  font-size: 0.95rem;
}

.page-checkout .oline__price,
.page-checkout .sumrow {
  font-size: 1.08rem;
}

.page-checkout .sumrow {
  padding-block: 8px;
}

.page-checkout .sumrow--total {
  margin-top: 12px;
  font-size: 1.4rem;
}

.page-checkout .checkout__hint,
.page-checkout .checkout__note {
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .page-checkout .checkout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .page-checkout .form-grid {
    gap: 16px;
  }

  .page-checkout .ship {
    padding: 16px 16px;
    gap: 14px;
  }

  .page-checkout .form-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 56px;
  }

  .page-checkout .oline {
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
  }
}

/* 2026-09-26 — footer: a narrower dark panel with the regular cream page
   (and its leaf texture) on both sides, and far less empty space inside. */
.footer {
  padding: clamp(40px, 4vw, 64px) var(--pad, 24px) 0;
  background: transparent;
}

.footer > .wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(40px, 4vw, 56px) clamp(28px, 4vw, 64px) 22px;
  background: var(--forest);
  border-radius: 22px 22px 0 0;
}

.footer__grid {
  gap: clamp(32px, 5vw, 80px);
}

.footer__base {
  margin-top: clamp(32px, 3.5vw, 48px);
  padding-top: 18px;
}

/* 2026-09-26 — Instagram band: the top corners are cut away in two soft
   curves (roughly as Yonatan drew them), showing the regular page behind. */
.sec--social {
  border-top-left-radius: 22% clamp(90px, 11vw, 170px);
  border-top-right-radius: 17% clamp(110px, 14vw, 210px);
}

/* 2026-09-27 — contact page smaller overall: less outer padding, a smaller
   form heading, a tighter form card and aside. */
.page-contact main > .sec {
  padding-top: clamp(28px, 3.4vw, 56px);
  padding-bottom: clamp(40px, 4vw, 72px);
}

.page-contact .contact form {
  padding: clamp(28px, 3.4vw, 52px);
}

.contact__form-head {
  margin-bottom: clamp(26px, 3vw, 44px);
}

.contact__form-head h2 {
  margin-top: 10px;
  font-size: clamp(2.4rem, 3.6vw, 4.2rem);
}

.contact__form-head p {
  margin-top: 12px;
}

.page-contact .contact aside {
  padding: clamp(28px, 3vw, 46px);
}

.contact__aside-intro {
  margin-bottom: 30px;
  padding-bottom: 24px;
}

.page-contact .contact-list li + li {
  margin-top: 18px;
}

/* 2026-09-27 — the footer's sides use the Instagram band's background, so
   the dark panel sits on the same soft sage-grey ground as the band above. */
.footer {
  background: var(--mist);
}

/* 2026-09-27 — compact scale matching the original edition.
   Moves the main edition partway (roughly 1/3 to 1/2) toward the original's
   calmer scale: headings, body leads, eyebrows, buttons and section spacing
   are each about 10-16% smaller, never more than ~16%. Header, hero, value-
   strip height, colours, fonts, copy and layout are unchanged, so the hero
   fill rule (86px header + 300px value strip) still holds. */
:root {
  --t-sec: clamp(2.35rem, 4.15vw, 4.85rem);
  --t-lead: clamp(1rem, 1.16vw, 1.18rem);
}

.eyebrow {
  font-size: 0.8rem;
}

.btn {
  min-height: 44px;
  padding: 12px 22px;
}

.pcard__cta .btn {
  min-height: 38px;
}

.pcard__name {
  font-size: 1.1rem;
}

.sec--feature .pcard:first-child .pcard__name {
  font-size: clamp(1.2rem, 1.7vw, 1.7rem);
}

.values__item h3 {
  font-size: clamp(1.2rem, 1.45vw, 1.45rem);
}

@media (min-width: 641px) {
  .sec {
    padding-block: clamp(74px, 7.6vw, 132px) clamp(64px, 6.8vw, 112px);
  }

  .sec--tight {
    padding-block: clamp(48px, 5.1vw, 82px);
  }

  .sec--zig-top {
    padding-top: clamp(24px, 2.6vw, 42px);
    padding-bottom: clamp(42px, 4.3vw, 76px);
  }

  .sec--zig-bottom {
    padding-block: clamp(84px, 8.4vw, 142px);
  }

  .sec--feature {
    padding-top: clamp(34px, 3.8vw, 62px);
  }

  .sec--zig-bottom + .sec--social,
  .sec--social {
    padding-block: clamp(38px, 3.8vw, 72px);
  }

  .zig__text--lg h2 {
    font-size: clamp(2.25rem, 3.65vw, 4.3rem);
  }

  .sec--social .sec__head h2 {
    font-size: clamp(2.1rem, 3.4vw, 4.1rem);
  }

  .sec--feature .sec__head {
    column-gap: clamp(52px, 6.8vw, 114px);
  }

  .pagehead h1 {
    font-size: clamp(3.2rem, 5.9vw, 6.8rem);
    letter-spacing: -0.045em;
  }

  .page-checkout .pagehead h1 {
    font-size: clamp(2.6rem, 4.55vw, 4.75rem);
  }

  .pdp h1 {
    font-size: clamp(2.6rem, 4.4vw, 5.3rem);
    letter-spacing: -0.04em;
  }

  .page-product .sec--hair .sec__head h2 {
    font-size: clamp(2.3rem, 3.8vw, 4.25rem);
  }

  .contact__form-head h2 {
    font-size: clamp(2.15rem, 3.15vw, 3.7rem);
  }

  .page-shop .pgrid {
    row-gap: clamp(48px, 5vw, 80px);
  }
}

@media (min-width: 1025px) {
  /* the Instagram photos sit a little narrower so they don't dominate */
  .sec--social .igstrip {
    max-width: 1200px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --t-sec: clamp(2.15rem, 11vw, 3.6rem);
  }

  .eyebrow {
    font-size: 0.74rem;
  }

  .sec--zig-bottom {
    padding-block: 66px 58px;
  }

  .zig__text--lg h2 {
    font-size: var(--t-sec);
  }

  .pagehead h1 {
    font-size: clamp(2.9rem, 13.6vw, 4.5rem);
  }

  .pdp h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .page-product .sec--hair .sec__head h2 {
    font-size: 2.35rem;
  }

  .contact__form-head h2 {
    font-size: clamp(2.7rem, 13.6vw, 4rem);
  }

  .pcard__name {
    font-size: 0.95rem;
  }

  .pcard__cta .btn {
    min-height: 38px;
  }
}

/* 2026-09-27 — "a bit more smaller": one further ~7% step on top of the
   compact scale above (headings, leads, section spacing, buttons, cards).
   Header, hero and value-strip heights unchanged (hero fill rule holds). */
:root {
  --t-sec: clamp(2.2rem, 3.85vw, 4.5rem);
  --t-sub: clamp(1.15rem, 1.6vw, 1.55rem);
  --t-lead: clamp(0.97rem, 1.08vw, 1.1rem);
}

.btn {
  min-height: 42px;
  padding: 11px 20px;
}

.pcard__name {
  font-size: 1.03rem;
}

.sec--feature .pcard:first-child .pcard__name {
  font-size: clamp(1.12rem, 1.58vw, 1.58rem);
}

.values__item h3 {
  font-size: clamp(1.12rem, 1.35vw, 1.35rem);
}

@media (min-width: 641px) {
  .sec {
    padding-block: clamp(68px, 7vw, 122px) clamp(58px, 6.3vw, 104px);
  }

  .sec--tight {
    padding-block: clamp(44px, 4.7vw, 76px);
  }

  .sec--zig-top {
    padding-bottom: clamp(38px, 4vw, 70px);
  }

  .sec--zig-bottom {
    padding-block: clamp(76px, 7.8vw, 130px);
  }

  .sec--zig-bottom + .sec--social,
  .sec--social {
    padding-block: clamp(34px, 3.5vw, 66px);
  }

  .zig__text--lg h2 {
    font-size: clamp(2.1rem, 3.4vw, 4rem);
  }

  .sec--social .sec__head h2 {
    font-size: clamp(1.95rem, 3.15vw, 3.8rem);
  }

  .pagehead h1 {
    font-size: clamp(3rem, 5.5vw, 6.3rem);
  }

  .page-checkout .pagehead h1 {
    font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  }

  .pdp h1 {
    font-size: clamp(2.4rem, 4.1vw, 4.9rem);
  }

  .page-product .sec--hair .sec__head h2 {
    font-size: clamp(2.15rem, 3.5vw, 3.95rem);
  }

  .contact__form-head h2 {
    font-size: clamp(2rem, 2.95vw, 3.45rem);
  }
}

@media (max-width: 640px) {
  :root {
    --t-sec: clamp(2rem, 10.2vw, 3.35rem);
  }

  .pagehead h1 {
    font-size: clamp(2.7rem, 12.6vw, 4.2rem);
  }

  .pdp h1 {
    font-size: clamp(2.4rem, 11.2vw, 3.7rem);
  }

  .contact__form-head h2 {
    font-size: clamp(2.5rem, 12.6vw, 3.7rem);
  }
}

/* 2026-09-27 — "not very noticeable, make it smaller": shrink the FIRST
   SCREEN too (header, logo, hero copy, the three value points) and take the
   body copy down a notch. Desktop only; the hero fill rule is re-stated
   below with the new header (72px) + value strip (232px) heights. */
@media (min-width: 1025px) {
  body {
    font-size: 0.96rem;
  }

  .page-home .hero h1 {
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  }

  .page-home .hero .eyebrow {
    font-size: 0.68rem;
  }

  .page-home .hero__sub {
    font-size: 0.94rem;
    max-width: 440px;
    margin-inline: auto;
  }

  .page-home .hero .btn {
    font-size: 0.8rem;
    min-height: 38px;
    padding: 9px 18px;
  }

  .values__item {
    min-height: 232px;
    grid-template-columns: 50px 1fr;
    column-gap: 16px;
    padding: clamp(28px, 3vw, 48px);
  }

  .values__icon {
    width: 44px;
    height: 44px;
  }

  .values__item h3 {
    font-size: clamp(1.02rem, 1.2vw, 1.2rem);
  }

  .values__item p {
    font-size: 0.84rem;
    margin-top: 6px;
  }

  .page-home .hero {
    min-height: max(min(76vh, 600px), calc(100svh - 80px - 232px));
  }
}
/* ==========================================================================
   2026-09-28 — two new pages from Ida's WhatsApp notes:
   story.html ("כך נולד RO-GA", moved off the home page) and workshops.html
   ("סדנת החורף"). Same compact scale as the 2026-09-27 blocks above: the
   page heads reuse .pagehead, buttons reuse .btn, nothing here resizes
   shared components.
   ========================================================================== */

/* ---------- page heads: a touch shorter, they lead straight into content */
.pagehead--story,
.pagehead--ws {
  padding-block: clamp(56px, 5.6vw, 96px) clamp(40px, 4vw, 64px);
}

.pagehead--story .lead,
.pagehead--ws .lead {
  max-width: 46ch;
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
}

/* ---------- story: Ida in her garden, on a garden-green ground ----------
   The ground takes its colours from the photo itself: the sage of the
   rose leaves fading into the site's cream, with one soft patch of the
   photo's warm afternoon light from the top corner. */
.story {
  --leaf: #a7b393;
  --leaf-soft: #e2e7d8;
  --sunlight: rgba(255, 243, 212, 0.62);
  padding-block: clamp(56px, 5.6vw, 96px) clamp(64px, 6.4vw, 110px);
  background:
    radial-gradient(52% 46% at 12% 6%, var(--sunlight), transparent 72%),
    linear-gradient(180deg, var(--leaf-soft) 0%, #ebeee3 58%, var(--paper) 100%);
  overflow: clip;
}

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  column-gap: clamp(48px, 6.4vw, 118px);
}

.story__text p {
  max-width: 58ch;
  margin: 0 0 1em;
  color: var(--graphite);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.75;
}

/* the one sentence that carries the page, set as a quiet pull line */
.story__text .story__quote {
  max-width: 30ch;
  margin-block: 34px;
  padding-inline-start: 24px;
  border-inline-start: 2px solid var(--leaf);
  color: var(--ink);
  font-family: var(--f-disp);
  font-size: clamp(1.4rem, 2.05vw, 2rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.story__text .btn-row {
  margin-top: 30px;
}

/* the photo stays in view while the story scrolls past it */
.story__media {
  position: sticky;
  top: 104px;
  margin: 0;
  isolation: isolate;
}

/* a block of leaf green behind the photo, offset toward the page edge */
.story__media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 44px 34px;
  inset-inline-end: -26px;
  width: 58%;
  background: var(--leaf);
  opacity: 0.55;
}

.story__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 42% 40%;
}

.story__media figcaption {
  margin-top: 14px;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

/* ---------- workshops page: "סדנת החורף" ---------- */
.ws {
  padding-block: clamp(56px, 5.6vw, 96px) clamp(64px, 6.4vw, 110px);
  background:
    radial-gradient(
      48% 40% at 88% 0%,
      rgba(255, 255, 255, 0.55),
      transparent 70%
    ),
    linear-gradient(180deg, var(--paper) 0%, #eceee6 100%);
}

.ws__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  column-gap: clamp(48px, 6vw, 110px);
}

.ws__text h2 {
  margin-bottom: 0.5em;
  color: var(--ink);
  font-size: var(--t-sec);
  line-height: 1;
}

.ws__text p {
  max-width: 48ch;
  margin: 0 0 1em;
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  line-height: 1.72;
}

.ws__text .ws__lead-in {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.ws__media {
  margin: 0;
}

.ws__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* the four things you make: one tinted panel split by hairlines,
   a list and not four cards */
.ws__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(48px, 5vw, 80px) 0 0;
  padding: 0;
  list-style: none;
  background: var(--band);
}

.ws__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  column-gap: clamp(18px, 2vw, 32px);
  padding: clamp(28px, 3vw, 48px);
  border-bottom: 1px solid var(--line);
}

.ws__item:nth-child(odd) {
  border-inline-end: 1px solid var(--line);
}

.ws__item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.ws__num {
  grid-row: 1 / 3;
  color: var(--olive);
  font-family: var(--f-disp);
  font-size: clamp(2.3rem, 3.3vw, 3.5rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.ws__item h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.65vw, 1.6rem);
  line-height: 1.2;
}

.ws__item p {
  max-width: 44ch;
  margin: 0;
  font-size: clamp(0.98rem, 1.05vw, 1.06rem);
  line-height: 1.66;
}

.ws__close {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  column-gap: clamp(48px, 6vw, 110px);
  margin-top: clamp(44px, 4.6vw, 72px);
  padding-top: clamp(32px, 3.4vw, 52px);
  border-top: 1px solid var(--line);
}

.ws__close-lead {
  max-width: 30ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--f-disp);
  font-size: clamp(1.4rem, 2.05vw, 2rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.ws__close-side p {
  margin: 0 0 0.6em;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.66;
}

.ws__close-side .btn-row {
  margin-top: 22px;
}

/* ---------- home: the workshops band now carries two buttons ---------- */
.sec--zig-bottom .btn-row {
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- tablet / phone ---------- */
@media (max-width: 1024px) {
  .story__grid,
  .ws__intro,
  .ws__close {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  /* on a single column the photo leads, then the story */
  .story__media {
    position: relative;
    top: auto;
    order: -1;
    max-width: 560px;
  }

  .story__media::before {
    inset-inline-end: -16px;
  }
}

@media (max-width: 640px) {
  .ws__list {
    grid-template-columns: 1fr;
  }

  .ws__item:nth-child(odd) {
    border-inline-end: 0;
  }

  .ws__item:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .ws__item:last-child {
    border-bottom: 0;
  }

  .story__text .story__quote {
    margin-block: 26px;
    padding-inline-start: 18px;
  }
}

/* 2026-09-28 — the two new page heads use the full width on desktop: the
   title holds the start side, the lead line sits on the far side at its
   baseline, so the head is not a short block with an empty half. */
@media (min-width: 1025px) {
  .pagehead--story .wrap,
  .pagehead--ws .wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    column-gap: clamp(48px, 6vw, 110px);
  }

  .pagehead--story .eyebrow,
  .pagehead--ws .eyebrow {
    grid-column: 1 / -1;
  }

  .pagehead--story h1,
  .pagehead--ws h1 {
    max-width: none;
    white-space: nowrap;
  }

  .pagehead--story .lead,
  .pagehead--ws .lead {
    justify-self: end;
    margin: 0 0 0.35em;
    padding-inline-start: 28px;
    border-inline-start: 1px solid var(--line);
  }
}

/* 2026-09-28 — five menu links now (+ סדנאות, הסיפור שלי). Between 1025 and
   1180px the row sat 12px from the logo, so the links pack a little tighter
   there. ".nav" prefix: header.css loads after this sheet. */
@media (min-width: 1025px) and (max-width: 1180px) {
  .nav .nav__links {
    gap: 10px;
  }

  .nav .nav__links a {
    min-width: 0;
    padding-inline: 8px;
  }
}

/* 2026-09-28 — the home workshops band has two buttons side by side; they
   keep their own height, so resizing one in the editor never moves the other. */
.sec--zig-bottom .btn-row {
  align-items: flex-start;
}

/* 2026-09-28 — on a phone Ida's photo keeps its original square frame:
   the whole garden and the rose show, and it takes less of the first screen. */
@media (max-width: 640px) {
  .story__media img {
    aspect-ratio: 1 / 1;
    object-position: 50% 50%;
  }
}

/* 2026-09-29 — footer panel bigger (Yonatan: "Make this bigger"): wider
   panel, more breathing room, larger logo, name, headings, links and note. */
@media (min-width: 1025px) {
  .footer > .wrap {
    max-width: 1320px;
    padding: clamp(52px, 4.6vw, 72px) clamp(40px, 4.6vw, 80px) 28px;
    border-radius: 26px 26px 0 0;
  }

  .footer__grid {
    gap: clamp(40px, 6vw, 104px);
  }

  .footer__logo {
    height: 60px;
    width: auto;
  }

  .footer .nav__word {
    font-size: 1.3rem;
  }

  .footer .nav__word span {
    font-size: 0.78rem;
  }

  .footer__note {
    font-size: 1rem;
    max-width: 30ch;
  }

  .footer h4 {
    font-size: 0.8rem;
    margin-bottom: 20px;
  }

  .footer ul a,
  .footer li a,
  .footer__col a {
    font-size: 1.02rem;
  }

  .footer li + li {
    margin-top: 6px;
  }

  .footer__base {
    font-size: 0.9rem;
  }

  .foot__credit {
    font-size: 0.84rem;
  }
}

/* 2026-09-29 — pages without the Instagram band (contact, shop, product,
   checkout, story, workshops): the footer's sides use the regular cream
   leaf-textured page, so one background runs through the whole frame. The
   home page keeps the sage-grey sides that continue its Instagram band. */
body:not(.page-home) .footer {
  background: transparent;
}

/* ---------- Checkout: Bit payment card (success panel) ---------- */
.checkout__done .paycard {
  margin: var(--s5) auto 0;
  max-width: 520px;
  padding: var(--s4);
  background: var(--band);
  border: 1px solid var(--chalk);
  text-align: start;
}

.checkout__done .paycard__title {
  font-family: var(--f-disp);
  font-size: var(--t-sub);
  font-weight: 400;
  margin: 0;
}

.paycard__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--graphite);
}

.paycard__amount {
  margin-top: var(--s3);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--chalk);
}

.paycard__sum {
  display: block;
  margin-top: 2px;
  font-family: var(--f-disp);
  font-size: clamp(2rem, 7vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
}

.paycard__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2) var(--s3);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--chalk);
}

.paycard__item {
  min-width: 0;
}

.paycard__value {
  display: inline-block;
  margin-top: 2px;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  direction: ltr;
  unicode-bidi: isolate;
  overflow-wrap: anywhere;
}

.paycard__copy.is-copied {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.checkout__done .paycard__steps {
  margin: var(--s3) 0 0;
  padding-inline-start: 1.4em;
  /* the global reset strips list markers; these steps are meant to be
     numbered (see the ::marker rule below) */
  list-style: decimal;
  font-size: 1rem;
  line-height: 1.65;
}

.paycard__steps li + li {
  margin-top: var(--s2);
}

.paycard__steps li::marker {
  font-weight: 600;
  color: var(--olive);
}

.checkout__done .paycard__after {
  max-width: none;
  margin: var(--s3) 0 0;
  padding-top: var(--s3);
  border-top: 1px solid var(--chalk);
  font-size: 0.9375rem;
  color: var(--graphite);
}

@media (max-width: 520px) {
  .checkout__done .paycard {
    padding: var(--s3);
  }
  .paycard__copy {
    width: 100%;
  }
}

/* DESIGN.md: touch controls are at least 44px — the copy buttons (btn--sm)
   and the two exits measured 42px. */
.checkout__done .btn {
  min-height: 44px;
}


/* 2026-10-24 (Ida): the thank-you now closes the panel, after the Bit card
   and before the two exit buttons, so it needs its own breathing room. */
.checkout__done .checkout__closing {
  margin-top: var(--s6);
}

.checkout__done .checkout__closing h2 {
  margin-top: 0;
}

.checkout__done .checkout__closing .checkout__thanks {
  margin-top: var(--s2);
}

/* טופס יצירת קשר — הודעת שגיאה מול הודעת הצלחה (2026-10-24) */
.formmsg.formmsg--bad {
  border-inline-start-color: #a4452c;
}
