:root {
  --bg: #f7f1e8;
  --paper: #fffaf2;
  --ink: #100f0d;
  --muted: #6a6258;
  --accent: #b58b5d;
  --accent-deep: #8b5f38;
  --wine: #421f22;
  --moss: #303b31;
  --taupe: #5a5047;
  --cream: #eadbc6;
  --line: rgba(17, 17, 17, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16,15,13,0.025) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, rgba(16,15,13,0.018) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg);
  font-family: var(--sans);
  font-weight: 400;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}



/* ── Intro overlay ─────────────────────────────── */
.intro {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0d0b09;
}

.intro__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.intro__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0;
  transform: scale(1.06);
  will-change: opacity, transform;
}
.intro__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(10,8,6,0.90) 0%, rgba(10,8,6,0.58) 55%, rgba(10,8,6,0.75) 100%);
}

.intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.intro__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.92;
}

.intro__word {
  display: block;
  clip-path: inset(0 0 100% 0);
  will-change: clip-path;
}

.intro__word--a {
  color: #f5f0e8;
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 14rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.03em;
}

.intro__word--b {
  color: rgba(245, 240, 232, 0.55);
  font-family: var(--sans);
  font-size: clamp(1.2rem, 3.2vw, 3.4rem);
  font-weight: 300;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  padding-top: 0.3em;
}

.intro__line {
  width: 0;
  height: 1px;
  background: rgba(181, 139, 93, 0.6);
  margin: 1.8rem 0;
}

.intro__langs {
  position: relative;
  height: 1.2em;
}

.intro__lang {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  color: rgba(245, 240, 232, 0.4);
  font-family: var(--sans);
  font-size: clamp(0.72rem, 1.55vw, 0.92rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0;
}

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 clamp(20px, 4vw, 60px);
  height: 76px;
  color: #fff;
  transition: height 0.4s ease, background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-scrolled {
  height: 62px;
  background: rgba(255, 250, 242, 0.92);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.08);
}

/* ── Brand ──────────────────────────────────────── */
.brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1;
  white-space: nowrap;
}

.brand em {
  font-style: italic;
}

/* ── Nav ────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 44px);
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav a {
  position: relative;
  padding-bottom: 2px;
  opacity: 0.75;
  transition: opacity 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── Header right ───────────────────────────────── */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

/* ── Header CTA ─────────────────────────────────── */
.header-cta {
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  opacity: 0.88;
  white-space: nowrap;
  transition: opacity 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}

.header-cta:hover {
  opacity: 1;
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.site-header.is-scrolled .header-cta {
  border-color: rgba(17, 17, 17, 0.28);
}

.site-header.is-scrolled .header-cta:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ── Burger ─────────────────────────────────────── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  flex-shrink: 0;
}

.burger span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.burger span:first-child { width: 24px; }
.burger span:last-child  { width: 15px; }

.burger[aria-expanded="true"] span:first-child {
  width: 22px;
  transform: translateY(3.5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  width: 22px;
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ── Lang switcher ──────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
}

.lang-btn {
  padding: 5px 9px;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  cursor: pointer;
  color: inherit;
  opacity: 0.45;
  transition: opacity 0.2s;
  line-height: 1;
}

.lang-btn:hover { opacity: 0.82; }

.lang-btn.is-active {
  opacity: 1;
  font-weight: 600;
  color: var(--accent);
}

.site-header:not(.is-scrolled) .lang-btn {
  color: rgba(255,255,255,0.9);
}

.site-header:not(.is-scrolled) .lang-btn.is-active {
  color: #fff;
  opacity: 1;
}

/* ── Nav Drawer (mobile fullscreen) ─────────────── */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #0a0907;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(28px, 8vw, 80px) clamp(36px, 5vh, 56px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.36s ease;
}

.nav-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}

.nav-drawer__nav {
  display: flex;
  flex-direction: column;
}

.nav-drawer__nav a {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.22;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transform: translateY(14px);
  opacity: 0;
  transition: color 0.22s, transform 0.36s ease, opacity 0.36s ease;
}

.nav-drawer__nav a:first-child { border-top: 1px solid rgba(255, 255, 255, 0.07); }

