/* ==========================================================================
   AMANA GROUP — bathroom design
   Design system: italian minimalism / architectural editorial
   ========================================================================== */

@import url("fonts.css");

/* ----------------------------------------------------------------- tokens */
:root {
  --ivory:      #f7f5f1;
  --bone:       #eeebe5;
  --sand:       #e2ddd4;
  --graphite:   #1b1b19;
  --carbon:     #101010;
  --steel:      #8b8b85;
  --steel-soft: #a8a8a1;

  --line:        rgba(27, 27, 25, 0.14);
  --line-soft:   rgba(27, 27, 25, 0.08);
  --line-invert: rgba(247, 245, 241, 0.18);

  --bg:   var(--ivory);
  --fg:   var(--graphite);
  --muted: var(--steel);
  --rule: var(--line);

  --font-display: "Jost", "Futura", "Century Gothic", ui-sans-serif, sans-serif;
  --font-text:    "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --gutter:  clamp(1.25rem, 4.6vw, 5.5rem);
  --measure: 1720px;
  --section: clamp(5.5rem, 13vw, 13.5rem);
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.62, 0.05, 0.2, 1);

  --nav-h: 5.25rem;
}

@media (max-width: 720px) { :root { --nav-h: 4.25rem; } }

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: clamp(0.9375rem, 0.9rem + 0.16vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

/* Атрибут hidden должен побеждать любые наши display-правила. */
[hidden] { display: none !important; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--graphite); color: var(--ivory); }

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: 0.75rem 1.25rem; background: var(--graphite); color: var(--ivory);
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* --------------------------------------------------------------- typography */
.display,
.h1, .h2, .h3, .eyebrow, .nav a, .btn, .meta, .num {
  font-family: var(--font-display);
  font-weight: 300;
}

.display {
  font-size: clamp(2.35rem, 8.4vw, 9.5rem);
  font-weight: 200;
  line-height: 0.92;
  letter-spacing: -0.028em;
  text-transform: uppercase;
}

.h1 {
  font-size: clamp(1.95rem, 5.4vw, 5.25rem);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-transform: uppercase;
}

.h2 {
  font-size: clamp(1.65rem, 3.3vw, 3.15rem);
  font-weight: 200;
  line-height: 1.12;
  letter-spacing: -0.016em;
}

