/* =====================================================
   ATELIER CB CRÉATIONS — LUXURY DESIGN SYSTEM
   A premium noir / champagne / gold palette
   ===================================================== */

:root {
  /* — Palette — */
  --noir:       #0d0d0d;
  --charcoal:   #1a1a1a;
  --anthracite: #2a2a2a;
  --smoke:      #4a4a4a;
  --silver:     #8c8c8c;
  --pearl:      #d4cfc8;
  --champagne:  #f5f0e8;
  --cream:      #faf8f4;
  --ivory:      #fdfcfa;
  --gold:       #c9a84c;
  --gold-light: #e3cf8e;
  --gold-dark:  #a07e2e;
  --danger:     #b04040;

  /* — Semantic — */
  --ink:        var(--noir);
  --ink-soft:   var(--smoke);
  --card:       rgba(255,255,255,0.92);
  --panel:      rgba(255,255,255,0.86);
  --panel-strong: rgba(255,255,255,0.96);
  --line:       rgba(193,183,164,0.35);
  --line-light: rgba(193,183,164,0.18);

  /* — Shadows — */
  --shadow:       0 16px 48px rgba(0,0,0,0.08);
  --shadow-soft:  0 12px 36px rgba(0,0,0,0.06);
  --shadow-strong:0 24px 64px rgba(0,0,0,0.12);
  --shadow-gold:  0 8px 28px rgba(201,168,76,0.16);

  /* — Radius — */
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  24px;

  /* — Fonts — */
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cormorant Garamond", "Georgia", serif;
}

/* ========== RESET ========== */
* { box-sizing: border-box; }
img { max-width: 100%; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  min-height: 100%;
  letter-spacing: 0.01em;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle linen texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 10%, rgba(201,168,76,0.06), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(201,168,76,0.04), transparent 40%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.015) 0 1px, transparent 1px 3px);
}

/* — Page transitions — */
body {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 280ms ease, transform 280ms ease;
}
body.page-transition-out {
  opacity: 0;
  transform: translateY(12px);
}
body.page-transition-in {
  animation: pageFadeIn 320ms ease;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--noir);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

/* ========== LAYOUT ========== */
.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* ========== HEADER — Luxury Sticky Bar ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  background: rgba(253,252,250,0.82);
  border-bottom: 1px solid var(--line-light);
  box-shadow: 0 1px 0 rgba(201,168,76,0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 18px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), var(--gold-light));
  color: var(--noir);
  box-shadow: 0 4px 14px rgba(201,168,76,0.3);
}

/* ========== HOME HEADER ========== */
.home-header {
  margin-bottom: 0;
  border-bottom: 1px solid var(--line-light);
  background: rgba(253,252,250,0.96);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.home-main-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px 8px 20px;
}

.home-main-spacer { min-height: 1px; }

.home-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold), var(--gold-light));
  color: var(--noir);
  font-size: 2rem;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.home-brand-mark img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; border-radius: 50%;
}

.home-brand-image {
  width: min(480px, 100%);
  max-height: 120px;
  object-fit: contain;
  display: block;
}

.home-brand-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--noir);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-main-links {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}
.home-main-links-left  { justify-content: flex-start; }
.home-main-links-right { justify-content: flex-end; }

.home-main-links a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--smoke);
  font-weight: 500;
  transition: color 220ms ease;
}
.home-main-links a:hover {
  color: var(--gold-dark);
}

/* ========== NAV CATEGORIES BAR ========== */
.home-categories-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 16px 8px;
  border-top: 1px solid var(--line-light);
}

.home-category-link {
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--smoke);
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  padding-bottom: 4px;
  transition: color 220ms ease;
}
.home-category-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--noir);
  transform: scaleX(0);
  transition: transform 280ms ease;
}
.home-category-link:hover {
  color: var(--noir);
}
.home-category-link:hover::after {
  transform: scaleX(1);
}

