/* Gooodevas — hand-written styles. Shop look: white page, Crimson Text headings, Poppins body,
   brown toolbar/footer, cream bands, bordered product grids. Tokens first, then components, then pages. */

@font-face { font-family: "Crimson Text"; src: url("/assets/fonts/crimson-text-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("/assets/fonts/crimson-text-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* colour */
  --paper: #FFFFFF;
  --white: #FFFFFF;
  --ink: #1C1D1D;
  --ink-2: #5E5853;
  --brown: #4B3E34;
  --brown-deep: #3B3029;
  --cream: #FBF6EE;
  --cream-2: #F1E6D4;
  --beech: #FBF6EE;
  --beech-2: #EADFCB;
  --sky: #EDF4EA;
  --mint: #EAF2E6;
  --mint-line: #D3E3CC;
  --line: #E8E8E1;
  --forest: #4B3E34;
  --forest-deep: #3B3029;
  --sale: #BA4444;
  --mustard: #D8B33F;
  --mustard-deep: #C7A02C;
  --tag-yellow: #F2E2A6;
  --tag-blue: #CFE3EE;
  --error: #A33A2B;

  /* type */
  --f-head: "Crimson Text", "Iowan Old Style", Georgia, serif;
  --f-body: "Poppins", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --t-display: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);   /* 36 → 56 */
  --t-h2: clamp(1.875rem, 1.45rem + 1.5vw, 2.625rem);     /* 30 → 42 */
  --t-h3: clamp(1.375rem, 1.25rem + .45vw, 1.625rem);     /* 22 → 26 */
  --t-lead: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);    /* 17 → 19 */
  --t-body: .9375rem;                                     /* 15 */
  --t-small: .8125rem;                                    /* 13 */
  --track: .05em;

  /* space */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --section: 88px;
  --gutter: 40px;
  --container: 1360px;
  --radius: 10px;
  --radius-s: 6px;
  --header-h: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 960px) { :root { --header-h: 64px; } }
@media (max-width: 760px) { :root { --section: 56px; --gutter: 18px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.65;
  letter-spacing: var(--track);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: .04em;
  margin: 0 0 var(--s4);
  text-wrap: balance;
}
h1 { font-size: var(--t-display); line-height: 1.06; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }
p { margin: 0 0 var(--s4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brown); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
::selection { background: var(--tag-yellow); }
strong { font-weight: 600; }
.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -100px; background: var(--ink); color: var(--white); padding: var(--s3) var(--s4); z-index: 100; }
.skip:focus { top: var(--s4); color: var(--white); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.section { padding-block: var(--section); }
.section--tight-top { padding-top: 0; }
.section--flush-top { padding-top: 0; }
.section--beech, .section--cream { background: var(--cream); }
.section--line { border-top: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: var(--s7); }
.section__head p { color: var(--ink-2); font-size: var(--t-lead); line-height: 1.5; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s6); }
.section-head h2 { margin: 0; }
.see-all { flex: none; font-size: .9375rem; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- buttons, links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5);
  border: 1px solid var(--brown); border-radius: 0;
  background: var(--brown); color: var(--white);
  font: 400 1.0625rem/1 var(--f-body); letter-spacing: var(--track);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .12s var(--ease);
}
.btn:hover { background: var(--brown-deep); border-color: var(--brown-deep); color: var(--white); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--brown); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--small { min-height: 44px; padding: 0 var(--s4); font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--cart { background: var(--mustard); border-color: var(--mustard); color: var(--ink); border-radius: 2px; font-weight: 500; }
.btn--cart:hover { background: var(--mustard-deep); border-color: var(--mustard-deep); color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.is-added { background: var(--brown); border-color: var(--brown); color: var(--white); }
.textlink { font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.round-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); box-shadow: 0 2px 10px rgba(28, 29, 29, .14); cursor: pointer; transition: background-color .15s; }
.round-btn:hover { background: var(--cream); }
.round-btn svg { width: 20px; height: 20px; }
.round-btn--plain { box-shadow: none; background: transparent; }
.round-btn--plain:hover { background: var(--cream); }

/* ---------- toolbar + header ---------- */
.toolbar { background: var(--brown); color: var(--white); font-size: var(--t-small); }
.toolbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 36px; }
.toolbar p { margin: 0; }
.toolbar a { color: var(--white); text-decoration: none; }
.toolbar a:hover { text-decoration: underline; color: var(--white); }
.toolbar__side { display: flex; align-items: center; gap: var(--s5); }
.toolbar__region { display: inline-flex; align-items: center; gap: var(--s2); }
.toolbar__region svg { width: 18px; height: 12px; border-radius: 2px; }
.toolbar :focus-visible { outline-color: var(--white); }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.site-header__main { display: flex; align-items: center; gap: var(--s6); min-height: 112px; }
.logo { display: inline-flex; align-items: center; flex: none; color: var(--ink); text-decoration: none; }
.logo img { width: 91px; height: 80px; }
.logo--light img { width: 102px; height: auto; }
.search { display: flex; align-items: stretch; width: 260px; background: #F1F1EE; }
.search input { flex: 1; min-width: 0; min-height: 44px; padding: 0 var(--s4); border: 0; background: transparent; font: 400 .9375rem/1 var(--f-body); letter-spacing: var(--track); color: var(--ink); }
.search input::placeholder { color: #77716B; }
.search input:focus { outline: none; }
.search:focus-within { outline: 2px solid var(--ink); outline-offset: 0; }
.search button { width: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.search svg { width: 20px; height: 20px; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search--menu { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s5); }
.header-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font-size: var(--t-small); text-transform: uppercase; letter-spacing: .2em; }
.header-link:hover { color: var(--brown); text-decoration: none; }
.header-link svg { width: 24px; height: 24px; flex: none; }
.cart-link { position: relative; }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--brown); color: var(--white); font-size: .6875rem; font-weight: 600; letter-spacing: 0; line-height: 1; }
.cart-count.is-bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.3); } }

