/* ============================================================
   Premiera preview site — design system & layout
   Single stylesheet, organized in sections. Sections in this order:
     1. Tokens (colors, type, spacing, radii)
     2. Reset & base
     3. Typography
     4. Layout primitives (container, grid)
     5. Nav & header
     6. Footer
     7. Page placeholder styles (skeleton blocks for stub pages)
     8. Utilities
   ============================================================ */

/* 1. Tokens ----------------------------------------------- */
:root {
  /* Brand — teal primary + bronze CTA. */
  --color-brand: #00656B;
  --color-brand-deep: #003F43;
  --color-cta: #a87c4f;
  --color-cta-hover: #8d6539;

  /* Neutral scale, warm leaning */
  --color-bg: #faf8f4;
  --color-surface: #ffffff;
  --color-ink: #1a1a1a;
  --color-muted: #6b6660;
  --color-line: #e6e2d8;
  --color-line-strong: #cfc8b9;

  /* Typography */
  --font-serif: "Cormorant Garamond", "Source Serif Pro", Georgia, serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "Courier New", monospace;

  --fs-1: 14px;
  --fs-2: 16px;
  --fs-3: 18px;
  --fs-4: 22px;
  --fs-5: 28px;
  --fs-6: 36px;
  --fs-7: 48px;
  --fs-display: clamp(48px, 7vw, 88px);

  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.7;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 96px;
  --sp-9: 128px;

  /* Radii & elevation */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 12px;

  /* Layout */
  --container-max: 1440px;
  --container-pad: clamp(20px, 4vw, 56px);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur-fast: 150ms;
  --dur-med: 280ms;
}

/* 2. Reset & base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-2);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--color-cta); }
button { font: inherit; cursor: pointer; }

/* 3. Typography ------------------------------------------- */
.h-display, .h-1, .h-2, .h-3 { font-family: var(--font-serif); font-weight: 400; line-height: var(--lh-tight); margin: 0; }
.h-display { font-size: var(--fs-display); letter-spacing: -0.01em; }
.h-1 { font-size: var(--fs-7); }
.h-2 { font-size: var(--fs-6); }
.h-3 { font-size: var(--fs-5); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.lede { font-size: var(--fs-3); line-height: var(--lh-relaxed); color: var(--color-muted); max-width: 60ch; }

/* 4. Layout primitives ------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.section { padding-top: var(--sp-8); padding-bottom: var(--sp-8); }
.section--tight { padding-top: var(--sp-6); padding-bottom: var(--sp-6); }

/* 5. Nav & header ----------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--color-line);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: var(--sp-5);
}
.site-logo {
  font-family: var(--font-serif);
  font-size: var(--fs-5);
  letter-spacing: 0.02em;
  color: var(--color-brand);
}
.site-nav { display: flex; gap: var(--sp-5); }
.site-nav a {
  font-size: var(--fs-2);
  color: var(--color-ink);
  padding: var(--sp-2) 0;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--color-cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }

.site-utility { display: flex; gap: var(--sp-3); align-items: center; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-ink);
}
.icon-btn:hover { border-color: var(--color-cta); color: var(--color-cta); }

.pro-strip {
  background: var(--color-brand-deep);
  color: var(--color-bg);
  font-size: var(--fs-1);
  letter-spacing: 0.08em;
}
.pro-strip__inner {
  display: flex; align-items: center; justify-content: flex-end;
  gap: var(--sp-4);
  height: 36px;
}
.pro-strip a { color: var(--color-bg); opacity: 0.85; }
.pro-strip a:hover { opacity: 1; color: var(--color-cta); }

/* Mobile nav */
.nav-toggle { display: none; background: transparent; border: 0; color: var(--color-ink); }
@media (max-width: 880px) {
  .site-nav, .site-utility { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* 6. Footer ----------------------------------------------- */
.site-footer {
  background: var(--color-brand-deep);
  color: var(--color-bg);
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-6);
  margin-top: var(--sp-9);
}
.site-footer a { color: var(--color-bg); opacity: 0.8; }
.site-footer a:hover { opacity: 1; color: var(--color-cta); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--sp-6);
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 var(--sp-3) 0;
  opacity: 0.7;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-2); }
.footer-bottom {
  margin-top: var(--sp-7);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between;
  font-size: var(--fs-1); opacity: 0.6;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* 7. Page placeholder styles (skeleton) -------------------- */
.page-header { padding-top: var(--sp-7); padding-bottom: var(--sp-6); border-bottom: 1px solid var(--color-line); }
.page-header .eyebrow { margin-bottom: var(--sp-3); }

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-4);
}
.skeleton-card {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--color-line) 0%, var(--color-line-strong) 100%);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.skeleton-card::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-muted);
  font-size: var(--fs-1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skeleton-block {
  background: var(--color-line);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--fs-1);
}
.skeleton-block--hero { aspect-ratio: 16 / 9; }
.skeleton-block--square { aspect-ratio: 1 / 1; }

.stub-note {
  background: var(--color-surface);
  border: 1px dashed var(--color-line-strong);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
  color: var(--color-muted);
  font-size: var(--fs-2);
  line-height: var(--lh-relaxed);
}
.stub-note strong { color: var(--color-ink); }

/* 8. Utilities -------------------------------------------- */
.btn {
  display: inline-block;
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fs-2);
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  cursor: pointer;
}
.btn--cta { background: var(--color-cta); color: var(--color-surface); }
.btn--cta:hover { background: var(--color-cta-hover); color: var(--color-surface); }
.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-line-strong); }
.btn--ghost:hover { border-color: var(--color-ink); color: var(--color-ink); }

.stack > * + * { margin-top: var(--sp-3); }
.stack-lg > * + * { margin-top: var(--sp-5); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* 9. Editorial-wireframe components ----------------------- */
/* Distinct aesthetic: thin black ink lines, dashed dividers, diagonal-stripe
   placeholders, italic-serif headings, monospace small-caps badges, and
   designer's annotation notes prefixed with ↳. Built for the homepage v1. */

/* --- top utility strip (above the main header) --- */
.top-strip {
  background: var(--color-bg);
  border-bottom: 1px dashed var(--color-line-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-ink);
}
.top-strip__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); height: 44px;
}
.top-strip__tagline { opacity: 0.85; }
.top-strip__tagline em { font-style: italic; }
.top-strip__nav, .top-strip__util { display: flex; gap: 14px; align-items: center; }
.top-strip__nav a { color: var(--color-ink); opacity: 0.85; }
.top-strip__nav a:hover { opacity: 1; color: var(--color-cta); }
.top-strip__sep { opacity: 0.4; }

/* --- main header (replaces the old .site-header for editorial pages) --- */
.ed-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-ink);
  position: sticky; top: 0; z-index: 50;
}
.ed-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-4);
  height: 92px;
}
.ed-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.ed-logo img { display: block; height: 40px; width: auto; }
.ed-logo:hover img { opacity: 0.85; }
.ed-nav {
  display: flex; gap: var(--sp-5); justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
}
.ed-nav a { color: var(--color-ink); padding: var(--sp-2) 0; }
.ed-nav a.is-active { border-bottom: 1px solid var(--color-cta); }
.ed-cta-wrap { display: flex; justify-content: flex-end; }

.btn--editorial {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  background: var(--color-cta);
  color: var(--color-surface);
  padding: 14px 28px;
  border-radius: 4px;
  border: 1px solid var(--color-cta-hover);
}
.btn--editorial:hover { background: var(--color-cta-hover); color: var(--color-surface); }

.btn--ghost-ed {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  background: var(--color-bg);
  color: var(--color-ink);
  padding: 10px 18px;
  border: 1px solid var(--color-ink);
  border-radius: 4px;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn--ghost-ed:hover { background: var(--color-ink); color: var(--color-bg); }

/* --- monospace badge (HERO · 21:7 · ... labels) --- */
.mono-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink);
  background: var(--color-bg);
  border: 1px solid var(--color-ink);
  padding: 6px 12px;
  border-radius: 2px;
  line-height: 1;
}
.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink);
}
.mono-label .dot { opacity: 0.45; padding: 0 4px; }

/* --- italic-serif headings used on the editorial homepage --- */
.ed-h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--color-ink);
  margin: 0;
}
.ed-h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  margin: 0;
  color: var(--color-ink);
}
.ed-h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  margin: 0;
}

/* --- annotation (designer's note with ↳ marker) --- */
.annotation {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.45;
  color: var(--color-ink);
  opacity: 0.78;
  margin: 0;
}
.annotation::before {
  content: "↳ ";
  color: var(--color-cta);
  font-style: normal;
  margin-right: 4px;
}
.annotation strong, .annotation em { color: var(--color-brand); font-style: italic; font-weight: 500; }

/* --- hero (21:7 diagonal-stripe placeholder) --- */
.hero {
  position: relative;
  border: 1px solid var(--color-ink);
  background: var(--color-bg);
  background-image:
    repeating-linear-gradient(45deg,
      transparent 0, transparent 7px,
      rgba(26,26,26,0.12) 7px, rgba(26,26,26,0.12) 8px);
  aspect-ratio: 21 / 7;
  padding: var(--sp-5);
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero__badge { align-self: flex-start; }
.hero__body {
  background: var(--color-bg);
  padding: var(--sp-4) var(--sp-5);
  border-radius: 2px;
  align-self: flex-start;
  max-width: 56%;
  margin-top: auto;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__eyebrow .accent { color: var(--color-cta); font-style: italic; font-family: var(--font-serif); text-transform: none; font-size: 18px; letter-spacing: 0; margin-left: 4px; }
.hero__title { margin-top: var(--sp-3); }
.hero__cta { position: absolute; right: var(--sp-5); bottom: var(--sp-5); }

/* --- section heading row (italic-serif title left, annotation right) --- */
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--sp-5); margin-bottom: var(--sp-5);
}
.sec-head__right { max-width: 56ch; text-align: right; }

/* --- brand grid (6 x 2 brand list) --- */
.brand-grid {
  border: 1px solid var(--color-ink);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.brand-cell {
  padding: var(--sp-4) var(--sp-3);
  border-right: 1px dashed var(--color-line-strong);
  border-bottom: 1px dashed var(--color-line-strong);
  text-align: center;
  background: var(--color-bg);
  transition: background var(--dur-fast) var(--ease);
}
.brand-cell:hover { background: #fffdf5; }
.brand-cell:nth-child(6n) { border-right: 0; }
.brand-cell:nth-last-child(-n+6) { border-bottom: 0; }
.brand-cell__name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  color: var(--color-ink);
  margin: 0 0 var(--sp-2);
  line-height: 1;
}
.brand-cell__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ink);
  opacity: 0.65;
}
.brand-cell__meta .dot { padding: 0 4px; opacity: 0.6; }
@media (max-width: 1100px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } .brand-cell:nth-child(6n) { border-right: 1px dashed var(--color-line-strong); } .brand-cell:nth-child(3n) { border-right: 0; } }
@media (max-width: 640px)  { .brand-grid { grid-template-columns: repeat(2, 1fr); } .brand-cell:nth-child(3n) { border-right: 1px dashed var(--color-line-strong); } .brand-cell:nth-child(2n) { border-right: 0; } }

/* --- wireframe square placeholder (X-through) --- */
.wf-square {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--color-ink);
  background: var(--color-bg);
  background-image:
    repeating-linear-gradient(45deg,
      transparent 0, transparent 7px,
      rgba(26,26,26,0.10) 7px, rgba(26,26,26,0.10) 8px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.wf-square::before, .wf-square::after {
  content: ""; position: absolute; left: -1px; right: -1px; top: 50%;
  height: 1px; background: var(--color-ink); opacity: 0.55;
  transform-origin: 50% 50%;
}
.wf-square::before { transform: translateY(-50%) rotate(var(--diag, 45deg)) scale(1.5); }
.wf-square::after  { transform: translateY(-50%) rotate(-45deg) scale(1.5); }
.wf-square .mono-badge { position: relative; z-index: 1; }

.wf-rect {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--color-ink);
  background: var(--color-bg);
  background-image:
    repeating-linear-gradient(45deg,
      transparent 0, transparent 7px,
      rgba(26,26,26,0.10) 7px, rgba(26,26,26,0.10) 8px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.wf-rect::before, .wf-rect::after {
  content: ""; position: absolute; left: -1px; right: -1px; top: 50%;
  height: 1px; background: var(--color-ink); opacity: 0.5;
  transform-origin: 50% 50%;
}
.wf-rect::before { transform: translateY(-50%) rotate(31deg) scale(2); }
.wf-rect::after  { transform: translateY(-50%) rotate(-31deg) scale(2); }
.wf-rect .mono-badge { position: relative; z-index: 1; }

/* --- categories row (5 large square cards) --- */
.cat-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-3);
}
.cat-card {
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.cat-card__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ink);
  padding-top: var(--sp-2);
}
@media (max-width: 1100px) { .cat-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .cat-row { grid-template-columns: repeat(2, 1fr); } }

/* --- per-brand expanded card (Loymina / Pentrilo etc.) --- */
.brand-card {
  border: 1px solid var(--color-ink);
  border-radius: 4px;
  padding: var(--sp-5);
  background: var(--color-bg);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-5);
}
.brand-card__intro { padding-top: var(--sp-2); }
.brand-card__intro .mono-label { display: block; margin-bottom: var(--sp-3); }
.brand-card__intro .ed-h2 { margin-bottom: var(--sp-3); }
.brand-card__intro p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  margin: 0 0 var(--sp-4);
  color: var(--color-ink);
  opacity: 0.85;
  max-width: 24ch;
}
.brand-card__collections {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
.brand-card__footer {
  grid-column: 1 / -1;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--color-line-strong);
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: var(--sp-4); align-items: center;
}
.brand-card__footer .projects-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.brand-card__footer .wf-rect { aspect-ratio: 16/9; }
.link-bronze {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-cta);
  padding-bottom: 2px;
  white-space: nowrap;
}
.link-bronze em { font-style: italic; }
.link-bronze:hover { color: var(--color-cta); }

@media (max-width: 900px) {
  .brand-card { grid-template-columns: 1fr; }
  .brand-card__footer { grid-template-columns: 1fr; }
}