/* Social icons in header */
.home-social-logo {
  width: 32px; height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--smoke);
  transition: all 240ms ease;
}
.home-social-logo--dark {
  background: transparent;
  border-color: var(--line);
  color: var(--smoke);
}
.home-social-logo:hover {
  border-color: var(--noir) !important;
  color: var(--noir) !important;
  background: rgba(0,0,0,0.04) !important;
}
.home-social-logo:hover svg {
  fill: var(--noir) !important;
}
.home-social-logo svg {
  width: 14px; height: 14px;
  fill: currentColor;
}

/* ========== NAV LINKS (subpages) ========== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.catalogue-page { padding: 36px 0 18px; }

.nav-links a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--smoke);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  padding: 6px 0;
  transition: opacity 200ms ease, transform 200ms ease, color 200ms ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--noir);
  transition: transform 260ms ease;
}
.nav-links a:hover {
  color: var(--noir);
  transform: translateY(-1px);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle, .menu-btn { display: none; }
.mobile-quick-nav { display: none; }

/* ========== HERO ========== */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 60px 0 50px;
  align-items: center;
}

.hero-copy {
  background: linear-gradient(155deg, rgba(255,255,255,0.9), rgba(250,248,244,0.7));
  border: 1px solid var(--line-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  margin: 0.2em 0;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-copy p {
  line-height: 1.7;
  max-width: 52ch;
  color: var(--ink-soft);
  font-weight: 300;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--gold-dark);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-points {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--smoke);
}

.hero-points i {
  color: var(--gold-dark);
}

.hero-art {
  position: relative;
  min-height: 400px;
  animation: floatIn 900ms ease;
}

.hero-art img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(193,183,164,0.2);
}

/* ========== HERO GALLERY (Home page) ========== */
.hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 20px 0 36px;
  margin-bottom: 40px;
}

.hero-gallery-card {
  margin: 0;
  min-height: 540px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow);
  background: var(--ivory);
  position: relative;
}
.hero-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13,13,13,0.15) 100%);
  pointer-events: none;
}

.hero-gallery-card img {
  width: 100%; height: 100%;
  min-height: 540px;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}
.hero-gallery-card:hover img {
  transform: scale(1.04);
}

/* ========== HOME OVERVIEW CARDS ========== */
.home-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}

.home-overview-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-light);
  background: linear-gradient(160deg, var(--panel-strong), rgba(245,240,232,0.7));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.home-overview-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.home-overview-card .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201,168,76,0.22);
  background: rgba(255,255,255,0.8);
  color: var(--gold-dark);
}

.home-overview-card h2 {
  font-size: clamp(1.6rem, 2vw, 2.1rem);
  margin-bottom: 8px;
  margin-top: 0;
}
.home-overview-card h2, .home-overview-card p { margin-top: 0; }
.home-overview-card p {
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 34ch;
  font-weight: 300;
}
.home-overview-card .btn { margin-top: auto; }

/* ========== ORBS ========== */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
}
.orb-1 {
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(201,168,76,0.25), transparent);
  top: -16px; left: -22px;
  animation: pulse 3s infinite;
}
.orb-2 {
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(201,168,76,0.15), transparent);
  right: -24px; bottom: -28px;
  animation: pulse 3.5s infinite;
}

/* ========== SECTION TITLES ========== */
.section-title {
  margin-bottom: 16px;
}

.section-title p {
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-family: var(--font-body);
}

.section-title h1,
.section-title h2 {
  margin-top: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
}

.section-title-centered { text-align: center; }
.section-title-centered h2 { margin-inline: auto; }

/* ========== GRIDS ========== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 18px;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 18px 0 30px;
}

.journey-grid article {
  background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(245,240,232,0.7));
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.journey-grid i { color: var(--gold-dark); font-size: 1.3rem; }

.story-grid article {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-soft);
}
.story-grid i { font-size: 1.5rem; color: var(--gold-dark); }

/* ========== CARDS GRID — Products ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 20px 0 48px;
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

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

/* Pagination */
.pagination-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: -18px 0 42px;
  flex-wrap: wrap;
}
.pagination-pages {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.pagination-btn { min-width: 46px; }
.pagination-btn.active {
  background: var(--noir);
  color: var(--champagne);
}
.pagination-btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}

