/* ── Custom cursor ── */
#cursor-wrap {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  transition: opacity .3s;
  line-height: 0;
}
#cursor {
  color: rgba(255,255,255,.9);
  filter: drop-shadow(0 0 1px rgba(0,0,0,.5));
  transition: opacity .2s;
}
#cursor.cursor--active { opacity: .5; }
@media (pointer: coarse) { #cursor-wrap { display: none; } }

/* ── Design tokens ── */
:root {
  --bg:       #f4eee6;
  --paper:    #fffaf3;
  --ink:      #261b15;
  --ink-soft: #3f342d;
  --muted:    #7a6b60;
  --line:     #d9cfc3;
  --warm-dark:#1a110b;

  --serif: Georgia, "Times New Roman", serif;
  --sans:  Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --nav-h: 50px;
  --ease:  cubic-bezier(.25,.1,.25,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  transition: background .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease);
}
.nav:not(.nav--scrolled) {
  height: 180px;
  align-items: flex-start;
  padding-top: 18px;
}
.nav--scrolled {
  background: rgba(244, 238, 230, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__menu span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--paper);
  transition: background .3s;
}
.nav--scrolled .nav__menu span { background: var(--ink); }

.nav__brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__logo {
  height: 160px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .3s var(--ease), height .3s var(--ease);
}
.nav--scrolled .nav__logo { filter: none; height: 90px; }

.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav__contact {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper);
  transition: color .3s;
}
.nav--scrolled .nav__contact { color: var(--ink); }

.nav__lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .12em;
}
.nav__lang-active {
  color: var(--paper);
  transition: color .3s;
}
.nav--scrolled .nav__lang-active { color: var(--ink); }
.nav__lang-sep {
  color: rgba(255,250,243,.3);
  transition: color .3s;
}
.nav--scrolled .nav__lang-sep { color: var(--line); }
.nav__lang-link {
  color: rgba(255,250,243,.45);
  text-decoration: none;
  transition: color .3s;
}
.nav__lang-link:hover { color: var(--paper); }
.nav--scrolled .nav__lang-link { color: var(--muted); }
.nav--scrolled .nav__lang-link:hover { color: var(--ink); }

/* ── Nav overlay ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--warm-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 60px;
  transform: translateX(-100%);
  transition: transform .5s var(--ease);
}
.nav-overlay.is-open { transform: translateX(0); }
.nav-overlay__close {
  position: absolute;
  top: 28px; right: 36px;
  color: var(--paper);
  font-size: 22px;
  opacity: .7;
}
.nav-overlay__close:hover { opacity: 1; }
.nav-overlay__links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.nav-overlay__links a {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 36px);
  color: var(--paper);
  opacity: .7;
  transition: opacity .2s;
  letter-spacing: -.01em;
}
.nav-overlay__links a:hover { opacity: 1; }

/* ── Hero ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero__slide--active { opacity: 1; }
.hero__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,17,11,.35) 0%,
    rgba(26,17,11,.15) 40%,
    rgba(26,17,11,.55) 100%
  );
}
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  gap: 28px;
  transition: opacity .8s var(--ease);
}
.hero__ctas--bottom {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 24px;
}
.hero__label {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,250,243,.75);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 5.5vw, 72px);
  line-height: 1.12;
  color: var(--paper);
  letter-spacing: -.01em;
  opacity: 0;
  transform: translateY(20px);
  animation: heroTitleIn .9s var(--ease) forwards;
  animation-delay: 3s;
}
.hero__label {
  opacity: 0;
  animation: heroTitleIn .9s var(--ease) forwards;
  animation-delay: 3s;
}
@keyframes heroTitleIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__content {
  transition: opacity .8s var(--ease);
}
.hero__content--hidden {
  opacity: 0 !important;
  pointer-events: none;
}
.hero__tagline {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.2;
  color: var(--paper);
  letter-spacing: -.01em;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.hero__tagline--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero dots ── */
.hero__dots {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,250,243,.6);
  background: transparent;
  transition: background .3s, border-color .3s;
  padding: 0;
}
.hero__dot--active {
  background: var(--paper);
  border-color: var(--paper);
}

/* ── Hero scroll arrow ── */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(255,250,243,.5);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: .5; }
  50%       { transform: scaleY(.5); opacity: 1; }
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: background .25s, color .25s, border-color .25s;
}
.btn--pill { border-radius: 100px; }
.btn--pill:not(.btn--outline):not(.btn--outline-light):not(.btn--light) {
  background: var(--paper);
  color: var(--ink);
}
.btn--pill:not(.btn--outline):not(.btn--outline-light):not(.btn--light):hover {
  background: var(--ink);
  color: var(--paper);
}
.btn--outline {
  border: 1.5px solid rgba(255,250,243,.6);
  color: var(--paper);
}
.btn--outline:hover {
  background: rgba(255,250,243,.1);
}
.btn--outline-light {
  border: 1.5px solid rgba(255,250,243,.5);
  color: var(--paper);
}
.btn--outline-light:hover { background: rgba(255,250,243,.1); }
.btn--light {
  background: var(--paper);
  color: var(--ink);
}
.btn--light:hover {
  background: var(--bg);
}

