/* Frith Rugs homepage
   Tokens come straight from the logo: Frith black, Rugs grey and the raspberry brushstroke.
   Everything else is warm wool neutrals so the rugs do the talking. */

@font-face {
  font-family: "Fraunces";
  src: url("/case-studies/concepts/_assets/48282a415ec22e31beaf0a06.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/case-studies/concepts/_assets/4af9c759c8059b53923b4b50.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/case-studies/concepts/_assets/8330490a01c60c196eae00b8.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallbacks keep layout steady while the web fonts load */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 104%;
  ascent-override: 94%;
  descent-override: 24%;
}
@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 101%;
  ascent-override: 94%;
  descent-override: 25%;
}

:root {
  /* From the logo */
  --ink: #231f20;        /* "Frith" */
  --stone: #818285;      /* "Rugs": large text and decoration only (3.4:1 on ivory) */
  --rasp: #be2c57;       /* the brushstroke: 5.1:1 on ivory, 5.7:1 under white text */
  /* Extended palette */
  --rasp-deep: #9c2046;
  --rasp-wash: #f6e4e9;
  --ink-soft: #3a3435;
  --muted: #645f60;      /* 5.2:1 on ivory */
  --ivory: #f6f1e8;      /* wool */
  --fleece: #fbf8f3;
  --oat: #eee6d8;
  --jute: #dacdb8;
  --line: rgba(35, 31, 32, 0.12);
  --line-strong: rgba(35, 31, 32, 0.28);
  --night: #211b1d;
  --night-2: #2c2427;
  --night-line: rgba(246, 241, 232, 0.14);
  --open: #2f7d4f;

  --serif: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --sans: "Figtree", "Figtree Fallback", Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 128px);
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 76px;
  --shadow-rug: 0 1px 1px rgba(35, 31, 32, 0.08), 0 16px 30px -12px rgba(62, 38, 26, 0.38), 0 34px 64px -34px rgba(62, 38, 26, 0.45);
  --shadow-card: 0 1px 2px rgba(35, 31, 32, 0.06), 0 12px 32px -18px rgba(62, 38, 26, 0.3);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink-soft);
  font: 400 1.0625rem/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 560; color: var(--ink); font-optical-sizing: auto; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--rasp); color: #fff; }
:focus-visible { outline: 3px solid var(--rasp); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--ink); color: var(--ivory); padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.ico--sm { width: 1em; height: 1em; }
.dim { font-family: var(--serif); font-variant-numeric: lining-nums; white-space: nowrap; }