.nav-drawer.is-open .nav-drawer__nav a {
  opacity: 1;
  transform: none;
}

.nav-drawer.is-open .nav-drawer__nav a:nth-child(1) { transition-delay: 0.04s; }
.nav-drawer.is-open .nav-drawer__nav a:nth-child(2) { transition-delay: 0.09s; }
.nav-drawer.is-open .nav-drawer__nav a:nth-child(3) { transition-delay: 0.14s; }
.nav-drawer.is-open .nav-drawer__nav a:nth-child(4) { transition-delay: 0.19s; }
.nav-drawer.is-open .nav-drawer__nav a:nth-child(5) { transition-delay: 0.24s; }
.nav-drawer.is-open .nav-drawer__nav a:nth-child(6) { transition-delay: 0.29s; }

.nav-drawer__nav a:hover { color: var(--accent); }

.nav-drawer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(24px, 4vh, 44px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-drawer__langs {
  display: flex;
  gap: 22px;
}

.nav-drawer__langs button {
  background: none;
  border: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-drawer__langs button:hover,
.nav-drawer__langs button.is-active { color: rgba(255, 255, 255, 0.88); }

.nav-drawer__cta {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 10px 22px;
  transition: color 0.22s, border-color 0.22s;
}

.nav-drawer__cta:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(96px, 13vh, 132px) clamp(18px, 5vw, 76px) clamp(82px, 10vw, 126px);
  color: #fff;
  overflow: hidden;
  background: #111;
}

.hero__video,
.hero__shade {
  position: absolute;
  inset: 0;
}

[data-img-key] {
  transition: opacity 0.5s ease;
}
.content-loading [data-img-key] {
  opacity: 0 !important;
  transition: none !important;
}

.hero__video {
  transform: scale(1.06);
  opacity: 0.74;
}

.hero__shade {
  background:
    radial-gradient(circle at 72% 44%, rgba(181,139,93,0.18), transparent 34%),
    linear-gradient(90deg, rgba(10,9,7,0.78), rgba(10,9,7,0.24) 54%, rgba(10,9,7,0.5)),
    linear-gradient(180deg, rgba(10,9,7,0.44), transparent 38%, rgba(10,9,7,0.72));
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: min(860px, 92vw);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 13.8vw, 12.8rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: 0;
}

.hero__lead {
  margin: 30px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 4.2rem);
  line-height: 0.98;
}

.hero__sublead {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255,250,242,0.76);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.7;
}

.hero__signature {
  position: absolute;
  left: clamp(18px, 5vw, 76px);
  right: clamp(70px, 10vw, 140px);
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: rgba(255,250,242,0.66);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero__signature i {
  flex: 1;
  height: 1px;
  min-width: 28px;
  background: linear-gradient(90deg, rgba(255,250,242,0.48), rgba(181,139,93,0.14));
}

.hero__caption {
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  bottom: clamp(26px, 5vw, 64px);
  z-index: 2;
  color: rgba(255,255,255,0.72);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  box-shadow: inset 0 0 0 0 currentColor;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--light {
  border-color: rgba(255,250,242,0.94);
  background: rgba(255,250,242,0.94);
  color: var(--ink);
}

.btn--light:hover {
  background: transparent;
  color: #fff;
}

.btn--ghost {
  color: #fff;
  background: transparent;
}

.btn--ghost:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.btn--dark {
  border-color: var(--wine);
  background: var(--wine);
  color: #fff;
}

.btn--dark:hover {
  background: transparent;
  color: var(--ink);
}

.btn--outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: #fff;
}

.section {
  padding: clamp(78px, 12vw, 164px) clamp(18px, 5vw, 76px);
}

.atelier-code {
  display: grid;
  grid-template-columns: minmax(130px, 0.3fr) 1fr auto;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(44px, 6vw, 76px) clamp(18px, 5vw, 76px);
  color: #fffaf2;
  background:
    linear-gradient(135deg, rgba(181,139,93,0.14), transparent 40%),
    linear-gradient(90deg, var(--wine), #160f0f 60%, var(--moss));
}

.atelier-code__place {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-right: clamp(24px, 4vw, 52px);
  border-right: 1px solid rgba(255,250,242,0.14);
}

.atelier-code__live {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 3px;
  animation: pulse-dot 2.6s ease-in-out infinite;
}

.atelier-code__place span:not(.atelier-code__live):not(.atelier-code__address) {
  font-family: var(--sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,250,242,0.9);
}

.atelier-code__address {
  font-family: var(--sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,250,242,0.36);
}

.atelier-code__body h2 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.2vw, 3.1rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0 0 10px;
  color: #f8f5f0;
}

.atelier-code__body p {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: rgba(255,250,242,0.48);
  letter-spacing: 0.04em;
}

.atelier-code__action {
  white-space: nowrap;
}

.about,
.showroom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr;
  gap: 0;
  align-items: stretch;
  min-height: clamp(280px, 34vw, 460px);
}