.nav { border-top: 1px solid var(--line); }
.nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--s2); list-style: none; margin: 0 0 0 -16px; padding: var(--s1) 0; }
.nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; color: var(--ink); text-decoration: none; font-size: var(--t-small); text-transform: uppercase; letter-spacing: .2em; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.nav__contact { display: none; }
.menu-btn { display: none; }

@media (max-width: 1120px) {
  .search { width: 200px; }
  .header-link__label { display: none; }
  .header-actions { gap: var(--s3); }
}
@media (max-width: 960px) {
  .toolbar__side { display: none; }
  .toolbar__inner { justify-content: center; text-align: center; padding-block: 6px; }
  .site-header { position: sticky; top: 0; }
  .site-header__main { min-height: var(--header-h); gap: var(--s3); display: grid; grid-template-columns: 1fr auto 1fr; }
  .logo { justify-self: center; }
  .site-header .logo img { width: 62px; height: 54px; }
  .site-header__main > .search { display: none; }
  .header-actions { justify-self: end; margin: 0; }
  .header-link:not(.cart-link) { display: none; }
  .js .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s var(--ease), opacity .2s; }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
  .menu-btn__bars::before { top: -7px; }
  .menu-btn__bars::after { top: 7px; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .js .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; border: 0;
    background: var(--white); padding: var(--s4) 0 var(--s6);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
  }
  .js .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .22s var(--ease), transform .22s var(--ease); }
  .js .search--menu { display: flex; width: 100%; margin-bottom: var(--s4); }
  .js .nav ul { flex-direction: column; gap: 0; margin: 0; padding: 0; }
  .js .nav a { width: 100%; min-height: 54px; padding: 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
  .js .nav__contact { display: block; margin-top: var(--s5); color: var(--ink-2); }
  .js .nav__contact a { display: inline; min-height: 0; border: 0; text-transform: none; letter-spacing: var(--track); font-size: 1rem; color: var(--ink); }
  html:not(.js) .site-header__main { display: flex; flex-wrap: wrap; }
  html:not(.js) .nav ul { margin: 0; }
}

/* ---------- hero slider: colour panel + photo ---------- */
.hero { position: relative; background: var(--cream); }
.slide { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); height: clamp(460px, 62vh, 620px); background: var(--slide-bg, var(--cream)); }
.slide--blue { --slide-bg: #C4D0D9; }
.slide--warm { --slide-bg: #EADBC0; }
.slide__img { grid-column: 2; grid-row: 1; width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; min-height: 0; }
.slide__content { grid-column: 1; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; padding: var(--s7) var(--s7) var(--s7) var(--gutter); }
.slide__text { width: 100%; max-width: 500px; }
.slide__text h1, .slide__title { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); line-height: 1.06; margin-bottom: var(--s5); }
.slide__text p { font-size: var(--t-lead); color: var(--ink); max-width: 40ch; margin-bottom: var(--s6); }
.hero__controls { position: absolute; z-index: 3; right: var(--s5); bottom: var(--s5); display: flex; gap: var(--s2); }
@media (prefers-reduced-motion: no-preference) {
  .slide.is-active .slide__text { animation: slideIn .7s var(--ease) both; }
  @keyframes slideIn { from { opacity: 0; transform: translateY(10px); } }
}
@media (max-width: 1000px) { .slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .slide__content { padding-right: var(--s5); } }
@media (max-width: 760px) {
  .slide { display: flex; flex-direction: column; height: auto; }
  .slide__img { aspect-ratio: 4 / 3; height: auto; object-position: 65% 20%; }
  .slide__content { padding: var(--s5) var(--gutter) var(--s7); justify-content: flex-start; }
  .slide__text h1, .slide__title { font-size: 2.125rem; margin-bottom: var(--s3); }
  .slide__text p { font-size: 1rem; margin-bottom: var(--s5); }
  .hero__controls { top: calc(75vw - 60px); bottom: auto; right: var(--gutter); }
}

/* ---------- trust strip ---------- */
.trust { background: var(--cream); border-block: 1px solid var(--cream-2); overflow: hidden; }
.trust__track { display: flex; width: max-content; }
.trust__list { display: flex; flex: none; gap: var(--s7); list-style: none; margin: 0; padding: 14px var(--s7) 14px 0; }
.trust__list li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: .9375rem; }
.trust__list svg { width: 20px; height: 20px; color: var(--brown); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .trust__track { animation: marquee 38s linear infinite; }
  .trust:hover .trust__track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .trust__list[aria-hidden="true"] { display: none; }
  .trust__track { width: auto; flex-wrap: wrap; justify-content: center; }
  .trust__list { flex-wrap: wrap; justify-content: center; padding-left: var(--s7); row-gap: var(--s2); }
}

/* ---------- categories ---------- */
.cats h2 { margin-bottom: var(--s7); }
.cats__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s5); }
.cat { display: flex; flex-direction: column; align-items: center; gap: var(--s4); color: var(--ink); text-decoration: none; text-align: center; }
.cat__circle { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--cream); border: 4px solid var(--cream-2); overflow: hidden; transition: border-color .2s var(--ease); }
.cat__circle img { width: 100%; height: 100%; object-fit: contain; padding: 14%; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.cat:hover .cat__circle { border-color: #DCC8A6; }
.cat:hover .cat__circle img { transform: scale(1.05); }
.cat__name { font-weight: 600; font-size: 1rem; line-height: 1.25; }
.cat:hover { color: var(--ink); }
.cat:hover .cat__name { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) { .cats__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s6); } }
@media (max-width: 560px) { .cats__list { gap: var(--s5) var(--s3); } .cat__name { font-size: .875rem; } .cats h2 { margin-bottom: var(--s5); } }

/* ---------- shop by age ---------- */
.ages { padding-bottom: 0; }
.ages h2 { margin-bottom: var(--s6); }
.ages__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.age-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; background: var(--cream); }
.age-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); }
.age-card:hover img { transform: scale(1.03); }
.age-card__label { position: absolute; left: 5%; right: 5%; bottom: var(--s4); padding: 12px var(--s4); background: var(--white); border-radius: var(--radius); text-align: center; font-size: .875rem; line-height: 1.35; box-shadow: 0 2px 12px rgba(28, 29, 29, .08); }
.age-card:hover { color: var(--ink); }
.age-card:hover .age-card__label strong { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .ages__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s3); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .ages__list li { flex: 0 0 82%; scroll-snap-align: center; }
}