/* --- bottom CTA strip (two side-by-side cards) --- */
.cta-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}
.cta-card {
  border: 1px solid var(--color-ink);
  border-radius: 4px;
  padding: var(--sp-5);
  background: var(--color-bg);
}
.cta-card--dark {
  background: var(--color-brand);
  color: var(--color-bg);
  border-color: var(--color-brand);
}
.cta-card--dark .mono-label,
.cta-card--dark .ed-h2 { color: var(--color-bg); }
.cta-card .mono-label { display: block; margin-bottom: var(--sp-3); opacity: 0.75; }
.cta-card .ed-h2 { margin-bottom: var(--sp-4); }
.cta-card--dark .btn--editorial { border-color: transparent; }

@media (max-width: 720px) { .cta-strip { grid-template-columns: 1fr; } }

/* --- editorial footer (dark evergreen, 4 columns) --- */
.ed-footer {
  margin-top: var(--sp-8);
  background: var(--color-brand);
  color: var(--color-bg);
  padding: var(--sp-7) 0 var(--sp-5);
}
.ed-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1.4fr;
  gap: var(--sp-6);
}
.ed-footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 var(--sp-3) 0;
  opacity: 0.72;
  font-weight: 600;
}
.ed-footer__brand-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  margin-bottom: var(--sp-3);
}
.ed-footer__col p, .ed-footer__col li, .ed-footer__col a {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-bg);
}
.ed-footer__col ul { list-style: none; padding: 0; margin: 0; }
.ed-footer__col a { opacity: 0.85; }
.ed-footer__col a:hover { opacity: 1; color: var(--color-cta); }
.ed-footer__sub {
  display: flex; align-items: stretch; gap: 0;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 2px;
  margin-top: var(--sp-2);
}
.ed-footer__sub input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 12px 14px;
  color: var(--color-bg);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  outline: none;
}
.ed-footer__sub input::placeholder { color: var(--color-bg); opacity: 0.55; }
.ed-footer__sub button {
  background: transparent; border: 0;
  padding: 0 16px;
  color: var(--color-bg); cursor: pointer; font-size: 18px;
}
.ed-footer__sub button:hover { color: var(--color-cta); }

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

/* 10. Catalog components (brand / collection / product pages) ------ */
/* Photo-first, Loymina-inspired. Used on brand-loymina.php,
   collection-*.php, and product.php. */

/* --- breadcrumbs --- */
.crumbs {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-muted);
  padding: var(--sp-4) 0;
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center;
}
.crumbs a { color: var(--color-muted); }
.crumbs a:hover { color: var(--color-cta); }
.crumbs__sep { opacity: 0.45; }
.crumbs__current { color: var(--color-ink); }

/* --- catalog page-head (title + description + right-side CTA) --- */
.cat-page-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-5);
  align-items: end;
  padding-bottom: var(--sp-5);
}
.cat-page-head h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 var(--sp-3);
  display: flex; align-items: center; gap: 12px;
}
.cat-page-head h1 .info-i {
  width: 24px; height: 24px;
  border: 1px solid var(--color-cta);
  border-radius: 50%;
  color: var(--color-cta);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  vertical-align: middle;
}
.cat-page-head__desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0;
}
.cat-page-head__cta { text-align: right; }
.cat-page-head__cta-note {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-muted);
  max-width: 28ch;
  margin: 0 0 var(--sp-2) auto;
  line-height: 1.4;
}
@media (max-width: 880px) {
  .cat-page-head { grid-template-columns: 1fr; }
  .cat-page-head__cta { text-align: left; }
  .cat-page-head__cta-note { margin: 0 0 var(--sp-2); }
}

/* --- collection card (brand page grid) --- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.collection-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--color-line);
  display: block;
  isolation: isolate;
}
.collection-card .photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--dur-med) var(--ease);
}
.collection-card:hover .photo { transform: scale(1.04); }
.collection-card .photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 50%);
}
.collection-card__caption {
  position: absolute;
  left: 0; right: 0; bottom: var(--sp-5);
  text-align: center;
  color: #fff;
  padding: 0 var(--sp-3);
  z-index: 2;
}
.collection-card__caption h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  margin: 0 0 6px;
}
.collection-card__caption .type {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}
@media (max-width: 1000px) { .collection-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .collection-grid { grid-template-columns: 1fr; } }

/* --- collection hero (top of collection page) --- */
.col-hero {
  position: relative;
  aspect-ratio: 21 / 11;
  overflow: hidden;
  border-radius: 2px;
  background: var(--color-line);
  isolation: isolate;
  color: #fff;
}
.col-hero .photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.col-hero .photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.4) 100%);
}
.col-hero__inner {
  position: relative; z-index: 2;
  padding: var(--sp-6) var(--sp-6) var(--sp-5);
  display: flex; flex-direction: column;
  height: 100%;
}
.col-hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}
.col-hero__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 1;
  font-weight: 400;
  margin: var(--sp-3) 0 var(--sp-4);
  max-width: 18ch;
}
.col-hero__pager {
  display: flex; gap: var(--sp-4);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.col-hero__pager a { color: #fff; opacity: 0.85; }
.col-hero__pager a:hover { opacity: 1; color: var(--color-cta); }
.col-hero__about {
  position: absolute;
  right: var(--sp-5);
  bottom: var(--sp-5);
  z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.05em;
  background: var(--color-cta);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  border: 0;
}
.col-hero__about:hover { background: var(--color-cta-hover); color: #fff; }

/* --- product card (collection page grid) --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5) var(--sp-4);
}
.product-card { display: block; }
.product-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  overflow: hidden;
  background: var(--color-line);
}
.product-card__photo .photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform var(--dur-med) var(--ease);
}
.product-card:hover .product-card__photo .photo { transform: scale(1.03); }
.product-card__fav {
  position: absolute;
  top: var(--sp-3); right: var(--sp-3);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--color-ink);
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer;
  font-size: 16px; line-height: 1;
}
.product-card__fav:hover { background: #fff; color: var(--color-cta); }
.product-card__meta {
  padding-top: var(--sp-3);
}
.product-card__type {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--color-muted);
}
.product-card__name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-ink);
  margin: 4px 0 var(--sp-2);
}
.product-card__swatches {
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.swatch {
  width: 22px; height: 22px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.12);
  background-size: cover; background-position: center;
}
.swatch--more {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--color-muted);
  border: 0;
  width: auto;
  padding: 0 4px;
  font-weight: 500;
}
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .product-grid { grid-template-columns: 1fr; } }

/* --- placeholder palettes for photo gradients ---
   Each collection / product gets one based on its index via inline custom property
   --c1, --c2, --c3 (top, middle, bottom). Adds visual variety without real photos. */
.photo {
  background-image: linear-gradient(135deg, var(--c1, #3a4a3a) 0%, var(--c2, #6e7d63) 50%, var(--c3, #a89476) 100%);
}
.photo--has-name::before {
  content: attr(data-name);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* --- product detail page (split layout) --- */
.pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: flex-start;
}
.pd-gallery { position: relative; }
.pd-gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  overflow: hidden;
  background: var(--color-line);
}
.pd-gallery__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.92);
  border: 0; border-radius: 50%;
  font-size: 18px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 3;
}
.pd-gallery__arrow--prev { left: var(--sp-3); }
.pd-gallery__arrow--next { right: var(--sp-3); }
.pd-gallery__arrow:hover { background: #fff; color: var(--color-cta); }
.pd-gallery__thumbs {
  display: flex; gap: var(--sp-2);
  padding: var(--sp-3) 0;
  align-items: center;
}
.pd-gallery__thumb {
  width: 72px; height: 72px;
  border: 1px solid transparent;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-line);
  flex-shrink: 0;
  position: relative;
}
.pd-gallery__thumb.is-active { border-color: var(--color-ink); }
.pd-gallery__indicator {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
  margin-left: auto;
  padding-right: var(--sp-2);
}
.pd-gallery__indicator span { width: 24px; height: 1px; background: var(--color-line-strong); }
.pd-gallery__indicator span.is-active { background: var(--color-ink); }
.pd-gallery__caption {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-muted);
  margin-top: var(--sp-3);
  max-width: 60ch;
  line-height: 1.5;
}

.pd-info { position: sticky; top: 120px; }
.pd-info__eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}
.pd-info__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  margin: var(--sp-2) 0 6px;
  display: flex; justify-content: space-between; gap: var(--sp-3);
}
.pd-info__title-fav {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-line);
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; color: var(--color-ink);
}
.pd-info__title-fav:hover { color: var(--color-cta); background: #fff; border: 1px solid var(--color-line-strong); }
.pd-info__type {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: var(--sp-5);
}
.pd-section { margin-bottom: var(--sp-5); }
.pd-section__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-ink);
  margin: 0 0 var(--sp-3);
}
.pd-variants {
  display: flex; gap: var(--sp-3); flex-wrap: wrap;
}
.pd-variant {
  width: 64px;
  cursor: pointer;
  text-align: center;
}
.pd-variant__thumb {
  width: 64px; height: 64px;
  border-radius: 2px;
  border: 1px solid transparent;
  overflow: hidden;
  position: relative;
  background: var(--color-line);
}
.pd-variant.is-active .pd-variant__thumb { border-color: var(--color-ink); }
.pd-variant__name {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 6px;
}

.pd-pattern {
  border: 1px solid var(--color-line);
  border-radius: 2px;
  background: var(--color-bg);
  overflow: hidden;
}
.pd-pattern__photo {
  position: relative;
  aspect-ratio: 4 / 1.2;
  background: var(--color-line);
  overflow: hidden;
}
.pd-pattern__label {
  display: flex; justify-content: flex-start; gap: 6px;
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  border-top: 1px solid var(--color-line);
}
.pd-pattern__label strong { color: var(--color-ink); font-weight: 600; }

.paint-pairings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.paint-pairings .pair {
  text-align: left;
}
.paint-pairings .pair__chip {
  width: 100%; aspect-ratio: 2 / 1;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.08);
}
.paint-pairings .pair__code {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-ink);
  margin-top: 8px;
}

.pd-note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: var(--sp-3) 0;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.55;
}
.pd-note .dot-cta {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-cta);
  flex-shrink: 0; margin-top: 6px;
}

.pd-actions {
  display: flex; gap: var(--sp-4);
  padding: var(--sp-3) 0 var(--sp-4);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.pd-actions a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-ink);
}
.pd-actions a:hover { color: var(--color-cta); }
.pd-actions .ic {
  width: 32px; height: 32px;
  border: 1px solid var(--color-line-strong);
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}

.btn--buy {
  display: inline-block;
  background: var(--color-cta);
  color: #fff;
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  margin-top: var(--sp-4);
}
.btn--buy:hover { background: var(--color-cta-hover); color: #fff; }

.pd-specs {
  margin-top: var(--sp-5);
  border-top: 1px solid var(--color-line);
}
.pd-specs__toggle {
  display: flex; align-items: center; gap: 12px;
  padding: var(--sp-4) 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-ink);
  background: transparent; border: 0;
  width: 100%; text-align: left; cursor: pointer;
}
.pd-specs__toggle .plus {
  width: 24px; height: 24px;
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 400; color: var(--color-muted);
}

@media (max-width: 900px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-info { position: static; }
  .paint-pairings { grid-template-columns: repeat(2, 1fr); }
}

/* 11. Catalog page (universal category browse w/ smart filter) ---- */
/* Used on category-wallpaper.php and any future /catalog/*.php pages.
   Combines the e-commerce mechanics from current premiera.kz (price slider,
   stock pill, qty stepper, cart button) with the Loymina-grade clean grid. */

.cat-page-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-5);
  align-items: end;
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--color-line);
  margin-bottom: var(--sp-5);
}
.cat-page-row__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1;
  margin: 0;
}
.cat-page-row__count {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-muted);
  margin-left: var(--sp-3);
  vertical-align: middle;
  letter-spacing: 0.04em;
}
.cat-page-row__sort {
  display: flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-muted);
}
.cat-page-row__sort select {
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 8px 32px 8px 14px;
  border: 1px solid var(--color-line-strong);
  background: var(--color-bg);
  border-radius: 2px;
  color: var(--color-ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23666' d='M5 6 0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* --- catalog grid layout: filter sidebar + product grid --- */
.catalog-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--sp-5);
  align-items: start;
}
@media (max-width: 960px) {
  .catalog-row { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
}

.subcat-list {
  font-family: var(--font-sans);
  font-size: 14px;
  display: grid; gap: 8px;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--color-line);
  margin-bottom: var(--sp-4);
}
.subcat-list a { color: var(--color-ink); }
.subcat-list a:hover { color: var(--color-cta); }
.subcat-list__head {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-ink);
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 4px;
}
.subcat-list__head .count { font-weight: 400; font-size: 12px; color: var(--color-muted); }

/* --- filter sidebar --- */
.filter-sidebar {
  font-family: var(--font-sans);
  font-size: 14px;
  position: sticky;
  top: 120px;
}
.filter-section {
  border-bottom: 1px solid var(--color-line);
  padding: var(--sp-3) 0;
}
.filter-section:first-of-type { padding-top: 0; }
.filter-section__toggle {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; background: transparent; border: 0; padding: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-ink);
  cursor: pointer;
}
.filter-section__toggle .chev {
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--color-muted);
  border-bottom: 1.5px solid var(--color-muted);
  transform: rotate(45deg);
  transition: transform var(--dur-fast) var(--ease);
  margin-top: -4px;
}
.filter-section.is-collapsed .filter-section__body { display: none; }
.filter-section.is-collapsed .chev { transform: rotate(-45deg); margin-top: 4px; }
.filter-section__body { padding-top: var(--sp-3); }

.filter-checks { display: grid; gap: 10px; }
.filter-check {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--color-ink);
  cursor: pointer;
}
.filter-check input { display: none; }
.filter-check__box {
  width: 16px; height: 16px;
  border: 1px solid var(--color-line-strong);
  border-radius: 2px;
  flex-shrink: 0;
  position: relative;
}
.filter-check input:checked + .filter-check__box {
  background: var(--color-brand);
  border-color: var(--color-brand);
}
.filter-check input:checked + .filter-check__box::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