.showroom {
  min-height: clamp(160px, 16vw, 240px);
}

.showroom.section {
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 76px);
  gap: clamp(24px, 4vw, 56px);
}

.showroom__slider {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  height: clamp(200px, 22vw, 300px);
}

.showroom-swiper {
  width: 100%;
  height: 100%;
}

.showroom-swiper .swiper-wrapper {
  height: 100%;
}

.showroom-panel {
  margin: 0;
  overflow: hidden;
  height: 100%;
  display: block;
}

.showroom-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 0.8s ease;
}

.showroom__media {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  position: relative;
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
}

.about__copy {
  max-width: 680px;
  min-width: 0;
}

.showroom__copy {
  max-width: 680px;
  min-width: 0;
  padding: clamp(24px, 3vw, 48px) 0;
  align-self: center;
  grid-column: 2;
  grid-row: 1;
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7.4rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.about p:not(.section-kicker),
.showroom p:not(.section-kicker),
.craft p,
.final-cta p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.8;
}

.masked-image {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(5% 0 5% 0);
}

.masked-image img {
  transform: scale(1.04);
}

.section-heading {
  max-width: 920px;
  margin-bottom: clamp(34px, 6vw, 76px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: var(--ink);
}

.service-card img {
  opacity: 0.78;
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1), opacity 0.8s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,0.72));
}

.service-card__body {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
  transform: translateY(42px);
  transition: transform 0.55s ease;
}

.service-card__body span:not(.service-card__explore) {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 2rem;
}

.service-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 500;
  line-height: 0.9;
}

.service-card p {
  max-width: 360px;
  margin: 18px 0 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.service-card:hover img {
  opacity: 0.58;
  transform: scale(1.1);
}

.service-card:hover .service-card__body {
  transform: translateY(0);
}

.service-card:hover p {
  opacity: 1;
}

.service-card[data-service] {
  cursor: pointer;
}

.service-card__explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid #fff;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 500;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  background: transparent;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s,
              background 0.35s ease, color 0.35s ease;
}

.service-card__explore::after {
  content: '↗';
  font-size: 0.82em;
  line-height: 1;
}

.service-card:hover .service-card__explore {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover .service-card__explore:hover {
  background: #fff;
  color: var(--ink);
}

.gallery-section {
  padding: clamp(72px, 10vw, 136px) 0;
  background: transparent;
  overflow: hidden;
}

.gallery__intro {
  padding: 0 clamp(18px, 5vw, 76px) 48px;
}

.gallery__intro-text {
  max-width: 660px;
}

.gallery__track {
  position: relative;
}

/* ── Unified Slide Navigation ─────────────────── */
.slide-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 24px;
}

.slide-nav--gallery {
  padding-top: 28px;
}

.slide-nav--testimonials {
  padding-top: 36px;
}

.slide-nav--journal {
  display: none;
}

@media (max-width: 640px) {
  .slide-nav--journal {
    display: flex;
    padding-top: 28px;
  }
}

.showroom__nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  background: var(--bg);
  position: relative;
  z-index: 2;
}

.slide-nav-btn {
  width: 52px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.55;
  transition: opacity 0.22s ease;
}

.slide-nav-btn:hover { opacity: 1; }

.slide-nav-btn svg {
  display: block;
  pointer-events: none;
}

.slide-nav-btn.swiper-button-disabled {
  opacity: 0.15;
  pointer-events: none;
}