.h3 {
  font-size: clamp(1.1rem, 1.55vw, 1.5rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.008em;
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

.lede {
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.375rem);
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: -0.003em;
}

.body-copy p + p { margin-top: 1.35em; }
.muted { color: var(--muted); }
.measure { max-width: 34em; }
.measure-sm { max-width: 26em; }
.balance { text-wrap: balance; }

.num {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ layout */
.shell {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

/* Below the breakpoint the 12-column grid becomes a stack, so the explicit
   column spans used in the markup stop applying. */
@media (max-width: 900px) {
  .grid {
    display: block;
  }
  .grid > * + * { margin-top: clamp(2rem, 7vw, 3.25rem); }
}

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

.tone-bone   { background: var(--bone); }
.tone-sand   { background: var(--sand); }
.tone-carbon {
  background: var(--carbon);
  --fg: var(--ivory);
  --muted: #8f8f89;
  --rule: var(--line-invert);
  color: var(--ivory);
}

/* ------------------------------------------------------------------ header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  color: var(--fg);
  transition: background 0.7s var(--ease), color 0.5s var(--ease),
              transform 0.6s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(247,245,241,0.95) 0%,
                              rgba(247,245,241,0.75) 45%, rgba(247,245,241,0) 100%);
  opacity: 1;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
/* когда шапка получила собственный фон, подложка больше не нужна */
.header.is-solid::before { opacity: 0; }
.header[data-over="dark"] { color: var(--ivory); }
.header.is-solid {
  background: rgba(247, 245, 241, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-soft);
  color: var(--graphite);
}
.header.is-hidden { transform: translateY(-101%); }

/* Without JS the header never gets .is-solid, so give it a ground of its own. */
html:not(.js) .header {
  background: rgba(247, 245, 241, 0.9);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-soft);
}

.header__inner {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark, .brand__word {
  display: block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;  mask-position: center;
  -webkit-mask-size: contain;     mask-size: contain;
  transition: background-color 0.5s var(--ease);
}
.brand__mark {
  width: 1.6rem; aspect-ratio: 1; flex: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20140.43%20140.43%22%20fill%3D%22currentColor%22%20role%3D%22img%22%20aria-label%3D%22Amana%20Group%22%3E%20%3Cg%20transform%3D%22translate%28-341.87%20441.53%29%20scale%281%20-1%29%22%3E%20%3Cpath%20d%3D%22M349.83%20338.86%20C354.15%20330.59%20360.05%20323.29%20367.15%20317.37%20L398.43%20331.00%20Z%20M470.54%20410.21%20L456.66%20356.39%20L482.19%20367.52%20C482.26%20368.78%20482.30%20370.04%20482.30%20371.32%20C482.30%20385.71%20477.96%20399.08%20470.54%20410.21%20M403.52%20330.18%20L369.63%20315.40%20C381.42%20306.43%20396.13%20301.10%20412.08%20301.10%20C422.46%20301.10%20432.30%20303.37%20441.16%20307.41%20L445.29%20323.43%20Z%20M453.42%20354.98%20L468.43%20413.21%20C455.63%20430.40%20435.16%20441.53%20412.08%20441.53%20C373.30%20441.53%20341.87%20410.10%20341.87%20371.32%20C341.87%20360.82%20344.19%20350.87%20348.32%20341.93%20L403.16%20333.06%20Z%20M452.54%20351.55%20L408.25%20332.24%20L445.99%20326.14%20Z%20M448.75%20325.69%20L463.32%20323.34%20C473.60%20334.31%20480.40%20348.57%20481.95%20364.38%20L455.78%20352.96%20Z%20M444.45%20309.02%20C450.52%20312.17%20456.06%20316.19%20460.92%20320.90%20L448.05%20322.98%20Z%22%2F%3E%20%3C%2Fg%3E%20%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20140.43%20140.43%22%20fill%3D%22currentColor%22%20role%3D%22img%22%20aria-label%3D%22Amana%20Group%22%3E%20%3Cg%20transform%3D%22translate%28-341.87%20441.53%29%20scale%281%20-1%29%22%3E%20%3Cpath%20d%3D%22M349.83%20338.86%20C354.15%20330.59%20360.05%20323.29%20367.15%20317.37%20L398.43%20331.00%20Z%20M470.54%20410.21%20L456.66%20356.39%20L482.19%20367.52%20C482.26%20368.78%20482.30%20370.04%20482.30%20371.32%20C482.30%20385.71%20477.96%20399.08%20470.54%20410.21%20M403.52%20330.18%20L369.63%20315.40%20C381.42%20306.43%20396.13%20301.10%20412.08%20301.10%20C422.46%20301.10%20432.30%20303.37%20441.16%20307.41%20L445.29%20323.43%20Z%20M453.42%20354.98%20L468.43%20413.21%20C455.63%20430.40%20435.16%20441.53%20412.08%20441.53%20C373.30%20441.53%20341.87%20410.10%20341.87%20371.32%20C341.87%20360.82%20344.19%20350.87%20348.32%20341.93%20L403.16%20333.06%20Z%20M452.54%20351.55%20L408.25%20332.24%20L445.99%20326.14%20Z%20M448.75%20325.69%20L463.32%20323.34%20C473.60%20334.31%20480.40%20348.57%20481.95%20364.38%20L455.78%20352.96%20Z%20M444.45%20309.02%20C450.52%20312.17%20456.06%20316.19%20460.92%20320.90%20L448.05%20322.98%20Z%22%2F%3E%20%3C%2Fg%3E%20%3C%2Fsvg%3E");
}
.brand__word {
  width: 8.1rem; aspect-ratio: 201.66 / 15.98;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20201.66%2015.98%22%20fill%3D%22currentColor%22%20role%3D%22img%22%20aria-label%3D%22Amana%20Group%22%3E%20%3Cg%20transform%3D%22translate%28-311.54%20274.03%29%20scale%281%20-1%29%22%3E%20%3Cpath%20d%3D%22M316.03%20264.89%20L322.07%20264.89%20L319.06%20271.96%20Z%20M311.54%20258.32%20L318.22%20273.75%20L319.91%20273.75%20L326.54%20258.32%20L324.86%20258.32%20L322.66%20263.49%20L315.43%20263.49%20L313.22%20258.32%20Z%22%2F%3E%20%3Cpath%20d%3D%22M332.47%20258.32%20L332.47%20273.75%20L334.86%20273.75%20L340.52%20260.63%20L346.21%20273.75%20L348.58%20273.75%20L348.58%20258.32%20L347.03%20258.32%20L347.03%20272.02%20L341.17%20258.32%20L339.88%20258.32%20L334.02%20272.02%20L334.02%20258.32%20Z%22%2F%3E%20%3Cpath%20d%3D%22M358.98%20264.89%20L365.02%20264.89%20L362.01%20271.96%20Z%20M354.49%20258.32%20L361.17%20273.75%20L362.86%20273.75%20L369.49%20258.32%20L367.81%20258.32%20L365.61%20263.49%20L358.38%20263.49%20L356.17%20258.32%20Z%22%2F%3E%20%3Cpath%20d%3D%22M375.42%20258.32%20L375.42%20273.75%20L377.50%20273.75%20L386.23%20260.95%20L386.23%20273.75%20L387.77%20273.75%20L387.77%20258.32%20L386.23%20258.32%20L376.97%20271.88%20L376.97%20258.32%20Z%22%2F%3E%20%3Cpath%20d%3D%22M398.20%20264.89%20L404.23%20264.89%20L401.23%20271.96%20Z%20M393.71%20258.32%20L400.38%20273.75%20L402.07%20273.75%20L408.70%20258.32%20L407.03%20258.32%20L404.83%20263.49%20L397.60%20263.49%20L395.39%20258.32%20Z%22%2F%3E%20%3Cpath%20d%3D%22M428.99%20265.43%20L439.46%20265.43%20C439.24%20263.23%20438.38%20261.46%20436.89%20260.10%20C435.39%20258.75%20433.55%20258.06%20431.37%20258.05%20C428.82%20258.05%20426.79%20258.84%20425.28%20260.44%20C423.76%20262.03%20423.01%20263.91%20423.02%20266.10%20C423.02%20268.30%20423.79%20270.17%20425.33%20271.71%20C426.87%20273.25%20428.88%20274.03%20431.37%20274.03%20C433.00%20274.03%20434.44%20273.65%20435.70%20272.90%20C436.96%20272.15%20437.90%20271.07%20438.54%20269.67%20L436.71%20269.67%20C436.17%20270.64%20435.42%20271.38%20434.48%20271.88%20C433.53%20272.38%20432.50%20272.63%20431.37%20272.63%20C429.35%20272.63%20427.72%20271.99%20426.46%20270.72%20C425.20%20269.45%20424.57%20267.90%20424.57%20266.08%20C424.57%20264.38%20425.20%20262.85%20426.47%20261.49%20C427.73%20260.13%20429.39%20259.44%20431.43%20259.44%20C432.79%20259.43%20434.06%20259.83%20435.22%20260.64%20C436.38%20261.46%20437.18%20262.59%20437.61%20264.03%20L428.99%20264.03%20Z%22%2F%3E%20%3Cpath%20d%3D%22M446.03%20258.32%20L446.03%20273.75%20L450.35%20273.75%20C452.41%20273.74%20453.94%20273.28%20454.95%20272.38%20C455.96%20271.47%20456.47%20270.25%20456.48%20268.71%20C456.48%20267.44%20456.06%20266.37%20455.22%20265.51%20C454.38%20264.63%20453.29%20264.16%20451.94%20264.08%20L456.28%20258.32%20L454.37%20258.32%20L449.13%20265.31%20L450.35%20265.31%20C451.89%20265.31%20453.04%20265.62%20453.79%20266.25%20C454.54%20266.87%20454.93%20267.74%20454.94%20268.85%20C454.94%20269.94%20454.55%20270.79%20453.77%20271.41%20C452.99%20272.03%20451.85%20272.34%20450.35%20272.36%20L447.58%20272.36%20L447.58%20258.32%20Z%22%2F%3E%20%3Cpath%20d%3D%22M470.40%20259.44%20C472.27%20259.44%20473.85%20260.07%20475.11%20261.33%20C476.38%20262.59%20477.01%20264.19%20477.01%20266.12%20C477.01%20268.01%20476.38%20269.57%20475.11%20270.79%20C473.85%20272.02%20472.27%20272.63%20470.40%20272.63%20C468.49%20272.63%20466.91%20272.00%20465.64%20270.74%20C464.38%20269.48%20463.74%20267.90%20463.74%20265.99%20C463.74%20264.08%20464.38%20262.50%20465.65%20261.28%20C466.92%20260.06%20468.51%20259.44%20470.40%20259.44%20M470.38%20274.03%20C472.68%20274.03%20474.62%20273.27%20476.20%20271.77%20C477.77%20270.27%20478.55%20268.39%20478.55%20266.12%20C478.55%20263.81%20477.76%20261.89%20476.19%20260.35%20C474.61%20258.82%20472.67%20258.05%20470.38%20258.05%20C468.07%20258.05%20466.13%20258.80%20464.56%20260.30%20C462.99%20261.80%20462.20%20263.70%20462.20%20265.99%20C462.20%20268.29%20462.99%20270.20%20464.56%20271.73%20C466.13%20273.26%20468.07%20274.03%20470.38%20274.03%22%2F%3E%20%3Cpath%20d%3D%22M485.19%20273.75%20L486.73%20273.75%20L486.73%20264.37%20C486.72%20262.66%20487.04%20261.41%20487.71%20260.62%20C488.38%20259.84%20489.30%20259.44%20490.49%20259.44%20C491.65%20259.43%20492.57%20259.82%20493.23%20260.61%20C493.89%20261.40%20494.23%20262.66%20494.24%20264.37%20L494.24%20273.75%20L495.78%20273.75%20L495.78%20264.37%20C495.77%20262.21%20495.29%20260.62%20494.34%20259.59%20C493.40%20258.56%20492.11%20258.05%20490.49%20258.05%20C488.84%20258.06%20487.55%20258.58%20486.59%20259.60%20C485.64%20260.62%20485.17%20262.21%20485.19%20264.37%20Z%22%2F%3E%20%3Cpath%20d%3D%22M504.55%20272.36%20L504.55%20265.91%20L507.90%20265.91%20C509.06%20265.91%20509.97%20266.19%20510.65%20266.76%20C511.32%20267.32%20511.66%20268.11%20511.66%20269.12%20C511.66%20270.14%20511.32%20270.93%20510.65%20271.50%20C509.97%20272.07%20509.06%20272.36%20507.90%20272.36%20Z%20M503.00%20258.32%20L503.00%20273.75%20L507.88%20273.75%20C509.52%20273.74%20510.82%20273.34%20511.77%20272.56%20C512.73%20271.77%20513.20%20270.63%20513.20%20269.12%20C513.20%20267.68%20512.72%20266.55%20511.76%20265.73%20C510.80%20264.92%20509.51%20264.51%20507.88%20264.51%20L504.55%20264.51%20L504.55%20258.32%20Z%22%2F%3E%20%3C%2Fg%3E%20%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20201.66%2015.98%22%20fill%3D%22currentColor%22%20role%3D%22img%22%20aria-label%3D%22Amana%20Group%22%3E%20%3Cg%20transform%3D%22translate%28-311.54%20274.03%29%20scale%281%20-1%29%22%3E%20%3Cpath%20d%3D%22M316.03%20264.89%20L322.07%20264.89%20L319.06%20271.96%20Z%20M311.54%20258.32%20L318.22%20273.75%20L319.91%20273.75%20L326.54%20258.32%20L324.86%20258.32%20L322.66%20263.49%20L315.43%20263.49%20L313.22%20258.32%20Z%22%2F%3E%20%3Cpath%20d%3D%22M332.47%20258.32%20L332.47%20273.75%20L334.86%20273.75%20L340.52%20260.63%20L346.21%20273.75%20L348.58%20273.75%20L348.58%20258.32%20L347.03%20258.32%20L347.03%20272.02%20L341.17%20258.32%20L339.88%20258.32%20L334.02%20272.02%20L334.02%20258.32%20Z%22%2F%3E%20%3Cpath%20d%3D%22M358.98%20264.89%20L365.02%20264.89%20L362.01%20271.96%20Z%20M354.49%20258.32%20L361.17%20273.75%20L362.86%20273.75%20L369.49%20258.32%20L367.81%20258.32%20L365.61%20263.49%20L358.38%20263.49%20L356.17%20258.32%20Z%22%2F%3E%20%3Cpath%20d%3D%22M375.42%20258.32%20L375.42%20273.75%20L377.50%20273.75%20L386.23%20260.95%20L386.23%20273.75%20L387.77%20273.75%20L387.77%20258.32%20L386.23%20258.32%20L376.97%20271.88%20L376.97%20258.32%20Z%22%2F%3E%20%3Cpath%20d%3D%22M398.20%20264.89%20L404.23%20264.89%20L401.23%20271.96%20Z%20M393.71%20258.32%20L400.38%20273.75%20L402.07%20273.75%20L408.70%20258.32%20L407.03%20258.32%20L404.83%20263.49%20L397.60%20263.49%20L395.39%20258.32%20Z%22%2F%3E%20%3Cpath%20d%3D%22M428.99%20265.43%20L439.46%20265.43%20C439.24%20263.23%20438.38%20261.46%20436.89%20260.10%20C435.39%20258.75%20433.55%20258.06%20431.37%20258.05%20C428.82%20258.05%20426.79%20258.84%20425.28%20260.44%20C423.76%20262.03%20423.01%20263.91%20423.02%20266.10%20C423.02%20268.30%20423.79%20270.17%20425.33%20271.71%20C426.87%20273.25%20428.88%20274.03%20431.37%20274.03%20C433.00%20274.03%20434.44%20273.65%20435.70%20272.90%20C436.96%20272.15%20437.90%20271.07%20438.54%20269.67%20L436.71%20269.67%20C436.17%20270.64%20435.42%20271.38%20434.48%20271.88%20C433.53%20272.38%20432.50%20272.63%20431.37%20272.63%20C429.35%20272.63%20427.72%20271.99%20426.46%20270.72%20C425.20%20269.45%20424.57%20267.90%20424.57%20266.08%20C424.57%20264.38%20425.20%20262.85%20426.47%20261.49%20C427.73%20260.13%20429.39%20259.44%20431.43%20259.44%20C432.79%20259.43%20434.06%20259.83%20435.22%20260.64%20C436.38%20261.46%20437.18%20262.59%20437.61%20264.03%20L428.99%20264.03%20Z%22%2F%3E%20%3Cpath%20d%3D%22M446.03%20258.32%20L446.03%20273.75%20L450.35%20273.75%20C452.41%20273.74%20453.94%20273.28%20454.95%20272.38%20C455.96%20271.47%20456.47%20270.25%20456.48%20268.71%20C456.48%20267.44%20456.06%20266.37%20455.22%20265.51%20C454.38%20264.63%20453.29%20264.16%20451.94%20264.08%20L456.28%20258.32%20L454.37%20258.32%20L449.13%20265.31%20L450.35%20265.31%20C451.89%20265.31%20453.04%20265.62%20453.79%20266.25%20C454.54%20266.87%20454.93%20267.74%20454.94%20268.85%20C454.94%20269.94%20454.55%20270.79%20453.77%20271.41%20C452.99%20272.03%20451.85%20272.34%20450.35%20272.36%20L447.58%20272.36%20L447.58%20258.32%20Z%22%2F%3E%20%3Cpath%20d%3D%22M470.40%20259.44%20C472.27%20259.44%20473.85%20260.07%20475.11%20261.33%20C476.38%20262.59%20477.01%20264.19%20477.01%20266.12%20C477.01%20268.01%20476.38%20269.57%20475.11%20270.79%20C473.85%20272.02%20472.27%20272.63%20470.40%20272.63%20C468.49%20272.63%20466.91%20272.00%20465.64%20270.74%20C464.38%20269.48%20463.74%20267.90%20463.74%20265.99%20C463.74%20264.08%20464.38%20262.50%20465.65%20261.28%20C466.92%20260.06%20468.51%20259.44%20470.40%20259.44%20M470.38%20274.03%20C472.68%20274.03%20474.62%20273.27%20476.20%20271.77%20C477.77%20270.27%20478.55%20268.39%20478.55%20266.12%20C478.55%20263.81%20477.76%20261.89%20476.19%20260.35%20C474.61%20258.82%20472.67%20258.05%20470.38%20258.05%20C468.07%20258.05%20466.13%20258.80%20464.56%20260.30%20C462.99%20261.80%20462.20%20263.70%20462.20%20265.99%20C462.20%20268.29%20462.99%20270.20%20464.56%20271.73%20C466.13%20273.26%20468.07%20274.03%20470.38%20274.03%22%2F%3E%20%3Cpath%20d%3D%22M485.19%20273.75%20L486.73%20273.75%20L486.73%20264.37%20C486.72%20262.66%20487.04%20261.41%20487.71%20260.62%20C488.38%20259.84%20489.30%20259.44%20490.49%20259.44%20C491.65%20259.43%20492.57%20259.82%20493.23%20260.61%20C493.89%20261.40%20494.23%20262.66%20494.24%20264.37%20L494.24%20273.75%20L495.78%20273.75%20L495.78%20264.37%20C495.77%20262.21%20495.29%20260.62%20494.34%20259.59%20C493.40%20258.56%20492.11%20258.05%20490.49%20258.05%20C488.84%20258.06%20487.55%20258.58%20486.59%20259.60%20C485.64%20260.62%20485.17%20262.21%20485.19%20264.37%20Z%22%2F%3E%20%3Cpath%20d%3D%22M504.55%20272.36%20L504.55%20265.91%20L507.90%20265.91%20C509.06%20265.91%20509.97%20266.19%20510.65%20266.76%20C511.32%20267.32%20511.66%20268.11%20511.66%20269.12%20C511.66%20270.14%20511.32%20270.93%20510.65%20271.50%20C509.97%20272.07%20509.06%20272.36%20507.90%20272.36%20Z%20M503.00%20258.32%20L503.00%20273.75%20L507.88%20273.75%20C509.52%20273.74%20510.82%20273.34%20511.77%20272.56%20C512.73%20271.77%20513.20%20270.63%20513.20%20269.12%20C513.20%20267.68%20512.72%20266.55%20511.76%20265.73%20C510.80%20264.92%20509.51%20264.51%20507.88%20264.51%20L504.55%20264.51%20L504.55%20258.32%20Z%22%2F%3E%20%3C%2Fg%3E%20%3C%2Fsvg%3E");
}

.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.6rem); }
.nav a {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  padding-block: 0.35rem;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { opacity: 1; }

.header__actions { display: flex; align-items: center; gap: 1.5rem; }

.burger {
  display: none;
  width: 2rem; height: 2rem;
  align-items: center; justify-content: center;
  position: relative;
}
.burger span {
  position: absolute; left: 0.15rem; right: 0.15rem; height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
}
.burger span:nth-child(1) { transform: translateY(-4px); }
.burger span:nth-child(2) { transform: translateY(4px); }
.is-menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
.is-menu-open .burger span:nth-child(2) { transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .nav--main { display: none; }
  .burger { display: flex; }
}

/* ------------------------------------------------------------------- menu */
.menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--ivory);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 3rem;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s var(--ease);
  overflow-y: auto;
  visibility: hidden;
}
.is-menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__list { display: flex; flex-direction: column; gap: 0.15em; }
.menu__list a {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(2rem, 9vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  display: block;
  opacity: 0; transform: translateY(0.6em);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.is-menu-open .menu__list a { opacity: 1; transform: none; }
.menu__foot {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem;
  padding-top: 2.5rem; border-top: 1px solid var(--line);
  font-size: 0.75rem; color: var(--muted);
}

/* ------------------------------------------------------------------ button */
.btn {
  display: inline-flex; align-items: center; gap: 0.85rem;
  font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 1.05rem 0 0.95rem;
  border-bottom: 1px solid currentColor;
  position: relative; overflow: hidden;
  transition: gap 0.6s var(--ease), opacity 0.4s var(--ease);
}
.btn .arrow { width: 1.4rem; height: 1px; background: currentColor; position: relative; flex: none; }
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover { gap: 1.5rem; }
.btn--solid {
  border: 1px solid currentColor;
  padding: 1.05rem clamp(1.1rem, 4vw, 1.75rem);
}
.btn--solid::before {
  content: ""; position: absolute; inset: 0; background: currentColor;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.7s var(--ease);
  z-index: -1;
}
.btn--solid { z-index: 0; isolation: isolate; }
.btn--solid:hover::before { transform: scaleY(1); }
.btn--solid:hover { color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }

/* ------------------------------------------------------------------ media */
.media {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.4s var(--ease);
}
.media--r43  { aspect-ratio: 4 / 3; }
.media--r45  { aspect-ratio: 4 / 5; }
.media--r11  { aspect-ratio: 1 / 1; }
.media--r169 { aspect-ratio: 16 / 9; }
.media--r32  { aspect-ratio: 3 / 2; }
.media--r23  { aspect-ratio: 2 / 3; }
.media--r219 { aspect-ratio: 21 / 9; }

a:hover .media img,
.zoom:hover .media img { transform: scale(1.035); }

.media__caption {
  margin-top: 1.1rem;
  display: flex; justify-content: space-between; gap: 1.5rem;
  font-size: 0.75rem; color: var(--muted);
}

/* ------------------------------------------------------------------ reveal */
[data-reveal] { will-change: opacity, transform; }

.js [data-reveal="up"] {
  opacity: 0; transform: translateY(1.75rem);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.js [data-reveal="up"].is-in { opacity: 1; transform: none; }

.js [data-reveal="fade"] { opacity: 0; transition: opacity 1.4s var(--ease); }
.js [data-reveal="fade"].is-in { opacity: 1; }

.js [data-reveal="mask"] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.5s var(--ease);
}
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="mask"] img { transform: scale(1.12); transition: transform 2.2s var(--ease); }
.js [data-reveal="mask"].is-in img { transform: scale(1); }

.js .line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}
.js .line-mask > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.15s var(--ease);
}
.js .is-in .line-mask > span,
.js .line-mask.is-in > span { transform: none; }

