/* =========================================================
   Art of Turkish Carpet — design system
   ========================================================= */

:root {
  --bg: #f4f3ef;
  --bg-2: #ecebe5;
  --surface: #ffffff;
  --ink: #111111;
  --ink-2: #3d3d3a;
  --muted: #7c7b75;
  --line: #e4e2db;
  --line-2: #d6d4cc;

  --accent: #0e8f83;          /* Turkish turquoise */
  --accent-2: #0a7067;
  --accent-soft: #dff1ee;
  --madder: #c2412d;          /* madder-root red */
  --indigo: #2f55b4;          /* indigo blue */
  --saffron: #dd9b1f;         /* saffron / weld yellow */
  --walnut: #6b4428;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(17,17,17,.05), 0 2px 8px rgba(17,17,17,.04);
  --shadow: 0 2px 4px rgba(17,17,17,.04), 0 12px 32px rgba(17,17,17,.08);
  --shadow-lg: 0 4px 10px rgba(17,17,17,.05), 0 30px 60px rgba(17,17,17,.14);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
svg.i { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 880px; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.panel {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 32px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typography ---------- */
.display, .h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: .98;
  color: var(--ink);
}
.display { font-size: clamp(44px, 7.4vw, 104px); }
.h1 { font-size: clamp(40px, 5.8vw, 80px); }
.h2 { font-size: clamp(34px, 4.6vw, 64px); }
.h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.03em; line-height: 1.08; }
.h4 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; font-weight: 650; }
.display, .h1, .h2 { overflow-wrap: break-word; }
.accent { color: var(--accent); }
.madder { color: var(--madder); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; transform: rotate(45deg);
  background: var(--accent); border-radius: 1px;
}
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); line-height: 1.6; max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.prose p { color: var(--ink-2); margin-top: 16px; max-width: 68ch; }
.prose p:first-child { margin-top: 0; }
.prose strong { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120px circle at var(--bx,50%) var(--by,50%), rgba(255,255,255,.22), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,17,17,.18); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn-accent { --btn-bg: var(--accent); }
.btn-accent:hover { --btn-bg: var(--accent-2); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); padding: 0 16px; }
.btn-ghost:hover { box-shadow: none; background: rgba(17,17,17,.05); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-viator { --btn-bg: #186b6d; }
.btn-airbnb { --btn-bg: #ff385c; }
.btn-amazon { --btn-bg: #ff9900; --btn-fg: #111; }
.btn-instagram { --btn-bg: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); background: var(--btn-bg); }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .3s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.icon-btn:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn.dark { background: var(--ink); color: #fff; box-shadow: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-underline { background: linear-gradient(currentColor,currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
.link-underline:hover { background-size: 100% 1.5px; }

/* ---------- chips / pills ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px; font-weight: 550; color: var(--ink-2); white-space: nowrap;
}
.chip svg { width: 15px; height: 15px; }
.chip-dark { background: rgba(17,17,17,.72); color: #fff; box-shadow: none; backdrop-filter: blur(8px); }
.chip-accent { background: var(--accent-soft); color: var(--accent-2); box-shadow: none; }
.chip-new { height: 20px; padding: 0 8px; font-size: 11px; background: var(--accent-soft); color: var(--accent-2); box-shadow: none; }
.stars { display: inline-flex; gap: 2px; color: var(--saffron); }
.stars svg { width: 15px; height: 15px; }

/* ---------- chat bubble tags (signature element) ---------- */
.bubble {
  --c: var(--accent);
  position: absolute; z-index: 5;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--c); color: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 35%, transparent);
  animation: bubbleIn .7s var(--ease-out) both, floaty 5s ease-in-out infinite;
  animation-delay: var(--delay, .8s), calc(var(--delay, .8s) + .7s);
  pointer-events: none;
}
.bubble::after {
  content: ""; position: absolute; left: 14px; bottom: -5px;
  width: 12px; height: 12px; background: var(--c);
  border-radius: 0 0 4px 0; transform: rotate(45deg);
}
.bubble.tail-right::after { left: auto; right: 14px; }
.bubble.tail-top::after { bottom: auto; top: -5px; }
.bubble.blue { --c: var(--indigo); }
.bubble.red { --c: var(--madder); }
.bubble.dark { --c: #161616; }
.bubble.saffron { --c: var(--saffron); }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(14px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: height .35s var(--ease), background .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.scrolled {
  --header-h: 64px;
  background: rgba(244,243,239,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(17,17,17,.06);
}
.site-header.hide { transform: translateY(-100%); }
.site-header { transition: transform .45s var(--ease), height .35s var(--ease), background .35s, box-shadow .35s; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 750; font-size: 17px; letter-spacing: -0.03em; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; color: var(--accent); transition: transform .6s var(--ease); }
.logo:hover .logo-mark { transform: rotate(90deg); }
.logo small { display: block; font-family: var(--font); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1; margin-top: 3px; }
.logo-text { line-height: 1.05; }
.main-nav { margin: 0 auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 13px; border-radius: 999px;
  font-size: 14px; font-weight: 550; color: var(--ink-2); white-space: nowrap;
  transition: background .25s, color .25s;
}
.main-nav a:hover { background: rgba(17,17,17,.05); color: var(--ink); }
.main-nav a.active { background: var(--ink); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 8px; }

.lang-toggle {
  position: relative; display: inline-flex; height: 38px; padding: 3px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
}
.lang-toggle button { position: relative; z-index: 1; width: 40px; border-radius: 999px; color: var(--muted); transition: color .3s; }
.lang-toggle button.on { color: #fff; }
.lang-toggle .knob {
  position: absolute; top: 3px; left: 3px; width: 40px; height: 32px; border-radius: 999px;
  background: var(--accent); transition: transform .45s var(--ease);
}
.lang-toggle[data-lang="tr"] .knob { transform: translateX(40px); }

.burger { display: none; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; place-items: center; }
.burger span { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .35s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.burger span::before { top: -5px; } .burger span::after { top: 5px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 24px;
  clip-path: circle(0% at calc(100% - 40px) 38px);
  transition: clip-path .7s var(--ease-out);
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 38px); }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: clamp(30px, 8vw, 44px); font-weight: 700; letter-spacing: -0.04em;
  padding: 8px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease);
}
.mobile-menu nav a::after { content: "→"; font-size: .6em; color: var(--accent); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * .05s); }
.mobile-menu .row { margin-top: auto; }
.menu-open { overflow: hidden; }

/* scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--saffron), var(--madder)); }

/* =========================================================
   Hero (home)
   ========================================================= */
.hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-bg-pattern {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(17,17,17,.09) 1px, transparent 0);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-top { text-align: center; position: relative; z-index: 2; }
.hero .display { max-width: 13ch; margin: 18px auto 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 550;
}
.hero-badge .avatars { display: flex; }
.hero-badge .avatars img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; margin-left: -8px; }
.hero-badge .avatars img:first-child { margin-left: 0; }
.hero-badge b { color: var(--accent); }

.fan .bubble { z-index: 30; }
.fan { position: relative; display: flex; justify-content: center; align-items: flex-start; margin: clamp(36px, 5vw, 56px) auto 0; height: clamp(230px, 27vw, 380px); max-width: 1100px; --mx: 0; --my: 0; }
.fan-card {
  --r: 0deg; --y: 0px;
  position: relative; flex: 0 0 auto;
  width: clamp(128px, 18vw, 250px); margin-left: clamp(-34px, -2.4vw, -18px);
  transform: translateY(var(--y)) rotate(var(--r));
  animation: fanIn 1.1s var(--ease-out) both; animation-delay: calc(.25s + var(--i) * .09s);
  z-index: calc(10 - var(--z, 0));
}
.fan-card:first-child { margin-left: 0; }
.fan-par { transform: translate3d(calc(var(--mx) * var(--depth, 10px)), calc(var(--my) * var(--depth, 10px)), 0); transition: transform .6s var(--ease-out); }
.fan-inner {
  aspect-ratio: 4/4.6; border-radius: 22px; overflow: hidden; background: #ddd;
  border: 5px solid #fff; box-shadow: var(--shadow-lg);
  transition: transform .6s var(--ease), box-shadow .6s;
}
.fan-inner img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fan-card:hover { z-index: 20; }
.fan-card:hover .fan-inner { transform: translateY(-18px) rotate(calc(var(--r) * -1)) scale(1.06); box-shadow: 0 40px 70px rgba(17,17,17,.25); }
.fan-card:hover .fan-inner img { transform: scale(1.08); }
@keyframes fanIn {
  from { opacity: 0; transform: translateY(140px) rotate(0deg) scale(.85); }
  to { opacity: 1; transform: translateY(var(--y)) rotate(var(--r)); }
}
.hero-bottom { text-align: center; margin-top: clamp(40px, 5vw, 64px); position: relative; z-index: 2; }
.hero-bottom p { color: var(--ink-2); max-width: 54ch; margin: 0 auto 24px; }

.flight { position: absolute; top: calc(var(--header-h) + 10px); right: max(2vw, calc(50% - 680px)); width: 280px; height: 160px; z-index: 1; pointer-events: none; color: var(--accent); }
.flight-l { left: max(2vw, calc(50% - 690px)); right: auto; transform: scaleX(-1); top: calc(var(--header-h) + 120px); color: var(--madder); opacity: .7; }

/* marquee */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: var(--surface); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: clamp(18px, 2vw, 24px); font-weight: 650; letter-spacing: -0.03em; white-space: nowrap; color: var(--ink-2); }
.marquee-item svg { width: 22px; height: 22px; color: var(--accent); }
.marquee-item b { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Split section with stacked cards
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-text .h1 { margin-top: 16px; }
.split-text .lead { margin-top: 24px; }
.split-text .row { margin-top: 32px; }

.stack-deck { position: relative; height: clamp(320px, 34vw, 440px); }
.deck-card {
  position: absolute; left: 0; top: 0;
  width: clamp(150px, 17vw, 230px); aspect-ratio: 4/5;
  border-radius: 18px; overflow: hidden; border: 4px solid #fff; background: #ddd;
  box-shadow: var(--shadow-lg);
  transition: transform .9s var(--ease-out), opacity .6s, z-index 0s .3s;
  cursor: pointer;
}
.deck-card img { width: 100%; height: 100%; object-fit: cover; }
.deck-card figcaption {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  font-size: 12px; font-weight: 600; color: #fff;
  display: inline-flex; width: max-content; max-width: calc(100% - 20px); padding: 5px 10px; border-radius: 999px;
  background: rgba(17,17,17,.55); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease);
}
.deck-card.front figcaption { opacity: 1; transform: none; }
.deck-nav { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 30; }

/* =========================================================
   Stats
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 28px 28px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.05em; line-height: 1; }
.stat-num sup { font-size: .45em; color: var(--accent); top: -.9em; margin-left: 2px; }
.stat-label { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* =========================================================
   Feature gallery ("Gateway")
   ========================================================= */
.feature { position: relative; border-radius: var(--radius-xl); overflow: hidden; height: clamp(420px, 52vw, 640px); background: #222; isolation: isolate; }
.feature-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.feature-slide.active { opacity: 1; z-index: 1; }
.feature-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.feature-slide.active img { transform: scale(1); }
.feature::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.6)); pointer-events: none; }
.feature-thumbs { position: absolute; left: 18px; top: 18px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.feature-thumbs button { width: 54px; height: 54px; border-radius: 12px; overflow: hidden; border: 2.5px solid rgba(255,255,255,.55); opacity: .75; transition: transform .35s var(--ease), border-color .3s, opacity .3s; }
.feature-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.feature-thumbs button:hover { transform: scale(1.07); opacity: 1; }
.feature-thumbs button.active { border-color: #fff; opacity: 1; transform: scale(1.07); }
.feature-caption { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; color: #fff; }
.feature-caption h3 { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.feature-caption p { color: rgba(255,255,255,.8); font-size: 14.5px; margin-top: 6px; max-width: 46ch; }
.feature-ctrl { display: flex; gap: 8px; }
.feature-ctrl .icon-btn { background: rgba(255,255,255,.92); box-shadow: none; color: var(--ink); }
.feature-dots { position: absolute; top: 22px; right: 22px; z-index: 3; display: flex; gap: 6px; }
.feature-dots span { width: 22px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.4); overflow: hidden; }
.feature-dots span i { display: block; height: 100%; width: 0; background: #fff; }
.feature-dots span.active i { animation: progress var(--dur, 6s) linear forwards; }
.feature-dots span.done i { width: 100%; }
@keyframes progress { to { width: 100%; } }
.feature-text-anim { animation: capIn .8s var(--ease-out) both; }
@keyframes capIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Journey steps
   ========================================================= */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 56px; }
.steps-line { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); }
.steps-line i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .1s linear; }
.step { position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2);
  font-family: var(--font-display); font-weight: 700; font-size: 18px; position: relative; z-index: 1;
  transition: background .5s, color .5s, box-shadow .5s;
}
.step.lit .step-num { background: var(--accent); color: #fff; box-shadow: 0 0 0 6px var(--accent-soft); }
.step h4 { margin-top: 20px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

/* =========================================================
   Cards (tours / generic)
   ========================================================= */
.adventures { padding: clamp(18px, 2.4vw, 28px); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow); }
.adventures-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-radius: 18px; background: var(--ink); color: #fff; margin-bottom: 18px; }
.adventures-head h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; font-size: 20px; }
.avatar-stack { display: flex; align-items: center; }
.avatar-stack img, .avatar-stack span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); margin-left: -8px; object-fit: cover; }
.avatar-stack span { display: grid; place-items: center; background: var(--accent); font-size: 11px; font-weight: 700; color: #fff; width: auto; min-width: 30px; padding: 0 6px; border-radius: 999px; }

.tour-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s; }
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tour-media { position: relative; aspect-ratio: 4/3.2; overflow: hidden; margin: 8px; border-radius: 18px; }
.tour-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tour-card:hover .tour-media img { transform: scale(1.07); }
.tour-media .chip { position: absolute; left: 12px; bottom: 12px; }
.tour-media .platform { position: absolute; left: 12px; top: 12px; }
.heart {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--ink); transition: transform .3s var(--ease), color .2s;
}
.heart svg { width: 18px; height: 18px; }
.heart:hover { transform: scale(1.1); }
.heart.on { color: var(--madder); }
.heart.on svg { fill: currentColor; animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }
.tour-body { padding: 10px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tour-body h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.03em; line-height: 1.15; font-weight: 700; }
.tour-body p { color: var(--muted); font-size: 14.5px; }
.tour-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tour-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.price small { font-family: var(--font); font-weight: 500; font-size: 13px; color: var(--muted); letter-spacing: 0; }