/* Service modal dark nav variant */
.slide-nav--dark {
  background: transparent;
  padding: 0 4px;
  gap: 8px;
}

.slide-nav--dark .slide-nav-btn {
  border: none;
  color: rgba(255,255,255,0.75);
  opacity: 1;
  transition: opacity 0.22s ease;
}

.slide-nav--dark .slide-nav-btn--next {
  border-left: none;
  border-right: none;
}

.slide-nav--dark .slide-nav-btn:hover {
  background: transparent;
  color: #fff;
  border-color: transparent;
  opacity: 1;
}

/* ── Service Modal ───────────────────────────────── */
.svc-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
  visibility: hidden;
  pointer-events: none;
}

.svc-modal.is-open {
  visibility: visible;
  pointer-events: all;
}

.svc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 10, 0.88);
  backdrop-filter: blur(6px);
  opacity: 0;
}

.svc-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 960px;
  width: 100%;
  max-height: 88vh;
  background: var(--paper);
  overflow: hidden;
  will-change: transform, opacity;
}

.svc-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 44px;
  height: 44px;
  background: rgba(10, 8, 6, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.22s;
}

.svc-modal__close:hover {
  background: rgba(10, 8, 6, 0.82);
}

.svc-modal__visual {
  position: relative;
  overflow: hidden;
}

.svc-swiper {
  width: 100%;
  height: 100%;
}

.svc-swiper .swiper-wrapper {
  height: 100%;
}

.svc-swiper .swiper-slide {
  height: 100%;
}

.svc-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-swiper .swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0806;
  display: block;
}

.svc-modal__media {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Стрелки поверх фото на десктопе */
.svc-modal__media .slide-nav--dark {
  position: absolute;
  inset: 0;
  display: flex;
  background: transparent;
  padding: 0 12px;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  pointer-events: none;
  gap: 0;
}
.svc-modal__media .slide-nav--dark .slide-nav-btn {
  pointer-events: all;
  color: rgba(255,255,255,0.72);
  opacity: 1;
  border: none;
  transition: color 0.2s, opacity 0.2s;
}
.svc-modal__media .slide-nav--dark .slide-nav-btn:hover {
  color: #fff;
  opacity: 1;
}

.svc-modal__media .svc-modal__visual {
  flex: 1;
  min-height: 0;
}

.svc-nav--prev.is-hidden,
.svc-nav--next.is-hidden {
  display: none;
}

.svc-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  z-index: 10;
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(10, 8, 6, 0.38);
  padding: 3px 8px;
}

.svc-modal__panel.no-media {
  grid-template-columns: 1fr;
}

.svc-modal__panel.no-media .svc-modal__visual,
.svc-modal__panel.no-media .svc-modal__media {
  display: none;
}

.svc-modal__content {
  padding: clamp(32px, 5vw, 56px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--paper);
}

.svc-modal__num {
  display: block;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
}

.svc-modal__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.1;
  color: var(--ink);
}

.svc-modal__desc {
  margin: 0;
  font-size: 0.78rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  line-height: 1.6;
}

.svc-modal__detail {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.75;
  color: var(--ink);
  opacity: 0.88;
  flex: 1;
}

.svc-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  min-height: 48px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.25s ease, color 0.25s ease;
  margin-top: auto;
  cursor: pointer;
}