/* ---------- product grid + card ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pgrid--row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pcard { position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); min-width: 0; }
.pcard__media { position: relative; padding: var(--s6) var(--s5) 0; }
.pcard__media > a { display: block; }
.pcard__media img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .5s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__tags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; pointer-events: none; }
.tag { display: inline-block; padding: 3px 8px; border-radius: 3px; font-size: .6875rem; line-height: 1.4; font-weight: 500; letter-spacing: .03em; text-decoration: none; }
.tag--dark { background: var(--ink); color: var(--white); }
.tag--sale { background: var(--sale); color: var(--white); font-weight: 600; font-size: .8125rem; }
.tag--yellow { background: var(--tag-yellow); color: var(--ink); text-transform: uppercase; letter-spacing: .12em; padding: 6px 12px; border-radius: 8px 8px 0 0; }
.tag--blue { background: var(--tag-blue); color: var(--ink); text-transform: uppercase; letter-spacing: .12em; padding: 6px 12px; border-radius: 8px 8px 0 0; }
a.tag--yellow:hover { color: var(--ink); text-decoration: underline; }
.pcard__actions { position: absolute; top: -12px; right: -12px; display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #3A3A3A; color: var(--white); cursor: pointer; text-decoration: none; transition: background-color .15s, transform .15s; }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { background: var(--ink); color: var(--white); transform: scale(1.06); }
.icon-btn.is-added { background: var(--mustard); color: var(--ink); }
.pcard__body { padding: var(--s5) var(--s5) var(--s5); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__title { font-family: var(--f-body); font-size: .9375rem; font-weight: 400; line-height: 1.55; letter-spacing: var(--track); margin: 0; text-wrap: pretty; }
.pcard__title a { color: var(--ink); text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard__title a:hover { text-decoration: underline; }
.pcard__price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.money { font-size: 1.125rem; white-space: nowrap; }
.money sup { font-size: .55em; vertical-align: .8em; margin-left: 1px; }
.money--was { font-size: .8125rem; color: var(--ink-2); }
s .money--was, s { color: var(--ink-2); }
.pcard__save { font-size: .8125rem; color: var(--sale); }
.pcard__age { margin: auto 0 0; font-size: .75rem; color: var(--ink-2); }
@media (max-width: 1200px) { .pgrid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pgrid--row .pcard:nth-child(5) { display: none; } }
@media (max-width: 960px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pgrid--row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); }
  .pgrid--row::-webkit-scrollbar { display: none; }
  .pgrid--row .pcard { flex: 0 0 42%; scroll-snap-align: start; }
  .pgrid--row .pcard:nth-child(5) { display: flex; }
}
@media (max-width: 640px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid--row .pcard { flex-basis: 64%; }
  .pcard__media { padding: var(--s5) var(--s3) 0; }
  .pcard__body { padding: var(--s3) var(--s3) var(--s4); }
  .pcard__title { font-size: .875rem; }
  .pcard__actions { top: 6px; right: 6px; }
  .icon-btn { width: 34px; height: 34px; }
  .section-head { flex-wrap: wrap; }
}

/* ---------- promo banner: sage panel + studio photo ---------- */
.promo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #C7D3BB; }
.promo__img { grid-column: 2; grid-row: 1; width: 100%; height: 100%; max-height: 560px; object-fit: cover; object-position: 55% 60%; }
.promo__content { grid-column: 1; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; padding: var(--s8) var(--s7) var(--s8) var(--gutter); max-width: none; margin: 0; }
.promo__text { width: 100%; max-width: 480px; }
.promo__text h2 { font-family: var(--f-body); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); line-height: 1.02; color: var(--brown); margin-bottom: var(--s5); }
.promo__text p { font-size: var(--t-lead); border-left: 3px solid var(--mustard); padding-left: var(--s4); margin-bottom: var(--s6); max-width: 40ch; }
@media (max-width: 760px) {
  .promo { display: flex; flex-direction: column; }
  .promo__img { aspect-ratio: 4 / 3; height: auto; }
  .promo__content { padding: var(--s6) var(--gutter) var(--s7); justify-content: flex-start; }
}

/* ---------- in casa carousel ---------- */
.inhome h2 { margin-bottom: var(--s6); }
.inhome__list { list-style: none; margin: 0; padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2)); display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.inhome__list::-webkit-scrollbar { display: none; }
.inhome__list li { flex: 0 0 clamp(240px, 22vw, 300px); scroll-snap-align: start; }
.inhome__item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none; }
.inhome__item img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; transition: transform .6s var(--ease); }
.inhome__item:hover img { transform: scale(1.03); }
.inhome__item span { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s7) var(--s4) var(--s4); background: linear-gradient(transparent, rgba(28, 22, 18, .6)); font-weight: 500; font-size: .9375rem; }
.inhome__item:hover { color: var(--white); }
.inhome__controls { display: flex; justify-content: center; gap: var(--s4); margin-top: var(--s4); }
.inhome__controls[hidden] { display: none; }

/* ---------- mission split ---------- */
.mission { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: #F7F5F1; }
.mission__text { padding: var(--s9) var(--s8) var(--s9) max(var(--gutter), calc((100vw - var(--container)) / 2 + 32px)); align-self: center; }
.mission__kicker { font-size: .9375rem; margin-bottom: var(--s3); }
.mission__text h2 { font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.25rem); color: #3A332D; line-height: 1.12; max-width: 14ch; }
.mission__text p:not(.mission__kicker) { font-size: var(--t-lead); color: var(--ink-2); max-width: 40ch; margin-bottom: var(--s6); }
.mission__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
@media (max-width: 900px) {
  .mission { grid-template-columns: 1fr; }
  .mission__text { padding: var(--s7) var(--gutter); order: 2; }
  .mission__media { order: 1; }
}

/* ---------- age ruler ---------- */
.guide { row-gap: var(--s7); align-items: start; }
.guide__text { grid-column: 1 / span 4; }
.guide__ruler { grid-column: 6 / span 7; }
.guide__steps { margin: var(--s6) 0; border-top: 1px solid var(--line); }
.guide__steps h3 { font-size: 1.125rem; margin: var(--s4) 0 var(--s1); letter-spacing: .02em; }
.guide__steps p { color: var(--ink-2); padding-bottom: var(--s4); border-bottom: 1px solid var(--line); margin: 0; }

.ruler__ages { border: 0; margin: 0 0 var(--s5); padding: 0; min-width: 0; }
.ruler__ages legend { font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; margin-bottom: var(--s3); padding: 0; letter-spacing: .02em; }
.ruler__chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  min-height: 44px; padding: 0 var(--s4);
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--white);
  font: 500 .9375rem/1 var(--f-body); color: var(--ink); cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.ruler__hint { margin: var(--s4) 0 0; color: var(--ink-2); font-size: .9375rem; min-height: 3.2em; max-width: 62ch; }