.info-card { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); margin-bottom: 18px; }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card h3, .info-card h4 { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.025em; font-weight: 700; line-height: 1.2; }
.info-card p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.info-card.dark { background: var(--ink); color: #fff; }
.info-card.dark p { color: rgba(255,255,255,.7); }
.info-card.dark .ic { background: rgba(255,255,255,.1); color: #fff; }

.img-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.img-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.img-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.72)); }
.img-card:hover img { transform: scale(1.06); }
.img-card .body { padding: 24px; }
.img-card h3 { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.03em; font-weight: 700; line-height: 1.1; }
.img-card p { color: rgba(255,255,255,.82); font-size: 14.5px; margin-top: 6px; }
.img-card .chip { position: absolute; top: 16px; left: 16px; }

/* =========================================================
   Motifs
   ========================================================= */
.motif-svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.motif-svg .fill { fill: currentColor; stroke: none; opacity: .18; }
.draw .motif-svg path, .draw .motif-svg circle, .draw .motif-svg rect, .draw .motif-svg polyline, .draw .motif-svg polygon, .draw .motif-svg line {
  stroke-dasharray: 260; stroke-dashoffset: 260;
}
.draw.in .motif-svg path, .draw.in .motif-svg circle, .draw.in .motif-svg rect, .draw.in .motif-svg polyline, .draw.in .motif-svg polygon, .draw.in .motif-svg line {
  animation: draw 1.8s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1ms + .1s);
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.motif-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.motif-card {
  --mc: var(--accent);
  position: relative; text-align: left; padding: 22px; border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s, background .4s;
}
.motif-card::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 180px; height: 180px; border-radius: 50%; background: var(--mc); opacity: .07; transition: transform .7s var(--ease), opacity .4s; }
.motif-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.motif-card:hover::before { transform: scale(2.4); opacity: .1; }
.motif-card .glyph { width: 76px; height: 76px; color: var(--mc); transition: transform .7s var(--ease); }
.motif-card:hover .glyph { transform: rotate(-6deg) scale(1.08); }
.motif-card h4 { margin-top: 18px; font-family: var(--font-display); font-size: 20px; letter-spacing: -0.03em; font-weight: 700; }
.motif-card .tr-name { font-size: 13px; color: var(--muted); font-weight: 550; }
.motif-card p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.motif-card .cat { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mc); }
.motif-card.hide { display: none; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-bar button {
  height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2);
  transition: background .25s, color .25s, box-shadow .25s, transform .3s var(--ease);
}
.filter-bar button:hover { transform: translateY(-2px); }
.filter-bar button.on { background: var(--ink); color: #fff; box-shadow: none; }

/* motif teaser on home */
.motif-teaser { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.motif-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.motif-tile {
  --mc: var(--accent);
  aspect-ratio: 1; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center;
  position: relative; overflow: hidden; transition: transform .5s var(--ease), background .4s, color .4s;
}
.motif-tile .glyph { width: 52%; color: var(--mc); transition: color .4s, transform .6s var(--ease); }
.motif-tile span { font-size: 13px; font-weight: 650; letter-spacing: -0.01em; }
.motif-tile em { position: absolute; inset: auto 12px 12px; font-style: normal; font-size: 12px; color: rgba(255,255,255,.9); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); }
.motif-tile:hover { background: var(--mc); color: #fff; transform: translateY(-4px) rotate(-1deg); }
.motif-tile:hover .glyph { color: #fff; transform: translateY(-10px) scale(.9); }
.motif-tile:hover span { transform: translateY(-10px); }
.motif-tile span { transition: transform .4s var(--ease); }
.motif-tile:hover em { opacity: 1; transform: none; }

/* language-of-carpet diagram */
.lang-chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.lang-step { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); margin-right: 18px; }
.lang-step:last-child { margin-right: 0; }
.lang-step::after { content: ""; position: absolute; right: -14px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
.lang-step:last-child::after { display: none; }
.lang-step .k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); }
.lang-step h4 { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.04em; font-weight: 700; margin-top: 6px; }
.lang-step p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.lang-step .vis { height: 70px; margin-bottom: 16px; color: var(--ink); }

/* colour swatches */
.swatches { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.swatch { border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease); }
.swatch:hover { transform: translateY(-6px); }
.swatch .c { height: 120px; position: relative; overflow: hidden; }
.swatch .c::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 2px, transparent 2px 6px), repeating-linear-gradient(0deg, rgba(0,0,0,.08) 0 2px, transparent 2px 6px); }
.swatch .t { padding: 14px; }
.swatch b { display: block; font-size: 15px; letter-spacing: -0.01em; }
.swatch small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; margin-top: 4px; }