/* price slider (visual only) */
.range-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.range-input {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--color-line-strong);
  border-radius: 2px;
  padding: 6px 10px;
}
.range-input label {
  font-size: 11px;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}
.range-input input {
  border: 0; outline: none; background: transparent;
  font-family: var(--font-sans); font-size: 13px;
  width: 100%; min-width: 40px; color: var(--color-ink);
}
.range-track {
  position: relative;
  height: 18px;
  margin-top: var(--sp-3);
}
.range-track__bar {
  position: absolute; top: 50%; left: 0; right: 0;
  height: 2px; background: var(--color-line-strong);
  transform: translateY(-50%);
}
.range-track__fill {
  position: absolute; top: 50%; height: 2px;
  background: var(--color-brand);
  transform: translateY(-50%);
}
.range-track__dot {
  position: absolute; top: 50%;
  width: 14px; height: 14px;
  background: var(--color-brand);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

/* color swatch filter */
.color-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.color-swatch {
  aspect-ratio: 1;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.08);
  position: relative;
}
.color-swatch.is-active::after {
  content: "";
  position: absolute; inset: -3px;
  border: 1.5px solid var(--color-brand);
  border-radius: 4px;
}

.filter-actions {
  display: flex; gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.filter-actions .btn--cta { padding: 10px 18px; font-size: 13px; }
.filter-actions .link-clear {
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-muted);
  background: transparent; border: 0; cursor: pointer;
}
.filter-actions .link-clear:hover { color: var(--color-ink); }

/* --- product grid (e-commerce variant) --- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.shop-card {
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: var(--sp-3);
  background: var(--color-bg);
  display: flex; flex-direction: column;
  transition: border-color var(--dur-fast) var(--ease);
}
.shop-card:hover { border-color: var(--color-line-strong); }
.shop-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--sp-3);
  display: flex; align-items: center; justify-content: center;
}
.shop-card__photo .photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.shop-card__photo .photo--has-name::before {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
}
.shop-card__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-ink);
  margin: 0 0 var(--sp-3);
  /* clamp to 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(14px * 1.4 * 3);
}
.shop-card__price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.shop-card__price {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 20px;
  color: var(--color-brand);
  white-space: nowrap;
}
.shop-card__price.is-on-order { color: var(--color-muted); font-weight: 500; }
.shop-card__status {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-muted);
}
.shop-card__status.is-stock { color: var(--color-brand); }

/* card actions row: primary cart button + 2 icon buttons */
.shop-card__actions {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}
.btn--cart {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--color-brand);
  color: #fff;
  border: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 3px;
  cursor: pointer;
  width: 100%;
}
.btn--cart:hover { background: var(--color-brand-deep); color: #fff; }
.qty-stepper {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: stretch;
  border: 1px solid var(--color-line-strong);
  border-radius: 3px;
  overflow: hidden;
  height: 38px;
}
.qty-stepper button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  color: var(--color-ink);
}
.qty-stepper button:hover { background: var(--color-line); }
.qty-stepper__value {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-ink);
  border-left: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
}
.icon-btn-square {
  width: 36px; height: 36px;
  border: 1px solid var(--color-line-strong);
  background: var(--color-bg);
  border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--color-ink);
  font-size: 16px;
}
.icon-btn-square:hover { color: var(--color-brand); border-color: var(--color-brand); }

@media (max-width: 900px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .shop-grid { grid-template-columns: 1fr; } }

/* --- pagination --- */
.pagination {
  display: flex; gap: 6px; justify-content: center; align-items: center;
  padding: var(--sp-6) 0 var(--sp-5);
  font-family: var(--font-sans);
  font-size: 14px;
}
.pagination a, .pagination span {
  min-width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 3px;
  color: var(--color-ink);
  padding: 0 10px;
}
.pagination a:hover { background: var(--color-line); }
.pagination .is-active { background: var(--color-brand); color: #fff; }
.pagination .dots { color: var(--color-muted); }

/* --- consultation strip --- */
.consult {
  border: 1px solid var(--color-brand);
  border-radius: 6px;
  padding: var(--sp-5);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-5);
  align-items: center;
  margin: var(--sp-6) 0 var(--sp-5);
}
.consult h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-ink);
  margin: 0 0 8px;
}
.consult p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.5;
  max-width: 38ch;
}
.consult form {
  display: flex; gap: 10px; align-items: stretch;
}
.consult input {
  border: 1px solid var(--color-line-strong);
  border-radius: 3px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--color-bg);
  outline: none;
  min-width: 180px;
}
.consult input:focus { border-color: var(--color-brand); }
.consult button {
  background: var(--color-brand);
  color: #fff;
  border: 0;
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
}
.consult button:hover { background: var(--color-brand-deep); }

@media (max-width: 880px) {
  .consult { grid-template-columns: 1fr; }
  .consult form { flex-direction: column; }
  .consult input { min-width: 0; }
}

/* 12. V1 search bar (added to existing editorial header) ---------- */
.ed-header__inner--with-search {
  grid-template-columns: auto auto 1fr auto;
  gap: var(--sp-4);
}
.ed-header__inner--with-search .ed-nav { justify-self: start; }
.ed-search {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--color-line-strong);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--color-surface);
  min-width: 220px;
  max-width: 320px;
  width: 100%;
  color: var(--color-muted);
  transition: border-color var(--dur-fast) var(--ease);
}
.ed-search:focus-within { border-color: var(--color-brand); color: var(--color-ink); }
.ed-search input {
  border: 0; outline: none; background: transparent;
  font-family: var(--font-sans); font-size: 14px;
  flex: 1; color: var(--color-ink);
}
.ed-search input::placeholder { color: var(--color-muted); }
@media (max-width: 1100px) { .ed-search { min-width: 160px; } }
@media (max-width: 880px) {
  .ed-search { display: none; }
  .ed-header__inner--with-search { grid-template-columns: auto auto 1fr auto; }
}

/* 13. Variant switcher (fixed bottom, all 3 index pages) --------- */
.vswitch {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  z-index: 90;
  font-family: var(--font-sans);
}
.vswitch__inner {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(20,20,20,0.92);
  color: #fff;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);
}
.vswitch__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-right: 6px;
}
.vswitch__tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.vswitch__tab:hover { color: #fff; background: rgba(255,255,255,0.08); }
.vswitch__tab.is-active { background: var(--color-cta); color: #fff; }
.vswitch__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.85;
}
.vswitch__tab.is-active .vswitch__num { opacity: 1; }
@media (max-width: 720px) {
  .vswitch { left: 12px; right: 12px; bottom: 12px; transform: none; }
  .vswitch__inner { display: flex; justify-content: space-between; padding: 6px; }
  .vswitch__label { display: none; }
  .vswitch__tab { flex: 1; justify-content: center; padding: 10px 8px; font-size: 12px; }
  .vswitch__name { display: none; }
  .vswitch__num { font-size: 13px; }
  .vswitch__tab.is-active .vswitch__name { display: inline; font-size: 11px; }
}

/* 14. V2 — "Curated Quiet" minimalist boutique ------------------- */
.page-home--v2 { background: #faf7f1; color: #1a1612; }

.v2-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,241,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.v2-header__inner {
  max-width: 1440px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-3);
}
.v2-burger {
  justify-self: start;
  background: transparent; border: 0; cursor: pointer;
  width: 28px; height: 24px; padding: 0;
  display: flex; flex-direction: column; justify-content: space-between;
}
.v2-burger span {
  display: block; height: 1.5px; width: 100%; background: #1a1612;
  transition: transform var(--dur-fast) var(--ease);
}
.v2-burger:hover span { background: var(--color-cta); }
.v2-logo { justify-self: center; }
.v2-logo img { display: block; }
.v2-util { justify-self: end; display: inline-flex; gap: var(--sp-3); }
.v2-util__a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; color: #1a1612;
  border-radius: 50%;
}
.v2-util__a:hover { color: var(--color-cta); background: rgba(0,0,0,0.04); }

/* off-canvas menu (no JS yet — toggling needs ~5 lines later) */
/* Loymina-style left-drawer menu.
   .v2-menu is the dim backdrop covering the viewport (fades in).
   .v2-menu__inner is the white drawer panel (slides in from the left).
   The rest of the page stays visible under the dim layer. */
.v2-menu {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,18,16,0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 380ms var(--ease), visibility 380ms;
}
.v2-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.v2-menu__inner {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: min(400px, 92vw);
  background: #ffffff;
  color: var(--v2-ink);
  padding: 28px 36px 24px;
  overflow-y: auto;
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform 460ms var(--ease);
  box-shadow: 0 0 60px rgba(0,0,0,0.18);
}
.v2-menu.is-open .v2-menu__inner { transform: translateX(0); }