.svc-modal__cta:hover {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 700px) {
  .svc-modal {
    padding: 12px;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .svc-modal__panel {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    display: flex;
    flex-direction: column;
    width: min(100%, 430px);
    height: auto;
    max-height: calc(100svh - 24px);
    overflow: hidden;
  }

  .svc-modal__media {
    position: relative;
    flex-shrink: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  /* Визуал заполняет весь блок медиа */
  .svc-modal__media .svc-modal__visual {
    position: absolute;
    inset: 0;
    flex: none;
    height: 100%;
  }

  .svc-modal__content {
    flex: 0 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 20px;
    gap: 14px;
  }

  .svc-modal__detail {
    flex: none;
  }

  .svc-modal__cta {
    margin-top: 6px;
  }

  /* Стрелки поверх картинки */
  .svc-modal__media .slide-nav--dark {
    position: absolute;
    inset: 0;
    background: transparent;
    padding: 0 10px;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    pointer-events: none;
  }

  .svc-modal__media .slide-nav--dark .slide-nav-btn {
    pointer-events: all;
    width: 52px;
    height: 44px;
    background: transparent;
    border: none !important;
    border-radius: 0;
    color: rgba(255,255,255,0.75);
    opacity: 0.85;
  }
  .svc-modal__media .slide-nav--dark .slide-nav-btn:hover {
    opacity: 1;
    color: #fff;
  }
}

.gallery-swiper {
  padding-left: clamp(18px, 5vw, 76px) !important;
  overflow: visible !important;
  width: 100%;
  box-sizing: border-box;
}

.gallery-panel {
  position: relative;
  width: min(54vw, 580px);
  height: min(56svh, 520px);
  margin: 0;
  overflow: hidden;
  background: #111;
  cursor: zoom-in;
}

.gallery-panel img {
  opacity: 0.9;
  transform: scale(1.08);
}

.gallery-panel figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 5rem);
}

.dark-section {
  min-height: 80svh;
  display: grid;
  align-content: center;
  background: #111;
  color: #fff;
}

.dark-section .section-kicker {
  color: var(--accent);
}

.craft__statement {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5.2rem, 17vw, 18rem);
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: 0;
}

.craft p {
  max-width: 460px;
  color: rgba(255,255,255,0.66);
}

/* ── Craft process steps ─────────────────────────────────────── */
.craft__steps {
  list-style: none;
  margin: clamp(3.5rem, 7vw, 6rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 clamp(1.5rem, 3vw, 3rem);
}

.craft__step {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}

.craft__step::before {
  display: none;
}

.craft__step-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.craft__step-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), rgba(181,139,93,0.3));
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.craft__step.is-revealed .craft__step-bar::before {
  width: 100%;
}

.craft__step-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(181,139,93,0.55);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 1.3s;
}

.craft__step.is-revealed .craft__step-bar::after {
  transform: translateY(-50%) scale(1);
}

.craft__step-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-top: clamp(1.2rem, 2.5vw, 2rem);
  margin-bottom: clamp(0.45rem, 1vw, 0.7rem);
  opacity: 0.42;
  transition: opacity 0.35s ease;
}

.craft__step:hover .craft__step-num {
  opacity: 0.72;
}

.craft__step-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: clamp(0.45rem, 1.1vw, 0.8rem);
}

.craft__step-desc {
  margin: 0;
  font-size: clamp(0.75rem, 0.9vw, 0.85rem);
  font-weight: 300;
  line-height: 1.72;
  color: rgba(255,255,255,0.3);
}

.testimonials-swiper {
  width: 100%;
  overflow: hidden;
}

.testimonials-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  width: 100%;
  overflow: hidden;
}

.testimonial-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.testimonial-card__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(28px, 3.5vw, 44px);
  flex: 1;
}

.testimonial-card p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  font-style: italic;
  line-height: 1.62;
  color: var(--ink);
  flex: 1;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.swiper-pagination-bullet {
  width: 28px;
  height: 1px;
  border-radius: 0;
  background: var(--ink);
}

.showroom {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  position: relative;
  overflow: clip;
}

/* Поднимаем контент поверх фона */
.showroom__media,
.showroom__copy {
  position: relative;
  z-index: 1;
}

/* \u041a\u043d\u043e\u043f\u043a\u0438 \u0448\u043e\u0443\u0440\u0443\u043c\u0430 */\n.showroom__copy .btn {
  margin-top: 24px;
}

.final-cta {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(58px, 8vw, 100px) clamp(18px, 5vw, 76px);
  color: #fff;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.46), rgba(0,0,0,0.64)), #1c1a17;
}

.final-cta > div {
  max-width: 920px;
}

.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.4rem, 13vw, 13rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: 0;
}

.final-cta p {
  max-width: 560px;
  margin: 24px auto 0;
  color: rgba(255,255,255,0.76);
}

.final-cta .button-row {
  justify-content: center;
}

/* ── FAQ ──────────────────────────────────────── */
.faq-list {
  max-width: 860px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  font-weight: 500;
  line-height: 1.1;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  transition: transform 0.35s ease, background 0.35s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  transition: opacity 0.3s ease, transform 0.35s ease;
}