/* ── Home video ── */
.home-video-section {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}
.home-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,17,11,.2) 0%,
    rgba(26,17,11,.45) 100%
  );
}
.home-video__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  padding: 0 40px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3.5vw, 52px);
  line-height: 1.25;
  color: var(--paper);
  letter-spacing: -.01em;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.home-video__text--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Sections ── */
.section { width: 100%; }
.section--dark { background: var(--warm-dark); }
.section--warm { background: var(--paper); }
.collection__slogan {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.8vw, 20px);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: -28px 0 56px;
  letter-spacing: .01em;
}
#professionals {
  background: url('assets/fond-pro.jpg') center/cover no-repeat;
}

.section__fullbleed {
  position: relative;
  min-height: 100svh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.section__fullbleed--video {
  background: var(--warm-dark);
}
.section__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,17,11,.8) 0%, rgba(26,17,11,.2) 60%, rgba(26,17,11,.4) 100%);
}
.section__overlay--heavy {
  background: rgba(26,17,11,.72);
}

.section__content {
  position: relative;
  z-index: 1;
  padding: 80px 60px;
  max-width: 860px;
}
.section__content--bottom-left { align-self: flex-end; }
.section__content--center {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 100px 40px;
}

.section__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 40px;
}
.section__header {
  margin-bottom: 60px;
}

/* ── Labels ── */
.label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: block;
}
.label--light { color: rgba(255,250,243,.6); }

/* ── Titles ── */
.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--ink);
}
.title--large {
  font-size: clamp(32px, 5vw, 64px);
}
.title--light { color: var(--paper); }
.title--center { text-align: center; }

/* ── Body text ── */
.text { color: var(--ink-soft); line-height: 1.7; }
.text p { margin-bottom: 1em; }
.text p:last-child { margin-bottom: 0; }
.text--light { color: rgba(255,250,243,.8); }
.text--narrow { max-width: 560px; margin-top: 24px; }
.text--center { text-align: center; max-width: 520px; margin: 20px auto 0; }
.text--closing {
  margin-top: 28px !important;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(255,250,243,.9);
  line-height: 1.5;
}

/* ── Cards ── */
.cards {
  display: grid;
  gap: 2px;
}
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

/* Collection grid: no gap, full-bleed cards */
#collection-grid {
  gap: 12px;
}

.card {
  background: var(--paper);
  overflow: hidden;
}
.card__image {
  height: 340px;
  background-size: cover;
  background-position: center;
}
.card__image--tall {
  height: 420px;
  background-size: cover;
  background-position: center;
  background-color: var(--paper);
}
.card__body {
  padding: 28px 24px 32px;
  border-left: none;
  border-top: 1px solid var(--line);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--ink);
}
.card__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color .2s;
  cursor: pointer;
}
.card--collection:hover .card__link { border-color: var(--ink); }

.card--pro .card__body--pro {
  padding: 40px 32px 44px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.card--pro .card__text { flex: 1; margin-top: 12px; }
.card--pro .card__link { margin-top: 28px; }

/* ── Bespoke steps ── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 48px 0 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  text-align: center;
  color: var(--paper);
  min-width: 140px;
  padding: 0 20px;
}
.step__num {
  display: block;
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(255,250,243,.4);
  margin-bottom: 10px;
}
.step__name {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 8px;
}
.step__desc {
  font-size: 12px;
  color: rgba(255,250,243,.6);
  line-height: 1.5;
}
.step__divider {
  width: 40px;
  height: 1px;
  background: rgba(255,250,243,.2);
  align-self: center;
  flex-shrink: 0;
}

/* ── Professionals private block ── */
.pro-private {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  max-width: 680px;
}
.pro-private .text { font-size: 15px; color: var(--muted); margin-top: 12px; }

/* ── Contact ── */
.contact__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
}
.contact__location {
  margin-top: 36px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,250,243,.35);
}

/* ── Footer ── */
.footer {
  background: var(--warm-dark);
  padding: 48px 40px 32px;
}
.footer__links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,250,243,.1);
}
.footer__links a {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,250,243,.45);
  transition: color .2s;
}
.footer__links a:hover { color: rgba(255,250,243,.9); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}
.footer__copy {
  font-size: 11px;
  color: rgba(255,250,243,.25);
}
.footer__social {
  display: flex;
  gap: 20px;
}
.footer__social a {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,250,243,.4);
  transition: color .2s;
}
.footer__social a:hover { color: rgba(255,250,243,.9); }