/* motif composer */
.composer { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.composer-palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.composer-palette button { aspect-ratio: 1; border-radius: 16px; background: var(--bg); display: grid; place-items: center; padding: 12px; color: var(--ink); transition: transform .3s var(--ease), background .3s, color .3s; }
.composer-palette button:hover { transform: translateY(-3px); background: var(--accent-soft); color: var(--accent-2); }
.composer-palette button svg { width: 100%; height: 100%; }
.composer-colors { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.composer-colors button { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 3px #fff, 0 0 0 1.5px var(--line-2); transition: transform .3s var(--ease), box-shadow .3s; }
.composer-colors button.on { box-shadow: inset 0 0 0 3px #fff, 0 0 0 2.5px var(--ink); transform: scale(1.1); }
.rug {
  --rug: var(--madder);
  position: relative; border-radius: 14px; padding: 16px; min-height: 260px;
  background: var(--rug); color: #f7efe1;
  box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center;
  transition: background .5s;
}
.rug::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(247,239,225,.55); border-radius: 8px; pointer-events: none; }
.rug::after { content: ""; position: absolute; inset: 0; border-radius: 14px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 5px); pointer-events: none; }
.rug-fringe { position: absolute; left: 14px; right: 14px; height: 10px; background: repeating-linear-gradient(90deg, #efe4cf 0 2px, transparent 2px 6px); }
.rug-fringe.top { top: -10px; } .rug-fringe.bottom { bottom: -10px; }
.rug-row { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 90px; padding: 0 16px; flex-wrap: wrap; position: relative; z-index: 1; }
.rug-row svg { width: 72px; height: 72px; animation: rugIn .5s var(--ease-out) both; }
@keyframes rugIn { from { opacity: 0; transform: scale(.4) rotate(-20deg); } }
.rug-empty { text-align: center; opacity: .8; font-size: 14px; position: relative; z-index: 1; padding: 0 20px; }
.rug-reading { margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: var(--bg); font-size: 15.5px; color: var(--ink-2); min-height: 60px; }

/* =========================================================
   Book
   ========================================================= */
.book-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.book-stage { position: relative; display: grid; place-items: center; padding: clamp(24px, 5vw, 60px); border-radius: var(--radius-xl); background: linear-gradient(160deg, #efe6d8, #e2d3bc); overflow: hidden; perspective: 1600px; min-height: 480px; }
.book-stage::before { content: ""; position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.65), transparent 60%); }
.book3d { position: relative; width: clamp(200px, 22vw, 290px); aspect-ratio: 848/1200; transform-style: preserve-3d; transform: rotateY(-28deg) rotateX(6deg); transition: transform 1s var(--ease); animation: bookFloat 6s ease-in-out infinite; }
.book-stage:hover .book3d { transform: rotateY(-8deg) rotateX(2deg); }
@keyframes bookFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.book3d .front, .book3d .back, .book3d .spine, .book3d .pages { position: absolute; }
.book3d .front { inset: 0; border-radius: 2px 6px 6px 2px; overflow: hidden; transform: translateZ(14px); box-shadow: inset 4px 0 6px rgba(0,0,0,.12); }
.book3d .front img { width: 100%; height: 100%; object-fit: cover; }
.book3d .front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.12), transparent 8%, rgba(255,255,255,.18) 30%, transparent 55%); }
.book3d .back { inset: 0; background: #e9e1d2; transform: translateZ(-14px); border-radius: 2px 6px 6px 2px; box-shadow: 30px 40px 60px rgba(60,40,20,.35); }
.book3d .spine { top: 0; bottom: 0; left: -14px; width: 28px; background: linear-gradient(90deg, #d8ccb6, #efe7d8 50%, #d2c4ab); transform: rotateY(-90deg); }
.book3d .pages { top: 4px; bottom: 4px; right: -13px; width: 26px; background: repeating-linear-gradient(90deg, #fdfaf3 0 1px, #e8e1d1 1px 2px); transform: rotateY(90deg); }
.book-badge { position: absolute; z-index: 3; }
.book-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 18px; overflow: hidden; margin-top: 28px; }
.book-meta div { background: var(--surface); padding: 16px 18px; }
.book-meta b { display: block; font-family: var(--font-display); font-size: 22px; letter-spacing: -0.03em; }
.book-meta small { color: var(--muted); font-size: 13px; }
.check-list li { position: relative; padding-left: 32px; margin-top: 12px; color: var(--ink-2); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7067' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.x-list li { position: relative; padding-left: 32px; margin-top: 12px; color: var(--ink-2); }
.x-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #f6e3df url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2412d' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/11px no-repeat; }

/* chapters */
.chapters { counter-reset: ch; }
.chapter { display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); transition: padding .4s var(--ease); }
.chapter:last-child { border-bottom: 1px solid var(--line); }
.chapter:hover { padding-left: 12px; }
.chapter .n { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.05em; color: var(--line-2); transition: color .4s; }
.chapter:hover .n { color: var(--accent); }
.chapter h4 { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.03em; font-weight: 700; }
.chapter p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.chapter .tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }

/* =========================================================
   Guide / About
   ========================================================= */
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.guide-photo { position: relative; }
.guide-photo .main { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/4.4; }
.guide-photo .main img { width: 100%; height: 100%; object-fit: cover; }
.guide-photo .float { position: absolute; width: 42%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; border: 5px solid var(--bg); right: -6%; bottom: -8%; box-shadow: var(--shadow-lg); }
.guide-photo .float img { width: 100%; height: 100%; object-fit: cover; }
.quote-mark { font-family: Georgia, serif; font-size: 90px; line-height: .6; color: var(--accent); height: 40px; }
.big-quote { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 44px); letter-spacing: -0.035em; font-weight: 650; line-height: 1.12; }
.signature { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.signature img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.signature b { display: block; font-size: 16px; }
.signature small { color: var(--muted); font-size: 13.5px; }

.timeline { position: relative; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -36px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line-2); transition: background .5s, box-shadow .5s; }
.tl-item.in::before { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.tl-item .when { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.tl-item h4 { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.03em; font-weight: 700; margin-top: 4px; }
.tl-item p { color: var(--muted); margin-top: 6px; font-size: 15px; max-width: 60ch; }
.tl-item .dur { display: inline-flex; margin-top: 10px; }

/* =========================================================
   Reviews
   ========================================================= */
.review-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; height: 640px; overflow: hidden; mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.review-col { display: flex; flex-direction: column; gap: 20px; animation: scrollUp var(--dur, 40s) linear infinite; }
.review-col:nth-child(2) { animation-direction: reverse; --dur: 46s; }
.review-col:nth-child(3) { --dur: 52s; }
.review-cols:hover .review-col { animation-play-state: paused; }
@keyframes scrollUp { to { transform: translateY(-50%); } }
.review-card { position: relative; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.review-card .head { display: flex; align-items: center; gap: 12px; }
.review-card .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--c, var(--accent)); flex-shrink: 0; }
.review-card b { font-size: 15px; display: block; line-height: 1.25; }
.review-card small { color: var(--muted); font-size: 12.5px; }
.review-card p { margin-top: 14px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.review-card .src { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: var(--bg); color: var(--ink-2); }
.review-card .stars { margin-top: 12px; }

.rating-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rating-box { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; transition: transform .5s var(--ease), box-shadow .5s; }
.rating-box:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rating-box .num { font-family: var(--font-display); font-size: 64px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.rating-box .src-logo { font-weight: 800; letter-spacing: -0.02em; font-size: 18px; }
.bars { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.bar { display: grid; grid-template-columns: 18px 1fr 32px; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); }
.bar i { height: 6px; border-radius: 6px; background: var(--bg-2); overflow: hidden; display: block; }
.bar i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--saffron); border-radius: 6px; transform-origin: 0; transform: scaleX(0); transition: transform 1.2s var(--ease-out); }
.in .bar i::after, .bar.in i::after { transform: scaleX(1); }

.reviews-grid { columns: 3 300px; column-gap: 20px; }
.reviews-grid .review-card { break-inside: avoid; margin-bottom: 20px; }

/* =========================================================
   Instagram strip
   ========================================================= */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.insta-grid a { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; display: block; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .4s; }
.insta-grid a::after { content: ""; position: absolute; inset: 0; background: rgba(14,143,131,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='white'/%3E%3C/svg%3E") center/34px no-repeat; opacity: 0; transition: opacity .35s; }
.insta-grid a:hover::after { opacity: 1; }
.insta-grid a:hover img { transform: scale(1.1); }
.insta-grid a:nth-child(even) { transform: translateY(24px); }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--ink); color: #fff; padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px); isolation: isolate; }
.cta-band .h1, .cta-band .h2 { color: #fff; }
.cta-band .h1 { font-size: clamp(38px, 5vw, 68px); }
.cta-band > :not(.cta-photos):not(.pattern) { position: relative; z-index: 1; }
.cta-band .lead { color: rgba(255,255,255,.72); }
.cta-band .pattern { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: min(560px, 60%); color: rgba(255,255,255,.07); z-index: -1; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.cta-band .row { margin-top: 32px; }
.cta-band .btn-outline { --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.cta-band .btn-outline:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.cta-photos { position: absolute; right: clamp(24px, 6vw, 80px); top: 50%; transform: translateY(-50%); display: flex; }
.cta-photos img { width: clamp(100px, 11vw, 150px); aspect-ratio: 4/5; object-fit: cover; border-radius: 18px; border: 4px solid #222; margin-left: -28px; box-shadow: var(--shadow-lg); transition: transform .6s var(--ease); }
.cta-photos img:nth-child(1) { transform: rotate(-8deg) translateY(10px); }
.cta-photos img:nth-child(2) { transform: rotate(2deg) translateY(-14px); z-index: 1; }
.cta-photos img:nth-child(3) { transform: rotate(9deg) translateY(12px); }
.cta-band:hover .cta-photos img { transform: rotate(0) translateY(0); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { margin-top: clamp(40px, 6vw, 80px); padding: clamp(56px, 7vw, 88px) 0 32px; background: var(--surface); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 34ch; }
.footer-brand .row { margin-top: 20px; }
.footer-col h5 { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: var(--muted); font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-giant { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.06em; line-height: .8; font-size: clamp(56px, 13.5vw, 196px); color: var(--bg); text-align: center; margin: clamp(40px, 6vw, 72px) 0 24px; user-select: none; white-space: nowrap; overflow: hidden; }
.footer-giant span { background: linear-gradient(180deg, var(--bg-2), var(--bg)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.footer-bottom .row { gap: 18px; }

/* =========================================================
   Inner pages
   ========================================================= */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.page-hero .h1 { margin-top: 18px; max-width: 16ch; }
.page-hero .lead { margin-top: 22px; }
.page-hero .row { margin-top: 30px; }
.page-hero.center-hero { text-align: center; }
.page-hero.center-hero .h1, .page-hero.center-hero .lead { margin-left: auto; margin-right: auto; }
.page-hero.center-hero .row { justify-content: center; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { opacity: .5; }
.center-hero .breadcrumb { justify-content: center; }
.page-hero-media { margin-top: clamp(40px, 5vw, 64px); border-radius: var(--radius-xl); overflow: hidden; height: clamp(300px, 46vw, 560px); position: relative; }
.page-hero-media img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-collage { position: relative; height: clamp(360px, 40vw, 520px); }
.hero-collage figure { position: absolute; border-radius: 22px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-lg); animation: fanIn 1.1s var(--ease-out) both; animation-delay: calc(.2s + var(--i) * .12s); }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section-head .h2 { margin-top: 14px; max-width: 18ch; }
.section-head .lead { max-width: 44ch; }

/* detail layout */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(320px, 42vw, 520px); border-radius: var(--radius-xl); overflow: hidden; margin-top: 32px; }
.mosaic button { position: relative; overflow: hidden; display: block; }
.mosaic button:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .3s; }
.mosaic button:hover img { transform: scale(1.06); filter: brightness(.9); }
.mosaic .more { position: absolute; right: 14px; bottom: 14px; }
.detail { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.detail-main > section { padding: 40px 0; border-bottom: 1px solid var(--line); }
.detail-main > section:first-child { padding-top: 0; }
.detail-main > section:last-child { border-bottom: 0; }
.detail-main h2 { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.035em; font-weight: 700; line-height: 1.1; margin-bottom: 20px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fact { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.fact svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.fact b { display: block; font-size: 14.5px; }
.fact small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }
.booking-card { position: sticky; top: calc(var(--header-h) + 20px); padding: 26px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.booking-card .price { font-size: 30px; }
.booking-card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.booking-card .stack-sm .btn { width: 100%; }
.booking-card ul li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.booking-card ul li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; height: 380px; background: var(--bg-2); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 650; font-size: 14px; }
.compare tbody th { font-weight: 600; color: var(--ink-2); width: 30%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); }

/* FAQ accordion */
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h3 { font-family: var(--font-display); font-size: 14px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 12px; font-weight: 700; }
.acc { border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); margin-top: 10px; overflow: hidden; transition: box-shadow .3s; }
.acc:hover { box-shadow: var(--shadow); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 650; font-size: 17px; letter-spacing: -0.015em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { width: 30px; height: 30px; border-radius: 50%; background: var(--bg); position: relative; flex-shrink: 0; transition: background .3s, transform .4s var(--ease); }
.acc summary .pm::before, .acc summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; background: currentColor; transform: translate(-50%,-50%); }
.acc summary .pm::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .4s var(--ease); }
.acc[open] summary .pm { background: var(--accent); color: #fff; transform: rotate(180deg); }
.acc[open] summary .pm::after { transform: translate(-50%,-50%) rotate(0); }
.acc .acc-body { padding: 0 24px 22px; color: var(--ink-2); max-width: 75ch; }
.acc .acc-body p + p { margin-top: 10px; }

/* gallery */
.gallery { columns: 4 240px; column-gap: 14px; }
.gallery-item { break-inside: avoid; margin-bottom: 14px; border-radius: 18px; overflow: hidden; position: relative; display: block; width: 100%; cursor: zoom-in; animation: galIn .7s var(--ease-out) both; }
@keyframes galIn { from { opacity: 0; transform: translateY(28px) scale(.96); } }
.gallery-item img { width: 100%; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s var(--ease); }
.gallery-item:hover figcaption { opacity: 1; transform: none; }
.gallery-item.hide { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,12,12,.94); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .35s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { max-width: min(1200px, 92vw); max-height: 84vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: 76vh; border-radius: 14px; object-fit: contain; transform: scale(.94); transition: transform .45s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox figcaption { color: rgba(255,255,255,.85); font-size: 14.5px; text-align: center; }
.lightbox .lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background .25s, transform .3s var(--ease); }
.lightbox .lb-btn:hover { background: rgba(255,255,255,.22); transform: scale(1.06); }
.lightbox .lb-btn svg { width: 22px; height: 22px; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: 20px; top: 50%; translate: 0 -50%; }
.lightbox .lb-count { position: absolute; top: 32px; left: 28px; color: rgba(255,255,255,.6); font-size: 13px; font-weight: 600; letter-spacing: .08em; }

/* modal (motif detail) */
.modal { position: fixed; inset: 0; z-index: 190; display: grid; place-items: center; padding: 20px; background: rgba(17,17,17,.45); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card { width: min(720px, 100%); max-height: 88vh; overflow: auto; background: var(--surface); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); position: relative; transform: translateY(30px) scale(.97); transition: transform .5s var(--ease-out); display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.modal.open .modal-card { transform: none; }
.modal-card .glyph-big { aspect-ratio: 1; border-radius: 24px; background: var(--bg); display: grid; place-items: center; padding: 30px; color: var(--mc, var(--accent)); }
.modal-card .close { position: absolute; top: 16px; right: 16px; }
.modal-card h3 { font-family: var(--font-display); font-size: 34px; letter-spacing: -0.04em; font-weight: 700; line-height: 1; }
.modal-card p { color: var(--ink-2); margin-top: 12px; }

/* forms */
.form { display: grid; gap: 14px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); transition: border-color .25s, background .25s, box-shadow .25s; outline: none; }
.field textarea { height: 130px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.form-note { font-size: 13px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 550; box-shadow: var(--shadow-lg); transition: transform .5s var(--ease-out), visibility .5s; display: flex; gap: 10px; align-items: center; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

.channel { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.channel:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.channel .logo-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex-shrink: 0; font-weight: 800; }
.channel .logo-ic svg { width: 26px; height: 26px; }
.channel b { display: block; font-size: 16px; }
.channel small { color: var(--muted); font-size: 13.5px; }
.channel .go { margin-left: auto; width: 20px; height: 20px; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.channel:hover .go { transform: translateX(4px); color: var(--ink); }

/* knot diagram & sizes */
.knot-vis { border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); padding: 28px; }
.knot-vis svg { width: 100%; height: auto; }
.size-chart { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.size-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.size-item .r { width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); background: var(--madder); border-radius: 6px; position: relative; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 6px, transparent 6px 12px); }
.size-item .r::after { content: ""; position: absolute; inset: 5px; border: 1.5px dashed rgba(255,255,255,.5); border-radius: 3px; }
.size-item:hover .r { transform: translateY(-6px); }
.size-item b { font-size: 14px; }
.size-item small { color: var(--muted); font-size: 12px; margin-top: -8px; }

.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.region { position: relative; padding: 22px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, color .4s; }
.region::before { content: ""; position: absolute; inset: 0; background: var(--rc, var(--accent)); transform: translateY(101%); transition: transform .55s var(--ease); z-index: 0; }
.region > * { position: relative; z-index: 1; }
.region:hover { color: #fff; transform: translateY(-4px); }
.region:hover::before { transform: none; }
.region:hover small, .region:hover p { color: rgba(255,255,255,.85); }
.region b { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.03em; }
.region small { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); transition: color .4s; }
.region p { font-size: 14px; color: var(--muted); margin-top: 8px; transition: color .4s; }

.numbered { counter-reset: n; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.numbered > div { counter-increment: n; position: relative; padding: 26px 26px 26px 84px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.numbered > div::before { content: counter(n, decimal-leading-zero); position: absolute; left: 24px; top: 22px; font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.04em; color: var(--accent); }
.numbered h4 { font-family: var(--font-display); font-size: 19px; letter-spacing: -0.025em; font-weight: 700; }
.numbered p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* =========================================================
   Loader / page transition
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 500; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .9s var(--ease-out) .1s; }
.loader.done { transform: translateY(-100%); }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader svg { width: 74px; height: 74px; color: var(--accent); }
.loader svg * { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.2s var(--ease) forwards; }
.loader-word { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; overflow: hidden; }
.loader-word span { display: inline-block; animation: wordUp .8s var(--ease-out) .25s both; }
@keyframes wordUp { from { transform: translateY(110%); } }
.page-fade { position: fixed; inset: 0; z-index: 400; background: var(--bg); pointer-events: none; opacity: 0; transition: opacity .35s; }
.page-fade.on { opacity: 1; }

/* back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); transform: translateY(120px); transition: transform .5s var(--ease-out); }
.to-top.show { transform: none; }
.to-top svg { width: 20px; height: 20px; position: relative; z-index: 1; }
.to-top .ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--p, 0)); }

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.reveal.from-left { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.scale { transform: scale(.92); }
.reveal.in { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--wi) * 55ms); }
.split-words.in .w > span { transform: none; }
.clip-reveal { clip-path: inset(12% 12% 12% 12% round 32px); transition: clip-path 1.4s var(--ease-out); }
.clip-reveal.in { clip-path: inset(0 0 0 0 round 32px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .split-words .w > span { opacity: 1; transform: none; }
  .marquee-track, .review-col { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .cta-photos { display: none; }
}
@media (max-width: 1180px) {
  .main-nav a { padding: 0 9px; font-size: 13.5px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .swatches { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1120px) {
  .main-nav, .header-actions .hide-md { display: none; }
  .burger { display: grid; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 1040px) {
  .split, .guide, .book-section, .motif-teaser, .hero-split, .composer { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; }
  .booking-card { position: relative; top: 0; }
  .steps { grid-template-columns: 1fr; gap: 28px; padding-left: 0; }
  .steps-line { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps-line i { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
  .step h4 { margin-top: 4px; }
  .step p { grid-column: 2; }
  .step .step-num { grid-row: span 2; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .lang-chain { grid-template-columns: 1fr 1fr; gap: 18px; }
  .lang-step { margin-right: 0; }
  .lang-step::after { display: none; }
  .cta-photos { display: none; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .stack-deck { max-width: 560px; }
  .guide-photo { max-width: 560px; }
}
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .reveal.from-left, .reveal.from-right { transform: translateY(36px); }
  .reveal.in.from-left, .reveal.in.from-right { transform: none; }
  .grid-2, .grid-3, .rating-summary, .numbered { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 22px 8px; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr 1fr; }
  .mosaic button:first-child { grid-column: span 2; grid-row: auto; }
  .mosaic button:nth-child(n+4) { display: none; }
  .review-cols { grid-template-columns: 1fr; height: 560px; }
  .review-col:nth-child(n+2) { display: none; }
  .fan-card:nth-of-type(1), .fan-card:nth-of-type(5) { display: none; }
  .fan-card:nth-of-type(2) { margin-left: 0; }
  .fan-card { width: clamp(112px, 34vw, 210px); }
  .fan { height: clamp(200px, 50vw, 300px); }
  .flight { display: none; }
  .chapter { grid-template-columns: 56px 1fr; }
  .chapter .tag { display: none; }
  .chapter .n { font-size: 32px; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-card .glyph-big { width: 140px; padding: 20px; }
  .form .two { grid-template-columns: 1fr; }
  .lang-chain { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .region-grid { grid-template-columns: 1fr 1fr; }
  .feature-thumbs { flex-direction: row; top: 16px; left: 16px; }
  .feature-dots { display: none; }
  .feature-thumbs button { width: 44px; height: 44px; }
  .feature-caption { left: 18px; right: 18px; bottom: 18px; flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .insta-grid a:nth-child(even) { transform: none; }
  .book-meta { grid-template-columns: 1fr 1fr; }
  .book-meta div:last-child:nth-child(odd) { grid-column: span 2; }
  .compare th, .compare td { padding: 12px 14px; font-size: 14px; }
  .lang-toggle button { width: 36px; } .lang-toggle .knob { width: 36px; } .lang-toggle[data-lang="tr"] .knob { transform: translateX(36px); }
  .header-actions .ig-btn { display: none; }
  .deck-card { width: clamp(130px, 38vw, 200px); }
  .hero-collage { height: 380px; }
}
@media (max-width: 420px) {
  .logo-text small { display: none; }
  .logo { font-size: 15px; }
  .grid-4, .region-grid, .facts { grid-template-columns: 1fr; }
  .btn-lg { height: 52px; padding: 0 22px; }
}

/* inline two-column panels collapse on small screens */
@media (max-width: 860px) {
  [data-collapse] { grid-template-columns: 1fr !important; }
  [data-collapse] > .tour-media { order: -1; }
}

.numbered > .tip { counter-increment: none; padding-left: 26px; background: var(--ink); }
.numbered > .tip::before { display: none; }
.numbered > .tip h4 { color: #fff; }
.numbered > .tip p { color: rgba(255,255,255,.75); }
.reading-list { list-style: decimal; padding-left: 22px; margin: 10px 0; }
.reading-list li { margin-top: 4px; }
.reading-list li::marker { color: var(--accent); font-weight: 700; }

/* =========================================================
   Mobile refinements
   ========================================================= */
.motif-card .glyph, .motif-tile .glyph { display: block; }
.motif-tile .glyph { width: 52%; aspect-ratio: 1; }
.motif-tile .glyph svg, .motif-card .glyph svg { width: 100%; height: 100%; }

/* sticky booking bar (tour pages, mobile only) */
.mobile-book-bar { display: none; }

@media (max-width: 1040px) {
  .mobile-book-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 85;
    padding: 10px 10px 10px 18px; border-radius: 20px;
    background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(17,17,17,.18), inset 0 0 0 1px var(--line);
    transform: translateY(140%); transition: transform .5s var(--ease-out);
  }
  .mobile-book-bar.show { transform: none; }
  .mobile-book-bar .price { font-size: 18px; line-height: 1.1; }
  .mobile-book-bar small { display: block; font-size: 12px; color: var(--muted); }
  body.has-book-bar .to-top { bottom: 92px; }
  body.has-book-bar .site-footer { padding-bottom: 96px; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; }
  .info-card { padding: 22px; }
  .info-card .ic { width: 42px; height: 42px; margin-bottom: 14px; }
  .guide-photo .float { right: 4%; bottom: -6%; width: 38%; }
  .guide-photo { margin-bottom: 24px; }

  /* facts stay two-up */
  .facts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fact { padding: 12px; gap: 10px; }
  .fact svg { width: 19px; height: 19px; }
  .fact b { font-size: 13.5px; }
  .fact small { font-size: 12px; }

  /* gallery mosaic shows all five photos */
  .mosaic { height: 440px; grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr 1fr; gap: 8px; }
  .mosaic button:first-child { grid-column: span 2; grid-row: auto; }
  .mosaic button:nth-child(n+4) { display: block; }
  .mosaic button[hidden] { display: none; }

  /* image cards */
  .img-card { min-height: 240px !important; }
  .img-card .body { padding: 16px; }
  .img-card h3 { font-size: 19px; }
  .img-card p { font-size: 13px; }

  /* comparison table becomes stacked cards */
  .compare.stack-mobile, .compare.stack-mobile tbody { display: block; width: 100%; }
  .compare.stack-mobile thead { display: none; }
  .compare.stack-mobile tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .compare.stack-mobile tr:last-child { border-bottom: 0; }
  .compare.stack-mobile th, .compare.stack-mobile td { border-bottom: 0; padding: 10px 14px; }
  .compare.stack-mobile tbody th { grid-column: 1 / -1; width: auto; padding-bottom: 0; color: var(--ink); }
  .compare.stack-mobile td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .compare.stack-mobile tr:last-child td::before { display: none; }
  .compare.stack-mobile tr:last-child th { display: none; }
  .compare.stack-mobile .btn { width: 100%; padding: 8px 10px; height: auto; min-height: 42px; white-space: normal; font-size: 13px; text-align: center; }

  /* motifs */
  .motif-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .motif-card { padding: 16px; }
  .motif-card .glyph { width: 56px; height: 56px; }
  .motif-card h4 { font-size: 17px; margin-top: 12px; }
  .motif-card .cat { position: static; display: block; font-size: 10px; margin-bottom: 10px; }
  .motif-card p { font-size: 13px; }
  .composer-palette { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .composer-palette button { padding: 8px; border-radius: 12px; }
  .rug-row svg { width: 54px; height: 54px; }
  .lang-chain { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lang-step { padding: 18px 16px; }
  .lang-step .vis { height: 54px; margin-bottom: 10px; }
  .lang-step h4 { font-size: 20px; }
  .lang-step p { font-size: 13px; }

  /* book */
  .book-stage { min-height: 360px; }
  .book3d { width: clamp(170px, 48vw, 220px); }

  /* gallery masonry two-up */
  .gallery { columns: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; border-radius: 14px; }
  .gallery-item figcaption { display: none; }

  /* hero collage a little shorter */
  .hero-collage { height: 340px; margin-top: 8px; }

  /* sizes chart */
  .size-chart { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 22px 8px; }
  .size-item .r { width: calc(var(--w) * .62px); height: calc(var(--h) * .62px); }
  .size-item small { text-align: center; font-size: 11px; }

  /* numbered lists */
  .numbered > div { padding: 20px 20px 20px 70px; }
  .numbered > div::before { left: 20px; top: 18px; font-size: 24px; }

  /* timeline */
  .tl-item { padding-bottom: 28px; }
  .tl-item h4 { font-size: 19px; }

  /* region cards */
  .region { padding: 16px; }
  .region b { font-size: 19px; }
  .region p { font-size: 13px; }

  .cta-band .row .btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  .grid-4:has(.img-card) { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid-4:has(.img-card) .img-card { min-height: 200px !important; }
  .grid-4:has(.img-card) .img-card p { display: none; }
  .grid-4:has(.img-card) .img-card .chip { top: 10px; left: 10px; height: 26px; font-size: 11.5px; padding: 0 9px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .region-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}
.mobile-menu nav a.active { color: var(--accent); }