html:not(.js) .ruler__chips { display: none; }

.ruler__table { position: relative; }
.ruler__row { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); align-items: center; column-gap: var(--s5); min-height: 52px; border-bottom: 1px solid var(--line); transition: opacity .25s var(--ease); }
.ruler__row--scale { min-height: 36px; border-bottom: 1.5px solid var(--ink); align-items: end; padding-bottom: 10px; }
.ruler__row--scale .ruler__name { font-size: var(--t-small); color: var(--ink-2); font-weight: 500; }
.ruler__name { display: flex; flex-direction: column; line-height: 1.25; padding-block: var(--s2); }
.ruler__name a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.ruler__name a:hover { color: var(--forest); text-decoration: underline; }
.ruler__price { font-size: .8125rem; color: var(--ink-2); }
.ruler__track { position: relative; height: 14px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 11 - 1px), var(--line) calc(100% / 11 - 1px) calc(100% / 11)); background-size: 100% 100%; border-radius: 999px; }
.ruler__track:not(.ruler__track--scale) { background: linear-gradient(90deg, var(--beech) 0 100%); }
.ruler__track--scale { height: 20px; background: none; }
.ruler__tick { position: absolute; bottom: 0; transform: translateX(-50%); font-size: .8125rem; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ruler__tick:last-child { transform: translateX(-100%); }
.ruler__tick::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 1.5px; height: 6px; background: var(--ink); }
.ruler__tick:last-child::after { left: auto; right: 0; }
.ruler__bar { position: absolute; top: 0; bottom: 0; background: var(--forest); border-radius: 999px; transition: background-color .25s var(--ease); }
.ruler__bar--open { border-radius: 999px 0 0 999px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.ruler__table::after { content: ""; position: absolute; top: 36px; bottom: 0; width: 2px; left: var(--cursor-left, -10px); background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .2s, left .35s var(--ease); }
.ruler.has-age .ruler__table::after { opacity: 1; }
.ruler.has-age .ruler__row.is-off { opacity: .35; }
.ruler.has-age .ruler__row.is-off .ruler__bar { background: var(--ink-2); }
.ruler__row.is-current .ruler__name a { color: var(--forest); }
.ruler__row.is-current { background: var(--sky); box-shadow: -10px 0 0 var(--sky), 10px 0 0 var(--sky); border-radius: 2px; }

@media (max-width: 1020px) {
  .guide__text, .guide__ruler { grid-column: 1 / -1; }
  .guide__text { max-width: 640px; }
}
@media (max-width: 560px) {
  .ruler__row { grid-template-columns: 1fr; row-gap: 6px; padding-block: var(--s3); min-height: 0; }
  .ruler__row--scale { position: sticky; top: var(--header-h); background: var(--paper); z-index: 2; padding-top: var(--s2); }
  .ruler__row--scale .ruler__name { display: none; }
  .ruler__name { flex-direction: row; justify-content: space-between; gap: var(--s3); padding: 0; }
  .ruler__track { height: 10px; }
  .ruler__track--scale { height: 18px; }
  .ruler__table::after { display: none; }
}

/* ---------- faq ---------- */
.faq-block { row-gap: var(--s6); }
.faq-block__head { grid-column: 1 / span 4; }
.faq-block__head p { color: var(--ink-2); }
.faq-block .faq { grid-column: 6 / span 7; }
.faq { border-top: 1.5px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s5);
  min-height: 64px; padding: var(--s4) 0; cursor: pointer; list-style: none;
  font-family: var(--f-head); font-weight: 400; font-size: 1.375rem; letter-spacing: .03em; line-height: 1.25;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--forest); }
.faq__icon { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); transition: transform .25s var(--ease), background-color .2s, border-color .2s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s; }
.faq__item[open] .faq__icon { background: var(--ink); border-color: var(--ink); color: var(--white); transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { opacity: 0; }
.faq__a { padding: 0 var(--s8) var(--s5) 0; color: var(--ink-2); max-width: 68ch; }
.faq__a p { margin-bottom: var(--s3); }
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] .faq__a { animation: open .3s var(--ease); }
  @keyframes open { from { opacity: 0; transform: translateY(-4px); } }
}
@media (max-width: 1020px) {
  .faq-block__head, .faq-block .faq { grid-column: 1 / -1; }
  .faq__a { padding-right: 0; }
}