[data-stagger] > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal] img { transform: none !important; }
  .js .line-mask > span { transform: none !important; }
  .media img, a:hover .media img { transition: none; transform: none !important; }
}

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Светлая подложка под текстом: графитовый набор на пёстром снимке иначе не
   читается. Держим её ровно такой, чтобы текст брал свои 4.5:1 — снимок в
   герое главный, и заливать его молоком незачем. */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(247,245,241,0.88) 0%, rgba(247,245,241,0.44) 22%,
                    rgba(247,245,241,0) 48%),
    linear-gradient(to right, rgba(247,245,241,0.74) 0%, rgba(247,245,241,0.26) 30%,
                    rgba(247,245,241,0) 58%);
}
/* На узком экране кадр обрезается по центру — там дерево и жалюзи, текст на
   них теряется. Поэтому снизу подложка плотнее: читаемость важнее вида. */
@media (max-width: 720px) {
  /* и кадрируем ближе к острову: в центре снимка жалюзи, а зелёный мрамор
     и светлый пол — то, ради чего снимок выбран */
  .hero__media img { object-position: 18% 58%; }
  .hero__media::after {
    background:
      linear-gradient(to top, rgba(247,245,241,0.96) 0%, rgba(247,245,241,0.86) 32%,
                      rgba(247,245,241,0.3) 62%, rgba(247,245,241,0) 84%);
  }
}