.v2-menu__close {
  align-self: flex-end;
  background: transparent; border: 0; color: var(--v2-ink);
  font-size: 24px; line-height: 1; padding: 8px 10px;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.v2-menu__close:hover { color: var(--v2-accent); transform: rotate(90deg); }

.v2-menu__nav {
  display: flex; flex-direction: column;
  margin-top: 28px;
}
.v2-menu__link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--v2-body);
  font-size: 17px;
  font-weight: 500;
  color: var(--v2-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--v2-rule);
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 460ms var(--ease),
    transform 460ms var(--ease),
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}
.v2-menu.is-open .v2-menu__link { opacity: 1; transform: translateX(0); }
.v2-menu.is-open .v2-menu__link:nth-of-type(1) { transition-delay: 140ms; }
.v2-menu.is-open .v2-menu__link:nth-of-type(2) { transition-delay: 200ms; }
.v2-menu.is-open .v2-menu__link:nth-of-type(3) { transition-delay: 260ms; }
.v2-menu.is-open .v2-menu__link:nth-of-type(4) { transition-delay: 320ms; }
.v2-menu.is-open .v2-menu__link:nth-of-type(5) { transition-delay: 380ms; }
.v2-menu.is-open .v2-menu__link:nth-of-type(6) { transition-delay: 440ms; }
.v2-menu__link:hover {
  color: var(--v2-accent);
  border-bottom-color: var(--v2-accent);
}
.v2-menu__link-text { display: inline-flex; align-items: baseline; gap: 8px; }
.v2-menu__badge {
  font-family: var(--v2-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--v2-accent);
  text-transform: lowercase;
  vertical-align: super;
}
.v2-menu__chev {
  font-family: var(--v2-body);
  font-size: 22px;
  font-weight: 300;
  color: var(--v2-ink-2);
  line-height: 1;
  transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.v2-menu__link:hover .v2-menu__chev { color: var(--v2-accent); transform: translateX(4px); }

/* mid-section CTA pill (like Loymina's "Где купить") */
.v2-menu__cta {
  margin-top: 28px;
  opacity: 0;
  transition: opacity 460ms var(--ease);
}
.v2-menu.is-open .v2-menu__cta { opacity: 1; transition-delay: 520ms; }
.v2-menu__pill {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--v2-ink);
  border-radius: 999px;
  font-family: var(--v2-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--v2-ink);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.v2-menu__pill:hover { background: var(--v2-ink); color: #fff; border-color: var(--v2-ink); }

/* secondary text link (e.g. "Для архитекторов и дизайнеров") */
.v2-menu__pro {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--v2-body);
  font-size: 14px;
  color: var(--v2-ink-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity 460ms var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.v2-menu.is-open .v2-menu__pro { opacity: 1; transition-delay: 580ms; }
.v2-menu__pro:hover { color: var(--v2-accent); border-color: var(--v2-accent); }

/* social row, bottom-anchored */
.v2-menu__social {
  margin-top: auto;
  padding-top: 36px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0;
  transition: opacity 460ms var(--ease);
}
.v2-menu.is-open .v2-menu__social { opacity: 1; transition-delay: 640ms; }
.v2-menu__social a {
  font-family: var(--v2-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--v2-ink-2);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.v2-menu__social a:hover { color: var(--v2-ink); }

/* burger morphs to X when menu open */
.v2-burger span { transition: transform 380ms var(--ease), opacity 200ms var(--ease); transform-origin: center; }
.v2-burger.is-open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.v2-burger.is-open span:nth-child(2) { opacity: 0; }
.v2-burger.is-open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* lock body scroll when menu open */
.v2-menu-open { overflow: hidden; }

@media (max-width: 480px) {
  .v2-menu__inner { padding: 24px 24px 20px; }
  .v2-menu__link { font-size: 16px; padding: 16px 0; }
}

/* V2 hero — full-bleed photo with sparse text */
.v2-hero {
  position: relative; isolation: isolate;
  height: clamp(580px, 88vh, 880px);
  overflow: hidden;
  color: #fff;
}
.v2-hero .photo {
  position: absolute; inset: 0;
}
.v2-hero .photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
}
.v2-hero__inner {
  position: relative; z-index: 1;
  max-width: 760px;
  padding: clamp(60px, 12vh, 140px) clamp(24px, 6vw, 80px);
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.v2-hero__issue {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.92;
}
.v2-hero__h {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 1; margin: var(--sp-4) 0 var(--sp-4);
  letter-spacing: -0.005em;
}
.v2-hero__lede {
  font-family: var(--font-sans); font-size: 17px; line-height: 1.55;
  max-width: 46ch; opacity: 0.88; margin: 0 0 var(--sp-5);
}
.v2-hero__cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 14px;
  color: #fff; padding: 14px 22px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 2px;
  align-self: flex-start;
}
.v2-hero__cta:hover { background: #fff; color: #1a1612; }

/* V2 section — room of the month */
.v2-room {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(64px, 10vh, 140px) clamp(24px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}
.v2-room__photo { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.v2-room__photo .photo { position: absolute; inset: 0; }
.v2-room__eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-cta);
}
.v2-room__h {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05; margin: var(--sp-3) 0 var(--sp-4);
  color: #1a1612;
}
.v2-room__body p {
  font-family: var(--font-sans); font-size: 17px; line-height: 1.65;
  max-width: 52ch; color: #4a4036; margin: 0 0 var(--sp-4);
}
.v2-room__body em { font-style: italic; font-family: var(--font-serif); color: #1a1612; }
.v2-room__meta {
  display: inline-flex; gap: 8px; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #6a5d4f; margin-bottom: var(--sp-4);
}
.v2-link-underline {
  display: inline-block;
  font-family: var(--font-sans); font-size: 14px;
  color: #1a1612; padding-bottom: 4px;
  border-bottom: 1px solid var(--color-cta);
}
.v2-link-underline:hover { color: var(--color-cta); }
@media (max-width: 880px) {
  .v2-room { grid-template-columns: 1fr; padding-block: 64px; }
}

/* V2 material detail (single column) */
.v2-detail {
  max-width: 920px; margin: 0 auto;
  padding: clamp(40px, 8vh, 100px) clamp(24px, 6vw, 80px);
  text-align: center;
}
.v2-detail__eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-cta); }
.v2-detail__h {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  margin: var(--sp-3) 0 var(--sp-5);
}
.v2-detail__h em { font-style: italic; }
.v2-detail__photo { aspect-ratio: 16/9; position: relative; overflow: hidden; margin-bottom: var(--sp-4); }
.v2-detail__photo .photo { position: absolute; inset: 0; }
.v2-detail__caption {
  font-family: var(--font-sans); font-size: 15px; color: #4a4036;
  max-width: 52ch; margin: 0 auto var(--sp-5); line-height: 1.55;
}
.v2-detail__ctas { display: inline-flex; gap: var(--sp-3); flex-wrap: wrap; justify-content: center; }
.v2-btn {
  display: inline-block; font-family: var(--font-sans); font-size: 14px;
  padding: 14px 28px; border-radius: 2px;
}
.v2-btn--solid { background: var(--color-cta); color: #fff; border: 1px solid var(--color-cta); }
.v2-btn--solid:hover { background: var(--color-cta-hover); color: #fff; }
.v2-btn--ghost { background: transparent; color: #1a1612; border: 1px solid #1a1612; }
.v2-btn--ghost:hover { background: #1a1612; color: #faf7f1; }

/* V2 newsletter (the one ask) */
.v2-letter {
  background: #1a1612; color: #faf7f1;
  padding: clamp(80px, 14vh, 160px) clamp(24px, 6vw, 80px);
  text-align: center;
}
.v2-letter__inner { max-width: 720px; margin: 0 auto; }
.v2-letter__eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-cta); }
.v2-letter__h {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1; margin: var(--sp-3) 0 var(--sp-5);
}
.v2-letter__form {
  display: flex; gap: 8px; max-width: 460px; margin: 0 auto var(--sp-3);
}
.v2-letter__form input {
  flex: 1; background: transparent; border: 0; border-bottom: 1px solid rgba(250,247,241,0.4);
  padding: 14px 4px; color: #faf7f1; font-family: var(--font-serif); font-style: italic; font-size: 18px;
  outline: none;
}
.v2-letter__form input::placeholder { color: rgba(250,247,241,0.4); }
.v2-letter__form button {
  background: transparent; border: 0; color: var(--color-cta); cursor: pointer;
  font-family: var(--font-sans); font-size: 14px; letter-spacing: 0.05em;
  padding: 0 var(--sp-3); border-bottom: 1px solid var(--color-cta);
}
.v2-letter__small { font-family: var(--font-sans); font-size: 12px; opacity: 0.55; margin: 0; letter-spacing: 0.04em; }

/* V2 salons list */
.v2-salons {
  max-width: 1080px; margin: 0 auto;
  padding: clamp(64px, 10vh, 140px) clamp(24px, 6vw, 80px);
}
.v2-salons__inner { max-width: 720px; }
.v2-salons__eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-cta); }
.v2-salons__h {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(30px, 4vw, 48px); margin: var(--sp-3) 0 var(--sp-5);
}
.v2-salons__list { list-style: none; padding: 0; margin: 0 0 var(--sp-5); }
.v2-salons__list li {
  display: grid; grid-template-columns: 120px 1fr; gap: var(--sp-3);
  padding: var(--sp-3) 0; border-top: 1px solid rgba(0,0,0,0.1);
  font-family: var(--font-sans); font-size: 15px;
}
.v2-salons__list li:last-child { border-bottom: 1px solid rgba(0,0,0,0.1); }
.v2-salons__list strong { font-weight: 600; }
.v2-salons__list span { color: #6a5d4f; }

/* V2 footer (one row, minimal) */
.v2-footer {
  background: #faf7f1; border-top: 1px solid rgba(0,0,0,0.08);
  padding: var(--sp-5) 0;
}
.v2-footer__inner {
  max-width: 1440px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap;
}
.v2-footer__logo img { display: block; }
.v2-footer__nav { display: flex; gap: var(--sp-4); flex: 1; justify-content: center; }
.v2-footer__nav a { font-family: var(--font-sans); font-size: 14px; color: #1a1612; opacity: 0.75; }
.v2-footer__nav a:hover { opacity: 1; color: var(--color-cta); }
.v2-footer__copy { font-family: var(--font-sans); font-size: 12px; color: #6a5d4f; }
@media (max-width: 720px) { .v2-footer__nav { justify-content: flex-start; } }

/* 15. V3 — "Editorial Magazine" with side-rail nav --------------- */
:root { --v3-rail-w: 240px; }
.v3-body { background: var(--color-bg); }
.v3-main { padding-left: var(--v3-rail-w); }

.v3-rail {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: var(--v3-rail-w);
  background: var(--color-bg);
  border-right: 1px solid rgba(0,0,0,0.08);
  padding: var(--sp-5) var(--sp-4);
  display: flex; flex-direction: column;
  z-index: 80;
}
.v3-rail__logo { display: block; margin-bottom: var(--sp-6); }
.v3-rail__logo img { display: block; }
.v3-rail__nav { display: grid; gap: 6px; }
.v3-rail__nav a {
  display: flex; align-items: baseline; gap: 10px;
  padding: 6px 0;
  font-family: var(--font-serif); font-style: italic; font-size: 22px;
  color: var(--color-ink);
  border-bottom: 1px dashed transparent;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.v3-rail__nav a .num {
  font-family: var(--font-mono); font-style: normal;
  font-size: 10px; letter-spacing: 0.12em;
  color: var(--color-cta); width: 22px;
}
.v3-rail__nav a:hover { color: var(--color-cta); border-bottom-color: var(--color-cta); }
.v3-rail__foot { margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid rgba(0,0,0,0.08); }
.v3-rail__cta {
  display: block;
  font-family: var(--font-sans); font-size: 13px; line-height: 1.3;
  background: var(--color-brand); color: #fff;
  padding: 12px 14px; border-radius: 2px; margin-bottom: var(--sp-3);
  text-align: center;
}
.v3-rail__cta:hover { background: var(--color-brand-deep); color: #fff; }
.v3-rail__util { display: flex; align-items: center; justify-content: space-between; }
.v3-rail__util a {
  font-size: 16px; color: var(--color-ink);
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 2px;
}
.v3-rail__util a:hover { color: var(--color-cta); border-color: var(--color-cta); }
.v3-rail__lang {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; color: var(--color-muted);
}

/* mobile tab-bar */
.v3-mobile-tabs {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: var(--color-bg);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 8px;
  gap: 4px;
}
.v3-mobile-tabs a {
  flex: 1; text-align: center; padding: 8px 4px;
  font-family: var(--font-sans); font-size: 12px; color: var(--color-ink);
  border-radius: 2px;
}
.v3-mobile-tabs a.is-logo { flex: 0 0 80px; display: flex; align-items: center; justify-content: center; }
.v3-mobile-tabs a:hover { color: var(--color-cta); background: rgba(0,101,107,0.06); }
@media (max-width: 900px) {
  .v3-rail { display: none; }
  .v3-main { padding-left: 0; padding-bottom: 70px; }
  .v3-mobile-tabs { display: flex; }
  .vswitch { bottom: 70px; }
}

/* V3 shared tokens */
.v3-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-muted);
}
.v3-eyebrow--bronze { color: var(--color-cta); }
.v3-h2 {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05; margin: 0;
  color: var(--color-ink);
}

.v3-btn {
  display: inline-block; padding: 14px 28px;
  font-family: var(--font-sans); font-size: 14px;
  border-radius: 2px;
}
.v3-btn--solid { background: var(--color-brand); color: #fff; border: 1px solid var(--color-brand); }
.v3-btn--solid:hover { background: var(--color-brand-deep); color: #fff; }
.v3-btn--ghost { background: transparent; color: var(--color-ink); border: 1px solid var(--color-ink); }
.v3-btn--ghost:hover { background: var(--color-ink); color: var(--color-bg); }

.v3-link-bronze {
  display: inline-block;
  font-family: var(--font-sans); font-size: 13px;
  color: var(--color-ink); padding-bottom: 3px;
  border-bottom: 1px solid var(--color-cta);
}
.v3-link-bronze:hover { color: var(--color-cta); }

/* V3 hero — split: text left, image right */
.v3-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 0;
  min-height: clamp(540px, 75vh, 760px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.v3-hero__left {
  padding: clamp(40px, 8vh, 96px) clamp(40px, 5vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
}
.v3-hero__h {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(54px, 7vw, 104px);
  line-height: 0.95; margin: var(--sp-3) 0 var(--sp-4);
  color: var(--color-ink);
  letter-spacing: -0.01em;
}
.v3-hero__h em { font-style: italic; color: var(--color-brand); }
.v3-hero__lede {
  font-family: var(--font-sans); font-size: 17px; line-height: 1.55;
  max-width: 46ch; color: var(--color-muted); margin: 0 0 var(--sp-5);
}
.v3-hero__ctas { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.v3-hero__right { position: relative; overflow: hidden; }
.v3-hero__right .photo { position: absolute; inset: 0; }
.v3-hero__badge {
  position: absolute; top: var(--sp-5); right: var(--sp-5);
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(0,0,0,0.6); color: #fff;
  padding: 8px 14px; border-radius: 2px;
  backdrop-filter: blur(4px);
}
@media (max-width: 880px) { .v3-hero { grid-template-columns: 1fr; } .v3-hero__right { min-height: 320px; } }

/* V3 pull-quote band — deep evergreen */
.v3-quote {
  background: var(--color-brand-deep); color: var(--color-bg);
  padding: clamp(80px, 14vh, 140px) clamp(24px, 6vw, 80px);
  text-align: center;
}
.v3-quote blockquote { max-width: 880px; margin: 0 auto; }
.v3-quote p {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.15; margin: 0 0 var(--sp-4);
  letter-spacing: -0.005em;
}
.v3-quote cite {
  font-family: var(--font-mono); font-style: normal;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-cta);
}

/* V3 three cards */
.v3-cards { padding: clamp(80px, 12vh, 140px) clamp(40px, 5vw, 80px); }
.v3-cards__head { margin-bottom: var(--sp-6); max-width: 820px; }
.v3-cards__head .v3-eyebrow { display: inline-block; margin-bottom: var(--sp-3); }
.v3-cards__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.v3-card { display: flex; flex-direction: column; gap: var(--sp-3); }
.v3-card__photo { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.v3-card__photo .photo { position: absolute; inset: 0; }
.v3-card__num {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  background: #fff; color: var(--color-ink);
  padding: 6px 10px; border-radius: 2px;
}
.v3-card__h {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 26px; line-height: 1.15; margin: 6px 0 0; color: var(--color-ink);
}
.v3-card p {
  font-family: var(--font-sans); font-size: 14px; color: var(--color-muted);
  margin: 0 0 8px; line-height: 1.55;
}
.v3-card em { font-style: italic; color: var(--color-ink); }
@media (max-width: 980px) { .v3-cards__grid { grid-template-columns: 1fr; } }

/* V3 designer's letter (warm slab) */
.v3-letter {
  background: #f4eee2; color: var(--color-ink);
  padding: clamp(80px, 14vh, 140px) clamp(40px, 6vw, 80px);
}
.v3-letter__inner { max-width: 820px; }
.v3-letter__h {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.1; margin: var(--sp-3) 0 var(--sp-4);
  letter-spacing: -0.005em;
}
.v3-letter__h em { color: var(--color-brand); }
.v3-letter p { font-family: var(--font-sans); font-size: 17px; line-height: 1.7; max-width: 56ch; color: #3e362c; margin: 0 0 var(--sp-3); }
.v3-letter__sig { font-family: var(--font-serif); font-style: italic; color: var(--color-cta); margin-top: var(--sp-3) !important; }

/* V3 numbers strip */
.v3-numbers {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: var(--color-bg);
}
.v3-numbers__cell {
  padding: clamp(28px, 5vh, 56px) var(--sp-3);
  border-right: 1px solid rgba(0,0,0,0.08);
  text-align: center;
  font-family: var(--font-sans); font-size: 13px; color: var(--color-muted);
  letter-spacing: 0.04em;
}
.v3-numbers__cell:last-child { border-right: 0; }
.v3-numbers__cell span {
  display: block;
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--color-brand); line-height: 1; margin-bottom: 6px;
}
@media (max-width: 720px) {
  .v3-numbers { grid-template-columns: repeat(2, 1fr); }
  .v3-numbers__cell:nth-child(2) { border-right: 0; }
  .v3-numbers__cell:nth-child(-n+2) { border-bottom: 1px solid rgba(0,0,0,0.08); }
}

/* V3 footer / colophon — dark teal */
.v3-colophon {
  background: var(--color-brand-deep); color: var(--color-bg);
  padding: clamp(64px, 10vh, 120px) clamp(40px, 6vw, 80px) var(--sp-5);
}
.v3-colophon__inner { max-width: 1280px; margin: 0 auto; }
.v3-colophon__sub { max-width: 720px; margin-bottom: var(--sp-7); }
.v3-colophon__sub .v3-eyebrow { color: var(--color-cta); }
.v3-colophon__sub .v3-h2 { color: var(--color-bg); margin: var(--sp-3) 0 var(--sp-4); }
.v3-sub-form {
  display: flex; gap: 8px; max-width: 460px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.v3-sub-form input {
  flex: 1; background: transparent; border: 0;
  padding: 14px 4px; color: var(--color-bg);
  font-family: var(--font-serif); font-style: italic; font-size: 18px;
  outline: none;
}
.v3-sub-form input::placeholder { color: rgba(255,255,255,0.4); }
.v3-sub-form button {
  background: transparent; border: 0; color: var(--color-cta); cursor: pointer;
  font-family: var(--font-sans); font-size: 14px; padding: 0 var(--sp-3);
}
.v3-sub-form button:hover { color: var(--color-bg); }

.v3-colophon__grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding: var(--sp-6) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.v3-colophon__logo img { filter: brightness(0) invert(1); }
.v3-colophon p { font-family: var(--font-sans); font-size: 14px; opacity: 0.7; line-height: 1.5; margin: var(--sp-3) 0 0; }
.v3-colophon h4 {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin: 0 0 var(--sp-3); opacity: 0.7; font-weight: 600;
}
.v3-colophon ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.v3-colophon ul a {
  font-family: var(--font-serif); font-style: italic; font-size: 16px;
  color: var(--color-bg); opacity: 0.85;
}
.v3-colophon ul a:hover { opacity: 1; color: var(--color-cta); }
.v3-colophon__bottom {
  display: flex; justify-content: space-between; padding-top: var(--sp-4);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; opacity: 0.55;
}
@media (max-width: 980px) { .v3-colophon__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .v3-colophon__grid { grid-template-columns: 1fr; } .v3-colophon__bottom { flex-direction: column; gap: var(--sp-2); } }

/* 16. V1 redesign — "Кабинет / Cabinet" -------------------------- */
/* A refined, archival, editorial direction. Replaces the earlier
   annotated-wireframe aesthetic. Scoped to .page-home--v1 so other
   pages that share header.php (catalog, brand, product, etc.) stay
   visually unaffected. Typography pairing: Fraunces display
   (variable optical-size + SOFT axis, italic for headlines) +
   Newsreader body + JetBrains Mono labels. */

.page-home--v1 {
  /* Tiffany-style heritage retail: pure white + iconic teal (our #00656B
     substitutes for Tiffany Blue), refined sans body, restrained chrome. */
  --v1-paper:   #ffffff;
  --v1-paper-2: #f9f9f9;
  --v1-ink:     #1a1a1a;
  --v1-ink-2:   #6a6a6a;
  --v1-rule:    #e5e5e5;
  --v1-rule-2:  #cccccc;

  /* "bronze" CSS variables retained as named slots, but their values are
     now our teal. Every existing reference to --v1-bronze in the rest of
     section 16 cascades to teal automatically — no markup churn. */
  --v1-bronze:   #00656b;
  --v1-bronze-2: #008c92;
  --v1-teal:     #00656b;
  --v1-teal-light:#0e8a90;
  --v1-teal-tint: #e8f3f4;

  --v1-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --v1-serif:   "Newsreader", "Source Serif Pro", Georgia, serif;
  --v1-body:    "Manrope", "Söhne", -apple-system, "Helvetica Neue", sans-serif;
  --v1-mono:    "JetBrains Mono", "IBM Plex Mono", "Courier New", monospace;

  background-color: var(--v1-paper);
  color: var(--v1-ink);
}

/* grain overlay removed — Tiffany aesthetic is clean white, zero texture */

/* override the editorial header chrome inside V1 ------------------- */
.page-home--v1 .top-strip {
  background: var(--v1-paper);
  border-bottom: 1px solid var(--v1-rule);
  color: var(--v1-ink);
  font-family: var(--v1-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.page-home--v1 .top-strip__tagline em {
  font-family: var(--v1-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0;
}
.page-home--v1 .top-strip a { color: var(--v1-ink); opacity: 0.78; }
.page-home--v1 .top-strip a:hover { color: var(--v1-bronze); opacity: 1; }

.page-home--v1 .ed-header {
  background: var(--v1-paper);
  border-bottom: 1px solid var(--v1-rule);
}
.page-home--v1 .ed-nav {
  font-family: var(--v1-display);
  font-variation-settings: "opsz" 14, "SOFT" 50;
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
}
.page-home--v1 .ed-nav a { color: var(--v1-ink); padding-bottom: 2px; position: relative; }
.page-home--v1 .ed-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -1px;
  height: 1px; background: var(--v1-bronze);
  transition: right var(--dur-med) var(--ease);
}
.page-home--v1 .ed-nav a:hover::after,
.page-home--v1 .ed-nav a.is-active::after { right: 0; }
.page-home--v1 .ed-nav a.is-active { border-bottom: 0; }

.page-home--v1 .ed-search {
  border-color: var(--v1-rule-2);
  background: var(--v1-paper-2);
}
.page-home--v1 .ed-search input {
  font-family: var(--v1-body); font-size: 14px;
  color: var(--v1-ink);
}
.page-home--v1 .ed-search input::placeholder { color: var(--v1-ink-2); opacity: 0.7; }

.page-home--v1 .btn--editorial {
  background: var(--v1-bronze);
  border-color: var(--v1-bronze-2);
  font-family: var(--v1-display);
  font-variation-settings: "opsz" 14, "SOFT" 40;
  font-style: italic;
  font-size: 17px;
  padding: 12px 26px;
}
.page-home--v1 .btn--editorial:hover { background: var(--v1-bronze-2); }

/* main content layer above the grain */
.page-home--v1 main { position: relative; z-index: 2; }

/* shared section ornament — typographic marker that anchors a transition */
.v1-ornament {
  display: block; text-align: center;
  color: var(--v1-bronze);
  font-family: var(--v1-display);
  font-style: italic;
  font-size: 22px;
  margin: var(--sp-7) 0 var(--sp-6);
  letter-spacing: 0.5em;
}
.v1-ornament::before, .v1-ornament::after {
  content: "";
  display: inline-block;
  width: 48px; height: 1px;
  background: var(--v1-rule-2);
  vertical-align: middle;
  margin: 0 var(--sp-3) 6px;
}

/* eyebrow + display heading utilities (V1) */
.v1-eyebrow {
  font-family: var(--v1-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v1-ink-2);
}
.v1-eyebrow .bronze { color: var(--v1-bronze); }
.v1-display {
  font-family: var(--v1-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  line-height: 0.96;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--v1-ink);
}
.v1-h2 {
  font-family: var(--v1-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 72, "SOFT" 80;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.008em;
  margin: 0;
  color: var(--v1-ink);
}
.v1-body {
  font-family: var(--v1-body);
  font-variation-settings: "opsz" 18;
  font-size: 17px;
  line-height: 1.55;
  color: var(--v1-ink-2);
  max-width: 56ch;
}

/* page-load stagger — sections fade up at intervals */
.page-home--v1 .v1-stagger > * {
  opacity: 0;
  transform: translateY(8px);
  animation: v1-rise 700ms var(--ease) forwards;
}
.page-home--v1 .v1-stagger > *:nth-child(1) { animation-delay:  60ms; }
.page-home--v1 .v1-stagger > *:nth-child(2) { animation-delay: 160ms; }
.page-home--v1 .v1-stagger > *:nth-child(3) { animation-delay: 260ms; }
.page-home--v1 .v1-stagger > *:nth-child(4) { animation-delay: 360ms; }
.page-home--v1 .v1-stagger > *:nth-child(5) { animation-delay: 460ms; }
@keyframes v1-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* hero — asymmetric, italic monumental headline + small archival photo */
.v1-hero {
  padding: clamp(48px, 8vh, 96px) 0 clamp(64px, 10vh, 120px);
  position: relative;
}

/* full-bleed 3-slide hero variant — replaces the asymmetric grid above. */
.v1-hero--slider {
  padding: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.v1-slider {
  position: relative;
  width: 100%;
  height: clamp(560px, 86vh, 840px);
  overflow: hidden;
  background: var(--v1-ink);
  color: var(--v1-paper);
}
.v1-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 900ms var(--ease);
  pointer-events: none;
}
.v1-slide.is-active { opacity: 1; pointer-events: auto; }

.v1-slide__media { position: absolute; inset: 0; overflow: hidden; }
.v1-slide__media .photo { position: absolute; inset: 0; filter: contrast(0.95) saturate(0.85); }
.v1-slide__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(0.95) saturate(0.85);
}
/* Ken Burns — slower, gentler editorial pan (was 14s 1.04→1.16 with aggressive translate) */
.v1-slide.is-active .v1-slide__media .photo,
.v1-slide.is-active .v1-slide__video {
  animation: v1-kb 22s ease-in-out infinite alternate;
}
@keyframes v1-kb {
  from {
    transform: scale(1.03) translate3d(-0.5%, 0.3%, 0);
    filter: contrast(0.96) saturate(0.88) brightness(0.94);
  }
  to {
    transform: scale(1.09) translate3d(0.5%, -0.5%, 0);
    filter: contrast(0.96) saturate(0.88) brightness(1.0);
  }
}

/* multi-layer legibility overlay + subtle SVG grain.
   Composited via background-blend-mode for cinematic depth. */
.v1-slide__overlay {
  position: absolute; inset: 0;
  background:
    /* film grain */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.92 0 0 0 0 0.92 0 0 0 0 0.92 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    /* center vignette */
    radial-gradient(ellipse 85% 60% at center 38%, transparent 0%, rgba(20,18,15,0.32) 100%),
    /* bottom darken for text */
    linear-gradient(to top, rgba(20,18,15,0.72) 0%, rgba(20,18,15,0.18) 42%, rgba(20,18,15,0) 70%),
    /* slight side darken on the left where text sits sometimes */
    linear-gradient(to right, rgba(20,18,15,0.28) 0%, rgba(20,18,15,0) 35%);
  background-blend-mode: overlay, normal, normal, normal;
  background-size: 220px 220px, auto, auto, auto;
}

/* text block, centered, monumental — refined typography (Fraunces all the way) */
.v1-slide__text {
  position: absolute;
  left: 50%; bottom: clamp(80px, 14vh, 160px);
  transform: translateX(-50%);
  width: min(92vw, 980px);
  text-align: center;
  color: #fff;
}
.v1-slide__eyebrow {
  display: inline-block;
  font-family: var(--v1-body);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  margin-bottom: clamp(20px, 3.5vh, 36px);
  /* no flanking hairlines — restraint feels more refined */
}
.v1-slide__h {
  font-family: var(--v1-display);          /* Fraunces, not Newsreader — one display serif */
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(56px, 7.8vw, 124px);
  line-height: 0.98;
  letter-spacing: -0.018em;
  color: #fff;
  margin: 0 auto clamp(28px, 4.5vh, 56px);
  max-width: 17ch;
  /* subtle text-shadow gives crispness against any photo */
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.v1-slide__h em {
  font-style: italic;
  font-family: var(--v1-display);
  font-variation-settings: "opsz" 144, "SOFT" 100;  /* softer curvy variant */
  color: #fff;
}
.v1-slide__cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--v1-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  padding: 14px 0 8px;
  border-bottom: 1px solid rgba(255,255,255,0.55);
  transition:
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    letter-spacing var(--dur-med) var(--ease);
}
.v1-slide__cta::after {
  content: "→";
  font-weight: 300;
  letter-spacing: 0;
  font-size: 14px;
  transition: transform var(--dur-med) var(--ease);
}
.v1-slide__cta:hover {
  color: #fff;
  border-color: #fff;
  letter-spacing: 0.32em;
}
.v1-slide__cta:hover::after { transform: translateX(6px); }

/* staggered text reveal when slide becomes active */
.v1-slide.is-active .v1-slide__eyebrow,
.v1-slide.is-active .v1-slide__h,
.v1-slide.is-active .v1-slide__cta {
  animation: v1-rise-in 900ms var(--ease) backwards;
}
.v1-slide.is-active .v1-slide__eyebrow { animation-delay: 280ms; }
.v1-slide.is-active .v1-slide__h       { animation-delay: 420ms; }
.v1-slide.is-active .v1-slide__cta     { animation-delay: 620ms; }
@keyframes v1-rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* media-type chip (top-left) so it's obvious which slide is video vs image */
.v1-slide__chip {
  position: absolute;
  top: clamp(20px, 4vh, 36px);
  left: clamp(24px, 6vw, 88px);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--v1-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,239,225,0.85);
}
.v1-slide__chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--v1-bronze);
  display: inline-block;
}
.v1-slide__chip--video .dot {
  animation: v1-pulse 1.6s var(--ease) infinite;
}
@keyframes v1-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.8); }
}

/* slide index counter (top-right) — refined with hairline separator */
.v1-slider__counter {
  position: absolute;
  top: clamp(28px, 5vh, 48px);
  right: clamp(28px, 6vw, 88px);
  font-family: var(--v1-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  z-index: 4;
  display: inline-flex; align-items: center; gap: 10px;
}
.v1-slider__counter .current { color: #fff; font-weight: 500; }
.v1-slider__counter .sep {
  display: inline-block; width: 18px; height: 1px;
  background: rgba(255,255,255,0.5);
  text-indent: -9999px;
  overflow: hidden;
}

/* side arrows — clean unicode chevrons in Manrope, low-key until hover */
.v1-slider__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0;
  color: rgba(255,255,255,0.55);
  font-family: var(--v1-body);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
  transition: color var(--dur-fast) var(--ease), transform var(--dur-med) var(--ease);
  z-index: 4;
}
.v1-slider__arrow:hover { color: #fff; }
.v1-slider__arrow--prev { left: clamp(12px, 2.5vw, 36px); }
.v1-slider__arrow--prev:hover { transform: translateY(-50%) translateX(-4px); }
.v1-slider__arrow--next { right: clamp(12px, 2.5vw, 36px); }
.v1-slider__arrow--next:hover { transform: translateY(-50%) translateX(4px); }
@media (max-width: 720px) { .v1-slider__arrow { display: none; } }

/* dots — thin rectangles, bottom-right */
.v1-slider__dots {
  position: absolute;
  right: clamp(28px, 6vw, 88px);
  bottom: clamp(32px, 5.5vh, 60px);
  display: flex; gap: 12px;
  z-index: 4;
}
.v1-slider__dot {
  background: transparent; border: 0; padding: 14px 0; cursor: pointer;
}
.v1-slider__dot::after {
  content: "";
  display: block;
  width: 32px; height: 1px;
  background: rgba(255,255,255,0.4);
  transition: background var(--dur-fast) var(--ease), width var(--dur-med) var(--ease);
}
.v1-slider__dot:hover::after { background: rgba(255,255,255,0.85); width: 36px; }
.v1-slider__dot.is-active::after {
  background: #fff;
  width: 44px;
}

/* hairline progress bar at the very bottom edge */
.v1-slider__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(255,255,255,0.14);
  z-index: 5;
}
.v1-slider__bar {
  height: 100%; width: 0%;
  background: #fff;
}

/* mobile: tighten text block, hide arrows, keep dots */
@media (max-width: 720px) {
  .v1-slider { height: clamp(520px, 80vh, 720px); }
  .v1-slide__text { bottom: 88px; }
  .v1-slide__h { font-size: clamp(44px, 12vw, 72px); }
  .v1-slider__counter { top: 16px; right: 16px; }
  .v1-slide__chip { top: 16px; left: 16px; }
  .v1-slider__dots { right: 16px; bottom: 18px; }
}
.v1-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.v1-hero__h {
  font-size: clamp(64px, 9vw, 128px);
}
.v1-hero__h em { font-style: italic; color: var(--v1-bronze); font-variation-settings: "opsz" 144, "SOFT" 100; }
.v1-hero__meta-row {
  display: flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.v1-hero__rule { display: inline-block; width: 56px; height: 1px; background: var(--v1-rule-2); }
.v1-hero__lede { margin-top: var(--sp-4); max-width: 48ch; }
.v1-hero__photo {
  position: relative; aspect-ratio: 4 / 5;
  background: var(--v1-paper-2);
  overflow: hidden;
}
.v1-hero__photo .photo {
  position: absolute; inset: 0;
  filter: contrast(0.95) saturate(0.85);
}
.v1-hero__photo::after {
  content: "Архив · 2026";
  position: absolute; bottom: 14px; left: 16px;
  color: rgba(255,255,255,0.85);
  font-family: var(--v1-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.v1-hero__ctas {
  display: flex; gap: var(--sp-3); align-items: center;
  margin-top: var(--sp-5);
}
.v1-link-bronze {
  font-family: var(--v1-display); font-style: italic;
  font-variation-settings: "opsz" 18, "SOFT" 30;
  font-size: 18px;
  color: var(--v1-ink);
  border-bottom: 1px solid var(--v1-bronze);
  padding-bottom: 2px;
}
.v1-link-bronze:hover { color: var(--v1-bronze); }
@media (max-width: 880px) {
  .v1-hero__grid { grid-template-columns: 1fr; }
  .v1-hero__photo { aspect-ratio: 3/2; }
}

/* === Tiffany-style heritage retail sections ====================== */

/* base content typography reset inside V1 — body becomes Manrope */
.page-home--v1 main { font-family: var(--v1-body); }
.page-home--v1 .v1-body { font-family: var(--v1-body); font-size: 15px; color: var(--v1-ink-2); line-height: 1.55; }

/* utility: small-caps Tiffany-style underlined link/button */
.v1-shop-link {
  display: inline-block;
  font-family: var(--v1-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--v1-ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--v1-ink);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.v1-shop-link:hover { color: var(--v1-bronze); border-color: var(--v1-bronze); }
.v1-shop-link--on-teal { color: var(--v1-paper); border-bottom-color: var(--v1-paper); }
.v1-shop-link--on-teal:hover { color: var(--v1-paper); border-bottom-color: rgba(255,255,255,0.5); opacity: 0.9; }

/* centered strip title with horizontal hairlines on either side */
.v1-strip-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(56px, 9vh, 96px) clamp(16px, 4vw, 64px) clamp(32px, 5vh, 56px);
  text-align: center;
}
.v1-strip-title::before, .v1-strip-title::after {
  content: ""; display: block; height: 1px; background: var(--v1-rule);
}
.v1-strip-title h2 {
  font-family: var(--v1-serif);
  font-weight: 300;
  font-variation-settings: "opsz" 60;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--v1-ink);
  margin: 0;
  white-space: nowrap;
}
.v1-strip-title h2 em {
  font-style: italic;
  font-family: var(--v1-display);
  font-variation-settings: "opsz" 144, "SOFT" 60;
  color: var(--v1-bronze);
}
@media (max-width: 600px) {
  .v1-strip-title h2 { white-space: normal; font-size: 26px; }
}

/* featured 5-card strip — popular collections (Tiffany "popular jewellery") */
.v1-feat-strip {
  padding: 0 clamp(20px, 4vw, 56px) clamp(40px, 6vh, 64px);
}
.v1-feat-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2.5vw, 40px);
  margin-bottom: var(--sp-5);
}
.v1-feat-card { display: block; text-align: center; }
.v1-feat-card__photo {
  aspect-ratio: 1 / 1;
  background: var(--v1-paper-2);
  position: relative;
  overflow: hidden;
  margin-bottom: var(--sp-3);
  transition: transform var(--dur-med) var(--ease);
}
.v1-feat-card:hover .v1-feat-card__photo { transform: translateY(-4px); }
.v1-feat-card__photo .photo { position: absolute; inset: 0; filter: contrast(0.95) saturate(0.9); }
.v1-feat-card__name {
  font-family: var(--v1-serif);
  font-weight: 400;
  font-size: 15px;
  color: var(--v1-ink);
  margin: 0 0 4px;
}
.v1-feat-card__desc {
  font-family: var(--v1-body);
  font-size: 12px;
  color: var(--v1-ink-2);
  line-height: 1.4;
  margin: 0;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.v1-feat-strip__cta { text-align: center; }
@media (max-width: 1100px) { .v1-feat-strip__grid { grid-template-columns: repeat(3, 1fr); } .v1-feat-card:nth-child(n+4) { display: none; } }
@media (max-width: 600px)  { .v1-feat-strip__grid { grid-template-columns: repeat(2, 1fr); } .v1-feat-card:nth-child(n+3) { display: none; } }

/* 3 large teal-blocked cards — equivalent of Tiffany "With love, Since 1837" */
.v1-shop-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.2vw, 18px);
  padding: 0 clamp(16px, 2.5vw, 40px);
}
.v1-shop-block {
  display: block;
  text-align: center;
}
.v1-shop-block__photo {
  aspect-ratio: 1 / 1;
  background: var(--v1-bronze); /* teal via aliased token */
  position: relative;
  overflow: hidden;
  margin-bottom: var(--sp-3);
}
.v1-shop-block__photo .photo {
  position: absolute;
  inset: 8% 12%; /* inset photo so teal frame shows */
  filter: contrast(0.96) saturate(0.92);
  transition: transform var(--dur-med) var(--ease);
}
.v1-shop-block:hover .v1-shop-block__photo .photo { transform: scale(1.04); }
.v1-shop-block__label {
  font-family: var(--v1-serif);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--v1-ink);
  margin: 0 0 var(--sp-2);
}
@media (max-width: 880px) {
  .v1-shop-blocks { grid-template-columns: 1fr; }
}

/* 6 small teal-blocked category cards — "Shop by Category" */
.v1-cat-blocks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(8px, 1.2vw, 14px);
  padding: clamp(40px, 6vh, 64px) clamp(16px, 2.5vw, 40px);
}
.v1-cat-block { display: block; text-align: center; }
.v1-cat-block__photo {
  aspect-ratio: 1 / 1;
  background: var(--v1-bronze);
  position: relative; overflow: hidden;
  margin-bottom: var(--sp-2);
}
.v1-cat-block__photo .photo {
  position: absolute; inset: 10% 14%;
  filter: contrast(0.96) saturate(0.92);
  transition: transform var(--dur-med) var(--ease);
}
.v1-cat-block:hover .v1-cat-block__photo .photo { transform: scale(1.05); }
.v1-cat-block__label {
  font-family: var(--v1-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v1-ink);
  margin: 0;
}
@media (max-width: 1100px) { .v1-cat-blocks { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .v1-cat-blocks { grid-template-columns: repeat(2, 1fr); } }

/* split intro — large photo left, italic title + body + cta right */
.v1-intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  padding: clamp(56px, 9vh, 96px) clamp(20px, 4vw, 56px);
  align-items: center;
}
.v1-intro-split__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--v1-paper-2);
  overflow: hidden;
}
.v1-intro-split__photo .photo {
  position: absolute; inset: 0;
  filter: contrast(0.95) saturate(0.9);
}
.v1-intro-split__body { max-width: 480px; }
.v1-intro-split__title {
  font-family: var(--v1-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  margin: 0 0 var(--sp-4);
  color: var(--v1-ink);
}
.v1-intro-split__body p {
  font-family: var(--v1-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--v1-ink-2);
  margin: 0 0 var(--sp-4);
}
@media (max-width: 880px) {
  .v1-intro-split { grid-template-columns: 1fr; }
}

/* 3 experience cards (Tiffany Experience pattern) */
.v1-experience {
  padding: 0 clamp(20px, 4vw, 56px) clamp(56px, 9vh, 96px);
}
.v1-experience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.2vw, 18px);
}
.v1-exp-card { display: block; text-align: center; }
.v1-exp-card__photo {
  aspect-ratio: 1 / 1;
  background: var(--v1-bronze);
  position: relative; overflow: hidden;
  margin-bottom: var(--sp-3);
}
.v1-exp-card__photo .photo {
  position: absolute; inset: 8% 14%;
  filter: contrast(0.96);
  transition: transform var(--dur-med) var(--ease);
}
.v1-exp-card:hover .v1-exp-card__photo .photo { transform: scale(1.04); }
.v1-exp-card__title {
  font-family: var(--v1-serif);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--v1-ink);
  margin: 0 0 var(--sp-2);
}
.v1-exp-card__desc {
  font-family: var(--v1-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--v1-ink-2);
  margin: 0 auto var(--sp-3);
  max-width: 30ch;
}
@media (max-width: 880px) {
  .v1-experience__grid { grid-template-columns: 1fr; }
}

/* breadcrumb-style "current section" indicator (Tiffany has "Home / Home Page") */
.v1-breadcrumb {
  text-align: center;
  font-family: var(--v1-body);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--v1-ink-2);
  padding: var(--sp-4) 0 0;
}
.v1-breadcrumb a { color: var(--v1-ink-2); }
.v1-breadcrumb a:hover { color: var(--v1-bronze); }
.v1-breadcrumb .sep { padding: 0 8px; opacity: 0.5; }

/* newsletter — quiet centered ask */
.v1-newsletter {
  padding: clamp(40px, 6vh, 64px) clamp(20px, 4vw, 56px) clamp(64px, 10vh, 120px);
  text-align: center;
}
.v1-newsletter h3 {
  font-family: var(--v1-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 0 0 var(--sp-4);
  color: var(--v1-ink);
}
.v1-newsletter form {
  display: inline-flex; align-items: stretch; gap: 0;
  border-bottom: 1px solid var(--v1-rule-2);
  max-width: 460px; width: 100%;
}
.v1-newsletter input {
  flex: 1;
  background: transparent; border: 0; outline: none;
  padding: 14px 4px;
  font-family: var(--v1-body); font-size: 14px;
  color: var(--v1-ink);
}
.v1-newsletter input::placeholder { color: var(--v1-ink-2); opacity: 0.7; }
.v1-newsletter button {
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--v1-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--v1-ink);
  padding: 0 var(--sp-3);
}
.v1-newsletter button:hover { color: var(--v1-bronze); }

/* === Footer retinted for clean white Tiffany style ================ */
.page-home--v1 .ed-footer {
  background: var(--v1-paper);
  color: var(--v1-ink);
  border-top: 1px solid var(--v1-rule);
  margin-top: 0;
  padding-top: clamp(56px, 9vh, 88px);
  padding-bottom: var(--sp-5);
}
.page-home--v1 .ed-footer__col h4 {
  font-family: var(--v1-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--v1-ink);
  opacity: 1;
  margin-bottom: var(--sp-4);
}
.page-home--v1 .ed-footer__col p,
.page-home--v1 .ed-footer__col li,
.page-home--v1 .ed-footer__col a {
  color: var(--v1-ink-2);
  opacity: 1;
  font-family: var(--v1-body);
  font-size: 13px;
  line-height: 1.6;
}
.page-home--v1 .ed-footer__col a { transition: color var(--dur-fast) var(--ease); }
.page-home--v1 .ed-footer__col a:hover { color: var(--v1-bronze); opacity: 1; }
.page-home--v1 .ed-footer__brand-title {
  font-family: var(--v1-serif);
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  color: var(--v1-ink);
}
.page-home--v1 .ed-footer__sub {
  border: 0; border-bottom: 1px solid var(--v1-rule-2);
  border-radius: 0;
}
.page-home--v1 .ed-footer__sub input {
  font-family: var(--v1-body);
  font-style: normal;
  font-size: 14px;
  color: var(--v1-ink);
}
.page-home--v1 .ed-footer__sub input::placeholder { color: var(--v1-ink-2); opacity: 0.7; }
.page-home--v1 .ed-footer__sub button { color: var(--v1-ink); }
.page-home--v1 .ed-footer__sub button:hover { color: var(--v1-bronze); }
.page-home--v1 .ed-footer__bottom {
  border-top: 1px solid var(--v1-rule);
  color: var(--v1-ink-2);
  opacity: 1;
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  font-family: var(--v1-body);
  font-size: 12px;
}

/* === V1 structural sections (cabinet structure, Tiffany palette) ====
   Restoring component CSS for the structural sections (.v1-sec-head,
   .v1-brand-grid, .v1-cat-row, .v1-brand-card, .v1-cta) that were
   removed in the earlier Tiffany rewrite. Same markup as before, but
   styled with the new tokens — Manrope body, Fraunces italic for
   moments only, hairline grey rules, teal hover state. */

.v1-sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-5);
  align-items: baseline;
  margin: clamp(72px, 11vh, 120px) 0 clamp(32px, 5vh, 56px);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--v1-rule);
}
.v1-sec-head .v1-h2 { margin: 0; }
.v1-sec-head__right {
  font-family: var(--v1-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--v1-ink-2);
  max-width: 44ch;
  text-align: right;
  margin: 0;
}
@media (max-width: 720px) {
  .v1-sec-head { grid-template-columns: 1fr; align-items: start; }
  .v1-sec-head__right { text-align: left; }
}