/* ---------- contact + forms ---------- */
.contact { row-gap: var(--s7); align-items: start; }
.contact__info { grid-column: 1 / span 5; }
.contact__form { grid-column: 6 / span 7; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s6); }
.contact__list { display: grid; grid-template-columns: 120px 1fr; gap: var(--s3) var(--s4); margin: var(--s6) 0 0; padding-top: var(--s5); border-top: 1px solid var(--line); }
.contact__list dt { font-weight: 600; font-size: var(--t-small); color: var(--ink-2); padding-top: 2px; }
.contact__list dd { margin: 0; }
@media (max-width: 1020px) {
  .contact__info, .contact__form { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .contact__form { padding: var(--s5) var(--s4); }
  .contact__list { grid-template-columns: 1fr; gap: 2px; }
  .contact__list dd { margin-bottom: var(--s3); }
}

.form { display: grid; gap: var(--s5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; gap: var(--s5); } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--white);
  font: 400 1rem/1.4 var(--f-body); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #B9B4A7; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(44, 90, 69, .18); }
.field input::placeholder, .field textarea::placeholder { color: #848B84; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field__error { color: var(--error); font-size: var(--t-small); font-weight: 500; margin: 0; }
.form__alert { margin: 0; padding: var(--s3) var(--s4); border-radius: var(--radius-s); background: #F6E3DF; color: #7A2A1F; font-weight: 500; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); align-items: start; font-size: .9375rem; color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--forest); cursor: pointer; }
.check label { cursor: pointer; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { padding: var(--s6) 0; }
.form-done h3 { font-size: 1.75rem; }
.form-done:focus { outline: none; }
.form-done::before { content: ""; display: block; width: 44px; height: 44px; margin-bottom: var(--s5); border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-s); background: var(--white); border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }

/* ---------- footer ---------- */
.site-footer { background: var(--brown); color: #EDE6DF; padding: var(--s8) 0 var(--s6); font-size: .875rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--white); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr)); gap: var(--s6) 32px; padding-bottom: var(--s7); }
.site-footer__claim { font-family: var(--f-head); font-size: 1.5rem; line-height: 1.3; letter-spacing: .03em; color: var(--white); max-width: 26ch; margin: var(--s5) 0 var(--s6); }
.site-footer__legal-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.site-footer__legal-links a { text-decoration: underline; text-underline-offset: 5px; display: inline-block; padding-block: 6px; }
.site-footer h2 { font-family: var(--f-head); font-size: 1.0625rem; font-weight: 600; color: var(--white); margin-bottom: var(--s4); letter-spacing: .03em; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer__col ul a, .site-footer__col .linkish { display: inline-block; padding-block: 5px; }
.site-footer__contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding-block: 5px; }
.site-footer__contact svg { width: 20px; height: 20px; margin-top: 2px; }
.site-footer__contact a { padding: 0 !important; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: var(--s5); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--s4) var(--s6); font-size: .75rem; color: #D9CFC6; }
.site-footer__bottom p { max-width: 70ch; margin: 0; }
.paychips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.paychips li { display: inline-grid; place-items: center; min-width: 74px; height: 32px; padding: 0 10px; border-radius: 4px; background: var(--white); color: var(--ink); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.paychips--light li { background: #F5F5F3; font-weight: 500; }
@media (max-width: 1000px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s4); }
  .site-footer__top > .site-footer__col:last-child { grid-column: 1 / -1; }
  .site-footer__claim { font-size: 1.3125rem; }
}

/* ---------- cookie banner ---------- */
.cookie { position: fixed; z-index: 80; left: var(--s4); bottom: var(--s4); max-width: 440px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(29, 37, 32, .14); }
.cookie__inner { padding: var(--s5); }
.cookie h2 { font-size: 1.125rem; margin-bottom: var(--s2); }
.cookie p { font-size: .9375rem; color: var(--ink-2); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
@media (prefers-reduced-motion: no-preference) {
  .cookie:not([hidden]) { animation: rise .35s var(--ease); }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } }
}
@media (max-width: 520px) {
  .cookie { left: var(--s3); right: var(--s3); bottom: var(--s3); max-width: none; }
  .cookie__inner { padding: var(--s4); }
  .cookie__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =================== inner pages =================== */
.h3 { font-size: var(--t-h3); line-height: 1.2; }
.muted { color: var(--ink-2); font-weight: 400; }
.small { font-size: var(--t-small); }
.section--flush-top { padding-top: 0; }

/* page head + breadcrumbs */
.page-head { padding: var(--s7) 0 var(--s8); }
.page-head h1 { max-width: 18ch; margin-bottom: var(--s5); }
.page-head__intro { max-width: 60ch; margin: 0; }
.page-head--legal h1 { max-width: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0 0 var(--s6); padding: 0; font-size: var(--t-small); color: var(--ink-2); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: var(--s2); color: var(--line); color: #A8A396; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--forest); text-decoration: underline; }
@media (max-width: 760px) { .page-head { padding: var(--s6) 0 var(--s7); } .crumbs ol { margin-bottom: var(--s5); } }

/* catalog */
.catalog { padding-bottom: var(--section); }
.filters { display: flex; flex-wrap: wrap; gap: var(--s2); padding-bottom: var(--s6); margin-bottom: var(--s6); border-bottom: 1px solid var(--line); }
.pill { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4); border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 500; transition: border-color .15s, background-color .15s; }
.pill span { font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pill:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.pill[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pill[aria-current="page"] span { color: #C9D3CC; }
.catalog-help { row-gap: var(--s6); align-items: start; }
.catalog-help__text { grid-column: 1 / span 6; }
.catalog-help__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.facts { grid-column: 8 / span 5; list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.facts li { padding: var(--s4) 0; border-bottom: 1px solid var(--beech-2); color: var(--ink-2); }
.facts strong { display: block; color: var(--ink); font-family: var(--f-head); font-weight: 600; font-size: 1.0625rem; }
@media (max-width: 1000px) { .catalog-help__text, .facts { grid-column: 1 / -1; } }

/* guide article */
.article { padding-bottom: var(--section); row-gap: 0; }
.toc { grid-column: 1 / span 3; grid-row: 1 / span 30; align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.toc__title { font-family: var(--f-head); font-weight: 600; margin-bottom: var(--s3); }
.toc ol, .toc ul { list-style: none; margin: 0; padding: 0; border-left: 1.5px solid var(--line); }
.toc a { display: block; padding: 8px 0 8px var(--s4); margin-left: -1.5px; border-left: 1.5px solid transparent; color: var(--ink-2); text-decoration: none; font-size: .9375rem; line-height: 1.35; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.toc a.is-active { color: var(--forest); border-left-color: var(--forest); font-weight: 600; }
.article__body { grid-column: 5 / span 7; }
.article__wide, .article__figure { grid-column: 5 / span 8; margin: var(--s6) 0 var(--s7); }
.article__figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.article__figure figcaption { margin-top: var(--s3); font-size: var(--t-small); color: var(--ink-2); }
.article__section { padding-top: var(--s7); }
.article__section:first-child { padding-top: 0; }
.article__body h3 { margin-top: var(--s6); font-size: 1.25rem; }
.article__body p, .article__body li { max-width: 66ch; }
.article__body .table-wrap { margin: 0 0 var(--s4); }
.checklist { list-style: none; padding: 0; margin: var(--s5) 0; border-top: 1px solid var(--line); }
.checklist li { padding: var(--s4) 0 var(--s4) var(--s6); border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 1.35em; width: 12px; height: 7px; border-left: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(-45deg); }
.budget { display: grid; grid-template-columns: 160px 1fr; margin: var(--s5) 0 0; border-top: 1.5px solid var(--ink); }
.budget dt, .budget dd { padding: var(--s4) 0; border-bottom: 1px solid var(--line); margin: 0; }
.budget dt { font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; }
.note { margin-top: var(--s8); padding: var(--s6); background: var(--sky); border-radius: var(--radius); }
.note p { max-width: 56ch; }
.note .btn { margin-top: var(--s4); }
.simple { width: 100%; border-collapse: collapse; font-size: .9375rem; background: var(--white); }
.simple th, .simple td { text-align: left; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); vertical-align: top; }
.simple thead th { font-weight: 600; border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
.simple tbody th { font-weight: 600; }
.simple tbody tr:last-child > * { border-bottom: 0; }
.table-wrap .simple { min-width: 520px; }
@media (max-width: 1000px) {
  .toc { grid-column: 1 / -1; grid-row: auto; position: static; margin-bottom: var(--s7); }
  .article__body, .article__wide, .article__figure { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .budget { grid-template-columns: 1fr; } .budget dt { border-bottom: 0; padding-bottom: 0; } .note { padding: var(--s5); } }

/* about */
.about-hero { padding-top: var(--s7); }
.about-hero h1 { max-width: 20ch; margin-bottom: var(--s7); }
.about-hero__media { margin: 0 auto; }
.about-hero__media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }
.story { row-gap: var(--s5); }
.story__lead { grid-column: 1 / span 5; }
.story__lead .lead { font-family: var(--f-head); font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); line-height: 1.35; color: var(--ink); letter-spacing: .02em; }
.story__body { grid-column: 7 / span 6; }
.story__body p { max-width: 62ch; }
@media (max-width: 900px) { .story__lead, .story__body { grid-column: 1 / -1; } .about-hero__media img { aspect-ratio: 4 / 3; } }

.process { background: var(--beech); padding-block: var(--section); }
.process .grid { row-gap: var(--s7); align-items: start; }
.process__intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); }
.process__intro > p { color: var(--ink-2); max-width: 44ch; }
.process__media { margin: var(--s6) 0 0; }
.process__media img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 440px; }
.steps { grid-column: 7 / span 6; list-style: none; margin: 0; padding: 0; position: relative; }
.steps li { position: relative; padding: 0 0 var(--s6) var(--s7); }
.steps li::before { content: ""; position: absolute; left: 7px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 5px var(--beech); z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 12px; top: 14px; bottom: -14px; width: 1.5px; background: var(--beech-2); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.25rem; margin-bottom: var(--s2); }
.steps p { color: var(--ink-2); max-width: 56ch; }
@media (max-width: 900px) { .process__intro, .steps { grid-column: 1 / -1; } .process__intro { position: static; } .steps li { padding-left: var(--s6); } }

.split { row-gap: var(--s6); align-items: center; }
.split__media { grid-column: 1 / span 6; margin: 0; }
.split__media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split__text { grid-column: 8 / span 5; }
.team { display: grid; grid-template-columns: 1fr; margin: var(--s5) 0 var(--s5); border-top: 1.5px solid var(--ink); }
.team dt { font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; padding-top: var(--s3); }
.team dd { margin: 0; padding-bottom: var(--s3); border-bottom: 1px solid var(--line); color: var(--ink-2); }
.visit { row-gap: var(--s6); align-items: center; }
.visit__text { grid-column: 1 / span 5; }
.visit__text .btn { margin-top: var(--s4); }
.visit__media { grid-column: 7 / span 6; margin: 0; }
.visit__media img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .split__media, .split__text, .visit__text, .visit__media { grid-column: 1 / -1; } .split__media img { aspect-ratio: 3 / 2; } }

/* faq page */
.faq-page { padding-bottom: var(--section); row-gap: 0; }
.faq-page__body { grid-column: 5 / span 8; }
.faq-group + .faq-group { margin-top: var(--s8); }
.faq-group h2 { font-size: 1.75rem; margin-bottom: var(--s5); }
@media (max-width: 1000px) { .faq-page__body { grid-column: 1 / -1; } }

/* contact page */
.contact-page { row-gap: var(--s7); align-items: start; }
.contact-page__info { grid-column: 1 / span 5; }
.contact-page__form { grid-column: 7 / span 6; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s6); }
.contact-page__formintro { color: var(--ink-2); margin-bottom: var(--s5); }
.contact-cards { display: grid; gap: 16px; margin: 0 0 var(--s7); }
.contact-cards > div { padding: var(--s5); border-radius: var(--radius); background: var(--beech); }
.contact-cards dt { font-size: var(--t-small); color: var(--ink-2); font-weight: 600; }
.contact-cards dd { margin: 0; }
.contact-cards a { display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); letter-spacing: .02em; color: var(--ink); text-decoration: none; margin: 2px 0 2px; overflow-wrap: anywhere; }
.contact-cards a:hover { color: var(--forest); text-decoration: underline; }
.contact-cards span { font-size: .9375rem; color: var(--ink-2); }
.hours { border-collapse: collapse; width: 100%; margin: var(--s5) 0 var(--s6); font-size: .9375rem; border-top: 1.5px solid var(--ink); }
.hours th, .hours td { text-align: left; padding: var(--s3) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 600; padding-right: var(--s4); white-space: nowrap; }
.contact-page__media { margin: 0 0 var(--s4); }
.contact-page__media img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.contact-page__how { font-size: .9375rem; color: var(--ink-2); }
@media (max-width: 1000px) { .contact-page__info, .contact-page__form { grid-column: 1 / -1; } }
@media (max-width: 760px) { .contact-page__form { padding: var(--s5) var(--s4); } }

/* cart */
.cart-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7) 48px; align-items: start; }
.cart-col { min-width: 0; }
.cart__list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-item img { width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); }
.cart-item__info { display: grid; gap: 4px; }
.cart-item__info a { font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; color: var(--ink); text-decoration: none; }
.cart-item__info a:hover { color: var(--forest); text-decoration: underline; }
.cart-item__finish { font-size: var(--t-small); color: var(--ink-2); }
.cart-item__qty { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s2); }
.cart-item__qty > span { min-width: 24px; text-align: center; font-weight: 600; }
.qty-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); font-size: 1.125rem; cursor: pointer; color: var(--ink); }
.qty-btn:hover { border-color: var(--ink); }
.cart-item__remove { margin-left: var(--s3); font-size: var(--t-small); color: var(--ink-2); min-height: 44px; }
.cart-item__price { font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; white-space: nowrap; }
.cart__totals { display: grid; grid-template-columns: 1fr auto; gap: var(--s2) 0; margin: var(--s5) 0 var(--s4); }
.cart__totals dt { color: var(--ink-2); }
.cart__totals dd { margin: 0; text-align: right; font-weight: 600; }
.cart__totals .cart__total { padding-top: var(--s3); border-top: 1px solid var(--line); font-family: var(--f-head); font-size: 1.375rem; font-weight: 600; color: var(--ink); }
.cart__note { font-size: var(--t-small); color: var(--ink-2); }
.cart__empty { padding: var(--s6); border: 1px dashed var(--beech-2); border-radius: var(--radius); background: var(--white); }
.cart-nojs { padding: var(--s5); background: var(--beech); border-radius: var(--radius); }
.checkout { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s6); }
.checkout h2 { font-size: 1.5rem; }
.form__row--3 { grid-template-columns: 1.1fr 2fr .9fr; }
.radios { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s2); min-width: 0; }
.radios legend { font-weight: 600; font-size: .9375rem; margin-bottom: var(--s2); padding: 0; }
.radio { display: flex; align-items: center; gap: var(--s3); min-height: 48px; padding: 0 var(--s4); border: 1.5px solid var(--line); border-radius: var(--radius-s); cursor: pointer; transition: border-color .15s, background-color .15s; }
.radio:hover { border-color: #B9B4A7; }
.radio:has(input:checked) { border-color: var(--forest); background: #F2F6F4; }
.radio input { width: 18px; height: 18px; accent-color: var(--forest); margin: 0; }
.order-done { max-width: 760px; }
.order-done .form-done { padding-top: 0; }
.order-summary { margin: var(--s5) 0 var(--s6); }
.order-summary__total > * { font-family: var(--f-head); font-weight: 600; font-size: 1.25rem; border-top: 1.5px solid var(--ink); }
@media (max-width: 1000px) { .cart-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .checkout { padding: var(--s5) var(--s4); }
  .form__row--3 { grid-template-columns: 1fr 1fr; }
  .form__row--3 .field:nth-child(2) { grid-column: 1 / -1; order: -1; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item img { width: 72px; height: 72px; }
  .cart-item__price { grid-column: 2; }
}

/* legal */
.legal { padding-bottom: var(--section); row-gap: 0; }
.legal__body { grid-column: 5 / span 7; }
.legal__body section + section { margin-top: var(--s7); }
.legal__body h2 { font-size: 1.5rem; }
.legal__body p, .legal__body li { max-width: 68ch; color: var(--ink-2); }
.legal__body strong { color: var(--ink); }
.legal__body ul { padding-left: 1.2em; }
.legal__body li { margin-bottom: var(--s2); }
.legal__body .table-wrap { margin-bottom: var(--s4); }
.legal__updated { margin-top: var(--s8); padding-top: var(--s4); border-top: 1px solid var(--line); font-size: var(--t-small); }
.form-sample { margin: 0; padding: var(--s5); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 1000px) { .legal__body { grid-column: 1 / -1; } }

/* 404 */
.notfound { padding: var(--s8) 0 var(--section); }
.notfound .grid { row-gap: var(--s6); align-items: center; }
.notfound__text { grid-column: 1 / span 6; }
.notfound__code { font-weight: 600; color: var(--forest); }
.notfound__links { list-style: none; padding: 0; margin: var(--s5) 0 var(--s6); border-top: 1px solid var(--line); }
.notfound__links a { display: block; padding: var(--s3) 0; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-weight: 600; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.notfound__links a:hover { color: var(--forest); }
.notfound__media { grid-column: 8 / span 5; margin: 0; }
.notfound__media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .notfound__text, .notfound__media { grid-column: 1 / -1; } .notfound__media img { aspect-ratio: 4 / 3; } }

/* catalog extras */
.filters { display: grid; gap: var(--s3); padding-bottom: var(--s5); margin-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.filters__group { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pill--age { background: var(--cream); border-color: var(--cream-2); }
.catalog__count { font-size: var(--t-small); color: var(--ink-2); margin-bottom: var(--s4); }
.catalog__empty { padding: var(--s7) var(--s6); background: var(--cream); border-radius: var(--radius); }

/* product */
.product-top { padding-top: var(--s5); }
.product-top .crumbs ol { margin-bottom: var(--s5); }
.product { padding-bottom: var(--s8); }
.product__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7) 64px; align-items: start; }
.gallery { position: sticky; top: var(--s5); display: grid; gap: var(--s4); }
.gallery__stage { position: relative; background: var(--white); }
.gallery__main { margin: 0; }
.gallery__main img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.gallery__main img[width="1024"] { object-fit: cover; border-radius: var(--radius); }
@media (prefers-reduced-motion: no-preference) {
  .gallery__main.is-active { animation: fadeIn .35s var(--ease); }
  @keyframes fadeIn { from { opacity: .3; } }
}
.gallery__thumbs { display: flex; gap: var(--s3); }
.thumb { width: 96px; height: 96px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); overflow: hidden; cursor: pointer; transition: border-color .15s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"] { border: 2px solid var(--ink); }
.thumb:hover { border-color: var(--ink-2); }
.gallery__more { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s4); }
.gallery__more figure { margin: 0; }
.gallery__more img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.gallery__more figcaption { font-size: .75rem; color: var(--ink-2); margin-top: var(--s2); }

.buybox { min-width: 0; }
.buybox__tags { display: flex; gap: 6px; margin: 0; border-bottom: 1px solid var(--line); }
.buybox__tags .tag { font-size: .75rem; }
.buybox h1 { font-size: clamp(2rem, 1.6rem + 1.3vw, 2.75rem); line-height: 1.1; margin: var(--s5) 0 var(--s4); }
.buybox__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 4px; }
.buybox__price .money { font-size: 1.625rem; }
.buybox__price .money--was { font-size: .9375rem; }
.buybox__vat { font-size: var(--t-small); color: var(--ink-2); margin-bottom: var(--s5); }
.buybox__lead { margin-bottom: var(--s5); }
.buybox__form { display: grid; gap: var(--s4); }
.swatches { border: 0; margin: 0; padding: 0; min-width: 0; }
.swatches legend { padding: 0; margin-bottom: var(--s3); }
.swatches legend span { color: var(--ink-2); }
.swatches__list { display: flex; gap: var(--s3); }
.swatch { position: relative; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; border: 1px solid var(--line); box-shadow: inset 0 0 0 4px var(--white); }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch--natural { background: #E3C89C; }
.swatch--sage { background: linear-gradient(135deg, #E3C89C 0 50%, #9DB08D 50% 100%); }
.swatch:has(input:checked) { border: 2px solid var(--ink); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.buybox__row { display: grid; grid-template-columns: 132px 1fr; gap: var(--s3); align-items: stretch; }
.qty { display: grid; grid-template-columns: 40px 1fr 40px; border: 1px solid var(--line); }
.qty__btn { border: 0; background: none; font-size: 1.125rem; cursor: pointer; color: var(--ink); }
.qty__btn:hover { background: var(--cream); }
.qty input { width: 100%; min-width: 0; border: 0; text-align: center; font: 500 1rem/1 var(--f-body); color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.btn--cart.btn--block { min-height: 52px; white-space: nowrap; padding-inline: var(--s3); }
@media (max-width: 420px) { .buybox__row { grid-template-columns: 112px 1fr; } .qty { grid-template-columns: 34px 1fr 34px; } .btn--cart.btn--block { font-size: .9375rem; } }
.buybox__added { margin: 0; padding: var(--s3) var(--s4); background: var(--mint); border-radius: var(--radius-s); font-size: .875rem; }
.paywith { margin-top: var(--s5); }
.paywith p { margin-bottom: var(--s2); font-size: .875rem; }

.details { margin-top: var(--s6); padding: var(--s4); background: var(--mint); border: 1px solid var(--mint-line); border-radius: 14px; }
.details h2 { font-size: 1.75rem; margin: var(--s2) var(--s2) var(--s4); }
.details__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s3); }
.details__pill { padding: 6px 12px; background: var(--white); border: 1px solid var(--mint-line); border-radius: 8px; font-size: .8125rem; }
.details__features { list-style: none; margin: 0 0 var(--s3); padding: var(--s5) var(--s3); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); background: var(--white); border-radius: 10px; text-align: center; font-size: .8125rem; color: var(--ink-2); line-height: 1.45; }
.details__features strong { display: block; color: var(--ink); font-size: .875rem; margin-bottom: 2px; }
.details__icon { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto var(--s2); border-radius: 50%; background: var(--mint); color: #4F7A45; }
.details__icon svg { width: 22px; height: 22px; }
.details__certs { list-style: none; margin: 0; padding: var(--s4) var(--s3); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s3); background: var(--white); border-radius: 10px; text-align: center; font-size: .75rem; line-height: 1.35; }
.details__certs span { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 6px; border-radius: 50%; background: #F1F1EE; font-size: .625rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); }
@media (max-width: 560px) {
  .details__features { grid-template-columns: 1fr; text-align: left; }
  .details__features li { display: grid; grid-template-columns: 44px 1fr; column-gap: var(--s3); }
  .details__icon { grid-row: span 2; margin: 0; }
  .details__certs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.acc { margin-top: var(--s6); border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 56px; cursor: pointer; list-style: none; font-weight: 500; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease); flex: none; margin-right: 4px; }
.acc__item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.acc__body { padding-bottom: var(--s5); color: var(--ink-2); }
.acc__body .specs { border-top: 0; }
.specs { display: grid; grid-template-columns: minmax(120px, 2fr) 3fr; margin: 0; border-top: 1px solid var(--line); font-size: .875rem; }
.specs dt, .specs dd { padding: var(--s3) 0; border-bottom: 1px solid var(--line); margin: 0; }
.specs dt { color: var(--ink-2); padding-right: var(--s4); }
.specs dd { color: var(--ink); }

.stickybar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(28, 29, 29, .08); padding-bottom: env(safe-area-inset-bottom, 0px); }
.stickybar__inner { display: flex; align-items: center; gap: var(--s4); min-height: 72px; }
.stickybar img { width: 56px; height: 56px; object-fit: contain; }
.stickybar__name { margin: 0 auto 0 0; }
.stickybar__price { margin: 0; text-align: right; font-size: 1.0625rem; display: grid; line-height: 1.2; }
.stickybar__price s { font-size: .8125rem; }
@media (prefers-reduced-motion: no-preference) {
  .stickybar:not([hidden]) { animation: rise .3s var(--ease); }
}
@media (max-width: 640px) {
  .stickybar__name, .stickybar img { display: none; }
  .stickybar__price { margin-right: auto; text-align: left; }
}
body.has-stickybar .cookie { bottom: 88px; }

@media (max-width: 1000px) {
  .product__grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
}
@media (max-width: 560px) {
  .thumb { width: 72px; height: 72px; }
  .gallery__more { display: none; }
}
.related__title { margin-bottom: var(--s7); }
