/* ========== Tokens ========== */
:root {
  --terra-text: #a14a26;   /* terracotta for small text: 4.9:1 on cream (WCAG AA) */
  --cream: #f6f1e9;
  --paper: #fbf8f3;
  --sand: #ece3d4;
  --ink: #1f2420;
  --ink-soft: #545a52;
  --olive: #2f3b2f;
  --olive-2: #3e4d3c;
  --terra: #b5552f;
  --terra-dk: #9a4522;
  --gold: #c9a46a;
  --line: rgba(31, 36, 32, .12);
  --radius: 18px;
  --shadow: 0 20px 50px -25px rgba(31, 36, 32, .35);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h, 140px) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
em { font-style: italic; color: var(--terra); }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.section { padding: 110px 0; }
.section--tint { background: var(--cream); }
.section--dark { background: var(--olive); color: var(--cream); }
.section--dark em { color: var(--gold); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--terra); margin: 0 0 16px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold); }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 52ch; }

.section__head { margin-bottom: 56px; }
.section__head h2 { font-size: clamp(34px, 4.4vw, 56px); max-width: 18ch; }
.section__head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.link-arrow { font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--terra); }

/* Placeholder image blocks — gradient shows if photo fails */
.ph {
  background: var(--img, none) center/cover no-repeat, linear-gradient(135deg, #d8cbb5, #a8977a);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--terra); color: #fff; box-shadow: 0 10px 24px -12px var(--terra); }
.btn--accent:hover { background: var(--terra-dk); }
.btn--dark { background: var(--olive); color: var(--cream); }
.btn--dark:hover { background: var(--ink); }
.btn--ghost { padding-inline: 8px; }
.btn--ghost:hover { color: var(--terra); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ========== Topbar & Header ========== */
.topbar { background: var(--cream); color: var(--ink); font-size: 13px; border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; gap: 16px; }
/* one line always: the offer text is trimmed with "…" when space runs out; the links never shrink */
.topbar__offer { margin: 0; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__offer .topbar__ico { margin-right: 6px; }
.topbar__offer a { color: var(--terra); font-weight: 600; }
.topbar__offer a:hover { text-decoration: underline; }
.topbar__ico { color: var(--terra); }
.topbar__right { display: flex; align-items: center; gap: 18px; flex: none; }
.topbar__link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; white-space: nowrap; }
.topbar__link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.topbar__link:hover { color: var(--terra); }
.topbar__link--accent { color: var(--terra); }
.topbar__sep { width: 1px; height: 16px; background: var(--line); }

.header { position: sticky; top: 0; z-index: 50; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; height: 88px; }

.logo { display: flex; align-items: center; flex: none; }
.logo__img { display: block; height: var(--logo-h, 56px); width: auto; max-width: min(320px, 60vw); object-fit: contain; }
.logo--footer .logo__img { height: 64px; margin-bottom: 6px; }

.searchbar { position: relative; width: 100%; max-width: 680px; justify-self: center; }
.searchbar input {
  width: 100%; height: 48px; padding: 0 56px 0 24px; border-radius: 999px; border: 1px solid #cfc6b8;
  background: #fff; font: inherit; font-size: 14px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.searchbar input::placeholder { color: #8b8f87; }
.searchbar input:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(181, 85, 47, .12); }
.searchbar button { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.searchbar button:hover { background: var(--cream); }
.searchbar svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.account { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: 999px; transition: color .2s; }
.account svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.account:hover { color: var(--terra); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.search-toggle { display: none; }
.cart__count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px;
  background: var(--terra); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px;
}
.cart__count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.4); } }

.burger { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Second row: main menu */
.navrow { border-top: 1px solid var(--line); }
.nav__list { list-style: none; display: flex; justify-content: space-between; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: block; padding: 15px 4px; font-weight: 600; font-size: 15px; letter-spacing: .02em; position: relative; }
.nav__link::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: -1px; height: 2px;
  background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__item:hover .nav__link::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__item:hover .nav__link { color: var(--terra); }

.mega {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px); z-index: 5;
  display: grid; grid-template-columns: 1fr 1fr 220px; gap: 28px;
  width: 640px; padding: 28px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
/* keep the edge menus inside the page */
.nav__item:first-child .mega { left: 0; transform: translate(0, 10px); }
.nav__item:last-child .mega, .nav__item:nth-last-child(2) .mega { left: auto; right: 0; transform: translate(0, 10px); }
.mega--small { grid-template-columns: 1fr; width: 260px; }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item:first-child:hover .mega, .nav__item:first-child:focus-within .mega,
.nav__item:last-child:hover .mega, .nav__item:last-child:focus-within .mega,
.nav__item:nth-last-child(2):hover .mega, .nav__item:nth-last-child(2):focus-within .mega { transform: none; }
.mega h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; font-weight: 700; }
.mega__col a { display: block; padding: 6px 0; font-size: 15px; transition: color .15s, padding .15s; }
.mega__col a:hover { color: var(--terra); padding-left: 6px; }
.nav__item:hover .mega__feature, .nav__item:focus-within .mega__feature {
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent 60%), var(--img) center/cover, #a8977a;
}
.mega__feature {
  border-radius: 12px; min-height: 180px; display: flex; align-items: end; padding: 14px;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent 60%), #a8977a;   /* photo added on open (below) */
  color: #fff; font-family: var(--serif); font-size: 18px; line-height: 1.2;
}

/* ========== Hero: slider + promos ========== */
.hero { padding: 24px 0 56px; }
.hero__grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 16px; height: clamp(480px, 44vw, 620px); }