/* ========== JEWEL CARD ========== */
.jewel-card {
  background: var(--ivory);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-soft);
  transition: transform 300ms ease, box-shadow 300ms ease;
  display: flex;
  flex-direction: column;
}
.jewel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.jewel-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 500ms ease;
}
.jewel-card img, .gallery-slide { will-change: transform; }
.jewel-card:hover img { transform: scale(1.05); }

.jewel-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.jewel-content h3 {
  margin: 4px 0 8px;
  font-size: 1.35rem;
  font-weight: 600;
}

.tag {
  display: inline-block;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--noir);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-tags, .product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.desc {
  opacity: 0.7;
  flex: 1;
  font-weight: 300;
  line-height: 1.6;
}

.mini-spec {
  margin: 8px 0 0;
  font-size: 0.84rem;
  opacity: 0.65;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
  margin-top: auto;
}

.badge {
  border-radius: 999px;
  background: rgba(201,168,76,0.14);
  color: var(--noir);
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-secondary {
  background: linear-gradient(145deg, #16464c, #0f2f35);
  color: #effbfc;
}

.card-footer {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 32px;
}

/* ========== FILTERS ========== */
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.86);
}
.filter-btn.active {
  background: var(--noir);
  color: var(--champagne);
  border-color: var(--noir);
}

/* ========== CTA BAND ========== */
.cta-band {
  margin: 32px auto 48px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(201,168,76,0.06), rgba(255,255,255,0.9)),
    var(--ivory);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  justify-items: center;
  text-align: center;
}
.cta-band .hero-actions { justify-content: center; }

/* ========== PRODUCT PAGE ========== */
.product-page { padding: 36px 0 18px; }

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.product-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-main-image-wrap {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 600px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-main-image-wrap::before { display: none; }

.product-main-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.gallery-thumbs-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-thumb-btn {
  width: 80px; height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--ivory);
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.gallery-thumb-btn img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gallery-thumb-btn.is-active {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.gallery-thumb-btn:hover:not(.is-active) {
  border-color: var(--gold-light);
}

.subtitle {
  font-size: 1.06rem;
  opacity: 0.8;
  font-weight: 300;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--noir);
  margin: 14px 0;
  font-family: var(--font-display);
}

.spec-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.spec-list li {
  background: rgba(245,240,232,0.6);
  border: 1px solid var(--line-light);
  padding: 12px 14px;
  border-radius: var(--radius);
}

/* ========== EDITORIAL / ABOUT ========== */
.editorial-page { padding: 36px 0 20px; }

.collection-hero, .atelier-contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin: 20px 0 28px;
}

.collection-panel, .atelier-panel {
  background: linear-gradient(160deg, var(--panel-strong), rgba(245,240,232,0.8));
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-light);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.collection-panel.visual, .atelier-panel.visual {
  min-height: 320px;
  background-size: cover;
  background-position: center;
}

.editorial-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}

.editorial-points article,
.atelier-steps article,
.atelier-benefits article {
  background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(245,240,232,0.7));
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-light);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.atelier-steps, .atelier-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0 0;
}

.editorial-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin: 14px 0 36px;
}

/* About page / maison.html */
.editorial-page .editorial-grid article {
  max-width: 980px;
  margin-inline: auto;
}