.faq-icon::before {
  width: 12px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-icon {
  background: var(--ink);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: #fff;
}

.faq-item[open] .faq-icon::after {
  opacity: 0;
}

.faq-body {
  padding-bottom: 26px;
}

.faq-body p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  line-height: 1.8;
  max-width: 680px;
}

/* ── Map section ──────────────────────────────── */
.map-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(36px, 8vw, 100px);
  align-items: center;
}

.map-section__copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.8;
  margin: 18px 0 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 0;
  font-style: normal;
}

.contact-info a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.25s;
}

.contact-info a:hover { color: var(--ink); }

.contact-info svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}

.map-wrapper {
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Footer ───────────────────────────────────── */
.footer {
  background: #111;
  color: rgba(255,255,255,0.56);
  padding: 0 clamp(18px, 5vw, 76px);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 40px;
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand .brand {
  color: #fff;
  font-size: 1.6rem;
}

.footer__brand p {
  margin: 10px 0 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.44);
}

.footer__nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 22px;
}

.footer__nav a {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.56);
  transition: color 0.25s;
}

.footer__nav a:hover { color: #fff; }

.footer__social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: rgba(255,255,255,0.56);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.social-icon:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.34);
}

@media (max-width: 920px) {
  .site-header {
    /* flex вместо grid: бургер всегда справа независимо от скрытых колонок */
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .lang-switcher {
    display: none;
  }

  /* запрещаем showroom выходить за границы — принудительная защита */
  .showroom {
    overflow: hidden;
  }

  .showroom__copy {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* font-size заголовков для диапазона 640-920px */
  .section-title {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
  }

  .about,
  .showroom,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .atelier-code {
    grid-template-columns: 1fr;
  }

  .atelier-code__place {
    border-right: none;
    padding-right: 0;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .atelier-code__live {
    margin-bottom: 0;
  }

  .atelier-code__action {
    white-space: normal;
  }

  .showroom__media {
    order: 2;
  }

  .showroom__nav {
    order: 3;
    width: 100%;
    grid-column: unset;
    grid-row: unset;
  }

  .showroom__slider {
    min-height: 34vw;
    max-height: 235px;
  }

  .masked-image,
  .service-card {
    min-height: 380px;
  }

  /* карточки сервисов — показываем всё без hover на тач-устройствах */
  .service-card__body {
    transform: translateY(0);
  }

  .service-card p {
    opacity: 1;
  }

  .service-card__explore {
    opacity: 1;
    transform: translateY(0);
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 36px;
    text-align: center;
    justify-items: center;
  }

  .footer__nav {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer__social {
    justify-content: center;
  }

  .map-section__grid {
    grid-template-columns: 1fr;
  }

  .map-wrapper {
    aspect-ratio: 16/9;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(28px, 4vw, 48px);
  }

  .craft__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .journal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 20px;
  }

  .header-cta {
    display: none;
  }

  .final-cta {
    background: linear-gradient(rgba(0,0,0,0.46), rgba(0,0,0,0.64)), #1c1a17;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: 96px 20px 100px;
  }

  .hero__title {
    font-size: clamp(2.4rem, 12vw, 5rem);
    line-height: 0.9;
  }

  .hero__caption {
    display: none;
  }

  .hero__signature {
    right: 20px;
    bottom: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    letter-spacing: 0.14em;
  }

  .hero__signature i {
    display: none;
  }

  .button-row,
  .final-cta .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-title {
    font-size: clamp(1.7rem, 8.5vw, 2.8rem);
  }

  .masked-image,
  .service-card {
    min-height: 390px;
  }

  .service-card__body {
    transform: translateY(0);
  }

  .service-card p {
    opacity: 1;
  }

  .service-card__explore {
    opacity: 1;
    transform: translateY(0);
  }

  /* галерея — изолируем горизонтальный оверфлоу */
  .gallery-section {
    overflow: hidden;
  }

  .gallery-panel {
    width: 84vw;
    height: 56svh;
  }

  .craft__statement {
    font-size: clamp(4.2rem, 22vw, 7rem);
  }

  .craft__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .craft__step-desc {
    font-size: 0.7rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .journal-grid {
    gap: 0;
  }

  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .cookie-bar__actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }

  .curtain {
    width: 58vw;
  }

  /* ── service-modal: compact centered popup on phones ────────── */
  .svc-modal {
    padding: 12px;
    align-items: flex-start;
    justify-content: center;
  }

  .svc-modal__panel {
    width: min(100%, 430px);
    max-width: 430px;
    max-height: calc(100svh - 24px);
    border-radius: 0;
  }

  .svc-modal__close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── Keyframes ────────────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.38; transform: scale(0.6); }
}

@keyframes brands-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Brands ticker ────────────────────────────────── */
.brands-ticker {
  overflow: hidden;
  background: #111;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  user-select: none;
}

.ticker__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: brands-scroll 42s linear infinite;
  will-change: transform;
}


.ticker__track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  padding: 0 32px;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  cursor: default;
}