/* brand grid — 4x3, clean hairline borders */
.v1-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--v1-rule);
  border-left: 1px solid var(--v1-rule);
}
.v1-brand-cell {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: clamp(28px, 4vh, 44px) var(--sp-4);
  text-align: center;
  border-right: 1px solid var(--v1-rule);
  border-bottom: 1px solid var(--v1-rule);
  background: var(--v1-paper);
  transition: background var(--dur-fast) var(--ease);
  text-decoration: none;
}
.v1-brand-cell:hover { background: var(--v1-paper-2); }
.v1-brand-cell__name {
  font-family: var(--v1-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 36, "SOFT" 60;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1;
  color: var(--v1-ink);
  margin-bottom: var(--sp-2);
  transition: color var(--dur-fast) var(--ease);
}
.v1-brand-cell:hover .v1-brand-cell__name { color: var(--v1-bronze); }
.v1-brand-cell__meta {
  font-family: var(--v1-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v1-ink-2);
}
.v1-brand-cell__meta .sep { padding: 0 6px; opacity: 0.5; }
@media (max-width: 1000px) { .v1-brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .v1-brand-grid { grid-template-columns: repeat(2, 1fr); } }

/* categories — 5 cards in a row */
.v1-cat-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(8px, 1.5vw, 18px);
}
.v1-cat-card { display: block; text-decoration: none; }
.v1-cat-card__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--v1-paper-2);
  border: 1px solid var(--v1-rule);
  transition: transform var(--dur-med) var(--ease);
}
.v1-cat-card:hover .v1-cat-card__photo { transform: translateY(-4px); }
.v1-cat-card__photo .photo { position: absolute; inset: 0; filter: contrast(0.95) saturate(0.9); }
.v1-cat-card__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(26,26,26,0.55) 100%);
}
.v1-cat-card__label {
  position: absolute;
  left: 18px; right: 18px; bottom: 16px;
  color: #fff;
  font-family: var(--v1-serif);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.1;
  letter-spacing: 0.005em;
}
@media (max-width: 1100px) { .v1-cat-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .v1-cat-row { grid-template-columns: repeat(2, 1fr); } }