.slider { position: relative; border-radius: 20px; overflow: hidden; background: var(--cream); }
.slider__track { display: grid; height: 100%; }
.slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: 44% 56%; min-height: 0; overflow: hidden;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide__copy {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 36px 36px 60px 52px; background: linear-gradient(160deg, #f7efe6, #ecdccd);
}
.slide__kicker { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--terra); margin: 0 0 10px; }
.slide__title { font-size: clamp(34px, 3.4vw, 54px); font-weight: 300; margin: 0 0 14px; }
.slide__text { color: var(--ink-soft); margin: 0 0 18px; max-width: 34ch; font-size: 15px; }
.slide__meta { margin: 0 0 22px; display: flex; flex-direction: column; }
.slide__meta span { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.slide__meta strong { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--olive); line-height: 1.2; }
.slide__media { overflow: hidden; }
.slide__media img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active .slide__media img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.slide.is-active .slide__copy > * { animation: rise .8s ease both; }
.slide.is-active .slide__copy > :nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide__copy > :nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide__copy > :nth-child(4) { animation-delay: .24s; }
.slide.is-active .slide__copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.85); box-shadow: 0 4px 14px rgba(0,0,0,.12); font-size: 24px; line-height: 1; color: var(--ink);
  display: grid; place-items: center; padding-bottom: 3px; transition: background .2s, color .2s; z-index: 2;
}
.slider__arrow:hover { background: var(--ink); color: #fff; }
.slider__arrow--prev { left: 14px; }
.slider__arrow--next { right: 14px; }
.slider__dots { position: absolute; left: 56px; bottom: 26px; display: flex; gap: 8px; z-index: 2; }
.slider__dots button { width: 9px; height: 9px; border-radius: 9px; background: rgba(31,36,32,.25); transition: width .3s, background .3s; }
.slider__dots button.is-active { width: 28px; background: var(--terra); }

.promos { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; min-height: 0; }
.promo { position: relative; border-radius: 20px; overflow: hidden; padding: 30px 32px; display: flex; min-height: 0; }
.promo--terra { background: linear-gradient(120deg, #f4e4d8, #e6c6b0); }
.promo--olive { background: linear-gradient(120deg, #eeeedf, #d5d8bf); }
.promo__copy { position: relative; z-index: 1; display: flex; flex-direction: column; }
.promo h2 { font-size: clamp(30px, 2.8vw, 42px); font-weight: 600; line-height: 1; }
.promo--terra h2 { color: var(--terra-dk); }
.promo--olive h2 { color: var(--olive); }
.promo__label { margin: 8px 0 0; font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.promo__label::after { content: ""; display: block; width: 52px; height: 2px; background: currentColor; opacity: .4; margin-top: 12px; }
.promo__meta { margin: auto 0 0; font-size: 14px; color: var(--ink-soft); display: flex; flex-direction: column; }
.promo__meta strong { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); }
.promo__cta { margin-top: 8px; font-weight: 700; font-size: 14px; }
.promo__img {
  position: absolute; right: 3%; bottom: 8%; height: 78%; width: auto; max-width: 50%; object-fit: contain; object-position: right bottom;
  filter: drop-shadow(0 18px 18px rgba(80, 50, 30, .22)); transition: transform .5s ease;
}
.promo:hover .promo__img { transform: translateY(-6px) scale(1.04); }
.promo:hover .promo__cta { color: var(--terra); }

/* ========== Floating contact & offer tab ========== */
.floaters { position: fixed; right: 16px; top: 55%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; gap: 14px; }
.floater { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.floater small { font-size: 10.5px; font-weight: 700; color: var(--ink); background: rgba(251,248,243,.9); padding: 0 5px; border-radius: 4px; }
.floater__ico {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 10px 22px -8px rgba(0,0,0,.4); transition: transform .2s;
}
.floater:hover .floater__ico { transform: scale(1.08); }
.floater__ico svg { width: 26px; height: 26px; }
.floater__ico--video { background: var(--olive); }
.floater__ico--video svg { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.floater__ico--wa { background: #25d366; }
.floater__ico--wa svg { fill: #fff; }

.offer-tab {
  position: fixed; left: 24px; bottom: 24px; z-index: 60; display: flex; align-items: center;
  background: var(--terra); color: #fff; border-radius: 12px; box-shadow: 0 14px 30px -12px rgba(154, 69, 34, .7);
  transition: transform .3s;
}
.offer-tab a { padding: 13px 4px 13px 18px; font-weight: 700; font-size: 15px; }
.offer-tab__x { width: 36px; height: 44px; font-size: 20px; color: #fff; opacity: .75; }
.offer-tab__x:hover { opacity: 1; }
.offer-tab:hover { transform: translateY(-2px); }
.offer-tab.is-hidden { display: none; }

/* ========== Promise ========== */
.promise { background: var(--sand); padding: 26px 0; }
.promise__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.promise__item { min-width: 0; display: flex; align-items: center; gap: 12px; }
.promise__item p { margin: 0; font-size: 14px; line-height: 1.3; }
.promise__ico {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--olive);
  display: grid; place-items: center; font-size: 18px; color: var(--olive);
}

/* ========== Collections (home) ========== */
.collections { padding: 40px 0 24px; }
.collection { padding: 40px 0 48px; }
.collection + .collection { border-top: 1px solid var(--line); }
.collection__head { text-align: center; max-width: 780px; margin: 0 auto 32px; }
.collection__head h2 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 14px; }
.collection__head p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.collection__toggle { font-weight: 700; color: var(--ink); font-size: 15px; padding: 0 2px; }
.collection__toggle:hover { color: var(--terra); }
.collection__grid { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 22px; max-width: calc(var(--n) * 270px); margin-inline: auto; }
.coll-card { text-align: center; }
.coll-card__img { display: block; aspect-ratio: 5 / 3; border-radius: 12px; overflow: hidden; background: linear-gradient(#ead8cc, #f7efe8); transition: box-shadow .35s, transform .35s; }
.coll-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.coll-card:hover .coll-card__img { transform: translateY(-4px); box-shadow: var(--shadow); }
.coll-card:hover .coll-card__img img { transform: scale(1.06); }
.coll-card__name { display: block; margin-top: 14px; font-weight: 600; font-size: 16px; transition: color .2s; }
.coll-card__count { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-soft); }
.coll-card:hover .coll-card__name { color: var(--terra); }

/* ========== Why Artigiano ========== */
.why { padding: 0 0 24px; }
.why .container { background: var(--cream); border-radius: 24px; padding: 52px 48px; }
.why__head { text-align: center; margin-bottom: 32px; }
.why__head h2 { font-size: clamp(30px, 3vw, 40px); }
.why__head p { margin: 8px 0 0; color: var(--ink-soft); }
.why__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.why__card {
  background: #fff; border-radius: 14px; padding: 26px 14px 22px; text-align: center;
  box-shadow: 0 1px 0 var(--line); transition: transform .3s, box-shadow .3s;
}
.why__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why__ico { width: 52px; height: 52px; border-radius: 50%; display: inline-grid; place-items: center; background: #f6e2d6; margin-bottom: 16px; }
.why__ico svg { width: 26px; height: 26px; fill: none; stroke: var(--terra); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why__card p { margin: 0; font-size: 14px; line-height: 1.55; }

/* Sub-type pills (categories page) */
.subtypes { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 28px; }
.pill { padding: 7px 14px; border-radius: 999px; background: var(--cream); font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.pill small { color: var(--ink-soft); font-weight: 600; }
.pill:hover { background: var(--sand); }
.pill.is-active { background: var(--terra); color: #fff; }
.pill.is-active small { color: rgba(255,255,255,.8); }
.pimg--alt { object-fit: contain; padding: 12% 10% 16%; opacity: 0; }
.product:hover .pimg--alt { opacity: 1; }
.product:hover .pimg:not(.pimg--room):not(.pimg--alt) { transform: scale(1.04); }
.product__img--cut:has(.pimg--alt):hover .pimg:first-child { opacity: 0; }

/* ========== PDF catalogue ========== */
.catalogue { background: linear-gradient(180deg, var(--paper), var(--cream)); overflow: hidden; }
.catalogue__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.catalogue__media { position: relative; aspect-ratio: 1 / 1.05; max-width: 520px; width: 100%; justify-self: center; }
.catalogue__page, .catalogue__cover { position: absolute; width: 58%; border-radius: 6px; box-shadow: 0 24px 50px -24px rgba(31, 36, 32, .55); }
.catalogue__page { aspect-ratio: 825 / 1192; object-fit: cover; }
.catalogue__page--back { right: 2%; top: 6%; transform: rotate(8deg); }
.catalogue__page--mid { right: 14%; top: 3%; transform: rotate(3deg); }
.catalogue__cover { left: 6%; top: 0; transform: rotate(-4deg); overflow: hidden; transition: transform .4s ease; }
.catalogue__cover img { width: 100%; display: block; }
.catalogue__media:hover .catalogue__cover { transform: rotate(-2deg) translateY(-8px); }
.catalogue__copy h2 { font-size: clamp(34px, 4.2vw, 54px); margin-bottom: 16px; }
.catalogue__facts { list-style: none; padding: 0; margin: 26px 0 30px; display: flex; gap: 36px; }
.catalogue__facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; color: var(--olive); line-height: 1.1; }
.catalogue__facts span { font-size: 13px; color: var(--ink-soft); }
.catalogue__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.catalogue__sections { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px; }
.catalogue__sections summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 8px; }
.catalogue__sections summary::-webkit-details-marker { display: none; }
.catalogue__sections summary::before { content: "+"; color: var(--terra); font-size: 20px; width: 16px; transition: transform .2s; }
.catalogue__sections[open] summary::before { transform: rotate(45deg); }
.catalogue__sections summary small { color: var(--ink-soft); font-weight: 400; }
.catalogue__sections ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.catalogue__sections li a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14px; transition: background .2s; }
.catalogue__sections li a:hover { background: #fff; color: var(--terra); }
.catalogue__sections li small { color: var(--ink-soft); white-space: nowrap; }

/* Category page download box */
.shop-hero__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.cat-dl { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cat-dl__btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 14px;
  background: var(--ink); color: var(--cream); transition: background .2s, transform .2s;
}
.cat-dl__btn:hover { background: var(--terra); transform: translateY(-2px); }
.cat-dl__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cat-dl__btn span { display: flex; flex-direction: column; font-weight: 600; font-size: 14px; line-height: 1.3; }
.cat-dl__btn small { font-weight: 400; font-size: 12px; opacity: .7; }
.cat-dl__view { font-size: 13px; font-weight: 600; color: var(--terra); }

/* ========== Sectors (tabs) ========== */
.tabs { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); margin-bottom: 40px; }
.tab {
  text-align: left; padding: 20px 6px 18px; font-family: var(--serif); font-size: 22px;
  color: var(--ink-soft); border-top: 2px solid transparent; margin-top: -1px; transition: color .2s, border-color .2s;
}
.tab span { display: block; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; margin-bottom: 4px; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--terra); border-top-color: var(--terra); }

.panel { display: none; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.panel.is-active { display: grid; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.panel__img { aspect-ratio: 4/3; border-radius: var(--radius); }
.panel__body h3 { font-size: 46px; margin-bottom: 18px; }
.panel__body > p { color: var(--ink-soft); font-size: 17px; }
.chips { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: #fff; }
.panel__meta { display: flex; gap: 32px; margin-bottom: 30px; font-size: 14px; color: var(--ink-soft); }
.panel__meta strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--olive); }

/* ========== Categories (home grid) ========== */
.section__head--center { text-align: center; margin-inline: auto; max-width: 760px; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section__head--center h2 { margin-inline: auto; }
.section__head--center .lead { margin: 18px auto 0; font-size: 16px; }
.cats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 36px 24px; }
.cat { display: block; text-align: center; }
.cat__img {
  display: block; aspect-ratio: 5/4; border-radius: 14px; overflow: hidden;
  background: linear-gradient(#ead8cc, #f7efe8); /* matches the studio tiles while loading */
  transition: box-shadow .35s, transform .35s;
}
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat:hover .cat__img { box-shadow: var(--shadow); transform: translateY(-4px); }
.cat:hover .cat__img img { transform: scale(1.06); }
.cat__name { display: block; margin-top: 14px; font-weight: 600; font-size: 16px; transition: color .2s; }
.cat:hover .cat__name { color: var(--terra); }
.mega__all { color: var(--terra); font-weight: 600; }

/* ========== Products ========== */
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; transition: all .2s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.product { display: flex; flex-direction: column; }
.product.is-hidden { display: none; }
.product__img { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.product__img .ph { position: absolute; inset: 0; transition: transform .6s; }
.product:hover .product__img .ph { transform: scale(1.06); }
.product__tag {
  position: absolute; top: 14px; left: 14px; background: var(--paper); padding: 4px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--terra);
}
.product__wish {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper); display: grid; place-items: center; font-size: 17px; transition: color .2s;
}
.product__wish.is-on { color: var(--terra); }
.product__add {
  position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-weight: 600; font-size: 14px;
  transform: translateY(70px); transition: transform .3s, background .2s;
}
.product:hover .product__add, .product__add:focus { transform: none; }
.product__add:hover { background: var(--terra); }
.product__add.is-added { background: var(--olive-2); }
.product__cat { margin-top: 14px; }
.product__size { font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.product h4 { font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.35; margin-bottom: 4px; }
.product__sub { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.product__price { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.product__price strong { font-size: 18px; }
.product__price s { color: var(--ink-soft); font-size: 14px; }
.product__price .off { color: #2e7d4f; font-size: 13px; font-weight: 700; }
.product__rating { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.product__rating b { color: var(--gold); }

/* Products with own photography: cut-out on cream, room scene on hover */
.product__img--cut { background: radial-gradient(circle at 50% 60%, #fff, var(--cream) 70%); }
.pimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12% 10% 16%; transition: opacity .5s, transform .6s; }
.pimg--room { object-fit: cover; padding: 0; opacity: 0; }
.product:hover .pimg--room { opacity: 1; }
a.product__add { display: block; text-align: center; }
.on-request { font-size: 15px !important; color: var(--olive); }

/* ========== Process ========== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 34px 30px 10px 0; border-top: 1px solid rgba(246, 241, 233, .25); position: relative; }
.steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.steps__num { font-family: var(--serif); font-size: 54px; color: rgba(246, 241, 233, .2); display: block; line-height: 1; margin-bottom: 14px; }
.steps h4 { font-size: 26px; margin-bottom: 10px; }
.steps p { color: rgba(246, 241, 233, .72); font-size: 15px; margin: 0; }

/* ========== Gallery ========== */
.gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 20px; }
.g { margin: 0; border-radius: var(--radius); position: relative; overflow: hidden; display: flex; align-items: end; }
.g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 24, 20, .7), transparent 55%); transition: opacity .3s; }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }
.g figcaption { position: relative; z-index: 1; color: #fff; padding: 22px; font-family: var(--serif); font-size: 21px; line-height: 1.25; transition: transform .3s; }
.g figcaption small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.g:hover figcaption { transform: translateY(-6px); }

/* ========== Reviews ========== */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { margin: 0; background: var(--paper); padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; }
.stars { color: var(--gold); letter-spacing: 3px; }
.review p { font-family: var(--serif); font-size: 20px; line-height: 1.45; flex: 1; margin: 18px 0 24px; }
.review footer { font-size: 14px; display: flex; flex-direction: column; }
.review footer span { color: var(--ink-soft); }
.clients { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.clients span { font-family: var(--serif); font-size: 24px; color: var(--ink-soft); opacity: .6; }
.clients__all { align-self: center; font-size: 14px; }

/* ========== Enquiry ========== */
.enquire__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.enquire h2 { font-size: clamp(34px, 4.4vw, 56px); margin-bottom: 18px; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; }
.contact-list li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
/* the CALL / EMAIL / VISIT label only — not the spans inside the value */
.contact-list li > span:first-child { flex: 0 0 70px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); padding-top: 4px; }
.contact-list li > :last-child { flex: 1; min-width: 0; }
.form { background: var(--cream); padding: 40px; border-radius: 24px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 15px; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(181, 85, 47, .15); }
.form .is-invalid { border-color: #c0392b; }
.form__msg { margin: 0; font-size: 14px; min-height: 1.4em; }
.form__msg.ok { color: #2e7d4f; }
.form__msg.err { color: #c0392b; }

/* ========== Footer ========== */
.footer { background: var(--ink); color: var(--sand); padding: 80px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.6fr; gap: 40px; padding-bottom: 60px; }
.footer__brand p, .footer__news p { color: rgba(236, 227, 212, .65); font-size: 15px; max-width: 30ch; }
.footer h5 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 6px 0 16px; }
.footer__grid > div > a { display: block; padding: 5px 0; color: rgba(236, 227, 212, .8); font-size: 15px; }
.footer__grid > div > a:hover { color: #fff; }
.news { display: flex; gap: 8px; background: rgba(255,255,255,.07); padding: 6px; border-radius: 999px; }
.news input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; padding: 0 14px; font: inherit; font-size: 14px; }
.news input:focus { outline: none; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 0; border-top: 1px solid rgba(236, 227, 212, .12); font-size: 13px; color: rgba(236, 227, 212, .55); }
.footer__bottom a:hover { color: #fff; }
.footer__credit a { text-decoration: underline; text-underline-offset: 3px; }

.footer__contact { font-style: normal; display: flex; flex-direction: column; gap: 6px; margin-top: 18px; font-size: 14px; }
.footer__contact a { color: rgba(236, 227, 212, .8); }
.footer__contact a:hover { color: #fff; }
.footer__addr { display: flex; gap: 10px; line-height: 1.5; margin-bottom: 6px; }
.footer__addr svg { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 1.7; }
.contact-list__val { display: flex; flex-direction: column; gap: 2px; line-height: 1.5; }
.contact-list__val small { color: var(--terra); font-size: 13px; font-weight: 600; margin-top: 4px; }
a.contact-list__val:hover { color: var(--terra); }

/* ========== Categories page ========== */
.shop-hero { padding: 56px 0 40px; background: radial-gradient(circle at 90% 0%, var(--sand), transparent 50%); }
.crumbs { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--terra); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }
.shop-hero__row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.shop-hero h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 300; }
.shop-hero p { color: var(--ink-soft); font-size: 17px; max-width: 52ch; margin: 14px 0 0; }
.shop-hero__count { font-family: var(--serif); font-size: 20px; color: var(--olive); white-space: nowrap; }
.shop-hero__count strong { font-size: 44px; font-weight: 400; color: var(--terra); }

.catbar { position: sticky; top: var(--header-h, 140px); z-index: 30; background: var(--paper); border-block: 1px solid var(--line); }
.catbar__track { display: flex; gap: 6px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.catbar__track::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; white-space: nowrap;
}
.chip__thumb { width: 34px; height: 34px; border-radius: 50%; flex: none; object-fit: cover; background: var(--sand); }
.chip__all { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font-size: 16px; }
.chip small { font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip.is-active small { color: var(--gold); }

.catalog { padding-top: 40px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.toolbar__count { font-size: 15px; color: var(--ink-soft); }
.toolbar__count strong { color: var(--ink); }
.toolbar__controls { display: flex; gap: 10px; flex-wrap: wrap; }
.toolbar select, .toolbar input {
  font: inherit; font-size: 14px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink);
}
.toolbar input { width: 220px; }
.toolbar select:focus, .toolbar input:focus { outline: none; border-color: var(--terra); }
.product__cat { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); margin-bottom: 4px; }
.product__for { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.product__for span { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--cream); color: var(--ink-soft); }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.empty h3 { font-size: 30px; color: var(--ink); margin-bottom: 8px; }

.bulk { background: var(--terra); color: #fff; border-radius: 24px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.bulk h3 { font-size: clamp(28px, 3vw, 40px); }
.bulk p { margin: 8px 0 0; opacity: .85; }
.bulk .btn--dark { background: var(--paper); color: var(--ink); }

/* ========== Content pages (page.html, from Admin → Pages) ========== */
.page__hero { padding: 48px 0 28px; background: radial-gradient(circle at 90% 0%, var(--sand), transparent 50%); }
.page__hero h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 300; margin-top: 8px; }
.page__body { padding: 20px 0 100px; }
.prose { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin: 48px 0 16px; }
.prose h3 { font-size: 24px; margin: 36px 0 12px; }
.prose h4 { font-size: 19px; margin: 28px 0 10px; font-family: var(--sans); font-weight: 700; }
.prose p { margin: 0 0 18px; }
.prose a { color: var(--terra); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--terra-dk); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 20px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--terra); }
.prose img { display: block; width: 100%; height: auto; border-radius: var(--radius); margin: 28px 0; box-shadow: var(--shadow); }
.prose img:has(+ br) { margin-bottom: 10px; }   /* img caption: *italic line* right under an image */
.prose img + br { display: none; }
.prose img + br + em { font-size: 14px; color: var(--ink-soft); }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--terra); font-family: var(--serif); font-size: 26px; line-height: 1.35; color: var(--olive); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.prose .btn { text-decoration: none; }

/* Contact page */
.contact-lead { max-width: 640px; margin-top: 14px; }
.contact-cards-wrap { padding: 12px 0 0; }
.contact-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.contact-card__ico { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; margin-bottom: 10px; }
.contact-card__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--terra); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h2 { font-size: 20px; margin: 0 0 6px; }
.contact-card a { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--terra-text); }
.contact-card small { color: var(--ink-soft); font-size: 13px; }
.contact-visit { margin-top: 32px; padding: 24px; background: var(--cream); border-radius: var(--radius); }
.contact-visit h3 { font-size: 22px; margin: 0 0 10px; }
.contact-visit p { margin: 0 0 12px; line-height: 1.6; }
.contact-visit .muted { color: var(--ink-soft); font-size: 14px; }
.contact-more { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 600; }
.contact-more a { color: var(--terra-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

/* Sitemap page (page.html?p=sitemap) */
.sitemap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 40px; margin-top: 32px; }
.prose .sitemap ul { list-style: none; padding: 0; margin: 0 0 24px; }
.prose .sitemap li { margin: 0 0 6px; font-size: 16px; }
.prose .sitemap a { text-decoration: none; color: var(--ink); }
.prose .sitemap a:hover { color: var(--terra-text); text-decoration: underline; }
.sitemap h3 { font-size: 20px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sitemap__col--wide { grid-column: 1 / -1; }
.prose .sitemap__cats { columns: 3 220px; column-gap: 40px; }
.prose .sitemap__cats > li { break-inside: avoid; margin-bottom: 14px; font-weight: 700; }
.prose .sitemap__cats small { font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.prose .sitemap__cats ul { margin: 6px 0 0 14px; }
.prose .sitemap__cats ul li { font-weight: 400; font-size: 15px; }
@media (max-width: 760px) { .sitemap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .sitemap { grid-template-columns: 1fr; } }

/* Blog (blog.html) */
#blogCrumb { display: contents; }
.blog-lead { max-width: 640px; margin-top: 12px; }
.blog-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.blog-chips button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 16px; font: 600 14px var(--sans); color: var(--ink); cursor: pointer; }
.blog-chips button:hover { border-color: var(--terra); }
.blog-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card__img { display: block; aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__body h2 { font-size: 22px; line-height: 1.25; margin: 0; }
.post-card__body h2 a:hover { color: var(--terra-text); }
.post-card__body > p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.post-card__cat { font-size: 12px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-text) !important; }
.post-card__meta { margin-top: auto !important; padding-top: 6px; font-size: 13px !important; display: flex; gap: 14px; }
.post-card--lead { flex-direction: row; margin-bottom: 28px; }
.post-card--lead .post-card__img { flex: 1.3; aspect-ratio: auto; min-height: 340px; }
.post-card--lead .post-card__body { flex: 1; padding: 36px; justify-content: center; }
.post-card--lead h2 { font-size: clamp(26px, 2.6vw, 34px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-top: 14px; color: var(--ink-soft); font-size: 14px; }
.post-cover { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); margin-bottom: 40px; box-shadow: var(--shadow); }
.post-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 56px; justify-content: space-between; align-items: start; }
.post-aside { position: sticky; top: calc(var(--header-h, 140px) + 20px); display: flex; flex-direction: column; gap: 20px; }
.post-share, .post-cta { background: var(--cream); border-radius: var(--radius); padding: 22px; }
.post-aside h3 { font-size: 18px; margin: 0 0 10px; }
.post-share { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-weight: 600; font-size: 15px; }
.post-share a:hover { color: var(--terra-text); }
.post-cta p { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.6; }
.post-related { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.post-related h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 24px; }
@media (max-width: 960px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: 1fr; gap: 32px; }
  .post-aside { position: static; }
  .post-card--lead { flex-direction: column; }
  .post-card--lead .post-card__img { min-height: 0; aspect-ratio: 16 / 9; }
  .post-card--lead .post-card__body { padding: 24px; }
}
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* Gallery page (gallery.html) */
.blog-chips small { opacity: .6; font-weight: 500; margin-left: 2px; }
.pgallery { columns: 3 300px; column-gap: 20px; }
.pgallery__item { break-inside: avoid; margin: 0 0 20px; }
.pgallery__item button { display: block; width: 100%; padding: 0; border: 0; background: var(--sand); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.pgallery__item img { display: block; width: 100%; height: auto; transition: transform .5s; }
.pgallery__item button:hover img { transform: scale(1.03); }
.pgallery__item figcaption { padding: 10px 4px 0; font-size: 15px; font-weight: 600; }
.pgallery__item figcaption small, .lightbox figcaption small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-text); margin-bottom: 2px; }
.gallery-cta { margin-top: 48px; padding: 32px; border-radius: var(--radius); background: var(--cream); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.gallery-cta p { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); max-width: 620px; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(20, 22, 20, .94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 24px 12px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 10px; }
.lightbox figcaption { color: #fff; text-align: center; font-size: 16px; }
.lightbox figcaption small { color: var(--gold); }
.lightbox figcaption span { display: block; margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.lightbox__nav, .lightbox__close { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255, 255, 255, .25); }
.lightbox__nav--prev { grid-column: 1; grid-row: 1; justify-self: center; }
.lightbox__nav--next { grid-column: 3; grid-row: 1; justify-self: center; }
.lightbox figure { grid-row: 1; }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
@media (max-width: 600px) {
  .lightbox { grid-template-columns: 1fr; padding: 70px 8px 90px; }
  .lightbox figure { grid-column: 1; }
  .lightbox__nav { position: absolute; bottom: 20px; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
}

/* Testimonials page (testimonials.html) */
.review-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; font-size: 15px; color: var(--ink-soft); }
.review-summary strong { font-family: var(--serif); font-size: 34px; font-weight: 400; color: var(--ink); }
.review-summary .stars { font-size: 20px; }
.stars__off { color: var(--sand); }
.reviews__grid--page .review { background: #fff; }
.review footer small { color: var(--ink-soft); font-size: 12px; margin-top: 4px; }
.reviews-empty { font-size: 18px; color: var(--ink-soft); }
.clients-block { margin-top: 64px; }
.clients-block .clients { margin-top: 12px; padding-top: 20px; }
.review-share { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; margin-top: 88px; }
.review-share h2 { font-size: clamp(32px, 4vw, 50px); margin-bottom: 16px; }
.rate { border: 0; padding: 0; margin: 0; }
.rate legend { font-size: 13px; font-weight: 700; padding: 0; margin-bottom: 6px; }
.rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .rate__stars label { display: block; font-size: 34px; line-height: 1; color: var(--sand); cursor: pointer; transition: color .15s, transform .15s; }
.form .rate__stars label:hover, .form .rate__stars label:hover ~ label, .form .rate__stars input:checked ~ label { color: var(--gold); }
.rate__stars label:hover { transform: scale(1.1); }
.rate__stars input:focus-visible + label { outline: 2px solid var(--terra); outline-offset: 2px; border-radius: 4px; }
.muted-label { font-weight: 400; color: var(--ink-soft); }
.form .acct-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13.5px; line-height: 1.5; }
.form .acct-check input { width: auto; margin-top: 3px; }
@media (max-width: 960px) { .review-share { grid-template-columns: 1fr; gap: 32px; } }

/* Projects (projects.html) */
#projCrumb { display: contents; }
.post-cover-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.proj-summary { font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.45; margin: 0 0 32px; }
.proj-h { font-size: 24px; margin: 36px 0 14px; }
.proj-scope { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.proj-scope li { background: var(--cream); border-radius: 99px; padding: 7px 14px; font-size: 14px; font-weight: 600; }
.proj-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.proj-photos button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--sand); }
.proj-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.proj-photos button:hover img { transform: scale(1.04); }
.proj-facts { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 22px; }
.proj-facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.proj-facts div:last-child { border-bottom: 0; }
.proj-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-text); }
.proj-facts dd { margin: 2px 0 0; font-weight: 600; }

/* Clients page (clients.html) */
.client-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.client-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.client-tile__mark { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
.client-tile__mark span { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); color: var(--ink); text-align: center; line-height: 1.15; }
.client-tile__mark img { max-width: 80%; max-height: 70px; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .3s, opacity .3s; }
.client-tile:hover .client-tile__mark img { filter: none; opacity: 1; }
.client-tile__info { padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.client-tile__info small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-text); }
.client-tile__info .link-arrow { margin-top: auto; padding-top: 6px; font-size: 14px; }
.client-sectors { margin-top: 88px; }
.client-sectors h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 0 0 28px; }
.client-sectors ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.client-sectors a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 22px; border-radius: var(--radius); background: var(--cream); transition: background .2s; }
.client-sectors a:hover { background: var(--sand); }
.client-sectors strong { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.client-sectors span { color: var(--ink-soft); font-size: 14px; }
.client-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .client-sectors ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .client-sectors ul { grid-template-columns: 1fr; } }

/* Services page (page.html?p=services): "### Service" sections become cards */
.prose .svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 8px 0 24px; counter-reset: svc; }
.prose .svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; display: flex; flex-direction: column; counter-increment: svc; }
.prose .svc-card h4 { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; }
.prose .svc-card h4::before { content: counter(svc, decimal-leading-zero); display: block; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--terra-text); margin-bottom: 8px; }
.prose .svc-card p { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 12px; }
.prose .svc-card p:last-child { margin: auto 0 0; padding-top: 4px; font-weight: 700; font-size: 14.5px; }
@media (max-width: 640px) { .prose .svc-grid { grid-template-columns: 1fr; } }

/* FAQ page (page.html?p=faq): questions open and close */
.prose h3 + .faq { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 17px; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--terra-text); font-size: 20px; font-weight: 400; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--terra-text); }
.faq__a { padding: 0 46px 8px 0; color: var(--ink-soft); }
.faq__a > :last-child { margin-bottom: 16px; }