/* ------------------------------------------------- type & shared parts */
.kicker {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font: 700 0.78rem/1.2 var(--sans);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rasp);
}
/* the logo's brushstroke, in miniature */
.kicker::before {
  content: ""; width: 30px; height: 7px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("/case-studies/concepts/_assets/71849487216acf05418b618b.svg") center / 100% 100% no-repeat;
  mask: url("/case-studies/concepts/_assets/71849487216acf05418b618b.svg") center / 100% 100% no-repeat;
}
.kicker--light { color: #f3b8c7; }

.section { padding-block: var(--section); }
.section-title {
  font-size: clamp(2.1rem, 1.25rem + 3.1vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
}
.section-title--light { color: var(--ivory); }
.section-title em { font-style: italic; font-weight: 400; }
/* The two-weight headline: bold Frith black, then the lighter "Rugs" grey, as in the logo */
.h-strong { color: var(--ink); font-weight: 600; }
.h-soft { color: var(--stone); font-style: italic; font-weight: 400; }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--split { display: grid; gap: 20px 64px; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}
.section-lede { margin: 0; max-width: 34rem; color: var(--muted); font-size: 1.08rem; }
.section-lede p:last-child { margin-bottom: 0; }
.section-lede a { color: var(--rasp); font-weight: 600; }
.fineprint { font-size: 0.86rem; color: var(--muted); margin: 0; }
.fineprint a { color: inherit; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 650; color: var(--rasp); text-decoration: none;
}
.link-arrow .ico { transition: transform 0.25s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0 1.35em;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 650 1rem/1 var(--sans); letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap; background: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn .ico { width: 1.15em; height: 1.15em; transition: transform 0.25s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--rasp); color: #fff; box-shadow: 0 10px 22px -12px rgba(190, 44, 87, 0.75); }
.btn--primary:hover { background: var(--rasp-deep); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--ivory); }
.btn--outline:hover .ico:first-child { transform: none; }
.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--text { min-height: 40px; padding: 0 0.5em; color: var(--ink); text-decoration: underline; text-underline-offset: 0.25em; }
.btn--lg { min-height: 56px; padding: 0 1.7em; font-size: 1.05rem; }
.btn--sm { min-height: 40px; padding: 0 1.05em; font-size: 0.92rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--tight { margin-top: 20px; gap: 10px; }

.stars { display: inline-flex; gap: 2px; color: var(--rasp); }
.stars svg { width: 18px; height: 18px; }
.stars--lg svg { width: 24px; height: 24px; }

.chip {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 9px 16px; border: 1.5px solid var(--line-strong); border-radius: 999px;
  font-weight: 600; font-size: 0.94rem; text-decoration: none; color: var(--ink);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.chip--strong { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chip--strong:hover { background: var(--rasp); border-color: var(--rasp); }

/* reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------- announce */
.announce { background: var(--night); color: var(--ivory); font-size: 0.875rem; }
.announce__inner { display: flex; justify-content: center; align-items: center; gap: 36px; min-height: 42px; padding-block: 8px; }
.announce__item { display: flex; align-items: center; gap: 8px; margin: 0; text-align: center; }
.announce__item .ico { color: #f3b8c7; width: 1.1em; height: 1.1em; }
.announce a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; margin-left: 4px; white-space: nowrap; }
.announce__item--secondary, .announce__item--tertiary { display: none; }
@media (min-width: 900px) { .announce__item--secondary { display: flex; } }
@media (min-width: 1180px) { .announce__item--tertiary { display: flex; } }
@media (max-width: 520px) {
  .announce { font-size: 0.8125rem; }
  .announce__item .ico { display: none; }
}

/* ----------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 232, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(35, 31, 32, 0.5); }
.site-header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: block; flex-shrink: 0; border-radius: 6px; }
.brand__logo { width: 156px; height: auto; aspect-ratio: 2170 / 732; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border: 0; background: none;
  font: 600 0.96rem/1 var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 6px;
  background: var(--rasp);
  -webkit-mask: url("/case-studies/concepts/_assets/71849487216acf05418b618b.svg") center / 100% 100% no-repeat;
  mask: url("/case-studies/concepts/_assets/71849487216acf05418b618b.svg") center / 100% 100% no-repeat;
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__link:hover::after, .nav__trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__trigger .ico { transition: transform 0.25s; }
.nav__trigger[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav__link--sale { color: var(--rasp); }
.header-tools { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px;
  background: none; color: var(--ink); text-decoration: none; transition: background-color 0.2s, color 0.2s;
}
.icon-btn:hover { background: rgba(35, 31, 32, 0.07); }
.icon-btn .ico { width: 22px; height: 22px; }
.icon-btn--round { border: 1.5px solid var(--line-strong); }
.icon-btn--round:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.header-phone {
  display: none; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.header-phone .ico { color: var(--rasp); width: 18px; height: 18px; }
.header-phone:hover { background: rgba(35, 31, 32, 0.07); }
.menu-toggle { display: none; }
@media (min-width: 1360px) { .header-phone { display: inline-flex; } }
@media (max-width: 1099px) {
  :root { --header-h: 64px; }
  .nav, .icon-btn--account { display: none; }
  .menu-toggle { display: inline-grid; margin-left: -10px; }
  .site-header__inner { gap: 8px; }
  .brand { margin-inline: auto; }
  .brand__logo { width: 128px; }
  .header-tools { margin-left: 0; }
}
@media (min-width: 1100px) and (max-width: 1240px) {
  .nav__link { padding-inline: 9px; font-size: 0.92rem; }
}

/* mega menu */
.nav__item--mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--fleece); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(35, 31, 32, 0.35);
  animation: drop 0.25s var(--ease);
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.25fr); gap: 32px; padding-block: 36px 28px; }
.mega__title { margin: 0 0 14px; font: 700 0.75rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mega__col ul { display: grid; gap: 2px; }
.mega__col a { display: block; padding: 6px 0; text-decoration: none; font-weight: 550; color: var(--ink); }
.mega__col a:hover { color: var(--rasp); }
.mega__feature {
  position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center;
  padding: 16px; border-radius: var(--radius); background: var(--night); color: var(--ivory); text-decoration: none;
}
.mega__feature img { width: 112px; height: 140px; object-fit: cover; border-radius: 4px; }
.mega__feature-text { display: grid; gap: 8px; }
.mega__feature .kicker { margin: 0; font-size: 0.68rem; }
.mega__feature .kicker::before { width: 22px; }
.mega__feature-title { font: 560 1.3rem/1.15 var(--serif); }
.mega__feature .link-arrow { color: #f3b8c7; }
.mega__foot { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-block: 16px 22px; border-top: 1px solid var(--line); }
.mega__foot a { font-weight: 650; color: var(--rasp); text-decoration: none; }
.mega__foot a:hover { text-decoration: underline; }

.swatches { display: flex; flex-wrap: wrap; gap: 18px 14px; }
.swatches a { display: grid; justify-items: center; gap: 8px; min-width: 52px; font-size: 0.85rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.swatch {
  display: block; width: 40px; height: 40px; border-radius: 50%;
  background: var(--c, #ccc);
  box-shadow: inset 0 0 0 1px rgba(35, 31, 32, 0.12), 0 0 0 0 var(--ivory), 0 0 0 0 var(--ink);
  transition: box-shadow 0.2s, transform 0.2s;
}
.swatches a:hover .swatch { box-shadow: inset 0 0 0 1px rgba(35, 31, 32, 0.12), 0 0 0 3px var(--ivory), 0 0 0 5px var(--ink); transform: translateY(-2px); }
.swatch--multi { background: conic-gradient(#a3262e, #d2692f, #c99a3f, #4f6b48, #2f4a7a, #6e4a7e, #a3262e); }
.swatch--silver { background: linear-gradient(135deg, #e9e9ea, #a9aaad 55%, #d9dadc); }
.swatches--compact { gap: 12px 10px; }
.swatches--compact a { display: flex; align-items: center; gap: 8px; min-width: 0; justify-items: start; padding: 3px 0; }
.swatches--compact .swatch { width: 20px; height: 20px; }
.mega__col--colours .swatches--compact { display: grid; grid-template-columns: 1fr 1fr; }

/* search */
.search-panel { border-top: 1px solid var(--line); background: var(--fleece); }
.search-form { display: flex; align-items: center; gap: 14px; padding-block: 18px; }
.search-form > .ico { color: var(--muted); width: 22px; height: 22px; }
.search-form input {
  flex: 1; min-width: 0; height: 52px; padding: 0 4px; border: 0; border-bottom: 2px solid var(--ink);
  background: transparent; font-family: var(--serif); font-size: clamp(1.1rem, 1rem + 0.8vw, 1.5rem); color: var(--ink);
}
.search-form input:focus { outline: none; border-bottom-color: var(--rasp); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  background: var(--ivory); overflow-y: auto; overscroll-behavior: contain;
  animation: slide-in 0.3s var(--ease);
}
@keyframes slide-in { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
.mobile-menu__head .brand__logo { width: 120px; }
.mobile-menu__search { display: flex; gap: 6px; margin: 16px var(--gutter) 4px; padding: 4px 4px 4px 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--fleece); }
.mobile-menu__search input { flex: 1; min-width: 0; border: 0; background: none; font-size: 1rem; }
.mobile-menu__search input:focus { outline: none; }
.mobile-menu__search:focus-within { border-color: var(--rasp); }
.mobile-menu__nav { padding: 8px var(--gutter) 0; }
.m-group { border-bottom: 1px solid var(--line); }
.m-group summary {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 0;
  font: 560 1.35rem/1.2 var(--serif); color: var(--ink); cursor: pointer; list-style: none;
}
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary .ico { transition: transform 0.25s; }
.m-group[open] summary .ico { transform: rotate(180deg); }
.m-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; padding-bottom: 18px; }
.m-links a { display: block; padding: 9px 0; text-decoration: none; font-weight: 550; color: var(--ink-soft); }
.m-primary { padding: 8px 0; }
.m-primary a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 560 1.35rem/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.m-primary .nav__link--sale { color: var(--rasp); }
.mobile-menu__foot { display: grid; gap: 10px; margin-top: auto; padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom)); }
.mobile-menu__hours { margin: 6px 0 0; text-align: center; font-size: 0.86rem; color: var(--muted); }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(24px, 4vw, 64px) 0 clamp(48px, 6vw, 96px); isolation: isolate; }
/* knot grid: the back of a hand-knotted rug */
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 auto; width: min(56%, 820px); z-index: -1;
  background-image: radial-gradient(circle, rgba(35, 31, 32, 0.13) 1.2px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask: radial-gradient(ellipse 70% 70% at 60% 50%, #000 30%, transparent 75%);
  mask: radial-gradient(ellipse 70% 70% at 60% 50%, #000 30%, transparent 75%);
}
.hero__grid { display: grid; gap: clamp(32px, 4vw, 64px); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); } }
.hero__title {
  margin: 0 0 0.42em;
  font-size: clamp(2.85rem, 1.15rem + 5.6vw, 5.75rem);
  line-height: 0.98; letter-spacing: -0.028em; font-weight: 600;
}
.hero__title .h-strong { display: block; }
.hero__title .h-soft { position: relative; display: inline-block; padding-bottom: 0.08em; }
.brush { color: var(--rasp); }
.brush--hero { position: absolute; left: -3%; right: -6%; bottom: -0.2em; width: 109%; height: 0.24em; }
.js .brush--hero { clip-path: inset(0 100% 0 0); animation: paint 1.1s var(--ease) 0.35s forwards; }
@keyframes paint { to { clip-path: inset(0 0 0 0); } }
.hero__lede { max-width: 33rem; margin-bottom: 30px; font-size: clamp(1.08rem, 1rem + 0.35vw, 1.24rem); line-height: 1.55; color: var(--ink-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 28px; text-decoration: none; font-size: 0.95rem; color: var(--ink-soft); }
.rating strong { color: var(--ink); font-weight: 700; }
.rating:hover .rating__text { text-decoration: underline; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.hero__ticks li { display: flex; align-items: center; gap: 8px; }
.hero__ticks .ico { color: var(--rasp); width: 20px; height: 20px; }
@media (max-width: 979px) {
  .hero__ctas .btn { flex: 1 1 0; min-width: 0; }
}
/* phones: lead with the promise and CTAs, bring the pile up before the small print */
@media (max-width: 599px) {
  .hide-sm { display: none; }
  .hero { padding-top: 20px; }
  .hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero__copy { display: contents; }
  .hero__copy > .kicker { order: 1; }
  .hero__title { order: 2; }
  .hero__lede { order: 3; margin-bottom: 22px; }
  .hero__ctas { order: 4; flex-wrap: nowrap; gap: 8px; }
  .hero__ctas .btn--lg { min-height: 52px; padding: 0 0.9em; font-size: 0.98rem; gap: 0.4em; }
  .rating { order: 5; margin-top: 18px; font-size: 0.9rem; }
  .hero__pile { order: 6; width: 100%; margin-top: 18px; }
  .hero__ticks { order: 7; margin-top: 24px; }
  .pile__stack { aspect-ratio: 1 / 1.02; }
}

/* the pile */
.hero__pile { min-width: 0; }
.pile { position: relative; max-width: 470px; margin-inline: auto; }
.pile__stack { position: relative; aspect-ratio: 1 / 1.08; touch-action: pan-y; }
.pile__card {
  --rot: -2deg; --tx: 0%; --ty: 0%;
  position: absolute; left: 50%; top: 50%; height: 88%; aspect-ratio: var(--ar, 2 / 3);
  max-width: 92%;
  transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) rotate(var(--rot));
  background: var(--oat);
  box-shadow: var(--shadow-rug);
  transition: transform 0.75s var(--ease), opacity 0.45s ease, box-shadow 0.4s;
  -webkit-user-drag: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.pile__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pile__card::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(35, 31, 32, 0.08), inset 0 -3px 6px -4px rgba(35, 31, 32, 0.35); pointer-events: none; }
.js .pile__card { z-index: 1; opacity: 0; }
.js .pile__card[data-pos="0"] { --rot: -1.5deg; --tx: 0%; --ty: 0%; z-index: 6; opacity: 1; }
.js .pile__card[data-pos="1"] { --rot: 4.5deg; --tx: 6%; --ty: 2.5%; z-index: 5; opacity: 1; }
.js .pile__card[data-pos="2"] { --rot: -6deg; --tx: -6%; --ty: 3.5%; z-index: 4; opacity: 1; }
.js .pile__card[data-pos="3"] { --rot: 1.5deg; --tx: 1%; --ty: 5%; z-index: 3; opacity: 1; }
.js .pile__card[data-pos="out"] { --rot: 17deg; --tx: 62%; --ty: -7%; z-index: 7; opacity: 0; transition: transform 0.6s var(--ease), opacity 0.45s ease 0.12s; }
.js .pile__card.is-dragging { transition: none; }
.js .pile__card[data-pos="0"]:hover { box-shadow: 0 1px 1px rgba(35, 31, 32, 0.08), 0 22px 40px -14px rgba(62, 38, 26, 0.42), 0 44px 80px -40px rgba(62, 38, 26, 0.5); }
.no-anim .pile__card { transition: none !important; }

/* swing ticket, as tied to every rug in the showroom */
.pile__ticket {
  position: absolute; top: 9%; right: -16px; z-index: 2;
  display: grid; gap: 2px; padding: 10px 14px 10px 30px; min-width: 120px;
  background: #f3e7cf; color: var(--ink);
  border-radius: 3px 8px 8px 3px;
  box-shadow: 0 6px 14px -6px rgba(62, 38, 26, 0.45);
  transform: rotate(7deg); transform-origin: 8px 50%;
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.pile__ticket::before { content: ""; position: absolute; left: 10px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--ivory); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); }
.pile__ticket::after { content: ""; position: absolute; left: -26px; top: 50%; width: 32px; height: 1.5px; background: #8b7d6b; transform: rotate(-24deg); transform-origin: right center; }
.pile__ticket b { font: 600 0.92rem/1.15 var(--serif); }
.pile__ticket span { font: 400 0.85rem/1.2 var(--serif); color: var(--muted); }
.pile__card[data-pos="0"] .pile__ticket { opacity: 1; animation: swing 1.4s var(--ease) 0.2s; }
@keyframes swing { 0% { transform: rotate(-10deg); } 35% { transform: rotate(14deg); } 65% { transform: rotate(4deg); } 100% { transform: rotate(7deg); } }

.pile__bar { display: grid; gap: 14px; margin-top: clamp(14px, 2vw, 24px); }
.pile__caption { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 14px; margin: 0; min-height: 3.2em; }
.pile__count { grid-row: span 2; font: 700 0.8rem/1 var(--sans); letter-spacing: 0.1em; color: var(--rasp); font-variant-numeric: tabular-nums; }
.pile__name { font: 600 1.28rem/1.2 var(--serif); color: var(--ink); }
.pile__spec { font-size: 0.92rem; color: var(--muted); }
.pile__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.btn--turn { min-height: 46px; border-color: var(--line-strong); background: var(--fleece); color: var(--ink); font-size: 0.95rem; }
.btn--turn:hover { border-color: var(--ink); }
.btn--turn .ico { transition: transform 0.6s var(--ease); }
.btn--turn.is-turning .ico { transform: rotate(180deg); }
.btn--turn:hover .ico:last-child { transform: none; }
.btn--turn.is-turning:hover .ico { transform: rotate(180deg); }
.no-js .pile__bar { display: none; }

/* ------------------------------------------------------------ proof */
.proof { background: var(--night); color: var(--ivory); }
.proof__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof__list li { display: grid; gap: 4px; padding: 22px 16px 22px 0; border-bottom: 1px solid var(--night-line); }
.proof__list li:last-child { grid-column: 1 / -1; border-bottom: 0; }
.proof__big { display: inline-flex; align-items: center; gap: 6px; font: 560 clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem)/1 var(--serif); letter-spacing: -0.02em; }
.proof__star { width: 0.62em; height: 0.62em; color: #e3698c; }
.proof__small { font-size: 0.9rem; color: #cdbfb0; }
@media (min-width: 900px) {
  .proof__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .proof__list li, .proof__list li:last-child { grid-column: auto; padding: 30px 24px; border-bottom: 0; border-left: 1px solid var(--night-line); }
  .proof__list li:first-child { border-left: 0; padding-left: 0; }
}

/* ----------------------------------------------------------- styles */
.style-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
@media (min-width: 760px) { .style-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; } }
.style-card { display: grid; gap: 6px; text-decoration: none; color: var(--ink); }
.style-card__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--oat); margin-bottom: 10px; }
.style-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.style-card:hover .style-card__media img { transform: scale(1.045); }
.style-card__name { position: relative; justify-self: start; font: 560 clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem)/1.15 var(--serif); padding-bottom: 6px; }
.style-card__name::after {
  content: ""; position: absolute; left: 0; right: -4px; bottom: 0; height: 6px; background: var(--rasp);
  -webkit-mask: url("/case-studies/concepts/_assets/71849487216acf05418b618b.svg") center / 100% 100% no-repeat;
  mask: url("/case-studies/concepts/_assets/71849487216acf05418b618b.svg") center / 100% 100% no-repeat;
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.style-card:hover .style-card__name::after, .style-card:focus-visible .style-card__name::after { transform: scaleX(1); }
.style-card__desc { font-size: 0.94rem; line-height: 1.45; color: var(--muted); }
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(36px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.chip-row__label { margin-right: 6px; font-weight: 700; color: var(--ink); }

/* ------------------------------------------------------------- sale */
.sale { position: relative; overflow: hidden; background: var(--rasp-deep); color: #fbe9ee; isolation: isolate; }
.sale::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1.2px, transparent 1.6px);
  background-size: 18px 18px;
}
.sale__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .sale__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; } }
.sale__copy p { max-width: 30rem; font-size: 1.08rem; color: #fbe9ee; }
.sale__copy .section-title { margin-bottom: 20px; }
.sale__copy .btn { margin-top: 12px; }
.sale .kicker--light { color: #ffd2dd; }
.sale__cards { display: grid; grid-auto-flow: column; grid-auto-columns: 62vw; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.sale__cards::-webkit-scrollbar { display: none; }
.sale__cards li { scroll-snap-align: start; }
@media (min-width: 760px) { .sale__cards { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.promo-card { display: grid; gap: 4px; color: #fff; text-decoration: none; }
.promo-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; margin-bottom: 12px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.6); transition: transform 0.5s var(--ease); }
.promo-card:hover img { transform: translateY(-4px) rotate(-0.6deg); }
.promo-card__label { font: 560 1.25rem/1.2 var(--serif); }
.promo-card__note { font-size: 0.92rem; color: #f6cbd6; }
.promo-card:hover .promo-card__label { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

/* ----------------------------------------------------------- shapes */
.shapes { background: var(--oat); }
.shape-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .shape-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.shape-card {
  display: grid; gap: 4px; padding: 20px 20px 22px; height: 100%;
  background: var(--fleece); border: 1.5px solid transparent; border-radius: var(--radius);
  text-decoration: none; color: var(--ink);
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.shape-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.shape-card__icon { width: 84px; height: 52px; margin-bottom: 14px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.shape-card__icon .inner { stroke: var(--rasp); stroke-width: 1.3; }
.shape-card__icon .fringe { stroke: var(--stone); stroke-width: 1.2; stroke-linecap: round; }
.shape-card__icon path.fringe[d^="m24"] { fill: var(--rasp); stroke: none; }
.shape-card__name { font: 560 1.2rem/1.2 var(--serif); }
.shape-card__note { font-size: 0.9rem; color: var(--muted); }

.sizer {
  display: grid; gap: 28px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(22px, 3.5vw, 48px);
  background: var(--fleece); border-radius: var(--radius-lg);
}
@media (min-width: 980px) { .sizer { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 48px; align-items: start; } }
.sizer__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; margin-bottom: 12px; }
.sizer__intro p { color: var(--muted); }
.sizer__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sizer__tabs button {
  padding: 10px 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: none;
  font-weight: 650; font-size: 0.94rem; color: var(--ink); transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.sizer__tabs button:hover { border-color: var(--ink); }
.sizer__tabs button[aria-selected="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.sizer__panel { display: grid; gap: 24px; align-items: center; }
@media (min-width: 640px) { .sizer__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.sizer__panel:focus-visible { outline-offset: 8px; }
.plan { width: 100%; height: auto; }
.plan__room { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.plan__rug { fill: rgba(190, 44, 87, 0.14); stroke: var(--rasp); stroke-width: 1.6; stroke-dasharray: 5 4; }
.plan__furn { fill: #ece4d6; stroke: var(--ink); stroke-width: 1.1; }
.plan__furn--soft { fill: #f7f2ea; }
.plan__door { fill: none; stroke: var(--stone); stroke-width: 1.4; }
.plan__dim { fill: none; stroke: var(--rasp); stroke-width: 1.4; }
.sizer__rule { margin-bottom: 8px; font: 560 1.45rem/1.15 var(--serif); color: var(--ink); }
.sizer__copy p { font-size: 0.98rem; }
.sizer__sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sizer__sizes span:first-child { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.sizer__sizes .dim { padding: 4px 12px; border-radius: 999px; background: var(--rasp-wash); color: var(--rasp-deep); font-size: 0.98rem; }

.colours { margin-top: clamp(40px, 5vw, 64px); }
.colours__title { font-size: 1.35rem; margin-bottom: 20px; }

/* ----------------------------------------------- made to measure */
.mtm__grid { display: grid; gap: clamp(48px, 6vw, 88px); align-items: center; }
@media (min-width: 980px) { .mtm__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); } }
.mtm__media { position: relative; margin: 0 0 40px; }
.mtm__main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.mtm__inset {
  position: absolute; right: -10px; bottom: -40px; width: 36%; max-width: 230px; aspect-ratio: 1;
  object-fit: cover; border: 6px solid var(--ivory); border-radius: 8px; box-shadow: var(--shadow-card);
}
.mtm__media figcaption { max-width: 60%; margin-top: 16px; font-size: 0.88rem; color: var(--muted); }
@media (min-width: 1200px) { .mtm__inset { right: -36px; } }
.mtm__copy .section-title { margin-bottom: 22px; }
.ticks { display: grid; gap: 14px; margin: 26px 0 0; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks .ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--rasp-wash); color: var(--rasp); }
.ticks span { padding-top: 8px; }
.ticks strong { color: var(--ink); }

/* ---------------------------------------------------------- enquiry */
.enquire { background: var(--oat); }
.enquire__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .enquire__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; } }
.enquire__copy .section-title { margin-bottom: 20px; }
.enquire__copy > p { max-width: 30rem; }
.contact-cards { display: grid; gap: 10px; margin-top: 28px; max-width: 26rem; }
.contact-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: var(--fleece); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 650;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.contact-card:hover { transform: translateX(3px); box-shadow: var(--shadow-card); }
.contact-card .ico { color: var(--rasp); }
.contact-card__label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.enquiry-form {
  position: relative; padding: clamp(22px, 3.5vw, 44px);
  background: var(--fleece); border-radius: var(--radius-lg); box-shadow: 0 30px 60px -40px rgba(62, 38, 26, 0.45);
}
.form-progress { height: 4px; border-radius: 4px; background: var(--oat); overflow: hidden; margin-bottom: 14px; }
.form-progress__bar { display: block; width: 50%; height: 100%; background: var(--rasp); transition: width 0.4s var(--ease); }
.form-step-label { margin: 0 0 20px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.js .form-step:not(.is-active) { display: none; }
.field { display: grid; gap: 8px; margin-bottom: 20px; min-width: 0; }
.field-row { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field__label { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.req { color: var(--rasp); }
.opt { font-weight: 500; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea, .size-inputs input, .size-inputs select {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: #fff; border: 1.5px solid var(--jute); border-radius: 10px; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select, .size-inputs select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23231f20' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--stone); }
.field input:focus, .field select:focus, .field textarea:focus, .size-inputs input:focus, .size-inputs select:focus { outline: none; border-color: var(--rasp); box-shadow: 0 0 0 3px rgba(190, 44, 87, 0.18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--rasp); background-color: #fff6f8; }
.field input[type="file"] { padding: 10px; border: 1.5px dashed var(--jute); border-radius: 10px; background: #fff; font-size: 0.92rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  border: 1.5px solid var(--jute); border-radius: 999px; background: #fff;
  font-weight: 600; font-size: 0.95rem; color: var(--ink); transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.choice input:focus-visible + span { outline: 3px solid var(--rasp); outline-offset: 2px; }
.choice-row--compact .choice span { min-height: 40px; padding: 8px 14px; font-size: 0.9rem; }
.choice-row[aria-invalid="true"] .choice span { border-color: var(--rasp); }
.size-inputs { display: grid; grid-template-columns: 1fr auto 1fr 112px; align-items: center; gap: 10px; }
.size-inputs__x { font-family: var(--serif); font-size: 1.3rem; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; font-size: 0.94rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--rasp); flex-shrink: 0; }
.form-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.form-step[data-step="1"] .form-nav { justify-content: flex-end; }
.form-nav .btn--primary { flex: 0 1 auto; }
.form-step .fineprint { margin-top: 18px; }
.form-errors { margin-bottom: 18px; padding: 14px 16px; border-radius: 10px; background: #fdecef; color: #8a1a3b; font-size: 0.94rem; font-weight: 600; }
.form-errors ul { margin-top: 6px; padding-left: 18px; list-style: disc; font-weight: 500; }
.form-errors a { color: inherit; }
.hp { position: absolute; left: -9999px; }
.enquiry-form.is-sending [data-submit] { opacity: 0.7; pointer-events: none; }
@media (max-width: 520px) {
  .size-inputs { grid-template-columns: 1fr auto 1fr; }
  .size-inputs select { grid-column: 1 / -1; }
  .form-nav { flex-direction: column-reverse; align-items: stretch; }
  .form-nav .btn { width: 100%; }
}

/* -------------------------------------------------------- showrooms */
.showrooms__tip { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); background: var(--fleece); color: var(--ink-soft); font-size: 0.98rem; }
.showrooms__tip .ico { color: var(--rasp); margin-top: 2px; }
.showroom-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .showroom-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.showroom { display: grid; overflow: hidden; background: var(--fleece); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.showroom img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.showroom__body { padding: clamp(22px, 3vw, 34px); }
.showroom__status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: var(--oat); font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.showroom__status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--stone); }
.showroom__status.is-open { background: #e3f1e8; color: #1f5a37; }
.showroom__status.is-open .dot { background: var(--open); box-shadow: 0 0 0 0 rgba(47, 125, 79, 0.5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(47, 125, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 125, 79, 0); } }
.showroom__name { font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.9rem); line-height: 1.1; }
.showroom__note { margin: 6px 0 16px; font-size: 0.92rem; color: var(--muted); }
.showroom address { margin-bottom: 16px; color: var(--ink); line-height: 1.5; }
.hours { display: grid; gap: 6px; margin: 0; padding: 14px 0; border-block: 1px solid var(--line); font-size: 0.94rem; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 700; color: var(--ink); }
.showrooms__leekes { margin: 32px auto 0; max-width: 46rem; text-align: center; color: var(--muted); }
.showrooms__leekes a { color: var(--rasp); font-weight: 650; }

/* ---------------------------------------------------------- reviews */
.reviews { background: var(--fleece); }
.reviews__grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .reviews__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: end; } }
.reviews__score .section-title { margin-bottom: 26px; }
.score { display: flex; align-items: center; gap: 22px; margin-bottom: 20px; }
.score__num { font: 560 clamp(4rem, 3rem + 4vw, 6rem)/0.9 var(--serif); color: var(--ink); letter-spacing: -0.03em; }
.score__meta { display: grid; gap: 6px; font-size: 0.95rem; color: var(--muted); }
.score__meta strong { color: var(--ink); }
.reviews__themes-title { font-size: 1.3rem; margin-bottom: 16px; }
.themes { display: grid; gap: 4px; }
.themes li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.themes li:last-child { border-bottom: 0; }
.themes .ico { color: var(--rasp); margin-top: 2px; }
.themes strong { color: var(--ink); }
.trustbox-wrap { margin-top: clamp(36px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
/* the carousel stays tucked away until Trustpilot has drawn it, so a blocked widget leaves no gap */
.js .trustbox-wrap:not(.is-ready) { height: 0; margin: 0; padding: 0; border: 0; overflow: hidden; }
.trustbox-wrap .trustpilot-widget > a { color: var(--rasp); font-weight: 650; }

/* ------------------------------------------------------------ story */
.story { position: relative; background: var(--night); color: #e9dfd2; overflow: hidden; }
.story .h-strong { color: var(--ivory); }
.story .h-soft { color: #a9a3a0; }
.story .kicker { color: #f08aa8; }
.story__grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .story__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 80px; } }
.story__copy .section-title { margin-bottom: 26px; }
.story__lede { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.28rem); color: var(--ivory); }
.story__aside { margin-top: 26px; padding-left: 18px; border-left: 3px solid var(--rasp); font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; color: #d9cdbf; }
.story__ethics { align-self: start; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--night-line); border-radius: var(--radius-lg); background: var(--night-2); }
.story__ethics h3 { margin-bottom: 18px; font-size: 1.45rem; color: var(--ivory); }
.ethics { display: grid; gap: 2px; margin-bottom: 18px; }
.ethics li { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--night-line); color: #eadfd2; }
.ethics li:last-child { border-bottom: 0; }
.ethics .ico { color: #f08aa8; margin-top: 2px; }
.story .fineprint { color: #a9a09a; }

.map { margin: clamp(48px, 6vw, 80px) 0 0; }
.map__canvas { position: relative; }
.map__dots { width: 100%; height: auto; overflow: visible; }
.map__land { stroke: #4a3f3f; stroke-width: 0.5; }
.map__src { stroke: var(--rasp); stroke-width: 0.6; }
.map__uk { stroke: var(--ivory); stroke-width: 0.6; }
.map__route { fill: none; stroke: #f3d9c4; stroke-width: 0.28; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0.85; }
.js .map__route { stroke-dashoffset: 1; }
.js .map.is-in .map__route { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease); transition-delay: calc(var(--i) * 0.18s + 0.2s); }
.map__pin { fill: #f08aa8; stroke: var(--night); stroke-width: 0.35; }
.map__pin--school { fill: #f3d9c4; }
.map__pin--home, .map__pin--home-sm { fill: var(--ivory); }
.map__pulse { fill: none; stroke: var(--ivory); stroke-width: 0.25; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.2); opacity: 0; } }
.map__label { position: absolute; display: grid; gap: 1px; font-size: 0.82rem; line-height: 1.2; color: #d9cdbf; white-space: nowrap; pointer-events: none; text-shadow: 0 0 3px var(--night), 0 0 8px var(--night), 0 0 14px var(--night); }
.map__label strong { font: 600 0.98rem/1.1 var(--serif); color: var(--ivory); }
.map__label--home { transform: translate(22px, -95%); }
.map__label--w { transform: translate(calc(-100% - 12px), -10%); text-align: right; }
.map__label--n { transform: translate(-50%, calc(-100% - 14px)); text-align: center; }
.map__label--afghanistan { transform: translate(-30%, calc(-100% - 16px)); }
.map__label--sw { transform: translate(calc(-100% - 12px), 8%); text-align: right; }
.map__label--s { transform: translate(-50%, 14px); text-align: center; }
.map__label--e { transform: translate(12px, -50%); }
.map__caption { display: flex; gap: 12px; align-items: flex-start; max-width: 52rem; margin-top: 28px; font-size: 0.92rem; color: #b9aea4; }
.map__caption .ico { color: #f08aa8; margin-top: 2px; }
@media (max-width: 760px) {
  .map__label { font-size: 0.7rem; }
  .map__label strong { font-size: 0.78rem; }
  .map__label span, .map__label--bhadohi { display: none; }
  .map__label--home { transform: translate(8px, -50%); }
  .map__label--w { transform: translate(calc(-100% - 6px), -50%); }
  .map__label--sw { transform: translate(calc(-100% - 6px), 0); }
  .map__label--n { transform: translate(-50%, calc(-100% - 6px)); }
  .map__label--s { transform: translate(-50%, 6px); }
}

/* ----------------------------------------------------------- advice */
.advice__grid { display: grid; gap: 28px 24px; }
@media (min-width: 640px) { .advice__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .advice__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .underlay-card { grid-column: 1 / -1; } }
.article-card { display: grid; align-content: start; gap: 6px; text-decoration: none; color: var(--ink); }
.article-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; margin-bottom: 12px; transition: transform 0.6s var(--ease); }
.article-card:hover img { transform: translateY(-3px); }
.article-card__kicker { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rasp); }
.article-card__title { font: 560 1.35rem/1.2 var(--serif); color: var(--ink); }
.article-card:hover .article-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.article-card__desc { font-size: 0.95rem; color: var(--muted); }
.underlay-card { display: grid; overflow: hidden; background: var(--oat); border-radius: var(--radius-lg); }
@media (min-width: 640px) { .underlay-card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; } }
.underlay-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.underlay-card__body { display: grid; gap: 8px; padding: clamp(22px, 3vw, 40px); }
.underlay-card__body p { margin: 0; color: var(--ink-soft); }
.underlay-card .btn-row { margin-top: 12px; }

/* -------------------------------------------------------------- faq */
.faq { background: var(--oat); }
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .faq__grid { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 80px; } .faq__intro { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq__intro .section-title { margin-bottom: 20px; }
.faq__intro a { color: var(--rasp); font-weight: 650; }
.faq__links { display: grid; gap: 6px; margin-top: 18px; }
.faq__links a { font-weight: 650; }
.faq__list details { border-bottom: 1px solid var(--line-strong); }
.faq__list details:first-child { border-top: 1px solid var(--line-strong); }
.faq__list summary {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font: 560 clamp(1.1rem, 1rem + 0.4vw, 1.3rem)/1.3 var(--serif); color: var(--ink);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--rasp); }
.faq__icon { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: background-color 0.2s, border-color 0.2s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -0.9px 0 0 -6px; background: currentColor; transition: transform 0.3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__list details[open] .faq__icon { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.faq__list details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 48px 22px 0; color: var(--ink-soft); }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer a { color: var(--rasp); font-weight: 650; }

/* ----------------------------------------------------------- social */
.social__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .social__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; } }
.social__signup .section-title { margin-bottom: 16px; }
.signup { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; max-width: 30rem; }
.signup input[type="email"] { flex: 1 1 220px; min-height: 52px; padding: 0 18px; border: 1.5px solid var(--jute); border-radius: 999px; background: #fff; }
.signup input[type="email"]:focus { outline: none; border-color: var(--rasp); box-shadow: 0 0 0 3px rgba(190, 44, 87, 0.18); }
.signup .btn { min-height: 52px; }
.signup__msg { flex-basis: 100%; margin: 4px 0 0; font-weight: 650; color: var(--ink); min-height: 1.5em; }
.signup__msg.is-error { color: var(--rasp); }
.social__links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.social-link { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--ink); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.social-link .ico { width: 26px; height: 26px; }
.social-link span { display: grid; font-size: 0.86rem; color: var(--muted); line-height: 1.25; }
.social-link strong { color: var(--ink); font-size: 0.98rem; }
.social-link:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.social-link:hover span, .social-link:hover strong { color: var(--ivory); }
.insta-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; border-radius: var(--radius); overflow: hidden; }
.insta-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.4s; }
.insta-grid:hover img { filter: brightness(0.78); }
.insta-grid__label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  background: rgba(246, 241, 232, 0.94); color: var(--ink); font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-card);
}
@media (max-width: 520px) { .insta-grid__label { font-size: 0.86rem; padding: 10px 14px; white-space: normal; text-align: center; width: max-content; max-width: 86%; } }

/* ----------------------------------------------------------- footer */
.site-footer { background: var(--oat); padding: clamp(56px, 7vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: 0.95rem; }
.footer__top { display: grid; gap: 40px 32px; padding-bottom: 44px; border-bottom: 1px solid var(--line-strong); }
@media (min-width: 700px) { .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer__top { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.8fr)) minmax(0, 1.1fr); } .footer__brand { grid-column: auto; } }
.footer__logo { width: 190px; height: auto; aspect-ratio: 2170 / 732; margin-bottom: 18px; }
.footer__line { margin: 0; font: 560 1.35rem/1.2 var(--serif); color: var(--ink); }
.footer__since { margin: 4px 0 20px; color: var(--muted); }
.footer__social { display: flex; gap: 10px; }
.footer__title { margin-bottom: 14px; font: 700 0.76rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.footer__nav ul { display: grid; gap: 8px; }
.footer__nav a, .footer__visit a { text-decoration: none; color: var(--ink); font-weight: 550; }
.footer__nav a:hover, .footer__visit a:hover { color: var(--rasp); text-decoration: underline; }
.footer__visit p { margin-bottom: 14px; color: var(--ink-soft); }
.footer__visit strong { color: var(--ink); }
.footer__hours { font-size: 0.9rem; color: var(--muted) !important; }
.footer__bottom { display: grid; gap: 18px; padding-top: 28px; }
@media (min-width: 1100px) { .footer__bottom { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } }
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay li { padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-soft); background: var(--fleece); }
.footer__legal { margin: 0; font-size: 0.82rem; color: var(--muted); max-width: 60rem; }
.footer__policies { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.86rem; }
.footer__policies a { color: var(--ink); }

/* -------------------------------------------------- mobile action bar */
.action-bar { display: none; }
@media (max-width: 759px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 248, 243, 0.97); border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px -20px rgba(35, 31, 32, 0.45);
    transform: translateY(110%); transition: transform 0.35s var(--ease);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-weight: 700; font-size: 0.95rem; text-decoration: none; color: var(--ink); }
  .action-bar .ico { width: 18px; height: 18px; }
  .action-bar__primary { background: var(--rasp); border-color: var(--rasp) !important; color: #fff !important; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* --------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .brush--hero { clip-path: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .map__route { stroke-dashoffset: 0; }
}

/* pile: no-JS fallback and the pause control */
html:not(.js) .pile__card:not(:first-child), html:not(.js) .pile__buttons { display: none; }
.pile__buttons { display: flex; align-items: center; gap: 8px; }
.pile__pause {
  position: relative; width: 46px; height: 46px; border: 1.5px solid var(--line-strong); border-radius: 50%;
  background: var(--fleece); color: var(--ink); transition: border-color 0.2s;
}
.pile__pause:hover { border-color: var(--ink); }
.pile__pause-icon { position: absolute; left: 50%; top: 50%; width: 12px; height: 14px; margin: -7px 0 0 -6px; border-inline: 4px solid currentColor; }
.pile__pause[aria-pressed="true"] .pile__pause-icon { width: 0; height: 0; margin: -7px 0 0 -4px; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }

/* phones: form before contact options, full-width showroom actions, tighter kickers */
@media (max-width: 979px) {
  .enquire__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .enquire__copy { display: contents; }
  .enquire__copy > .kicker { order: 1; }
  .enquire__copy > .section-title { order: 2; }
  .enquire__copy > p:not(.kicker) { order: 3; margin-bottom: 28px; }
  .enquiry-form { order: 4; }
  .contact-cards { order: 5; margin-top: 24px; max-width: none; }
}
@media (max-width: 599px) {
  .kicker { letter-spacing: 0.12em; font-size: 0.74rem; }
  .showroom .btn-row .btn { flex: 1 1 100%; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 979px) {
  .contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