/* featured brand cards (Loymina + Pentrilo) */
.v1-brand-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(40px, 6vh, 72px) 0;
  border-top: 1px solid var(--v1-rule);
  align-items: start;
}
.v1-brand-card:last-of-type { border-bottom: 1px solid var(--v1-rule); }
.v1-brand-card__intro { display: flex; flex-direction: column; gap: var(--sp-3); padding-top: var(--sp-2); }
.v1-brand-card__intro .v1-eyebrow {
  font-family: var(--v1-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v1-ink-2);
}
.v1-brand-card__intro .v1-h2 { margin: 0; }
.v1-brand-card__intro p {
  font-family: var(--v1-body);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  color: var(--v1-ink-2);
  max-width: 32ch;
}

.v1-brand-card__collections {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1.2vw, 14px);
}
.v1-collection-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--v1-paper-2);
  border: 1px solid var(--v1-rule);
  display: block;
  text-decoration: none;
}
.v1-collection-tile .photo { position: absolute; inset: 0; filter: contrast(0.95) saturate(0.9); }
.v1-collection-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(26,26,26,0.55) 100%);
}
.v1-collection-tile__label {
  position: absolute;
  left: 12px; bottom: 10px; right: 12px;
  color: #fff;
  font-family: var(--v1-serif);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.2;
}
.v1-collection-tile--more {
  background: var(--v1-paper);
  display: flex; align-items: center; justify-content: center;
  color: var(--v1-ink-2);
  font-family: var(--v1-display);
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 60;
  font-size: 22px;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.v1-collection-tile--more:hover { color: var(--v1-bronze); background: var(--v1-paper-2); }
.v1-collection-tile--more::after { display: none; }

.v1-brand-card__footer {
  grid-column: 1 / -1;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--v1-rule);
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: clamp(16px, 2.5vw, 32px);
  align-items: center;
}
.v1-brand-card__footer .v1-eyebrow {
  font-family: var(--v1-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v1-ink-2);
}
.v1-projects-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.2vw, 14px);
}
.v1-project-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--v1-paper-2);
  border: 1px solid var(--v1-rule);
  display: block;
}
.v1-project-tile .photo { position: absolute; inset: 0; filter: contrast(0.95) saturate(0.9); }
@media (max-width: 980px) {
  .v1-brand-card { grid-template-columns: 1fr; }
  .v1-brand-card__footer { grid-template-columns: 1fr; }
}