/* надзаголовок в герое идёт графитом, а не приглушённым: на снимке
   стального оттенка не видно — 1.6:1 против 8:1 у графита */
.hero .eyebrow { color: var(--fg); }
.hero__inner {
  width: 100%;
  padding-top: clamp(3rem, 9vh, 7rem);
  padding-bottom: clamp(5.5rem, 13vh, 9.5rem);
}
.hero__title { max-width: 16ch; }
.hero__sub { margin-top: clamp(1.15rem, 2.4vh, 2.1rem); max-width: 30em; }
.hero__actions { margin-top: clamp(1.75rem, 3.6vh, 3.25rem); }
.hero__meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 var(--gutter) 1.6rem;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.hero--dark { color: var(--ivory); --muted: rgba(247,245,241,0.7); }

.scroll-hint { display: flex; align-items: center; gap: 0.75rem; }
.scroll-hint i {
  display: block; width: 1px; height: 2.75rem; background: currentColor;
  opacity: 0.4; transform-origin: top;
  animation: hint 2.8s var(--ease-io) infinite;
}
@keyframes hint { 0%,100% { transform: scaleY(0.25); opacity: 0.2; } 45% { transform: scaleY(1); opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .scroll-hint i { animation: none; } }

/* --------------------------------------------------------------- statement */
.statement { text-align: left; }
.statement__text {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(1.75rem, 4.4vw, 4.1rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
  max-width: 19ch;
}
.statement__text em { font-style: normal; color: var(--muted); }

/* -------------------------------------------------------------- section head */
.sec-head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 1.5rem 3rem;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.sec-head__title { display: flex; align-items: baseline; gap: 1.25rem; }

/* ------------------------------------------------------------- collections */
.editorial { display: grid; gap: clamp(3.5rem, 9vw, 9rem); }

.feature { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2.2vw, 2.25rem); align-items: center; }
.feature__media { grid-column: 1 / span 7; }
.feature__body  { grid-column: 9 / span 4; }
.feature--flip .feature__media { grid-column: 6 / span 7; grid-row: 1; }
.feature--flip .feature__body  { grid-column: 1 / span 4; grid-row: 1; }
.feature__body > * + * { margin-top: 1.35rem; }
.feature__index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6875rem; letter-spacing: 0.2em; color: var(--muted);
}

.duo { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2.2vw, 2.25rem); align-items: end; }
.duo__a { grid-column: 1 / span 5; }
.duo__b { grid-column: 7 / span 6; padding-bottom: clamp(2rem, 7vw, 7rem); }

.bleed { width: 100%; }
.bleed .media { aspect-ratio: 21 / 9; }

@media (max-width: 900px) {
  .feature, .duo { display: block; }
  .feature__body { margin-top: 2rem; }
  .duo__b { margin-top: 2.5rem; padding-bottom: 0; }
  .bleed .media { aspect-ratio: 3 / 2; }
}

/* ------------------------------------------------------------------- cards */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 3vw, 3.25rem) clamp(1rem, 2.2vw, 2.25rem); }
.tile { grid-column: span 4; }
.tile--wide { grid-column: span 6; }
.tile--half { grid-column: span 6; }
.tile__body { padding-top: 1.15rem; display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; }
.tile__meta { font-size: 0.75rem; color: var(--muted); text-align: right; white-space: nowrap; }

@media (max-width: 900px) {
  .tile, .tile--wide, .tile--half { grid-column: span 6; }
}
@media (max-width: 600px) {
  .tile, .tile--wide, .tile--half { grid-column: span 12; }
}