/* ── Rug status badge ── */
.card__status {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 5px 10px;
  z-index: 2;
}
.card__status--sold {
  background: rgba(26,17,11,.65);
  color: rgba(255,250,243,.8);
}
.card__status--reserved {
  background: rgba(122,107,96,.75);
  color: var(--paper);
}

/* ── Card gallery indicator ──
   Thin bar at bottom of card image; spans light up as user hovers across zones */
.card__image { position: relative; transition: background-image .35s var(--ease); height: 280px; }
.card__indicator {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity .25s;
}
.card:hover .card__indicator { opacity: 1; }
.card__indicator span {
  display: block;
  width: 28px;
  height: 2px;
  background: rgba(255,250,243,.4);
  transition: background .2s;
}
.card__indicator span.active { background: var(--paper); }

/* ── Product page ── */
.rug-page { background: var(--bg); }

.rug-hero {
  position: relative;
  height: 45svh;
  min-height: 300px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--paper);
  overflow: hidden;
}
.rug-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,17,11,.55) 0%, transparent 50%);
}
.rug-hero__back {
  position: absolute;
  top: calc(var(--nav-h) + 20px);
  left: 36px;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,250,243,.8);
  text-decoration: none;
  transition: color .2s;
  z-index: 2;
}
.rug-hero__back:hover { color: var(--paper); }
.rug-hero__name {
  position: absolute;
  bottom: 48px;
  left: 48px;
  z-index: 2;
}
.rug-hero__name .label { margin-bottom: 8px; }
.rug-hero__name h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 80px);
  color: var(--paper);
  letter-spacing: -.02em;
  line-height: 1;
}

/* Gallery — single image with hover cycling */
.rug-gallery {
  width: 100%;
  position: relative;
  margin-top: var(--nav-h);
  display: flex;
  justify-content: center;
  background: var(--bg);
  padding: 40px 20px;
}

.rug-gallery__single {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bg);
  cursor: pointer;
  position: relative;
}

.rug-gallery__indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity .25s;
}
.rug-gallery__single:hover .rug-gallery__indicator { opacity: 1; }
.rug-gallery__indicator span {
  display: block;
  width: 40px;
  height: 2px;
  background: rgba(255,250,243,.35);
  transition: background .2s;
}
.rug-gallery__indicator span.active { background: var(--paper); }

.rug-gallery__hint {
  position: absolute;
  bottom: 56px;
  right: 28px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,250,243,.85);
  background: rgba(26,17,11,.45);
  padding: 8px 14px;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.rug-gallery__single:hover .rug-gallery__hint { opacity: 1; }

/* Product info */
.rug-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px 100px;
}
.rug-info__desc { padding-right: 80px; border-right: 1px solid var(--line); }
.rug-info__desc .title { margin: 12px 0 24px; }
.rug-info__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.5;
}
.rug-info__body { font-size: 15px; line-height: 1.75; color: var(--muted); margin-bottom: 40px; }