.ticker__track span:hover {
  color: var(--accent);
}

.ticker__track i {
  font-style: normal;
  color: var(--accent);
  font-size: 0.55em;
  opacity: 0.7;
  flex-shrink: 0;
}



/* ── Scroll to top ────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 70;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(17,17,17,0.25);
  border-radius: 50%;
  background: rgba(248,245,240,0.88);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  backdrop-filter: blur(12px);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    opacity 0.4s ease,
    transform 0.4s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ── Stats strip ───────────────────────────────── */
.stats-strip {
  background: var(--wine);
  padding: clamp(40px, 5vw, 72px) clamp(18px, 5vw, 76px);
}

.stats-strip .section-kicker {
  margin-bottom: clamp(28px, 3.5vw, 44px);
  color: rgba(255,250,242,0.36);
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3.5vw, 48px);
  max-width: 1080px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.5vw, 6.4rem);
  font-weight: 400;
  line-height: 0.88;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stat-affix {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 3.4rem);
  color: rgba(181,139,93,0.55);
  line-height: 1;
}

.stat-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,250,242,0.4);
  max-width: 160px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 920px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 48px); }
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}

/* ── Journal ───────────────────────────────────── */
.journal-swiper {
  margin-top: clamp(44px, 6vw, 72px);
  overflow: visible;
}

/* Desktop: swiper-wrapper renders as CSS grid */
@media (min-width: 641px) {
  .journal-swiper .swiper-wrapper {
    display: grid !important;
    transform: none !important;
    transition: none !important;
    width: 100% !important;
    height: auto !important;
  }
  .journal-swiper .swiper-slide {
    width: auto !important;
    height: auto !important;
    margin-right: 0 !important;
  }
}

/* Mobile: Swiper carousel */
@media (max-width: 640px) {
  .journal-swiper {
    overflow: hidden;
  }
}

.journal-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 28px);
}

@media (max-width: 920px) {
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
}

.journal-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
  cursor: pointer;
  transition: box-shadow 0.36s ease;
}

.journal-card:hover {
  box-shadow: 0 12px 56px rgba(16,15,13,0.1);
}

.journal-card__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--cream);
}

.journal-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.journal-card:hover .journal-card__img img {
  transform: scale(1.045);
}

.journal-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 26px 0;
}

.journal-card__date {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.journal-card__cat {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--accent);
  border: 1px solid rgba(181,139,93,0.42);
  padding: 2px 8px;
  line-height: 1.6;
}

.journal-card__body {
  padding: 14px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.journal-card__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.62rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.22;
  color: var(--ink);
}

.journal-card__excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.8;
  flex: 1;
}

.journal-card__read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  font-weight: 500;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  transition: color 0.25s, gap 0.25s;
}

.journal-card__read::after {
  content: "→";
}

.journal-card:hover .journal-card__read {
  color: var(--accent);
  gap: 14px;
}