.editorial-page .about-gallery-shell,
.editorial-page .atelier-gallery-shell,
.editorial-page .pearl-page-shell {
  max-width: 1120px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.about-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.about-gallery-image {
  width: 100%; height: auto; display: block;
  object-fit: contain;
  border-radius: 0; box-shadow: none; border: 0;
}
.about-gallery-image--featured { grid-column: auto; }

.atelier-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.atelier-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.atelier-gallery-image {
  width: 100%; height: auto; display: block;
  object-fit: contain; border-radius: 0; box-shadow: none; border: 0;
}
.atelier-gallery-image--full { width: 100%; }

.pearl-page-image {
  width: 100%; height: auto; display: block;
  object-fit: contain; border: 0; border-radius: 0; box-shadow: none;
}

.about-hero {
  width: 100%; max-height: 380px; object-fit: cover;
  display: block; border-radius: var(--radius-lg);
  margin: 0 0 18px; box-shadow: var(--shadow);
}

.about-photo {
  width: 100%; max-height: 520px; object-fit: cover;
  display: block; border-radius: var(--radius-lg);
  margin: 16px 0; box-shadow: var(--shadow-soft);
}
.about-photo--small { max-height: 320px; }

/* ========== PROJECT CONTENT IMAGES ========== */
.about-image-natural {
  width: min(800px, 90%);
  height: auto;
  object-fit: contain;
  display: block;
  margin: 32px auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.about-text-large {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.8;
  color: var(--ink);
  margin: 36px auto;
  max-width: 1200px;
  font-weight: 300;
  text-align: center;
  font-family: Arial, sans-serif;
}

@media (max-width: 640px) {
  .about-hero { max-height: 260px; }
  .about-photo { max-height: 360px; }
  .about-gallery { gap: 12px; }
  .atelier-gallery, .atelier-gallery-grid { gap: 12px; }
  .atelier-gallery-grid { grid-template-columns: 1fr; }
}

.editorial-grid article,
.guide-steps article {
  background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(245,240,232,0.7));
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-light);
  padding: 24px;
}

.plain-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.plain-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========== REVIEWS ========== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-bottom: 32px;
}

.review-card {
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.review-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--noir);
}
.review-card span { display: block; opacity: 0.7; }

.stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-top: 0;
  font-size: 1.1rem;
}