.rug-details { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 32px; }
.rug-detail {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.rug-detail__key { color: var(--muted); letter-spacing: .06em; }
.rug-detail__val { color: var(--ink); text-align: right; max-width: 60%; }

.rug-info__cta { padding-left: 80px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.rug-info__cta .btn { align-self: flex-start; }
.rug-info__cta-link {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color .2s, border-color .2s;
}
.rug-info__cta-link:hover { color: var(--ink); border-color: var(--ink); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(26,17,11,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: all; }
.lightbox__img {
  max-width: 90vw;
  max-height: 90svh;
  object-fit: contain;
  display: block;
}
.lightbox__close {
  position: absolute;
  top: 24px; right: 32px;
  color: rgba(255,250,243,.7);
  font-size: 24px;
}
.lightbox__close:hover { color: var(--paper); }
.lightbox__prev, .lightbox__next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  color: rgba(255,250,243,.6);
  font-size: 32px;
  padding: 20px;
  transition: color .2s;
}
.lightbox__prev:hover, .lightbox__next:hover { color: var(--paper); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

@media (max-width: 900px) {
  .rug-gallery { grid-template-columns: 1fr; }
  .rug-gallery__item--active { grid-column: span 1; height: 300px; }
  .rug-gallery__item { height: 260px; }
  .rug-info { grid-template-columns: 1fr; padding: 50px 20px 70px; }
  .rug-info__desc { padding-right: 0; border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 40px; margin-bottom: 40px; }
  .rug-info__cta { padding-left: 0; }
  .rug-hero__back { left: 20px; }
  .rug-hero__name { left: 20px; bottom: 32px; }
}

/* ── Collection grid layout ── */
#collection-grid {
  grid-template-columns: 1fr 1fr;
}

/* ── Collection modal ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.modal.is-open { pointer-events: all; opacity: 1; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26,17,11,.75);
  cursor: pointer;
}
.modal__panel {
  position: relative;
  z-index: 1;
  background: var(--paper);
  display: flex;
  max-width: 860px;
  width: 90%;
  max-height: 90svh;
  overflow: hidden;
}
.modal__close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 18px;
  color: var(--muted);
  z-index: 2;
}
.modal__close:hover { color: var(--ink); }
.modal__image {
  width: 50%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  min-height: 400px;
}
.modal__body {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modal__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  margin: 8px 0 16px;
  color: var(--ink);
}
.modal__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 32px;
}
.modal__cta { margin-top: auto; align-self: flex-start; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .cards--3 { grid-template-columns: 1fr; }
  .cards--2 { grid-template-columns: 1fr; }
  .section__inner { padding: 70px 20px; }
  .section__content { padding: 60px 24px; }
  .section__content--center { padding: 80px 24px; }
  .steps { gap: 32px; }
  .step__divider { display: none; }
  .modal__panel { flex-direction: column; }
  .modal__image { width: 100%; min-height: 220px; }
  .hero__title { font-size: clamp(26px, 7vw, 44px); }
  .footer { padding: 40px 20px 24px; }
  .footer__links { gap: 18px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .nav-overlay { padding: 80px 32px; }
}

/* ════════════════════════════════════════
   RESPONSIVE — Tablet & Mobile
   ════════════════════════════════════════ */

/* ── Tablet (≤ 900px) ── */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav:not(.nav--scrolled) { height: 130px; }
  .nav__logo { height: 110px; }
  .nav--scrolled .nav__logo { height: 55px; }

  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .cards--2 { grid-template-columns: 1fr; }

  .section__inner { padding: 60px 20px; }
  .section__content { padding: 60px 24px; }
  .section__content--center { padding: 70px 24px; }

  .steps { gap: 28px; }
  .step__divider { display: none; }

  .hero__title { font-size: clamp(26px, 6vw, 44px); }

  .footer { padding: 40px 20px 24px; }
  .footer__links { gap: 18px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .nav-overlay { padding: 80px 32px; }

  /* Rug product page */
  .rug-info { grid-template-columns: 1fr; padding: 50px 20px 70px; }
  .rug-info__desc { padding-right: 0; border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 40px; margin-bottom: 40px; }
  .rug-info__cta { padding-left: 0; }
}

/* ── Mobile (≤ 600px) ── */
@media (max-width: 600px) {
  /* Nav — compact logo, hide CONTACT (accessible via hamburger) */
  .nav { padding: 0 16px; height: 56px; }
  .nav:not(.nav--scrolled) { height: 100px; }
  .nav__logo { height: 80px; }
  .nav--scrolled .nav__logo { height: 44px; }
  .nav__contact { display: none; }
  .nav__lang { font-size: 11px; }

  /* Hero */
  .hero__title { font-size: clamp(22px, 8vw, 36px); line-height: 1.15; }
  .hero__ctas--bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    bottom: 32px;
    padding: 0 20px;
  }
  .hero__ctas--bottom .btn { width: 100%; text-align: center; }

  /* Collection — 1 column on phone */
  #collection-grid { grid-template-columns: 1fr; }
  .card__image--tall { height: 300px; }

  /* Design cards — 1 column */
  .cards--3 { grid-template-columns: 1fr; }

  /* Sections */
  .section__inner { padding: 50px 16px; }
  .section__content { padding: 48px 20px; }
  .section__content--center { padding: 56px 20px; }

  /* Bespoke steps — 2 columns */
  .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Contact CTAs */
  .contact__ctas { flex-direction: column; align-items: center; gap: 10px; }
  .contact__ctas .btn { width: 80%; text-align: center; }

  /* Professionals */
  .cards--2 { grid-template-columns: 1fr; }
  .card--pro .card__body--pro { min-height: auto; padding: 28px 20px; }

  /* Footer */
  .footer__links { flex-direction: column; gap: 12px; align-items: center; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Pro private block */
  .pro-private { margin-top: 40px; }

  /* Typography scale */
  .title--large { font-size: clamp(28px, 8vw, 48px); }
  h1.title, .title { font-size: clamp(22px, 6vw, 36px); }

  /* Rug product page */
  .rug-info { padding: 36px 16px 60px; }
  .rug-gallery { padding: 20px 16px; }
  .rug-gallery__single { max-width: 100% !important; }
}

/* ── SEO text block ── visible but subtle, Google-friendly */
.seo-text {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
@media (max-width: 600px) { .seo-text { padding: 30px 16px 16px; } }