/* ── Cookie consent ─────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: #0d0b09;
  padding: clamp(16px, 2vw, 22px) clamp(18px, 5vw, 76px);
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 52px);
  border-top: 1px solid rgba(255,255,255,0.1);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-bar.is-visible {
  transform: translateY(0);
}

.cookie-bar__text {
  flex: 1;
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.52);
}

.cookie-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 22px;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  border: 1px solid transparent;
  background: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.cookie-btn--accept {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.cookie-btn--accept:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.cookie-btn--decline {
  color: rgba(255,255,255,0.44);
  border-color: rgba(255,255,255,0.18);
}

.cookie-btn--decline:hover {
  color: rgba(255,255,255,0.82);
  border-color: rgba(255,255,255,0.44);
}

/* ── Journal footer (All articles link) ──────────── */
.journal-footer {
  margin-top: clamp(44px, 6vw, 64px);
  display: flex;
  justify-content: center;
}

/* ── journal-card as <a> tag fix ──────────────────── */
a.journal-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

/* ── Blog post page ───────────────────────────────── */
.post-hero {
  position: relative;
  min-height: 70svh;
  display: grid;
  align-content: end;
  overflow: hidden;
  background: #111;
}

.post-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.post-hero__bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0.56;
}

.post-hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 8vw, 100px) clamp(18px, 5vw, 76px) clamp(56px, 8vw, 96px);
  color: #fff;
  max-width: 860px;
}

.post-breadcrumb {
  font-family: var(--sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.52);
  margin-bottom: 24px;
}

.post-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.post-breadcrumb a:hover { color: var(--accent); }
.post-breadcrumb span { margin: 0 8px; opacity: 0.4; }

.post-hero__title {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 6rem);
  font-weight: 500;
  font-style: italic;
  line-height: 0.96;
  color: #fff;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.46);
  margin: 0;
}

.post-meta__cat {
  color: var(--accent);
  border: 1px solid rgba(181,139,93,0.46);
  padding: 3px 9px;
}

/* ── Blog post body ───────────────────────────────── */
.post-body {
  background: var(--paper);
}

.post-body__inner {
  max-width: 720px;
  margin: 0 auto;
}

.post-body__inner p {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.86;
  color: var(--ink);
  margin: 0 0 1.6em;
}

.post-body__inner h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.1;
  margin: 2.4em 0 0.8em;
  color: var(--ink);
}

.post-body__inner h3 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  margin: 2em 0 0.7em;
  color: var(--ink);
}

.post-body__inner blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  margin: 2em 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.48rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}

.post-body__inner figure {
  margin: 2.4em 0;
}

.post-body__inner figure img {
  width: 100%;
  display: block;
}

.post-body__inner figcaption {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 10px;
}

/* ── Post navigation (back link) ─────────────────── */
.post-nav {
  background: var(--bg);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.post-nav__back {
  font-family: var(--sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.25s, gap 0.25s;
  text-decoration: none;
}

.post-nav__back::before { content: "\2190"; }
.post-nav__back:hover { color: var(--ink); gap: 14px; }

/* ── Blog listing page ────────────────────────────── */
.blog-listing-hero {
  padding: clamp(120px, 18vw, 200px) clamp(18px, 5vw, 76px) clamp(64px, 8vw, 100px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.blog-listing-hero .section-kicker {
  margin-bottom: 20px;
}

.blog-listing-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 8vw, 9rem);
  font-weight: 500;
  font-style: italic;
  line-height: 0.88;
  color: var(--ink);
}

.blog-listing__grid {
  padding: clamp(56px, 8vw, 100px) clamp(18px, 5vw, 76px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 32px);
  background: var(--bg);
}

@media (max-width: 920px) {
  .blog-listing__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .blog-listing__grid { grid-template-columns: 1fr; }
  .post-hero__title { font-size: clamp(1.9rem, 9vw, 3.2rem); }
}

/* ── Lightbox ──────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9800;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.34s ease, visibility 0.34s ease;
}

.lightbox.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.92);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox__img {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1400px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transform: scale(0.92);
  transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.is-open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  background: rgba(10, 8, 6, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.22s;
}

.lightbox__close:hover { opacity: 1; color: #fff; background: rgba(10, 8, 6, 0.82); border-color: rgba(255, 255, 255, 0.22); }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: transparent;
  border: none;
  border-radius: 0;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  width: 52px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 0.22s;
}

.lightbox__prev:hover,
.lightbox__next:hover { opacity: 1; color: #fff; background: transparent; border-color: transparent; }

.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

.lightbox__prev[hidden],
.lightbox__next[hidden] { display: none; }