/* === Brand carousel (shared component, all 3 landing pages) =========
   Reference: Foglie d'Oro / typical premium retailer brand wall.
   Logo-only display (no metadata), centered title with hairline rules
   on either side, side arrows, auto-advance with pause-on-hover, dots
   under the viewport that adjust dynamically to viewport width. */
.brand-carousel {
  max-width: 1440px;
  margin: clamp(56px, 9vh, 96px) auto 0;
  padding: 0 clamp(20px, 4vw, 64px);
}
.brand-carousel__head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  text-align: center;
  margin-bottom: clamp(32px, 5vh, 56px);
}
.brand-carousel__head::before,
.brand-carousel__head::after {
  content: "";
  display: block;
  height: 1px;
  background: rgba(0,0,0,0.12);
}
.brand-carousel__title {
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin: 0;
  white-space: nowrap;
}

/* viewport with arrows on either side */
.brand-carousel__frame {
  position: relative;
}
.brand-carousel__viewport {
  overflow: hidden;
  margin: 0 clamp(36px, 5vw, 64px);
}
.brand-carousel__track {
  display: flex;
  transition: transform 700ms var(--ease);
  will-change: transform;
}
.brand-carousel__slide {
  flex: 0 0 calc(100% / 6);      /* default — 6 visible */
  display: flex; align-items: center; justify-content: center;
  height: clamp(120px, 16vh, 180px);
  padding: 0 clamp(8px, 1.5vw, 24px);
  text-decoration: none;
  color: var(--color-ink);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.brand-carousel__slide:hover { transform: translateY(-3px); }
@media (max-width: 1100px) { .brand-carousel__slide { flex-basis: calc(100% / 4); } }
@media (max-width: 720px)  { .brand-carousel__slide { flex-basis: calc(100% / 2); } }
@media (max-width: 480px)  { .brand-carousel__slide { flex-basis: 100%; } }

/* arrows — clean unicode chevrons in thin outlined circles */
.brand-carousel__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 50%;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1;
  color: var(--color-ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.brand-carousel__arrow:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: rgba(0,101,107,0.04);
}
.brand-carousel__arrow--prev { left: 0; }
.brand-carousel__arrow--next { right: 0; }
@media (max-width: 480px) {
  .brand-carousel__arrow { width: 36px; height: 36px; font-size: 18px; }
}

/* dots */
.brand-carousel__dots {
  display: flex; gap: 10px;
  justify-content: center;
  margin-top: clamp(24px, 4vh, 40px);
}
.brand-carousel__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.brand-carousel__dot:hover { background: rgba(0,0,0,0.4); }
.brand-carousel__dot.is-active {
  background: var(--color-ink);
  transform: scale(1.2);
}

/* === Per-brand typographic wordmarks ===========================
   Each is intentionally distinct — different font, weight, case,
   sometimes letter-spacing — to mimic how 12 real logos would
   create visual diversity. Swap each <span> for an <img> when
   real SVG logos arrive. */
.brand-mark {
  display: inline-block;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1;
  color: var(--color-ink);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease);
}
.brand-carousel__slide:hover .brand-mark { color: var(--color-brand); }

.brand-mark--europlast {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-mark--rodecor {
  font-family: "Cormorant Garamond", "Newsreader", serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: clamp(22px, 2.2vw, 30px);
}
.brand-mark--loymina {
  font-family: "Newsreader", "Cormorant Garamond", serif;
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: clamp(18px, 1.8vw, 22px);
}
.brand-mark--vitrulan {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand-mark--decaro {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
}
.brand-mark--derufa {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  font-size: clamp(22px, 2.2vw, 28px);
}
.brand-mark--pentrilo {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: lowercase;
  font-size: clamp(16px, 1.6vw, 20px);
}
.brand-mark--premiera {
  font-family: "Fraunces", "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 60, "SOFT" 80;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--color-brand);
}
.brand-mark--artpole {
  font-family: "Manrope", sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.brand-mark--affresco {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.005em;
  font-size: clamp(24px, 2.4vw, 32px);
}
.brand-mark--wondermax {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand-mark--ecowood {
  font-family: "Newsreader", "Cormorant Garamond", serif;
  font-weight: 300;
  font-style: italic;
  font-variation-settings: "opsz" 36;
  font-size: clamp(22px, 2.2vw, 30px);
}

/* === Categories — full-bleed dark interlude (Foglie d'Oro pattern) ===
   Replaces the .v1-cat-row treatment on V1. Breaks out of .container
   via 100vw + negative left margin to span the full viewport. */
.cat-dark {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #0a0a0a;
  color: #fff;
  padding: clamp(80px, 12vh, 140px) clamp(24px, 4vw, 64px);
}
.cat-dark__head {
  max-width: 1180px;
  margin: 0 auto clamp(40px, 6vh, 64px);
}
.cat-dark__title {
  font-family: var(--v1-serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0 0 var(--sp-4);
  color: #fff;
}
.cat-dark__lede {
  font-family: var(--v1-body);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin: 0;
  max-width: 82ch;
}
.cat-dark__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.4vw, 16px);
}
.cat-dark-card {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  display: block;
  background: #1a1a1a;
  text-decoration: none;
  isolation: isolate;
}
.cat-dark-card .photo {
  position: absolute; inset: 0;
  filter: contrast(0.95) saturate(0.85);
  transition: transform 700ms var(--ease);
  z-index: 0;
}
.cat-dark-card:hover .photo { transform: scale(1.05); }
/* radial vignette anchors the centered text — matches the reference */
.cat-dark-card::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(
    ellipse at center,
    rgba(10,10,10,0.45) 0%,
    rgba(10,10,10,0.75) 100%
  );
  transition: opacity var(--dur-fast) var(--ease);
}
.cat-dark-card:hover::after { opacity: 0.85; }
.cat-dark-card__body {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(20px, 3vw, 40px);
  color: #fff;
}
.cat-dark-card__eyebrow {
  font-family: var(--v1-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin-bottom: 10px;
  transition: color var(--dur-fast) var(--ease);
}
.cat-dark-card__title {
  font-family: var(--v1-serif);
  font-weight: 400;
  font-variation-settings: "opsz" 60;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  color: #fff;
  margin: 0;
  letter-spacing: 0.005em;
}
@media (max-width: 900px) {
  .cat-dark__grid { grid-template-columns: repeat(2, 1fr); }
  .cat-dark-card { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .cat-dark__grid { grid-template-columns: 1fr; }
  .cat-dark-card { aspect-ratio: 16 / 10; }
}

/* CTA strip — one quiet card */
.v1-cta {
  background: var(--v1-paper-2);
  border-top: 1px solid var(--v1-rule);
  border-bottom: 1px solid var(--v1-rule);
  padding: clamp(56px, 9vh, 96px) clamp(32px, 5vw, 80px);
  margin: clamp(72px, 11vh, 120px) 0 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-5);
  align-items: center;
}
.v1-cta .v1-h2 { max-width: 30ch; margin: 0; }
.v1-cta .v1-eyebrow {
  display: block;
  margin-bottom: var(--sp-2);
  font-family: var(--v1-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v1-bronze);
}
.v1-cta__btn {
  display: inline-block;
  background: var(--v1-ink);
  color: var(--v1-paper);
  font-family: var(--v1-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 18px 40px;
  border: 1px solid var(--v1-ink);
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.v1-cta__btn:hover { background: var(--v1-bronze); border-color: var(--v1-bronze); color: #fff; }
@media (max-width: 720px) { .v1-cta { grid-template-columns: 1fr; } }

/* 17. V2 — structural sections (parallel to V1, gallery aesthetic) ----- */
/* V2's "Curated Quiet" boutique minimalism: deeper off-white, true black,
   single cadmium-red accent (departure from teal), full-bleed sections,
   serif italics from Cormorant for headings. */

.page-home--v2 {
  --v2-bg:        #faf7f1;
  --v2-bg-2:      #f1ece1;
  --v2-ink:       #0a0a0a;
  --v2-ink-2:     #4a4036;
  --v2-rule:      #e5dfd0;
  --v2-accent:    #c84e2d;       /* cadmium red — V2's signature */
  --v2-accent-2:  #a13e22;
  --v2-display:   "Cormorant Garamond", "Source Serif Pro", Georgia, serif;
  --v2-body:      "Manrope", "Söhne", -apple-system, Helvetica, sans-serif;
  --v2-mono:      "JetBrains Mono", "IBM Plex Mono", monospace;
  background: var(--v2-bg);
  color: var(--v2-ink);
  font-family: var(--v2-body);
}

.page-home--v2 .v2-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}
.page-home--v2 .v2-section { padding: clamp(64px, 10vh, 120px) 0; }
.page-home--v2 .v2-section + .v2-section { padding-top: 0; }

/* V2 slider (variant of V1 — different chrome) */
.v2-hero--slider { padding: 0; }
.v2-slider {
  position: relative; height: clamp(560px, 86vh, 880px);
  background: var(--v2-ink); color: var(--v2-bg);
  overflow: hidden;
}
.v2-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms var(--ease); pointer-events: none; }
.v2-slide.is-active { opacity: 1; pointer-events: auto; }
.v2-slide__media { position: absolute; inset: 0; overflow: hidden; }
.v2-slide__media .photo,
.v2-slide__video { position: absolute; inset: 0; object-fit: cover; filter: contrast(0.95) saturate(0.85); }
.v2-slide.is-active .v2-slide__media .photo,
.v2-slide.is-active .v2-slide__video {
  animation: v1-kb 14s ease-in-out infinite alternate;
}
.v2-slide__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0) 0%, rgba(10,10,10,0.55) 100%);
}
.v2-slide__text {
  position: absolute; left: clamp(24px, 6vw, 88px);
  bottom: clamp(72px, 12vh, 140px); right: clamp(24px, 6vw, 88px);
  max-width: 920px; color: #fff;
}
.v2-slide__eyebrow {
  font-family: var(--v2-mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.9; display: block; margin-bottom: var(--sp-4);
}
.v2-slide__h {
  font-family: var(--v2-display); font-style: italic; font-weight: 400;
  font-size: clamp(48px, 7.5vw, 112px); line-height: 0.98;
  letter-spacing: -0.01em; margin: 0 0 var(--sp-4); max-width: 18ch;
  color: #fff;
}
.v2-slide__h em { color: var(--v2-accent); font-style: italic; }
.v2-slide__cta {
  display: inline-block;
  font-family: var(--v2-body); font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #fff; padding-bottom: 4px; border-bottom: 1px solid #fff;
}
.v2-slide__cta:hover { color: var(--v2-accent); border-color: var(--v2-accent); }
.v2-slider__counter {
  position: absolute; top: clamp(24px, 4vh, 40px); right: clamp(24px, 6vw, 88px);
  font-family: var(--v2-mono); font-size: 11px; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.85); z-index: 4;
}
.v2-slider__counter .current { color: var(--v2-accent); }
.v2-slider__dots {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: clamp(24px, 4vh, 40px); display: flex; gap: 10px; z-index: 4;
}
.v2-slider__dot { background: transparent; border: 0; padding: 10px 0; cursor: pointer; }
.v2-slider__dot::after {
  content: ""; display: block; width: 28px; height: 1px;
  background: rgba(255,255,255,0.5);
  transition: background var(--dur-fast) var(--ease);
}
.v2-slider__dot:hover::after { background: #fff; }
.v2-slider__dot.is-active::after { background: var(--v2-accent); height: 2px; }

/* V2 section head — left-aligned, monumental italic + tiny mono eyebrow */
.v2-sec-head { margin-bottom: clamp(40px, 6vh, 64px); max-width: 720px; }
.v2-sec-head__eyebrow {
  display: block; font-family: var(--v2-mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--v2-accent); margin-bottom: var(--sp-3);
}
.v2-sec-head__title {
  font-family: var(--v2-display); font-style: italic; font-weight: 400;
  font-size: clamp(40px, 5.5vw, 76px); line-height: 0.98;
  letter-spacing: -0.01em; margin: 0; color: var(--v2-ink);
}

/* V2 brand grid — 3 col × 4 rows, generous whitespace, no borders */
.v2-brand-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(40px, 5vw, 96px);
  row-gap: clamp(24px, 3vh, 48px);
  border-top: 1px solid var(--v2-rule);
  padding-top: clamp(24px, 4vh, 48px);
}
.v2-brand-cell {
  display: flex; flex-direction: column;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--v2-rule);
  transition: padding var(--dur-fast) var(--ease);
}
.v2-brand-cell:hover { padding-left: var(--sp-2); }
.v2-brand-cell__name {
  font-family: var(--v2-display); font-style: italic; font-size: 32px;
  color: var(--v2-ink); transition: color var(--dur-fast) var(--ease);
}
.v2-brand-cell:hover .v2-brand-cell__name { color: var(--v2-accent); }
.v2-brand-cell__meta {
  font-family: var(--v2-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--v2-ink-2); margin-top: 4px;
}
@media (max-width: 880px) { .v2-brand-grid { grid-template-columns: repeat(2, 1fr); column-gap: var(--sp-5); } }
@media (max-width: 560px) { .v2-brand-grid { grid-template-columns: 1fr; } }