.review-card strong {
  display: block;
  margin-top: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.review-card p { line-height: 1.65; font-weight: 300; }

/* ========== GUIDE STEPS ========== */
.guide-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

/* ========== CONTACT ========== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  margin: 18px 0 36px;
}

.contact-panel {
  background: var(--ivory);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-light);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.contact-panel-alt {
  background:
    linear-gradient(150deg, var(--ivory), rgba(245,240,232,0.8));
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 500;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--smoke);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit;
  color: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.contact-hp { display: none; }

.contact-feedback { margin: 0; min-height: 22px; font-size: 0.92rem; }
.contact-feedback.is-success { color: #2a7a3e; }
.contact-feedback.is-error { color: var(--danger); }

/* ========== FOOTER — Deep Petrol Blue ========== */
.site-footer {
  margin-top: 52px;
  padding: 44px 0 22px;
  background: linear-gradient(168deg, #16464c, #0f2f35);
  color: #effbfc;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, #effbfc 50%, transparent 90%);
  opacity: 0.3;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.site-footer h3, .site-footer h4 {
  color: #effbfc;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.site-footer p { opacity: 0.85; }

.site-footer a {
  color: #effbfc;
  opacity: 0.9;
  transition: opacity 200ms ease, color 200ms ease;
}
.site-footer a:hover {
  opacity: 1;
  color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.social-logo {
  width: 32px; height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #effbfc;
  transition: all 240ms ease;
}

.social-logo svg {
  width: 14px; height: 14px;
  fill: currentColor;
  display: block;
}

.social-logo:hover {
  background: #effbfc;
  color: #16464c;
  transform: translateY(-2px);
}

.copyright {
  text-align: center;
  margin-top: 24px;
  font-size: 0.78rem;
  opacity: 0.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ========== TRUST BAND — Luxury Icons ========== */
.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.trust-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-soft);
}

.trust-card h3 {
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--noir);
  margin: 0;
}

.trust-card p {
  margin-top: 4px;
  font-size: 0.88rem;
  opacity: 0.7;
}

.trust-icon {
  width: 48px; height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #16464c, #0f2f35);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(22, 70, 76, 0.2);
}

.trust-icon img {
  filter: brightness(0) invert(1);
}

.trust-icon svg {
  fill: #ffffff;
}
.trust-icon svg {
  width: 20px; height: 20px;
  fill: currentColor;
}
.trust-icon img {
  width: 22px; height: 22px;
  object-fit: contain;
  display: block;
}

/* ========== PAYMENT STRIP ========== */
.payment-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 8px;
}

.payment-logo {
  width: 84px; height: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  background: var(--ivory);
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.payment-svg {
  width: 34px; height: 34px;
  display: block; object-fit: contain;
}
.payment-svg-mastercard { width: 40px; height: 26px; }

/* ========== BUTTONS — Luxury ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 260ms ease;
  min-height: 46px;
  position: relative;
  overflow: hidden;
}
.btn i { font-size: 0.9rem; }

.btn::before {
  content: "";
  position: absolute;
  top: -120%; left: -20%;
  width: 36%; height: 320%;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.2), rgba(255,255,255,0));
  transform: rotate(18deg);
  transition: left 380ms ease;
}
.btn:hover::before { left: 118%; }

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--noir);
  color: var(--champagne);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.btn-primary:hover {
  background: var(--charcoal);
  box-shadow: 0 12px 32px rgba(0,0,0,0.22);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255,255,255,0.8);
  color: var(--noir);
}
.btn-ghost:hover {
  border-color: var(--noir);
  background: #ffffff;
  color: var(--noir);
}

/* ========== 404 ========== */
.error-page {
  text-align: center;
  padding: 90px 0;
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.99);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes floatIn {
  from { transform: translateY(18px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
@keyframes ribbonScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 3D card tilt */
.lift-card {
  transform: perspective(960px) rotateX(var(--lift-rotate-x, 0deg)) rotateY(var(--lift-rotate-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.lift-card:hover { box-shadow: var(--shadow-strong); }

/* Nav / Footer link icons */
.nav-link-icon i, .mobile-quick-link i, .footer-link-icon i { font-size: 0.88rem; }
.mobile-quick-link { display: inline-flex; align-items: center; gap: 7px; }
.footer-link-icon { display: inline-flex; align-items: center; gap: 8px; }
.social-icons i {
  width: 34px; height: 34px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}

/* ========== RESPONSIVE — Tablet (960px) ========== */
@media (max-width: 960px) {
  .container { width: min(1120px, calc(100% - 32px)); }
  .nav-wrap { height: 72px; }

  .hero, .home-overview, .story-grid, .journey-grid,
  .guide-steps, .contact-layout, .editorial-grid,
  .product-hero, .collection-hero, .atelier-contact,
  .editorial-points, .atelier-steps, .atelier-benefits,
  .reviews-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-main-image-wrap, .gallery-slider { height: auto; max-height: 400px; }
  .hero-art { min-height: 320px; }
  .hero-art img { height: 360px; }
  .cards-grid-catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .menu-btn {
    display: block; font-size: 1.2rem; cursor: pointer;
  }

  .nav-links {
    position: absolute;
    right: 4%; top: 78px;
    background: var(--ivory);
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
    width: min(260px, 90vw);
    flex-direction: column;
    display: none; z-index: 30;
  }
  .menu-toggle:checked ~ .nav-links { display: flex; }

  .hero-copy { padding: 24px; }
  .home-overview-card { padding: 22px; }
  .trust-band { grid-template-columns: 1fr; }

  .home-main-bar {
    grid-template-columns: 1fr;
    justify-items: center; gap: 12px;
    padding: 16px 8px 12px;
  }
  .home-main-spacer { display: none; }
  .home-main-links { justify-content: center; flex-wrap: wrap; gap: 16px; }
  .home-brand-image { max-height: 90px; }

  .home-categories-bar {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; gap: 20px;
    padding: 14px 8px; flex-wrap: nowrap;
  }
  .home-categories-bar::-webkit-scrollbar { display: none; }
  .home-category-link { flex: 0 0 auto; font-size: 0.78rem; }

  .hero-gallery { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-gallery-card, .hero-gallery-card img { min-height: 260px; }

  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* ========== RESPONSIVE — Mobile (640px) ========== */
@media (max-width: 640px) {
  .container { width: calc(100% - 20px); }

  body::before, body::after { display: none; }

  .home-main-links { gap: 12px; }
  .home-brand-image { max-height: 72px; }
  .home-categories-bar { gap: 14px; padding: 10px 6px; }
  .home-category-link { font-size: 0.74rem; letter-spacing: 0.1em; }

  .home-main-bar { gap: 10px; padding: 12px 8px 8px; }
  .home-main-links-left, .home-main-links-right {
    justify-content: center; flex-wrap: wrap;
  }

  .brand { gap: 8px; font-size: 0.88rem; }
  .brand span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .hero { gap: 18px; padding: 20px 0 18px; }
  .hero-copy { border-radius: var(--radius-lg); padding: 18px; }
  .hero-copy h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1.06; }
  .hero-copy p { font-size: 0.94rem; }
  .hero-art img { max-height: 280px; border-radius: var(--radius-lg); }

  .hero-gallery { grid-template-columns: 1fr; }
  .hero-gallery-card, .hero-gallery-card img { min-height: 200px; }

  .hero-points { flex-direction: column; }
  .hero-points span { width: 100%; justify-content: center; }

  .cards-grid-catalogue { grid-template-columns: 1fr; }
  .jewel-card img { max-height: 320px; }
  .jewel-content { padding: 14px; }

  .hero-actions, .card-actions { flex-direction: column; }
  .hero-actions .btn, .card-actions .btn, .cta-band .btn,
  .home-overview-card .btn { width: 100%; }

  .home-overview { gap: 12px; }
  .home-overview-card { border-radius: var(--radius-lg); padding: 18px; }
  .home-overview-card h2 { font-size: 1.4rem; }

  .section-title h1, .section-title h2 {
    font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.1;
  }

  .product-page { padding-top: 16px; }
  .product-visual img, .product-main-image-wrap { max-height: 340px; }
  .gallery-thumbs-strip {
    gap: 8px; overflow-x: auto; flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .gallery-thumb-btn { width: 64px; height: 64px; }

  .collection-panel, .atelier-panel, .review-card,
  .journey-grid article, .story-grid article,
  .editorial-grid article, .guide-steps article { padding: 16px; }

  .collection-panel.visual, .atelier-panel.visual { min-height: 200px; }

  .footer-grid { grid-template-columns: 1fr; gap: 14px; }
  .copyright { margin-top: 10px; }

  .filter-row {
    overflow-x: auto; flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding-bottom: 4px;
  }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-btn { flex: 0 0 auto; white-space: nowrap; }

  .contact-layout { gap: 14px; }

  .mobile-quick-nav {
    display: flex; gap: 10px; overflow-x: auto;
    padding: 10px 12px 12px;
    background: rgba(253,252,250,0.95);
    border-bottom: 1px solid var(--line-light);
    position: sticky; top: 68px; z-index: 24;
    scrollbar-width: none;
  }
  .mobile-quick-nav::-webkit-scrollbar { display: none; }

  .mobile-quick-link {
    flex: 0 0 auto; white-space: nowrap;
    padding: 10px 14px; border-radius: 999px;
    background: rgba(0,0,0,0.04); border: 1px solid var(--line-light);
    font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase;
  }
  .mobile-quick-link.is-active {
    background: var(--noir); color: var(--champagne);
    border-color: transparent;
  }

  .nav-wrap { height: 68px; gap: 12px; }
  .nav-links { top: 68px; }

  .story-grid, .journey-grid, .reviews-grid, .cards-grid {
    margin-top: 14px; margin-bottom: 22px;
  }
  .card-footer { align-items: flex-start; flex-direction: column; }
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .trust-card { grid-template-columns: 1fr; }
  .trust-icon { width: 44px; height: 44px; }

  .site-header { position: sticky; }
}

/* ========== RESPONSIVE — Small (420px) ========== */
@media (max-width: 420px) {
  :root { --radius: 10px; --radius-lg: 14px; --radius-xl: 18px; }
  .container { width: calc(100% - 14px); }
  .home-brand-image { max-height: 58px; }
  .home-categories-bar { gap: 10px; padding: 8px 4px; }
  .home-category-link { font-size: 0.7rem; }
  .hero-copy h1 { font-size: clamp(1.35rem, 6vw, 1.7rem); }
  .jewel-content { padding: 10px; }
  .gallery-thumb-btn { width: 52px; height: 52px; }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .lift-card { transform: none !important; }
}

/* ========== CLEANUP ========== */
.social-icons::after,
.social-logo::after {
  display: none !important;
  content: none !important;
}