/* CMS layout variations */
.hero__grid--single { grid-template-columns: 1fr; }
.hero__grid--single .promos { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
.gallery--few { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); grid-template-rows: 300px; grid-auto-rows: 300px; }

/* ========== Product quick view (all photos) ========== */
.product__img--cut, .product__img { cursor: zoom-in; }
.product__open { all: unset; cursor: pointer; }
.product__open:hover { color: var(--terra); }
.product__open:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.product__count { position: absolute; top: 56px; right: 12px; background: rgba(31, 36, 32, .78); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; pointer-events: none; }
.qv { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.qv[hidden] { display: none; }
.qv__backdrop { position: absolute; inset: 0; background: rgba(20, 24, 20, .62); backdrop-filter: blur(3px); }
.qv__panel { position: relative; width: min(1040px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: var(--paper); border-radius: 22px; display: grid; grid-template-columns: 1.25fr 1fr; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); animation: qvIn .25s ease; }
@keyframes qvIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.qv__close { position: absolute; top: 12px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: #fff; font-size: 26px; line-height: 1; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.qv__close:hover { background: var(--ink); color: #fff; }
.qv__gallery { padding: 22px; display: grid; gap: 12px; align-content: start; }
.qv__stage { position: relative; aspect-ratio: 1; border-radius: 16px; background: radial-gradient(circle at 50% 60%, #fff, var(--cream) 70%); overflow: hidden; display: grid; place-items: center; }
.qv__stage img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.qv__stage img.is-room { object-fit: cover; padding: 0; }
.qv__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 24px; box-shadow: 0 4px 14px rgba(0,0,0,.12); padding-bottom: 3px; }
.qv__nav:hover { background: var(--ink); color: #fff; }
.qv__nav--prev { left: 12px; } .qv__nav--next { right: 12px; }
.qv__counter { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: rgba(31,36,32,.7); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; }
.qv__counter:empty { display: none; }
.qv__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.qv__thumb { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--cream); border: 2px solid transparent; padding: 0; }
.qv__thumb img { width: 100%; height: 100%; object-fit: cover; }
.qv__thumb.is-active { border-color: var(--terra); }
.qv__info { padding: 56px 32px 32px 8px; display: flex; flex-direction: column; gap: 10px; }
.qv__info h3 { font-size: clamp(28px, 3vw, 38px); }
.qv__size { margin: 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.qv__size span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.qv__sub, .qv__note { margin: 0; color: var(--ink-soft); }
.qv__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 14px; }
body.qv-open { overflow: hidden; }
@media (max-width: 760px) {
  .qv { padding: 0; align-items: end; }
  .qv__panel { grid-template-columns: 1fr; border-radius: 22px 22px 0 0; max-height: 92vh; }
  .qv__gallery { padding: 14px 14px 0; }
  .qv__info { padding: 8px 18px 22px; }
  .qv__cta .btn { width: 100%; }
}

/* ========== Customer account (account.html) ========== */
.account.is-signed-in span { color: var(--terra); }
.acct { min-height: 420px; }
.acct-card { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.acct-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.acct-tabs a { text-align: center; padding: 10px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.acct-tabs a.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.acct-h { font-size: 28px; margin-bottom: 8px; }
.acct-lead { color: var(--ink-soft); margin: 0 0 18px; }
.acct-form { display: grid; gap: 14px; }
.acct-form--grid { grid-template-columns: 1fr 1fr; }
.acct-form--grid .acct-actions { grid-column: 1 / -1; }
.acct-form--narrow { max-width: 420px; }
.acct-field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.acct-field input { font: inherit; font-weight: 400; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1px solid #d9d2c5; background: #fff; color: var(--ink); width: 100%; }
.acct-field input:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(181, 85, 47, .15); }
.acct-field input:disabled { background: var(--cream); color: var(--ink-soft); }
.acct-field input.is-invalid { border-color: #c0392b; }
.acct-pw { position: relative; display: block; }
.acct-pw input { padding-right: 64px; }
.acct-pw__show { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 700; color: var(--terra); padding: 6px 8px; }
.acct-err { color: #c0392b; font-weight: 600; font-size: 12.5px; min-height: 0; }
.acct-err:empty { display: none; }
.acct-hint { color: var(--ink-soft); font-size: 12.5px; font-weight: 400; margin-top: -6px; }
.acct-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.acct-check { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.acct-check input { margin-top: 3px; accent-color: var(--terra); width: 16px; height: 16px; flex: none; }
.acct-link, .acct-linkbtn { color: var(--terra); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.acct-linkbtn { padding: 0; font-size: inherit; }
.acct-alt { text-align: center; margin: 20px 0 0; font-size: 14px; color: var(--ink-soft); }
.acct-form-msg { margin: 0; font-size: 14px; font-weight: 600; min-height: 1.2em; }
.acct-form-msg.is-err { color: #c0392b; }
.acct-form-msg.is-ok { color: #2e7d4f; }
.acct-msg { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; font-weight: 600; }
.acct-msg--ok { background: #e3f3e8; color: #2e7d4f; }
.acct-msg--err { background: #fdf1f0; color: #b3261e; }
.acct-msg--warn { background: #fff4dc; color: #7a5600; font-weight: 500; }
.acct-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.acct-dash { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.acct-side { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; position: sticky; top: calc(var(--header-h, 140px) + 16px); }
.acct-me { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; min-width: 0; }
.acct-me div { min-width: 0; }
.acct-me strong { display: block; }
.acct-me small { display: block; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 20px; flex: none; }
.acct-nav { display: grid; gap: 2px; }
.acct-nav a, .acct-signout { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; text-align: left; width: 100%; }
.acct-nav a:hover, .acct-signout:hover { background: var(--cream); }
.acct-nav a.is-active { background: var(--ink); color: var(--cream); }
.acct-nav b { background: var(--terra); color: #fff; font-size: 11px; border-radius: 99px; padding: 1px 8px; }
.acct-signout { color: var(--ink-soft); margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 14px; }
.acct-main { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; min-width: 0; }
.acct-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.acct-head .acct-h { margin: 0; }
.acct-enq { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.acct-enq li { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.acct-enq__top { display: flex; justify-content: space-between; gap: 10px; }
.acct-enq p { margin: 8px 0 6px; color: var(--ink-soft); white-space: pre-line; }
.acct-enq small { color: var(--ink-soft); font-size: 12.5px; }
.acct-status { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: var(--cream); }
.acct-status--new { background: #fbe7dd; color: var(--terra-dk); }
.acct-status--contacted { background: #e6eefb; color: #2a4f8f; }
.acct-status--quoted { background: #fff3d6; color: #9a6a00; }
.acct-empty { text-align: center; padding: 40px 10px; color: var(--ink-soft); }
.acct-wish { grid-template-columns: repeat(3, 1fr); }
.acct-hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.acct-danger { border: 1px solid #e6b8b3; color: #b3261e; background: #fff; }
.acct-danger:hover { background: #fdf1f0; }
@media (max-width: 900px) {
  .acct-dash { grid-template-columns: 1fr; }
  .acct-side { position: static; }
  .acct-nav { grid-template-columns: repeat(2, 1fr); }
  .acct-signout { grid-column: 1 / -1; }
  .acct-wish { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .acct-card, .acct-main { padding: 22px 18px; border-radius: 18px; }
  .acct-form--grid { grid-template-columns: 1fr; }
}

/* ========== Catalogue download gate ========== */
.gate { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; }
.gate[hidden] { display: none; }
.gate__backdrop { position: absolute; inset: 0; background: rgba(20, 24, 20, .6); backdrop-filter: blur(3px); }
.gate__panel { position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--paper); border-radius: 22px; padding: 30px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); animation: qvIn .25s ease; }
.gate__close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; font-size: 24px; line-height: 1; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.gate__close:hover { background: var(--ink); color: #fff; }
.gate__head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; padding-right: 34px; }
.gate__icon { width: 54px; height: 54px; border-radius: 16px; background: #f6e2d6; display: grid; place-items: center; flex: none; }
.gate__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--terra); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gate__kicker { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.gate__head h3 { font-size: 26px; }
.gate__file { margin: 2px 0 0; font-size: 13px; color: var(--ink-soft); }
.gate__lead { margin: 0 0 16px; color: var(--ink-soft); font-size: 14.5px; }
.gate__form { display: grid; gap: 14px; }
.gate__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gate__form .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gate__note { margin: 0; font-size: 12.5px; color: var(--ink-soft); text-align: center; }
.gate__note a { color: var(--terra); text-decoration: underline; }
.gate__done { display: grid; gap: 14px; text-align: center; }
.gate__ok { margin: 6px 0 0; font-size: 16px; font-weight: 600; color: #2e7d4f; }
@media (max-width: 560px) {
  .gate { padding: 0; align-items: end; }
  .gate__panel { border-radius: 22px 22px 0 0; padding: 24px 18px; }
  .gate__grid { grid-template-columns: 1fr; }
}

/* Accessibility: skip link + readable small terracotta text */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .15s; }
.skip-link:focus { top: 12px; }
.eyebrow, .slide__kicker, .topbar__offer a, .topbar__link--accent, .topbar__ico, .product__cat, .promo__cta, .link-arrow:hover { color: var(--terra-text); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }

/* Spam trap field on the enquiry form */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ========== Responsive ========== */
@media (max-width: 960px) {
  /* tablets: drop "Visit Us" (the address is in the contact section and footer) so the offer has room */
  .topbar__link--accent, .topbar__sep:has(+ .topbar__link--accent) { display: none; }
}

@media (max-width: 1180px) {
  .header__inner { gap: 28px; }
  .account span { display: none; }
  .nav__link { font-size: 14px; }
}

@media (max-width: 1024px) {
  .burger { display: flex; }
  .header__inner { grid-template-columns: auto 1fr; height: 72px; gap: 12px; }
  .header__actions { justify-self: end; gap: 2px; }
  .search-toggle { display: grid; }
  .searchbar { display: none; grid-column: 1 / -1; order: 3; max-width: none; margin-bottom: 12px; }
  .header.search-open .header__inner { height: auto; padding-top: 12px; }
  .header.search-open .searchbar { display: block; }
  .navrow { border: 0; }
  .nav {
    position: fixed; inset: var(--nav-top, 117px) 0 0 0; background: var(--paper); overflow-y: auto;
    transform: translateX(100%); transition: transform .35s ease; z-index: 40;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; gap: 0; padding: 10px 20px 40px; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 18px 0; font-family: var(--serif); font-size: 24px; font-weight: 400; display: flex; justify-content: space-between; }
  .nav__link::after { display: none; }
  .nav__link::before { content: "+"; order: 2; color: var(--terra); transition: transform .2s; }
  .nav__item.is-open .nav__link::before { transform: rotate(45deg); }
  .mega {
    position: static; transform: none; width: auto; opacity: 1; visibility: visible; display: none;
    box-shadow: none; border: 0; padding: 0 0 20px; grid-template-columns: 1fr 1fr; background: none;
  }
  .nav__item:hover .mega, .nav__item:focus-within .mega { transform: none; }
  .nav__item.is-open .mega { display: grid; }
  .mega__feature { display: none; }
  body.menu-open { overflow: hidden; }

  .panel, .enquire__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 16px; }
  .hero__grid { grid-template-columns: 1fr; height: auto; }
  .slide { grid-template-columns: 1fr 1fr; }
  .slide__copy { padding: 36px 28px 60px; }
  .slider__dots { left: 28px; }
  .promos { grid-template-columns: 1fr 1fr; grid-template-rows: 230px; }
  .floaters { top: auto; bottom: 90px; transform: none; }
  .promise__grid { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .tabs { grid-template-columns: repeat(3, 1fr); }
  .cats__grid { grid-template-columns: repeat(4, 1fr); }
  .collection__grid { grid-template-columns: repeat(3, 1fr); }
  .catalogue__grid { grid-template-columns: 1fr; gap: 48px; }
  .catalogue__media { max-width: 420px; }
  .why__grid { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand, .footer__news { grid-column: span 3; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 72px 0; }
  .topbar__offer { display: none; }
  .topbar__link--accent, .topbar__sep:has(+ .topbar__link--accent) { display: none; }
  .topbar__right { gap: 12px; }
  .topbar { font-size: 12px; }
  .topbar__inner { justify-content: center; }
  .header__inner { height: 64px; gap: 8px; grid-template-columns: minmax(0, 1fr) auto; }
  .logo { min-width: 0; }
  .icon-btn, .burger { width: 38px; height: 38px; }
  .account { padding: 6px; }
  .account svg { width: 24px; height: 24px; }
  .logo__img { height: auto; max-height: min(calc(var(--logo-h, 56px) * .72), 44px); max-width: 100%; }   /* shrinks to fit beside the icons */
  .logo--footer .logo__img { height: 52px; }
  .slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .slide__media { order: -1; aspect-ratio: 4 / 3; }
  .slide__copy { padding: 24px 22px 56px; }
  .slide__kicker { font-size: 18px; }
  .slide__meta strong { font-size: 26px; }
  .slider__arrow { top: 34%; width: 36px; height: 36px; }
  .slider__dots { left: 22px; bottom: 22px; }
  .promos { grid-template-columns: 1fr; grid-template-rows: 190px 190px; }
  .promo { padding: 22px 24px; }
  .floaters { right: 12px; bottom: 84px; gap: 10px; }
  .floater__ico { width: 46px; height: 46px; }
  .floater small { display: none; }
  .offer-tab { left: 12px; bottom: 16px; }
  .offer-tab a { font-size: 14px; padding: 11px 2px 11px 14px; }
  .promise__grid { grid-template-columns: repeat(2, 1fr); }
  .tabs { grid-template-columns: repeat(2, 1fr); }
  .tab { font-size: 19px; }
  .panel__body h3 { font-size: 36px; }
  .cats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .collection { padding: 28px 0 36px; }
  .catalogue__facts { gap: 24px; }
  .catalogue__sections ul { grid-template-columns: 1fr; }
  .catalogue__cta .btn { width: 100%; }
  .shop-hero__side, .cat-dl { align-items: flex-start; }
  .collection__grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .coll-card__name { font-size: 14px; }
  .why .container { padding: 36px 16px; border-radius: 0; width: 100%; }
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat__name { font-size: 14px; margin-top: 10px; }
  .toolbar__controls, .toolbar select, .toolbar input { width: 100%; }
  .bulk { padding: 32px 24px; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product__add { transform: none; left: 8px; right: 8px; bottom: 8px; padding: 9px; font-size: 13px; }
  .product h4 { font-size: 14px; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .g--tall, .g--wide { grid-row: auto; grid-column: auto; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand, .footer__news { grid-column: span 2; }
}

@media (max-width: 380px) {
  .account { display: none; }   /* very small phones: keep search, cart and menu */
  .promise__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