/* V2 categories — 5 cards in a row, photo-driven */
.v2-cat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1.5vw, 18px); }
.v2-cat-card { display: block; }
.v2-cat-card__photo {
  aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--v2-bg-2);
  transition: transform var(--dur-med) var(--ease);
}
.v2-cat-card:hover .v2-cat-card__photo { transform: translateY(-6px); }
.v2-cat-card__photo .photo { position: absolute; inset: 0; filter: contrast(0.95); }
.v2-cat-card__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(10,10,10,0.55) 100%);
}
.v2-cat-card__label {
  position: absolute; left: 18px; bottom: 16px;
  color: #fff; font-family: var(--v2-display); font-style: italic; font-size: 26px;
}
@media (max-width: 1100px) { .v2-cat-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .v2-cat-row { grid-template-columns: repeat(2, 1fr); } }

/* V2 brand card — wide split with 4 tile thumbs */
.v2-brand-card {
  display: grid; grid-template-columns: 320px 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(40px, 5vh, 72px) 0;
  border-top: 1px solid var(--v2-rule);
  align-items: center;
}
.v2-brand-card:last-of-type { border-bottom: 1px solid var(--v2-rule); }
.v2-mono {
  font-family: var(--v2-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--v2-accent); display: block; margin-bottom: var(--sp-3);
}
.v2-brand-card__h {
  font-family: var(--v2-display); font-style: italic; font-weight: 400;
  font-size: clamp(40px, 4.5vw, 60px); line-height: 1; margin: 0 0 var(--sp-3);
  color: var(--v2-ink);
}
.v2-brand-card__intro p {
  font-family: var(--v2-body); font-size: 16px; line-height: 1.55;
  color: var(--v2-ink-2); margin: 0 0 var(--sp-4); max-width: 32ch;
}
.v2-underline {
  display: inline-block; font-family: var(--v2-body); font-size: 12px;
  font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--v2-ink); padding-bottom: 4px; border-bottom: 1px solid var(--v2-ink);
}
.v2-underline:hover { color: var(--v2-accent); border-color: var(--v2-accent); }

.v2-brand-card__tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 14px);
}
.v2-tile {
  position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--v2-bg-2); display: block;
}
.v2-tile .photo { position: absolute; inset: 0; filter: contrast(0.95) saturate(0.9); }
.v2-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(10,10,10,0.55) 100%);
}
.v2-tile__label {
  position: absolute; left: 12px; bottom: 10px; right: 12px;
  color: #fff; font-family: var(--v2-display); font-style: italic; font-size: 16px;
}
@media (max-width: 980px) {
  .v2-brand-card { grid-template-columns: 1fr; }
  .v2-brand-card__tiles { grid-template-columns: repeat(2, 1fr); }
}

/* V2 CTA — quiet centered block */
.v2-cta {
  border-top: 1px solid var(--v2-rule);
  padding: clamp(56px, 9vh, 96px) 0;
  text-align: center;
}
.v2-cta__h {
  font-family: var(--v2-display); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1;
  margin: 0 auto var(--sp-5); max-width: 28ch; color: var(--v2-ink);
}
.v2-cta__btn {
  display: inline-block;
  background: var(--v2-ink); color: var(--v2-bg);
  font-family: var(--v2-body); font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 18px 40px; border: 1px solid var(--v2-ink);
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.v2-cta__btn:hover { background: var(--v2-accent); border-color: var(--v2-accent); color: #fff; }

/* 18. V3 — structural sections (parallel to V1/V2, magazine aesthetic) -- */

.page-home--v3 .v3-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 56px);
}
.page-home--v3 .v3-section { padding: clamp(56px, 9vh, 100px) 0; }
.page-home--v3 .v3-section:first-of-type { padding-top: clamp(72px, 11vh, 120px); }

/* V3 slider — magazine treatment */
.v3-hero-slider { position: relative; }
.v3-slider {
  position: relative; height: clamp(560px, 80vh, 760px);
  overflow: hidden; background: var(--color-brand-deep); color: var(--color-bg);
}
.v3-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms var(--ease); pointer-events: none; }
.v3-slide.is-active { opacity: 1; pointer-events: auto; }
.v3-slide__media { position: absolute; inset: 0; overflow: hidden; }
.v3-slide__media .photo,
.v3-slide__video { position: absolute; inset: 0; object-fit: cover; filter: contrast(0.95) saturate(0.9); }
.v3-slide.is-active .v3-slide__media .photo,
.v3-slide.is-active .v3-slide__video {
  animation: v1-kb 14s ease-in-out infinite alternate;
}
.v3-slide__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,40,42,0.55) 0%, rgba(0,40,42,0.15) 50%, rgba(0,40,42,0) 100%),
    linear-gradient(to top, rgba(0,40,42,0.55) 0%, rgba(0,40,42,0) 60%);
}
.v3-slide__text {
  position: absolute; left: clamp(28px, 6vw, 96px);
  bottom: clamp(64px, 12vh, 120px);
  max-width: 720px; color: var(--color-bg);
}
.v3-slide__eyebrow { display: block; margin-bottom: var(--sp-3); color: var(--color-cta); }
.v3-slide__h {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(52px, 7.5vw, 108px); line-height: 0.95;
  letter-spacing: -0.012em; margin: 0 0 var(--sp-4); max-width: 17ch;
  color: var(--color-bg);
}
.v3-slide__h em { font-style: italic; color: var(--color-cta); }
.v3-slide__cta {
  display: inline-block; font-family: var(--font-sans); font-size: 13px;
  font-weight: 500; letter-spacing: 0.08em;
  color: var(--color-bg); padding-bottom: 4px;
  border-bottom: 1px solid var(--color-cta);
}
.v3-slide__cta:hover { color: var(--color-cta); }
.v3-slide__page-num {
  position: absolute; top: clamp(24px, 4vh, 40px); right: clamp(28px, 6vw, 96px);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.75); z-index: 4;
}
.v3-slider__dots {
  position: absolute; left: clamp(28px, 6vw, 96px); bottom: 28px;
  display: flex; gap: 8px; z-index: 4;
}
.v3-slider__dot { background: transparent; border: 0; padding: 8px 0; cursor: pointer; }
.v3-slider__dot::after {
  content: ""; display: block; width: 24px; height: 1px;
  background: rgba(255,255,255,0.4);
}
.v3-slider__dot:hover::after { background: rgba(255,255,255,0.85); }
.v3-slider__dot.is-active::after { background: var(--color-cta); height: 2px; }

/* V3 section head — eyebrow + title with magazine numbering */
.v3-sec-head {
  margin-bottom: clamp(32px, 5vh, 56px);
  display: grid; gap: 12px; max-width: 820px;
}
.v3-sec-head .v3-eyebrow { color: var(--color-cta); }

/* V3 brand grid — 4×3 with magazine number marginalia */
.v3-brand-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(0,0,0,0.1);
}
.v3-brand-cell {
  position: relative;
  padding: var(--sp-5) var(--sp-4);
  border-right: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex; flex-direction: column;
  transition: background var(--dur-fast) var(--ease);
}
.v3-brand-cell:nth-child(4n) { border-right: 0; }
.v3-brand-cell:hover { background: rgba(0,101,107,0.04); }
.v3-brand-cell__num {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; color: var(--color-cta);
  margin-bottom: var(--sp-3);
}
.v3-brand-cell__name {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 28px; line-height: 1; color: var(--color-ink);
  margin-bottom: 6px;
  transition: color var(--dur-fast) var(--ease);
}
.v3-brand-cell:hover .v3-brand-cell__name { color: var(--color-brand); }
.v3-brand-cell__meta {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-muted); margin-top: auto;
}
@media (max-width: 1000px) { .v3-brand-grid { grid-template-columns: repeat(2, 1fr); } .v3-brand-cell:nth-child(4n) { border-right: 1px solid rgba(0,0,0,0.08); } .v3-brand-cell:nth-child(2n) { border-right: 0; } }
@media (max-width: 560px)  { .v3-brand-grid { grid-template-columns: 1fr; } .v3-brand-cell { border-right: 0; } }

/* V3 categories — 5 cards */
.v3-cat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-3); }
.v3-cat-card { display: block; text-align: center; }
.v3-cat-card__photo {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  background: rgba(0,101,107,0.05);
}
.v3-cat-card__photo .photo { position: absolute; inset: 0; filter: contrast(0.95); }
.v3-cat-card__label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-ink); margin-top: var(--sp-3);
}
.v3-cat-card:hover .v3-cat-card__label { color: var(--color-cta); }
@media (max-width: 1100px) { .v3-cat-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .v3-cat-row { grid-template-columns: repeat(2, 1fr); } }

/* V3 brand card — like the v3-card pattern */
.v3-brand-card {
  display: grid; grid-template-columns: 320px 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(40px, 5vh, 64px) 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  align-items: center;
}
.v3-brand-card:last-of-type { border-bottom: 1px solid rgba(0,0,0,0.1); }
.v3-brand-card__intro .v3-eyebrow { display: block; margin-bottom: var(--sp-3); }
.v3-brand-card__h {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(36px, 4.2vw, 56px); line-height: 1; margin: 0 0 var(--sp-3);
  color: var(--color-ink);
}
.v3-brand-card__intro p {
  font-family: var(--font-sans); font-size: 15px; line-height: 1.55;
  color: var(--color-muted); margin: 0 0 var(--sp-4); max-width: 32ch;
}
.v3-brand-card__tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2);
}
.v3-tile {
  position: relative; aspect-ratio: 4/5; overflow: hidden; display: block;
  background: rgba(0,101,107,0.05);
}
.v3-tile .photo { position: absolute; inset: 0; filter: contrast(0.95) saturate(0.9); }
.v3-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,40,42,0.6) 100%);
}
.v3-tile__label {
  position: absolute; left: 10px; bottom: 8px; right: 10px;
  color: var(--color-bg); font-family: var(--font-serif); font-style: italic; font-size: 14px;
}
@media (max-width: 980px) {
  .v3-brand-card { grid-template-columns: 1fr; }
  .v3-brand-card__tiles { grid-template-columns: repeat(2, 1fr); }
}

/* V3 CTA — same as v3-cards pattern */
.v3-cta {
  background: var(--color-brand);
  color: var(--color-bg);
  border-radius: 2px;
  padding: clamp(40px, 6vh, 64px) clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: 1fr auto; gap: var(--sp-5);
  align-items: center; margin-top: var(--sp-4);
}
.v3-cta .v3-eyebrow { color: var(--color-cta); display: block; margin-bottom: var(--sp-2); }
.v3-cta .v3-h2 { color: var(--color-bg); max-width: 26ch; }
@media (max-width: 720px) { .v3-cta { grid-template-columns: 1fr; } }