/* ------------------------------------------------------------------ specs */
.specs { border-top: 1px solid var(--rule); }
.spec {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding-block: clamp(1.5rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.spec__num { font-family: var(--font-display); font-size: 0.6875rem; letter-spacing: 0.18em; color: var(--muted); padding-top: 0.45rem; }
.spec__title { font-family: var(--font-display); font-size: clamp(1rem, 1.5vw, 1.35rem); font-weight: 300; letter-spacing: -0.005em; }
.spec__text { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 760px) {
  .spec { grid-template-columns: 3rem minmax(0, 1fr); }
  .spec__text { grid-column: 2; }
}

.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
.figure__value {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(2.5rem, 5.2vw, 4.75rem); line-height: 1; letter-spacing: -0.03em;
}
.figure__value sup { font-size: 0.32em; vertical-align: super; letter-spacing: 0.05em; }
.figure__label { margin-top: 0.9rem; font-size: 0.8125rem; color: var(--muted); max-width: 22ch; }

/* --------------------------------------------------------------- finishes */
.finishes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.finish__swatch { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.finish__swatch--flat {
  background: var(--c, var(--sand));
  box-shadow: inset 0 0 0 1px rgba(27, 27, 25, 0.12);
}
.finish__swatch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.finish:hover .finish__swatch img { transform: scale(1.04); }
.finish__name { margin-top: 0.9rem; font-family: var(--font-display); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; }
.finish__code { font-size: 0.75rem; color: var(--muted); }
@media (max-width: 760px) { .finishes { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- catalog */
.catalog { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.filters { position: sticky; top: calc(var(--nav-h) + 2rem); display: grid; gap: 2.5rem; }
.filter__title { font-family: var(--font-display); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.filter__list { display: grid; gap: 0.15rem; padding-top: 0.9rem; }
.filter__btn {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.5rem 0; font-size: 0.875rem; color: var(--muted);
  text-align: left; width: 100%;
  transition: color 0.4s var(--ease);
}
.filter__btn:hover { color: var(--fg); }
.filter__btn[aria-pressed="true"] { color: var(--fg); }
.filter__btn[aria-pressed="true"]::before { content: ""; }
.filter__count { font-size: 0.6875rem; font-variant-numeric: tabular-nums; opacity: 0.65; }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 3rem) clamp(1rem, 2vw, 2rem); }
.product-card { display: block; }
.product-card .media { background: var(--bone); aspect-ratio: 4 / 5; }
.product-card__body { padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.product-card__name { font-family: var(--font-display); font-size: 1rem; font-weight: 300; }
.product-card__code { font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.product-card__cat { font-size: 0.75rem; color: var(--muted); }
.product-card.is-hidden { display: none; }

.catalog__bar {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1.5rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
  font-size: 0.75rem; color: var(--muted);
}
.filters__toggle { display: none; }

@media (max-width: 1000px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters__toggle {
    display: flex; justify-content: space-between; width: 100%;
    padding-bottom: 1rem; border-bottom: 1px solid var(--rule);
    font-family: var(--font-display); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase;
  }
  .filters__groups { display: none; gap: 2rem; }
  .filters.is-open .filters__groups { display: grid; }
}
@media (max-width: 560px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }

/* ---------------------------------------------------------------- projects */
.project-row {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.2vw, 2.25rem);
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid var(--rule);
  align-items: center;
}
.project-row__index { grid-column: span 1; }
.project-row__name { grid-column: span 4; }
.project-row__loc { grid-column: span 3; color: var(--muted); font-size: 0.875rem; }
.project-row__studio { grid-column: span 3; color: var(--muted); font-size: 0.875rem; }
.project-row__year { grid-column: span 1; text-align: right; color: var(--muted); font-size: 0.875rem; }
@media (max-width: 860px) {
  .project-row { grid-template-columns: 2.5rem 1fr auto; row-gap: 0.35rem; }
  .project-row__index { grid-column: 1; grid-row: 1; }
  .project-row__name { grid-column: 2; grid-row: 1; }
  .project-row__year { grid-column: 3; grid-row: 1; }
  .project-row__loc { grid-column: 2 / span 2; grid-row: 2; }
  .project-row__studio { grid-column: 2 / span 2; grid-row: 3; }
}

/* ----------------------------------------------------- horizontal galleries */
/* On phones a row of cards becomes a snap-scrolling gallery. */
@media (max-width: 700px) {
  .scroll-x {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 74vw;
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    scrollbar-width: none;
  }
  .scroll-x::-webkit-scrollbar { display: none; }
  .scroll-x > * {
    scroll-snap-align: start;
    grid-column: auto !important;
    padding-top: 0 !important;
  }
}

/* ------------------------------------------------------------------- form */
.form { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.field { display: grid; gap: 0.5rem; position: relative; }
.field label {
  font-family: var(--font-display); font-size: 0.6875rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.field input, .field textarea, .field select {
  background: none; border: 0; border-bottom: 1px solid var(--rule);
  padding: 0.75rem 0; font-size: 1rem; font-weight: 300;
  transition: border-color 0.5s var(--ease);
  border-radius: 0;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-bottom-color: var(--fg);
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.25rem); }
@media (max-width: 700px) { .form__row { grid-template-columns: 1fr; } }
.form__note { font-size: 0.75rem; color: var(--muted); max-width: 40em; }
.form__status {
  font-size: 0.8125rem; color: var(--muted);
  border-left: 1px solid var(--rule); padding-left: 1rem;
  display: none;
}
.form__status.is-shown { display: block; }

/* На служебных страницах (корзина, КП) крупный логотип в подвале — лишний
   повтор шапки, оставляем только ссылки. */
.utility .footer__brand { display: none; }
.utility .footer__top { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .utility .footer__top { grid-template-columns: repeat(2, 1fr); } }

/* ----------------------------------------------------------------- footer */
.footer { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: 2.5rem; }
.footer__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(2rem, 3vw, 2.25rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.footer__brand { grid-column: span 4; }
.footer__col { grid-column: span 2; }
.footer__col h4 { font-family: var(--font-display); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 1.25rem; }
.footer__col li + li { margin-top: 0.55rem; }
.footer__col a { font-size: 0.875rem; position: relative; }
.footer__col a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.footer__col a:hover::after { transform: scaleX(1); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  padding-top: 2rem; border-top: 1px solid var(--rule);
  font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 900px) {
  .footer__brand { grid-column: span 12; margin-bottom: 1.5rem; }
  .footer__col { grid-column: span 6; }
}

/* --------------------------------------------------------------- utilities */
.stack > * + * { margin-top: var(--stack, 1.5rem); }
.pull-r { justify-self: end; }
.hide-sm { display: initial; }
@media (max-width: 720px) { .hide-sm { display: none; } }

/* ------------------------------------------------------------ transitions */
/* The veil opens from a CSS animation, so a failed script can never leave the
   page covered. JS only re-closes it when leaving for another page. */
.veil {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ivory);
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
}
.js .veil { animation: veil-open 0.85s var(--ease) both; }
.js.is-leaving .veil {
  animation: none;
  transform: scaleY(1);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease-io);
}
@keyframes veil-open { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .veil { display: none; } }

/* -------------------------------------------------------------- page head */
.page-head {
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 9vw, 8rem));
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}
.page-head__title { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.page-head__lede { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.page-head--split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.2vw, 2.25rem);
  align-items: end;
}
.page-head--split > :first-child { grid-column: 1 / span 7; }
.page-head--split > :last-child  { grid-column: 9 / span 4; }
@media (max-width: 900px) {
  .page-head--split { display: block; }
  .page-head--split > :last-child { margin-top: 2rem; }
}

.crumbs {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
  font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.crumbs a { transition: color 0.4s var(--ease); }
.crumbs a:hover { color: var(--fg); }

/* ------------------------------------------------------------------- prose */
.prose { max-width: 36em; }
.prose > * + * { margin-top: 1.5em; }
.prose h3 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -0.01em;
  margin-top: 2.25em;
}
.prose blockquote {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(1.35rem, 2.6vw, 2.15rem); line-height: 1.24; letter-spacing: -0.018em;
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  border-left: 1px solid var(--rule);
  margin-block: 2em;
}
.prose figure { margin-block: 2.5em; }
.prose figcaption { margin-top: 0.9rem; font-size: 0.75rem; color: var(--muted); }
.prose a[href] { border-bottom: 1px solid var(--rule); }
.prose a[href]:hover { border-bottom-color: currentColor; }

/* ------------------------------------------------------------------ tables */
.table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.table th, .table td {
  text-align: left; padding: 1rem 1.25rem 1rem 0;
  border-bottom: 1px solid var(--rule); vertical-align: top;
}
.table th {
  font-family: var(--font-display); font-weight: 400; font-size: 0.6875rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); width: 42%;
}
.table td { font-weight: 300; }

/* ------------------------------------------------------------ product page */
.pdp {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start;
}
.pdp__gallery { grid-column: 1 / span 7; display: grid; gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.pdp__gallery .media { background: var(--bone); }
.pdp__aside { grid-column: 9 / span 4; position: sticky; top: calc(var(--nav-h) + 2.5rem); }
.pdp__aside > * + * { margin-top: 1.5rem; }
@media (max-width: 940px) {
  .pdp { display: block; }
  .pdp__aside { position: static; margin-top: 2.5rem; }
  .pdp__gallery { margin-top: 0; }
}

.swatches { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.swatch {
  width: 2.6rem; height: 2.6rem; padding: 3px;
  border: 1px solid transparent; outline-offset: 3px;
  transition: border-color 0.4s var(--ease);
}
.swatch img { width: 100%; height: 100%; object-fit: cover; }
.swatch__chip {
  display: block; width: 100%; height: 100%;
  background: var(--c, #ccc);
  box-shadow: inset 0 0 0 1px rgba(27, 27, 25, 0.16);
}
.swatch[aria-pressed="true"] { border-color: var(--fg); }

/* длинные названия поставщика в карточке — максимум две строки */
.product-card__name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.25; font-size: 0.9375rem;
}
.product-card__body { align-items: flex-start; }
.product-card__code { white-space: nowrap; padding-top: 0.1rem; }

.downloads { border-top: 1px solid var(--rule); }
.downloads a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--rule); font-size: 0.875rem;
}
.downloads a span:last-child {
  font-size: 0.6875rem; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase;
  transition: color 0.4s var(--ease);
}
.downloads a:hover span:last-child { color: var(--fg); }

/* ---------------------------------------------------------------- gallery */
.gallery {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.2vw, 2.25rem);
}
.gallery > * { grid-column: span 6; }
.gallery > .g-wide { grid-column: span 12; }
.gallery > .g-third { grid-column: span 4; }
.gallery > .g-offset { grid-column: 2 / span 5; }
@media (max-width: 800px) {
  .gallery > * { grid-column: span 12 !important; }
}

/* ------------------------------------------------------------------ pager */
.pager {
  display: flex; justify-content: space-between; gap: 2rem;
  padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule);
}
.pager__label {
  display: block; font-size: 0.6875rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem;
}
.pager__title {
  font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 300;
}

/* ------------------------------------------------------------------- info */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.info-grid dt { font-family: var(--font-display); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.info-grid dd { margin: 0.7rem 0 0; font-size: 0.9375rem; line-height: 1.6; }

/* Бренды-поставщики: список внешних ссылок */
.brands { display: grid; gap: 0.35rem; justify-items: start; }
.brands a {
  position: relative;
  padding-right: 0.9rem;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.4s var(--ease);
}
.brands a::after {
  content: "↗";
  position: absolute; right: 0; top: -0.1em;
  font-size: 0.7em; color: var(--muted);
  transition: color 0.4s var(--ease);
}
.brands a:hover { border-bottom-color: currentColor; }
.brands a:hover::after { color: var(--fg); }

/* ============================================================== магазин ==== */

/* -------------------------------------------------------- ссылка «корзина» */
.cart-link {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-size: 0.6875rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  position: relative; padding-block: 0.35rem;
}
.cart-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.cart-link:hover::after { transform: scaleX(1); }
.cart-count {
  min-width: 1.35rem; height: 1.35rem; padding-inline: 0.3rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid currentColor; border-radius: 999px;
  font-size: 0.625rem; letter-spacing: 0.04em; font-variant-numeric: tabular-nums;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.cart-count.is-empty { opacity: 0; transform: scale(0.6); }
@media (max-width: 720px) { .cart-link__label { display: none; } .cart-count.is-empty { display: none; } }

/* ---------------------------------------------------------- карточка товара */
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card__shot { display: block; }
.product-card__shot .media { background: var(--bone); aspect-ratio: 4 / 5; }
.product-card__body {
  padding-top: 1rem; display: flex; justify-content: space-between;
  gap: 1rem; align-items: baseline;
}
.product-card__name { font-family: var(--font-display); font-size: 1rem; font-weight: 300; }
.product-card__code { font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.product-card__cat { font-size: 0.75rem; color: var(--muted); margin-top: 0.15rem; }
.product-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: auto; padding-top: 0.9rem;
}
.product-card__price {
  font-family: var(--font-display); font-size: 0.9375rem;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.product-card.is-hidden { display: none; }

/* ------------------------------------------------------------- цвета (точки) */
.dots { display: flex; gap: 0.35rem; }
.dot {
  width: 0.95rem; height: 0.95rem; padding: 0; border-radius: 999px;
  background: var(--c, #ccc);
  box-shadow: inset 0 0 0 1px rgba(27, 27, 25, 0.18);
  outline-offset: 3px;
  position: relative;
  transition: transform 0.4s var(--ease);
}
.dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 999px;
  border: 1px solid currentColor; opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.dot[aria-pressed="true"]::after { opacity: 0.7; }
.dot:hover { transform: scale(1.12); }

/* --------------------------------------------------------- кнопка «в корзину» */
/* Кнопка — действие, а не подпись: полный контраст и площадь под палец. */
.add {
  margin-top: auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 2.75rem;
  padding: 0.8rem 0.9rem;
  margin-block-start: 1.1rem;
  border: 1px solid var(--rule);
  font-family: var(--font-display); font-size: 0.6875rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg);
  position: relative; isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.add::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fg);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.5s var(--ease);
}
.add:hover { color: var(--bg); border-color: var(--fg); }
.add:hover::before { transform: scaleY(1); }
.add__plus { font-size: 0.9rem; line-height: 1; transition: transform 0.5s var(--ease); }
.add:hover .add__plus { transform: rotate(90deg); }
.add.is-added { color: var(--bg); border-color: var(--fg); }
.add.is-added::before { transform: scaleY(1); }
.add.is-added .add__plus { transform: rotate(45deg); }

/* ------------------------------------------------------------ счётчик кол-ва */
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--rule);
}
.qty button {
  width: 2.4rem; height: 2.6rem; font-size: 1rem; line-height: 1;
  color: var(--muted); transition: color 0.3s var(--ease);
}
.qty button:hover { color: var(--fg); }
.qty input {
  width: 2.6rem; height: 2.6rem; text-align: center; border: 0; background: none;
  font-variant-numeric: tabular-nums; font-size: 0.9375rem;
  border-inline: 1px solid var(--rule);
}
.qty input:focus { outline: none; background: var(--bone); }

.buy { display: flex; gap: 1rem; align-items: stretch; flex-wrap: wrap; }
.buy .btn--solid { flex: 1 1 12rem; justify-content: space-between; }

/* названия поставщика длинные — в карточке товара свой, более спокойный кегль */
.pdp__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.pdp__price {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ корзина */
.empty { padding-block: clamp(2rem, 8vw, 6rem); }

.lines { border-top: 1px solid var(--rule); }
.lines__head {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) 8rem 7rem 7rem 2.5rem;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  padding-block: 1rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display); font-size: 0.6875rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.lines__head span:nth-child(1) { grid-column: 1 / span 2; }
.lines__head span:nth-child(2) { text-align: center; }
.lines__head span:nth-child(3),
.lines__head span:nth-child(4) { text-align: right; }

.line {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) 8rem 7rem 7rem 2.5rem;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  align-items: center;
  padding-block: clamp(1rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--rule);
}
.line__shot { background: var(--bone); aspect-ratio: 4 / 5; overflow: hidden; }
.line__shot img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 300; }
.line__meta { font-size: 0.8125rem; color: var(--muted); margin-top: 0.2rem; }
.line__sku { font-size: 0.6875rem; color: var(--muted); letter-spacing: 0.12em; margin-top: 0.35rem; }
.line__price { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.line__sum { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: 1.0625rem; }
.line__x { color: var(--muted); font-size: 1.1rem; line-height: 1; justify-self: end; transition: color 0.3s var(--ease); }
.line__x:hover { color: var(--fg); }
.line .qty { justify-self: center; }

@media (max-width: 900px) {
  .lines__head { display: none; }
  .line {
    grid-template-columns: 4.5rem minmax(0, 1fr) 2rem;
    row-gap: 0.85rem;
  }
  .line__shot { grid-row: span 2; }
  .line__info { grid-column: 2; }
  .line__x { grid-column: 3; grid-row: 1; align-self: start; }
  .line .qty { grid-column: 2; justify-self: start; }
  .line__price { display: none; }
  .line__sum { grid-column: 3; grid-row: 2; text-align: right; white-space: nowrap; }
}

.cart-foot {
  display: grid; grid-template-columns: 1fr 22rem;
  gap: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.cart-foot__left { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.sums { border-top: 1px solid var(--fg); padding-top: 1.25rem; }
.sums__row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-block: 0.5rem; font-size: 0.9375rem; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.sums__row--total {
  color: var(--fg); border-top: 1px solid var(--rule); margin-top: 0.5rem;
  padding-top: 1rem; font-family: var(--font-display); font-size: 1.35rem;
}
@media (max-width: 860px) { .cart-foot { grid-template-columns: 1fr; } }

/* ------------------------------------------------- коммерческое предложение */
.offer {
  background: #fff;
  color: #15150f;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border: 1px solid var(--rule);
  max-width: 60rem;
  margin-inline: auto;
}
.offer__head {
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(21, 21, 15, 0.16);
}
.offer__mark { width: 3.1rem; background-color: #15150f; }
.offer__word { width: 10rem; margin-top: 1.05rem; background-color: #15150f; }
.offer__brandline {
  margin-top: 1.05rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.7;
  max-width: 22em;
  color: #56564e;
}
.offer__meta { text-align: right; }
.offer__title {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.05;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.offer__num {
  margin-top: 0.9rem; font-family: var(--font-display); letter-spacing: 0.1em;
}
.offer__date, .offer__till { font-size: 0.8125rem; color: #56564e; }

.offer__client {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2.5rem;
  padding-block: 2rem;
}
.offer__client label { display: grid; gap: 0.35rem; }
.offer__client span {
  font-family: var(--font-display); font-size: 0.625rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: #56564e;
}
.offer__client input {
  border: 0; border-bottom: 1px solid rgba(21, 21, 15, 0.22);
  background: none; padding: 0.4rem 0; font-size: 0.9375rem; border-radius: 0;
}
.offer__client input:focus { outline: none; border-bottom-color: #15150f; }
@media (max-width: 700px) { .offer__client { grid-template-columns: 1fr; } }

.offer__table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.offer__table th {
  text-align: left; font-family: var(--font-display); font-weight: 400;
  font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: #56564e;
  padding: 0.75rem 0.6rem 0.75rem 0; border-bottom: 1px solid rgba(21, 21, 15, 0.3);
}
.offer__table td {
  padding: 0.85rem 0.6rem 0.85rem 0; vertical-align: top;
  border-bottom: 1px solid rgba(21, 21, 15, 0.12);
}
.offer__table td:first-child, .offer__table th:first-child { width: 2.2rem; color: #56564e; }
.offer__table td:nth-child(2), .offer__table th:nth-child(2) { width: 3.4rem; padding-right: 0.9rem; }
.offer__shot {
  width: 3.2rem; height: 4rem; object-fit: cover;
  background: #f4f2ee; display: block;
}
.offer__warn {
  margin-top: 0.6rem !important;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(21, 21, 15, 0.35);
  color: #15150f;
}
.offer__cat { font-size: 0.75rem; color: #56564e; }
.num-cell { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.offer__totals {
  display: flex; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap;
  padding-top: 1.75rem;
}
.offer__note { font-size: 0.75rem; color: #56564e; max-width: 28em; }
.offer__note p + p { margin-top: 0.35rem; }
.offer__sums { min-width: 16rem; margin: 0; }
.offer__sums > div {
  display: flex; justify-content: space-between; gap: 2rem;
  padding-block: 0.35rem; font-size: 0.875rem; color: #56564e;
  font-variant-numeric: tabular-nums;
}
.offer__sums dt, .offer__sums dd { margin: 0; }
.offer__grand {
  color: #15150f; border-top: 1px solid rgba(21, 21, 15, 0.3);
  margin-top: 0.5rem; padding-top: 0.85rem !important;
  font-family: var(--font-display); font-size: 1.25rem !important;
}
.offer__foot {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(21, 21, 15, 0.16);
  font-size: 0.8125rem; color: #56564e;
}
.offer__foot-title {
  font-family: var(--font-display); font-size: 0.625rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: #15150f; margin-bottom: 0.6rem;
}
.offer__sign { border-bottom: 1px solid rgba(21, 21, 15, 0.3); height: 2.2rem; }
@media (max-width: 700px) { .offer__foot { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ печать */
@media print {
  .header, .menu, .footer, .veil, .no-print, .burger, .scroll-hint { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  .section, .page-head { padding: 0 !important; }
  .shell { max-width: none; padding: 0 !important; }
  .offer {
    border: 0; padding: 0; max-width: none;
    page-break-inside: auto;
  }
  .offer__table { font-size: 10pt; }
  .offer__table tr { page-break-inside: avoid; }
  .offer__client input { border-bottom: 1px solid #999; }
  .offer__totals, .offer__foot { page-break-inside: avoid; }
  a[href]::after { content: none !important; }
  @page { margin: 14mm 12mm; }
}

/* --------------------------------------------------------------------- карта */
/* Виджет карты грузится с внешнего сервиса. Пока он не отрисовался — и если
   не отрисуется вовсе — под ним лежит адресная карточка с той же ссылкой. */
.map {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 20rem;
  background: var(--bone);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.map__fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.map__frame {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  border: 0; display: block;
}
.map__links {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.25rem;
  padding-top: 1.25rem;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.map__links a { border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.map__links a:hover { color: var(--fg); border-bottom-color: currentColor; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ------------------------------------------------- манифест: список выгод */
.claims { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); counter-reset: claim; }
.claims li { display: grid; gap: 0.5rem; }
.claims h3 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem); letter-spacing: -0.005em;
  display: flex; align-items: baseline; gap: 0.9rem;
}
.claims h3::before {
  counter-increment: claim; content: counter(claim, decimal-leading-zero);
  font-size: 0.6875rem; letter-spacing: 0.18em; color: var(--muted);
}
.claims p { color: var(--muted); font-size: 0.9375rem; padding-left: 2.05rem; }

/* --------------------------------------------------- два крупных перехода */
.routes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
}
.route { display: block; }
.route__body { padding-top: clamp(1.25rem, 2vw, 1.75rem); display: grid; gap: 1rem; }
.route__index {
  font-family: var(--font-display); font-size: 0.6875rem;
  letter-spacing: 0.2em; color: var(--muted);
}
.route__body .btn { justify-self: start; }
@media (max-width: 1000px) { .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .routes { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------ коллекции плитки */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3.25rem) clamp(1rem, 2.2vw, 2.25rem);
}
.tile-card__body { padding-top: 1.1rem; }
.tile-card__name {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: -0.005em;
  display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap;
}
.tile-card__latin {
  font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.tile-card { display: flex; flex-direction: column; }
.tile-card__body { flex: 1 1 auto; display: flex; flex-direction: column; }
/* прижимает строку эффектов к низу карточки — линии выравниваются по ряду */
.tile-card__note { margin-top: 0.6rem; margin-bottom: auto; font-size: 0.875rem; color: var(--muted); }
.tile-card__arts {
  margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
  font-size: 0.75rem; color: var(--muted); line-height: 1.65;
}
@media (max-width: 900px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tile-grid { grid-template-columns: minmax(0, 1fr); } }

/* линейки Italon: Full Design Project, Contract, X2 */
.tile-lines > * + * { margin-top: clamp(3.5rem, 8vw, 7rem); }
.tile-line__head {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0.75rem clamp(1.25rem, 3vw, 2.5rem);
  padding-bottom: 1.1rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid var(--rule);
}
.tile-line__name {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -0.01em;
}
.tile-line__note { flex: 1 1 24ch; max-width: 62ch; font-size: 0.875rem; color: var(--muted); }
.tile-line__count {
  font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.tile-grid--compact { grid-template-columns: repeat(4, 1fr); }
.tile-grid--compact .tile-card__name { font-size: clamp(1rem, 1.3vw, 1.125rem); }
.tile-grid--compact .tile-card__note { font-size: 0.8125rem; }
.tile-grid--compact .tile-card__arts { font-size: 0.6875rem; }
@media (max-width: 1100px) { .tile-grid--compact { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .tile-grid--compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .tile-grid--compact { grid-template-columns: minmax(0, 1fr); } }

.table--tech th { width: 34%; }
.table--tech td { font-variant-numeric: tabular-nums; }
.tech__norm { color: var(--muted); font-size: 0.8125rem; }
@media (max-width: 640px) {
  .table--tech th, .table--tech td { display: block; width: auto; }
  .table--tech th { border-bottom: 0; padding-bottom: 0.2rem; }
  .table--tech td:first-of-type { padding-top: 0; }
}

/* ------------------------------------------------------- эффекты и форматы */
.chips, .formats { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips li, .formats li { display: inline-flex; }
.chip__count { font-size: 0.625rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------- страница коллекции плитки */
.coll {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start;
}
.coll .media { grid-column: 1 / span 7; background: var(--bone); }
.coll__facts { grid-column: 9 / span 4; position: sticky; top: calc(var(--nav-h) + 2.5rem); }
.coll__facts .table th { width: 52%; }
@media (max-width: 940px) {
  .coll { display: block; }
  .coll__facts { position: static; margin-top: 2.5rem; }
}

/* прайс коллекции: по таблице на формат */
.art-groups > * + * { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.art-group__head {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0.5rem clamp(1rem, 2.5vw, 2rem);
  padding-bottom: 0.9rem; border-bottom: 1px solid var(--fg);
}
.art-group__fmt {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}
.art-group__finish { font-size: 0.8125rem; color: var(--muted); flex: 1 1 12ch; }
.art-group__min {
  font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.table-scroll { overflow-x: auto; }
.table--art { font-size: 0.875rem; }
.table--art th { width: auto; padding-top: 1.1rem; }
.table--art td { padding-block: 0.9rem; vertical-align: middle; }
.art__name b { font-weight: 400; display: block; }
.art__latin { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 0.15rem; }
.art__code { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 0.8125rem; }
.art__per { color: var(--muted); font-size: 0.75rem; }
.art__box { font-weight: 400; }
.art__buy { text-align: right; white-space: nowrap; }
.art__buy-row { display: inline-flex; align-items: center; gap: 0.6rem; }
.qty--sm button { width: 1.9rem; height: 2.1rem; }
.qty--sm input { width: 2.1rem; height: 2.1rem; font-size: 0.8125rem; }
.add--sm {
  width: auto; margin: 0; padding: 0.55rem 0.95rem; min-height: 2.1rem;
  justify-content: center; white-space: nowrap;
}
@media (max-width: 720px) {
  .table--art thead { display: none; }
  .table--art tr { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; padding-block: 0.9rem; border-bottom: 1px solid var(--rule); }
  .table--art td { border: 0; padding: 0; }
  .art__name { grid-column: 1 / -1; }
  .art__code { grid-column: 1; text-align: left; }
  .art__buy { grid-column: 1 / -1; text-align: left; margin-top: 0.5rem; }
  .table--art .num-cell { text-align: left; }
}

/* цена в карточке коллекции */
.tile-card__link { display: block; color: inherit; }
.tile-card__price {
  margin-top: 0.5rem; font-family: var(--font-display);
  font-size: 0.9375rem; font-variant-numeric: tabular-nums;
}
.tile-card__price span { color: var(--muted); font-size: 0.8125rem; }
.tile-card__price--ask {
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.line__rate { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 0.15rem; }
.offer__area { font-size: 0.6875rem; color: #56564e; }
.figure__unit { font-size: 0.3em; letter-spacing: 0.02em; margin-left: 0.35em; }

/* ------------------------------------------- фильтр коллекций керамогранита */
.chip {
  display: inline-flex; align-items: baseline; gap: 0.55rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--rule);
  font-family: var(--font-display); font-size: 0.75rem;
  letter-spacing: 0.06em; color: var(--fg);
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease),
              color 0.35s var(--ease);
}
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chip[aria-pressed="true"] .chip__count { color: inherit; opacity: 0.6; }
.chips .chip__name { white-space: nowrap; }
.formats .chip { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

.filter-bar {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.55rem 1.25rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.filter-bar__count { color: var(--fg); font-variant-numeric: tabular-nums; }
.filter-bar__reset { color: var(--muted); border-bottom: 1px solid var(--rule); }
.filter-bar__reset:hover { color: var(--fg); border-color: var(--fg); }

/* ------------------------------------------------------ указатель коллекций */
.index-list { margin-top: 1.25rem; border-top: 1px solid var(--rule); }
.index-row {
  display: grid; grid-template-columns: 1fr auto auto;
  align-items: baseline; gap: 0.35rem 1.25rem;
  padding: 1.05rem 0; border-bottom: 1px solid var(--rule);
  color: var(--fg);
}
.index-row:hover .index-row__name { text-decoration: underline; text-underline-offset: 0.25em; }
.index-row__name { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 300; }
.index-row__meta {
  grid-column: 1; grid-row: 2;
  font-size: 0.75rem; color: var(--muted);
}
.index-row__price {
  font-size: 0.8125rem; font-variant-numeric: tabular-nums;
  color: var(--muted); white-space: nowrap;
}
.index-row .arrow { align-self: center; }
@media (max-width: 560px) {
  .index-row { grid-template-columns: 1fr auto; }
  .index-row .arrow { display: none; }
}

/* чип с выкраской — фильтр по отделке */
.chip--swatch { gap: 0.5rem; }
.chip__dot {
  width: 0.6rem; height: 0.6rem; border-radius: 50%;
  background: var(--c, var(--sand));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
  flex: 0 0 auto; align-self: center;
}
.chip[aria-pressed="true"] .chip__dot { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }

/* витрина сантехники внутри блока линеек */
.products--grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.75rem, 3.5vw, 3.25rem) clamp(1rem, 2.2vw, 2.25rem); }
@media (max-width: 1100px) { .products--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .products--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px)  { .products--grid { grid-template-columns: minmax(0, 1fr); } }
.tile-line__note a { border-bottom: 1px solid var(--rule); }
.tile-line__note a:hover { border-color: var(--fg); color: var(--fg); }
.dots--static { margin-top: 0.75rem; flex-wrap: wrap; gap: 0.3rem; }
.dot--static { display: inline-block; width: 0.7rem; height: 0.7rem; }

/* выбор цвета текстом — у керамогранита нет выкрасок под каждый артикул */
.swatches--text {
  display: flex; flex-wrap: nowrap; gap: 0.3rem; margin-top: 0.6rem;
  /* ряд в одну строку с прокруткой: без min-width:0 он распирает колонку */
  min-width: 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.15rem;
}
.swatches--text::-webkit-scrollbar { display: none; }
.swatches--text .swatch-text { flex: 0 0 auto; }
/* один ритм текста под кадром: имя в две строки, строка описания
   и ряд отделок занимают одинаковое место у всех трёх брендов */
.swatches--dots { display: flex; align-items: center; margin-top: 0.6rem; }
.product-card .swatches { min-height: 2.05rem; }
.product-card__body { min-height: 3.6rem; align-items: flex-start; }
/* на узком экране длинный артикул KK POL переносится на вторую строку —
   резервируем её всем, чтобы карточки остались одной высоты */
@media (max-width: 620px) { .product-card__body { min-height: 4.65rem; } }
.product-card__cat {
  min-height: 2.55rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
/* длинное имя не должно уводить карточку из общего ряда */
.product-card__name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.swatch-text {
  padding: 0.28rem 0.5rem; border: 1px solid var(--rule);
  font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              background-color 0.3s var(--ease);
}
.swatch-text:hover { color: var(--fg); border-color: var(--fg); }
.swatch-text[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.product-card__rate {
  font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums;
  /* материал или цена за метр — вспомогательная подпись, в одну строку */
  min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.product-card__foot .product-card__price { flex: 0 0 auto; }

/* пустая витрина бренда — пока нет прайса */
.brand-empty {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3.5rem); align-items: center;
}
.brand-empty .media { background: var(--bone); }
@media (max-width: 760px) { .brand-empty { grid-template-columns: 1fr; } }
.product-card--tile .product-card__name { font-size: 0.9375rem; }
/* карточка без кадра: фото поставщика ещё не скачано */
.media__pending {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 0.6875rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}

/* кадр-заглушка WHITECROSS: выкраска отделки, пока нет фото поставщика */
/* в кадре лежат оба слоя — снимок и выкраска; лишний прячет [hidden] */
.media > [hidden] { display: none !important; }
.media__swatch {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.9rem; text-align: center; padding: 1rem;
}
.media__swatch i {
  width: clamp(3.5rem, 28%, 6rem); aspect-ratio: 1; border-radius: 50%;
  background: var(--c, var(--sand));
  box-shadow: inset 0 0 0 1px rgba(27, 27, 25, 0.16);
}
.media__swatch b {
  font-family: var(--font-display); font-weight: 300;
  font-size: 0.875rem; color: var(--fg);
}
.media__swatch u {
  text-decoration: none; font-size: 0.625rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}

/* ------------------------------------------------------------------ поиск */
.search-btn {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: inherit; white-space: nowrap;
}
.search-btn__icon {
  width: 0.9rem; height: 0.9rem; flex: none;
  border: 1px solid currentColor; border-radius: 50%;
  position: relative;
}
.search-btn__icon::after {
  content: ""; position: absolute; right: -0.28rem; bottom: -0.2rem;
  width: 0.42rem; height: 1px; background: currentColor;
  transform: rotate(45deg); transform-origin: left center;
}
.search-btn:hover { opacity: 0.6; }

.search {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(27, 27, 25, 0.28);
  backdrop-filter: blur(3px);
  display: flex; justify-content: center;
  padding: clamp(1rem, 8vh, 7rem) var(--gutter) 2rem;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.is-search-open .search { opacity: 1; }
.search__sheet {
  width: min(46rem, 100%);
  max-height: 100%;
  background: var(--ivory);
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  transform: translateY(-0.75rem);
  transition: transform 0.5s var(--ease);
}
.is-search-open .search__sheet { transform: none; }
.search__bar {
  display: flex; align-items: center; gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.6rem) clamp(1.1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line-soft);
}
.search__input {
  flex: 1; min-width: 0;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1rem, 2.4vw, 1.375rem);
  color: var(--fg); background: none; border: 0; outline: none;
}
.search__input::placeholder { color: var(--steel-soft); }
.search__input::-webkit-search-cancel-button { display: none; }
.search__close {
  font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--rule);
  padding: 0.35rem 0.6rem; flex: none;
}
.search__close:hover { color: var(--fg); }
.search__hint {
  padding: 0.9rem clamp(1.1rem, 3vw, 2rem);
  font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.search__list { overflow-y: auto; border-top: 1px solid var(--line-soft); }
.search__hit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 1.5rem;
  padding: 0.9rem clamp(1.1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s var(--ease);
}
.search__hit:hover, .search__hit.is-active { background: var(--bone); }
.search__name {
  grid-column: 1; font-size: 0.9375rem; line-height: 1.35; color: var(--fg);
}
.search__meta, .search__sku {
  grid-column: 1;
  font-size: 0.6875rem; letter-spacing: 0.1em; color: var(--muted);
}
.search__sku { font-variant-numeric: tabular-nums; }
.search__price {
  grid-column: 2; grid-row: 1 / span 3; align-self: center;
  font-size: 0.875rem; color: var(--fg); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .search-btn__label { display: none; }
  .search__price { grid-column: 1; grid-row: auto; }
}

/* ------------------------------------------------- акция на главной */
/* Тихая полоса под героем: тон кости, волосяные линии и ни одного
   восклицательного знака. Скидка — единственное, что набрано крупно. */
.promo {
  background: var(--bone);
  border-block: 1px solid var(--line-soft);
}
.promo__inner {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0.75rem clamp(1.25rem, 3vw, 2.75rem);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}
.promo__when { flex: none; color: var(--muted); }
.promo__line {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0.5rem 0.75rem; margin-right: auto;
}
.promo__brand {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.promo__offer {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.promo__text { font-size: 0.9375rem; color: var(--muted); }
.promo__note {
  flex: none; font-size: 0.6875rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.promo__cta { flex: none; }
@media (max-width: 720px) {
  .promo__inner { align-items: flex-start; }
  .promo__line { width: 100%; margin-right: 0; }
  .promo__cta { margin-top: 0.25rem; }
}

/* Пульс акции: «тук-тук» и пауза, цикл 1,5 с — пульс спокойного сердца,
   около 40 ударов. Точка задаёт такт, скидка отвечает вдохом на 3.5%. */
@keyframes amana-beat {
  0%, 42%, 100% { transform: scale(1); }
  8%            { transform: scale(1.035); }
  18%           { transform: scale(1); }
  26%           { transform: scale(1.022); }
  36%           { transform: scale(1); }
}
@keyframes amana-ping {
  0%, 44%, 100% { box-shadow: 0 0 0 0 rgba(27, 27, 25, 0); }
  8%            { box-shadow: 0 0 0 0 rgba(27, 27, 25, 0.3); }
  40%           { box-shadow: 0 0 0 0.6rem rgba(27, 27, 25, 0); }
}
.promo__when { display: inline-flex; align-items: center; gap: 0.6rem; }
.promo__pulse {
  width: 0.4rem; aspect-ratio: 1; border-radius: 50%; flex: none;
  background: var(--fg); position: relative;
  animation: amana-beat 1.5s var(--ease) infinite;
}
.promo__pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  animation: amana-ping 1.5s var(--ease) infinite;
}
.promo__offer { display: inline-block; transform-origin: left center; }
.promo__offer[data-beat] { animation: amana-beat 1.5s var(--ease) infinite; }
/* Кому движение мешает — тому статика: сердце не должно биться против воли */
@media (prefers-reduced-motion: reduce) {
  .promo__pulse, .promo__pulse::after, .promo__offer[data-beat] { animation: none; }
}
