/* ==========================================================
   Ocean Trading — luxury tiles showcase
   ========================================================== */
:root {
  --bg: #08111f;
  --bg-2: #0b1628;
  --surface: #111f36;
  --surface-2: #172a47;
  --line: rgba(190, 220, 235, 0.12);
  --line-strong: rgba(190, 220, 235, 0.24);
  --ivory: #eef3f6;
  --ivory-2: #dfe8ee;
  --text: #e9eff3;
  --muted: #93a3b4;
  --dim: #5e6e81;
  --gold: #3fb0a6;
  --gold-2: #8fdcd2;
  --gold-3: #22756f;
  --ink: #0a1424;
  --serif: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  --sans: 'Manrope', 'Manrope Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 4px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; font-variant-numeric: lining-nums; overflow-x: clip; }
body { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
body::after { /* film grain */
  content: ''; position: fixed; inset: -50%; pointer-events: none; z-index: 90; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

em { font-style: italic; color: var(--gold-2); font-weight: 400; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px; font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow .num { font-family: var(--serif); font-size: 15px; letter-spacing: .05em; color: var(--muted); font-style: italic; }
.eyebrow .num::after { content: ''; display: inline-block; width: 26px; height: 1px; background: var(--gold-3); margin-left: 12px; vertical-align: middle; }
.eyebrow-line { width: 38px; height: 1px; background: var(--gold); display: inline-block; }

.section-title {
  font-family: var(--serif); font-weight: 300; margin: 0;
  font-size: clamp(32px, 4.1vw, 58px); line-height: 1.05; letter-spacing: -.01em;
}
.section-sub { color: var(--muted); max-width: 460px; margin: 22px 0 0; font-size: 16px; }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head.split .section-sub { margin: 0; }

.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.btn.sm { height: 40px; padding: 0 20px; font-size: 11px; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn .arr { transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-gold { background: linear-gradient(120deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); color: var(--ink); }
.btn-gold::before { background: var(--ivory); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost::before { background: var(--ivory); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ivory); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); transition: background .4s, color .4s, transform .5s var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.icon-btn:hover { background: var(--ivory); color: var(--ink); transform: rotate(90deg); }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center;
}
.pl-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pl-mark { width: 42px; height: 42px; position: relative; }
.pl-mark span, .brand-mark {
  position: absolute; inset: 8px; border: 1px solid var(--gold); transform: rotate(45deg);
}
.pl-mark span::after, .brand-mark::after { content: ''; position: absolute; inset: 5px; background: var(--gold); }
.pl-word { font-family: var(--serif); font-size: clamp(34px, 6vw, 64px); font-weight: 300; letter-spacing: .04em; overflow: hidden; }
.pl-word .ch { display: inline-block; transform: translateY(110%); }
.pl-bar { width: 220px; height: 1px; background: var(--line); overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.pl-count { font-size: 11px; letter-spacing: .3em; color: var(--muted); }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%;
  background: var(--ivory); color: var(--ink); display: grid; place-items: center;
  font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  transform: scale(0); opacity: 0;
}
@media (hover: none), (max-width: 900px) { .cursor { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 32px;
  padding: 22px var(--gutter);
  transition: padding .6s var(--ease), background .6s, border-color .6s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { padding-top: 14px; padding-bottom: 14px; background: rgba(8, 17, 31, .78); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }
.brand-logo { position: relative; width: 34px; height: 34px; flex: none; display: grid; place-items: center; }
.brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-mark { inset: 6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.brand-sub { font-size: 9px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { position: relative; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .3s; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { height: 44px; padding: 0 22px; font-size: 11px; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--bg-2);
  display: flex; flex-direction: column; padding: 92px var(--gutter) 28px; overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden;
}
.mobile-menu.open { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(22px, 6.2vw, 28px); font-weight: 400; line-height: 1.2; color: var(--text); transition: color .3s, padding .4s var(--ease); }
.mobile-menu nav a::after { content: '→'; font-family: var(--sans); font-size: 16px; color: var(--gold); opacity: .7; transition: transform .4s var(--ease); }
.mobile-menu nav a:hover, .mobile-menu nav a.active { color: var(--gold-2); padding-left: 6px; }
.mobile-menu nav a:hover::after { transform: translateX(4px); }
.mm-foot { margin-top: auto; padding-top: 28px; color: var(--muted); font-size: 14px; display: grid; gap: 12px; }
.mm-foot .btn { width: 100%; }
.mm-foot a:not(.btn) { color: var(--text); }
.mm-contact { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: block; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; }
  .brand-sub { display: none; }
  .brand-name { font-size: 21px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center;
  padding: 130px var(--gutter) 90px; max-width: var(--maxw); margin: 0 auto; gap: 40px;
}
.hero-bg { position: absolute; inset: 0; left: 50%; width: 100vw; transform: translateX(-50%); overflow: hidden; pointer-events: none; z-index: -1; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.hero-glow.g1 { width: 46vw; height: 46vw; right: -8vw; top: 6vh; background: radial-gradient(circle, rgba(63,176,166,.35), transparent 65%); }
.hero-glow.g2 { width: 34vw; height: 34vw; left: -10vw; bottom: -12vw; background: radial-gradient(circle, rgba(120,140,160,.18), transparent 65%); }
.hero-lines { position: absolute; inset: 0; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px); background-size: calc(100% / 6) 100%; opacity: .35; mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); }

.hero-content { position: relative; z-index: 2; }
.hero-title {
  font-family: var(--serif); font-weight: 300; margin: 0;
  font-size: clamp(40px, 5.4vw, 82px); line-height: 1; letter-spacing: -.02em;
}
.hero-text { color: var(--muted); max-width: 500px; margin: 30px 0 40px; font-size: 16px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: clamp(26px, 4vw, 54px); margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 520px; }
.hero-stats:empty { display: none; }
.stat b { display: block; font-family: var(--serif); font-size: 44px; font-weight: 400; line-height: 1; color: var(--ivory); }
.stat span { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

.hero-stage { position: relative; height: min(76vh, 760px); perspective: 1600px; z-index: 1; }
.hs-inner { position: absolute; inset: 0; transform-style: preserve-3d; }
.hs-tile {
  position: absolute; top: 50%; left: 50%; width: clamp(150px, 16vw, 250px); aspect-ratio: 1 / 2;
  border-radius: 3px; overflow: hidden; transform-style: preserve-3d;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06);
  cursor: pointer; pointer-events: auto;
}
.hs-tile img { width: 100%; height: 100%; object-fit: cover; }
.hs-tile::after { /* glossy sweep */
  content: ''; position: absolute; inset: -40% -60%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.38) 50%, transparent 60%);
  transform: translateX(-60%); animation: sheen 6s var(--ease) infinite; animation-delay: var(--d, 0s);
}
@keyframes sheen { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
.hs-label {
  position: absolute; left: 50%; bottom: -2px; transform: translate(-50%, 100%);
  font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted); white-space: nowrap; padding-top: 14px;
}
.hs-placeholder { background: var(--surface); }
.marble-a { background: radial-gradient(120% 60% at 20% 20%, #fff 0, #ece7de 40%, transparent 41%), linear-gradient(130deg, #f4f1ea 0 30%, #3fb0a6 30.4% 31%, #ebe6dc 31.4% 62%, #2a8f87 62.3% 62.8%, #f2eee6 63%); }
.marble-b { background: linear-gradient(160deg, #1a1d24 0 35%, #3fb0a6 35.5% 37%, #eef3f6 37.5% 52%, #3fb0a6 52.4% 53.2%, #23262e 53.6%); }
.marble-c { background: linear-gradient(115deg, #e8edf1 0 28%, #7f97ad 28% 45%, #3fb0a6 45.4% 46.4%, #f3f4f2 46.8% 75%, #b7c5d1 75%); }

.scroll-cue { position: absolute; left: var(--gutter); bottom: 30px; display: flex; align-items: center; gap: 14px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 46px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; gap: 10px; }
  .hero-stage { height: 440px; order: -1; margin: 0 -16px; }
  .hs-tile { width: 130px; }
  .scroll-cue { display: none; }
  .hero-stats { margin-top: 40px; }
  .stat b { font-size: 34px; }
}

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: clamp(24px, 3vw, 38px); font-weight: 300; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ''; width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg); }
.marquee-track span:nth-child(even) { font-style: italic; color: var(--gold-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- statement ---------- */
.statement { padding: clamp(90px, 13vw, 180px) 0; }
.statement-text {
  font-family: var(--serif); font-weight: 300; text-align: center; margin: 0 auto; max-width: 1180px;
  font-size: clamp(24px, 3.1vw, 44px); line-height: 1.25;
}
.statement-text .w { display: inline; }
.js-anim .statement-text .w { opacity: .14; }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 26px); }
.cat-card {
  position: relative; grid-column: span 4; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); cursor: pointer; isolation: isolate; text-align: left;
}
.cat-grid.n1 .cat-card { grid-column: span 12; aspect-ratio: 21 / 9; }
.cat-grid.n2 .cat-card { grid-column: span 6; aspect-ratio: 4 / 3; }
.cat-grid.n4 .cat-card:nth-child(4n+1), .cat-grid.n4 .cat-card:nth-child(4n) { grid-column: span 7; aspect-ratio: 16 / 10; }
.cat-grid.n4 .cat-card:nth-child(4n+2), .cat-grid.n4 .cat-card:nth-child(4n+3) { grid-column: span 5; aspect-ratio: 16 / 14.3; }
.cat-card .cc-img { position: absolute; inset: 0; z-index: -2; }
.cat-card .cc-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.cat-card:hover .cc-img img { transform: scale(1.02); }
.cat-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5,11,22,.9) 0%, rgba(5,11,22,.25) 50%, rgba(5,11,22,.05) 100%); transition: opacity .8s; }
.cat-card .cc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.6vw, 36px); display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.cc-count { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 10px; display: block; }
.cc-name { font-family: var(--serif); font-size: clamp(26px, 2.5vw, 38px); font-weight: 300; line-height: 1.02; margin: 0; }
.cc-desc { color: rgba(233,239,243,.7); font-size: 13px; max-width: 380px; margin: 10px 0 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .6s; }
.cat-card:hover .cc-desc { max-height: 120px; opacity: 1; }
.cc-go { flex: none; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; transition: background .5s, border-color .5s, transform .6s var(--ease); }
.cc-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .6s var(--ease); }
.cat-card:hover .cc-go { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cat-card:hover .cc-go svg { transform: rotate(-45deg); }
.cc-index { position: absolute; top: clamp(18px, 2.4vw, 30px); left: clamp(20px, 2.6vw, 36px); font-family: var(--serif); font-style: italic; color: rgba(255,255,255,.7); font-size: 18px; }
@media (max-width: 900px) {
  .cat-grid .cat-card, .cat-grid.n4 .cat-card:nth-child(n), .cat-grid.n2 .cat-card { grid-column: span 12; aspect-ratio: 4 / 3; }
  .cat-grid.n1 .cat-card { aspect-ratio: 4 / 3; }
  .cc-desc { max-height: none; opacity: 1; }
}

/* ---------- collection ---------- */
.collection { background: var(--bg-2); border-top: 1px solid var(--line); }
.search {
  display: flex; align-items: center; gap: 12px; width: min(380px, 100%);
  border-bottom: 1px solid var(--line-strong); padding: 10px 2px; transition: border-color .4s;
}
.search:focus-within { border-color: var(--gold); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.5; flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 14px; color: var(--text); }
.search input::placeholder { color: var(--dim); }

.tabs-wrap { overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.tabs-wrap::-webkit-scrollbar { display: none; }
.tabs { position: relative; display: flex; gap: clamp(22px, 3vw, 44px); width: max-content; }
.tab { padding: 16px 0 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .3s; white-space: nowrap; }
.tab sup { font-size: 9px; color: var(--gold); margin-left: 4px; letter-spacing: 0; }
.tab:hover, .tab.active { color: var(--text); }
.tab-ind { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--gold); width: 0; }

.filters { display: flex; align-items: center; gap: 14px 34px; flex-wrap: wrap; padding: 22px 0 40px; }
.filter-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-label { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 34px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 12px; color: var(--muted); transition: all .35s var(--ease); }
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip.active { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.result-count { margin-left: auto; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--muted); }

.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: clamp(18px, 2.4vw, 34px) clamp(14px, 2vw, 26px); }
.tile-card { position: relative; cursor: pointer; text-align: left; display: block; width: 100%; }
.tc-media {
  position: relative; aspect-ratio: 1 / 2; overflow: hidden; border-radius: 3px; background: var(--surface);
  transform-style: preserve-3d; transition: transform .7s var(--ease), box-shadow .7s var(--ease);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04);
}
.tile-card.landscape .tc-media { aspect-ratio: 2 / 1; }
.tile-card.square .tc-media { aspect-ratio: 1; }
.tc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.tc-media .tc-room { opacity: 0; transform: scale(1.08); }
.tile-card:hover .tc-media { box-shadow: 0 40px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(63,176,166,.35); }
.tile-card:hover .tc-room { opacity: 1; transform: scale(1); }
.tile-card:hover .tc-main { transform: scale(1.04); }
.tc-media::after { /* glare */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.28), transparent 45%);
}
.tile-card:hover .tc-media::after { opacity: 1; }
.tc-badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 9px; letter-spacing: .22em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: rgba(8,17,31,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ivory); opacity: 0; transform: translateY(-6px); transition: all .5s var(--ease); }
.tile-card:hover .tc-badge { opacity: 1; transform: none; }
.tc-feat { position: absolute; top: 12px; right: 12px; z-index: 2; width: 10px; height: 10px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 0 4px rgba(8,17,31,.45); }
.tc-info { padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.tc-name { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.1; margin: 0; transition: color .4s; }
.tile-card:hover .tc-name { color: var(--gold-2); }
.tc-meta { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.tc-cat { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }

.empty { text-align: center; padding: 70px 0; color: var(--muted); }
.empty-mark { width: 40px; height: 40px; border: 1px solid var(--gold); transform: rotate(45deg); margin: 0 auto 26px; }
.empty p { font-family: var(--serif); font-size: 26px; margin: 0 0 22px; color: var(--text); }

/* ---------- spaces ---------- */
.spaces { position: relative; border-top: 1px solid var(--line); overflow: hidden; }
.spaces-pin { padding: clamp(70px, 9vw, 120px) 0 60px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.spaces-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 48px; }
.spaces-head .section-sub { margin: 0; }
.spaces-track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.space-card { position: relative; width: clamp(300px, 52vw, 820px); aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); flex: none; cursor: pointer; background: var(--surface); }
.space-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease); }
.space-card:hover img { transform: scale(1.05) !important; }
.space-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,11,22,.78), transparent 45%); }
.sc-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 2.4vw, 32px); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.sc-name { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 40px); font-weight: 300; line-height: 1; }
.sc-meta { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; }
.sc-thumb { width: 54px; aspect-ratio: 1/2; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.3); flex: none; }
.sc-thumb img { transform: none !important; }
.spaces-progress { margin: 44px var(--gutter) 0; height: 1px; background: var(--line); }
.spaces-progress i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
@media (max-width: 900px) {
  .spaces-pin { min-height: 0; }
  .spaces-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
  .spaces-track::-webkit-scrollbar { display: none; }
  .space-card { width: 84vw; scroll-snap-align: center; aspect-ratio: 4 / 3; }
  .spaces-progress { display: none; }
}

/* ---------- 3D visualizer teaser ---------- */
.vis-cta { border-top: 1px solid var(--line); overflow: hidden; }
.vis-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.vis-rooms { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 34px; }
.vis-rooms a { height: 36px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; font-size: 12px; color: var(--muted); transition: all .4s var(--ease); }
.vis-rooms a:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.vis-stage { position: relative; display: block; aspect-ratio: 4 / 3; perspective: 1100px; border-radius: var(--radius); background: radial-gradient(ellipse at 50% 30%, #15294a, #08111f 70%); overflow: hidden; border: 1px solid var(--line); }
.vis-room { position: absolute; left: 50%; top: 56%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-14deg) rotateY(-28deg); animation: visTurn 14s ease-in-out infinite alternate; }
@keyframes visTurn { from { transform: rotateX(-14deg) rotateY(-34deg); } to { transform: rotateX(-10deg) rotateY(14deg); } }
.vis-room > div { position: absolute; background-color: #d9d2c5; }
.vr-floor { width: 440px; height: 440px; left: -220px; top: -220px; transform: rotateX(90deg); background-image: var(--vis-tile); background-size: 55px 110px; box-shadow: inset 0 0 120px rgba(0,0,0,.45); }
.vr-floor::after { content: ''; position: absolute; inset: 0; background: linear-gradient(130deg, rgba(255,255,255,.35), transparent 45%); }
.vr-back { width: 440px; height: 250px; left: -220px; top: -250px; transform: translateZ(-220px); background: linear-gradient(#e6edf2, #c9d4dd); }
.vr-left { width: 440px; height: 250px; left: -220px; top: -250px; transform: rotateY(90deg) translateZ(-220px); background: linear-gradient(#dbe3ea, #bfcbd5); }
.vr-left::after { content: ''; position: absolute; left: 34%; top: 14%; width: 34%; height: 62%; background: linear-gradient(#d8e6f0, #fbf6ec); border: 5px solid #1c1b1a; }
.vr-sofa { width: 0; height: 0; transform-style: preserve-3d; transform: translate3d(0, 0, -150px); }
.vr-sofa i, .vr-sofa b { position: absolute; display: block; border-radius: 6px; }
.vr-sofa i { width: 190px; height: 44px; left: -95px; top: -44px; background: #e6ecf1; box-shadow: 0 18px 30px -10px rgba(0,0,0,.5); }
.vr-sofa b { width: 190px; height: 58px; left: -95px; top: -96px; background: #d9e2e9; transform: translateZ(-30px); }
.vis-badge { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); background: rgba(8,17,31,.6); padding: 8px 14px; border-radius: 99px; white-space: nowrap; }
@media (max-width: 900px) {
  .vis-grid { grid-template-columns: 1fr; }
  .vis-room { transform: scale(.7) rotateX(-14deg) rotateY(-28deg); animation: none; }
}

/* ---------- catalogues (light section) ---------- */
.catalogues { background: var(--ivory); color: var(--ink); }
.catalogues .section-sub { color: #5b6b7c; }
.catalogues em { color: var(--gold-3); }
.catalogues .eyebrow { color: var(--gold-3); }
.catalogues .eyebrow .num { color: #7f8e9e; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: clamp(24px, 3vw, 44px); }
.catalog-card { text-align: left; color: var(--ink); cursor: pointer; display: block; width: 100%; }
.cg-cover { position: relative; aspect-ratio: 3 / 4; perspective: 1400px; }
.cg-book {
  position: absolute; inset: 0; transform-origin: left center; transform-style: preserve-3d;
  transition: transform 1s var(--ease), box-shadow 1s var(--ease);
  box-shadow: 0 30px 60px -28px rgba(8,20,40,.55), 0 2px 0 rgba(0,0,0,.05);
  background: #d5dee6; border-radius: 2px 6px 6px 2px; overflow: hidden;
}
.cg-book img { width: 100%; height: 100%; object-fit: cover; }
.cg-book::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; z-index: 1; background: linear-gradient(to right, rgba(0,0,0,.28), rgba(255,255,255,.15) 60%, transparent); }
.cg-pages { position: absolute; inset: 6px 4px 6px 10px; background: repeating-linear-gradient(to right, #fff 0 2px, #e3eaf0 2px 3px); border-radius: 2px 6px 6px 2px; }
.catalog-card:hover .cg-book { transform: rotateY(-24deg); box-shadow: 30px 40px 60px -28px rgba(8,20,40,.6); }
.cg-info { padding-top: 22px; }
.cg-brand { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-3); }
.cg-title { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.1; margin: 6px 0 8px; }
.cg-meta { font-size: 12px; color: #5b6b7c; display: flex; gap: 16px; flex-wrap: wrap; }
.cg-actions { display: flex; gap: 10px; margin-top: 18px; }
.catalogues .btn-ghost { border-color: rgba(10,20,36,.25); color: var(--ink); }
.catalogues .btn-ghost::before { background: var(--ink); }
.catalogues .btn-ghost:hover { color: var(--ivory); border-color: var(--ink); }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.why-card { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .6s; }
.why-card:hover { background: var(--surface); }
.why-ico { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold-3); display: grid; place-items: center; margin-bottom: 26px; }
.why-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.3; }
.why-card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0 0 10px; }
.why-card p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why-cards { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); }
.contact-list { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list li { display: flex; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list .k { width: 92px; flex: none; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); }
.contact-list .v { font-family: var(--serif); font-size: 22px; line-height: 1.3; word-break: break-word; }
.contact-list a.v:hover { color: var(--gold-2); }
.contact-form { display: grid; gap: 8px; align-content: start; padding-top: 8px; }
.field { position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 28px 0 12px; font-size: 16px; color: var(--text); outline: none; border-radius: 0; transition: border-color .4s;
  -webkit-appearance: none; appearance: none;
}
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%); background-position: right 6px top 36px, right 1px top 36px; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--surface); color: var(--text); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field label { position: absolute; left: 0; top: 28px; font-size: 15px; color: var(--dim); pointer-events: none; transform-origin: left; transition: transform .4s var(--ease), color .4s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field label.fixed {
  transform: translateY(-22px) scale(.74); color: var(--gold);
}
.field.invalid input { border-color: #c96a5c; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.form-msg { min-height: 22px; font-size: 14px; color: var(--gold-2); margin: 10px 0 0; }
.form-msg.err { color: #e09080; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- footer ---------- */
.footer { padding: 90px 0 36px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-big { font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 13vw, 220px); line-height: .9; letter-spacing: -.03em; white-space: nowrap; background: linear-gradient(180deg, var(--ivory), rgba(233,239,243,.12)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.footer-row p { margin: 0; }
.footer-row nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-row a:hover { color: var(--text); }

/* ---------- whatsapp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.6); transition: transform .5s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid #25d366; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- tile modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(0px, 3vw, 40px); }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,9,18,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal-panel {
  position: relative; width: min(1280px, 100%); max-height: 100%; height: min(860px, 100%);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); overflow: hidden;
}
.modal-close { position: absolute; top: 18px; right: 18px; z-index: 3; background: rgba(8,17,31,.6); }
.md-media { position: relative; background: #060d18; display: flex; flex-direction: column; min-height: 0; }
.md-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; cursor: zoom-in; display: grid; place-items: center; padding: 26px; }
.md-stage img { position: absolute; left: 26px; top: 26px; width: calc(100% - 52px); height: calc(100% - 52px); object-fit: contain; transition: transform .35s var(--ease); filter: drop-shadow(0 30px 40px rgba(0,0,0,.7)); }
.md-stage.zoom img { transform: scale(2.2); }
.md-thumbs { display: flex; gap: 10px; padding: 0 26px 14px; overflow-x: auto; scrollbar-width: thin; }
.md-thumb { flex: none; height: 64px; border-radius: 2px; overflow: hidden; opacity: .5; outline: 1px solid transparent; outline-offset: 3px; transition: opacity .3s, outline-color .3s; position: relative; }
.md-thumb img { height: 100%; width: auto; }
.md-thumb span { position: absolute; left: 0; right: 0; bottom: 0; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; text-align: center; background: rgba(0,0,0,.6); padding: 2px 0; }
.md-thumb.active, .md-thumb:hover { opacity: 1; outline-color: var(--gold); }
.md-hint { margin: 0; padding: 0 26px 18px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.md-info { padding: clamp(28px, 4vw, 60px); overflow-y: auto; overscroll-behavior: contain; }
.md-name { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; margin: 0 0 34px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 30px; border-top: 1px solid var(--line); }
.specs div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs div:nth-child(odd) { padding-right: 16px; }
.specs dt { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.specs dd { margin: 0; font-family: var(--serif); font-size: 21px; }
.md-desc { color: var(--muted); margin: 0 0 30px; }
.md-desc:empty { display: none; }
.md-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.md-related { margin-top: 46px; }
.related-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.related-row button { text-align: left; display: block; align-self: start; padding: 0; }
.related-row .rr-img { aspect-ratio: 1 / 2; overflow: hidden; border-radius: 2px; background: var(--surface); }
.related-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.related-row button:hover img { transform: scale(1.06); }
.related-row span { display: block; font-family: var(--serif); font-size: 15px; margin-top: 8px; line-height: 1.2; }
@media (max-width: 900px) {
  .modal { padding: 0; }
  .modal-panel { grid-template-columns: 1fr; height: 100%; overflow-y: auto; border: 0; border-radius: 0; display: block; }
  .md-media { height: 62vh; }
  .md-info { overflow: visible; }
  .md-hint { display: none; }
}

/* ---------- catalogue viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 110; background: #060d18; display: flex; flex-direction: column; }
.viewer-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
.vt-title { font-family: var(--serif); font-size: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.vt-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.v-page { font-size: 12px; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.viewer-stage { flex: 1; min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; padding: 22px 86px; }
.v-book { position: relative; width: 100%; height: 100%; perspective: 2400px; display: grid; place-items: center; }
.v-page-wrap { position: absolute; display: grid; place-items: center; transform-style: preserve-3d; backface-visibility: hidden; }
.v-page-wrap canvas { display: block; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); background: #fff; }
.v-nav { position: absolute; top: 50%; z-index: 2; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .4s, color .4s, opacity .4s; }
.v-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.v-nav:hover { background: var(--ivory); color: var(--ink); }
.v-nav:disabled { opacity: .2; pointer-events: none; }
.v-nav.prev { left: 18px; } .v-nav.next { right: 18px; }
.v-loading { display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.v-loading span { width: 34px; height: 34px; border: 1px solid var(--gold); transform: rotate(45deg); animation: spin 1.6s var(--ease) infinite; }
@keyframes spin { to { transform: rotate(405deg); } }
.v-thumbs { display: flex; gap: 10px; padding: 12px var(--gutter) 16px; overflow-x: auto; border-top: 1px solid var(--line); scrollbar-width: thin; }
.v-thumb { flex: none; height: 74px; min-width: 50px; border-radius: 2px; overflow: hidden; opacity: .45; outline: 1px solid transparent; outline-offset: 2px; transition: opacity .3s, outline-color .3s; background: var(--surface); position: relative; }
.v-thumb canvas { height: 100%; width: auto; display: block; }
.v-thumb i { position: absolute; right: 3px; bottom: 2px; font-size: 9px; font-style: normal; background: rgba(0,0,0,.6); padding: 0 4px; border-radius: 2px; }
.v-thumb.active, .v-thumb:hover { opacity: 1; outline-color: var(--gold); }
@media (max-width: 700px) {
  .viewer-stage { padding: 12px; }
  .v-nav { top: auto; bottom: 18px; margin: 0; background: rgba(8,17,31,.7); }
  .vt-actions .btn { display: none; }
  .vt-title { font-size: 19px; }
}

/* ---------- reveal helpers ---------- */
.js-anim [data-reveal] { opacity: 0; transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-anim [data-reveal] { opacity: 1; transform: none; }
}

.more-wrap { display: flex; justify-content: center; padding-top: 50px; }
a.cat-card { display: block; }

/* brand logo (word-mark) */
.brand.has-logo .brand-logo { width: auto; height: 46px; }
.brand.has-logo .brand-logo img { height: 100%; width: auto; max-width: none; }
.brand.has-logo .brand-text { display: none; }
.nav.scrolled .brand.has-logo .brand-logo { height: 40px; }
@media (max-width: 560px) { .brand.has-logo .brand-logo { height: 36px; } }
.brand.has-logo .brand-logo { display: block; }
.brand.has-logo .brand-logo img { height: 46px; max-height: none; }
.nav.scrolled .brand.has-logo .brand-logo img { height: 40px; }
@media (max-width: 560px) { .brand.has-logo .brand-logo img { height: 36px; } }
.nav-links { gap: 26px; }
.nav-links a { white-space: nowrap; }
@media (max-width: 1280px) { .nav-links { display: none; } .burger { display: block; } }

/* ---------- request a tile sample ---------- */
.sample { position: relative; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; background: radial-gradient(70% 60% at 85% 20%, rgba(63, 176, 166, .12), transparent 70%), var(--bg-2); border-bottom: 1px solid var(--line); }
.sample-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.sample-copy { position: sticky; top: 110px; }
.sample-steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.sample-steps li { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sample-steps li > span { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--gold); line-height: 1; min-width: 34px; }
.sample-steps b { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; }
.sample-steps p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.sample-card { position: relative; background: linear-gradient(180deg, rgba(23, 42, 71, .75), rgba(17, 31, 54, .85)); border: 1px solid var(--line-strong); border-radius: 14px; padding: clamp(22px, 3vw, 38px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sample-card-head h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); margin: 0; line-height: 1.05; }
.sample-card-head p { margin: 8px 0 22px; color: var(--muted); font-size: 14px; }
.sample-legend { margin: 22px 0 0; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.sample-legend span { color: var(--dim); letter-spacing: .1em; text-transform: none; }
.sample-card .field-row { gap: 20px; }
.sample-card .field-row.three { grid-template-columns: 1fr 1fr 1fr; }
.sample-card .field textarea { min-height: 70px; }

.drop { position: relative; display: block; border: 1.5px dashed rgba(63, 176, 166, .45); border-radius: 12px; background: rgba(8, 17, 31, .45); cursor: pointer; transition: border-color .3s, background .3s, transform .4s var(--ease); overflow: hidden; }
.drop:hover, .drop.over { border-color: var(--gold); background: rgba(63, 176, 166, .08); }
.drop.over { transform: scale(1.01); }
.drop.bad { border-color: #e08b7d; }
.drop-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 20px 26px; text-align: center; }
.drop-ico { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(63, 176, 166, .14); color: var(--gold-2); margin-bottom: 6px; }
.drop-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drop:hover .drop-ico { animation: bob 1.4s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.drop-empty b { font-weight: 600; font-size: 15px; }
.drop-or { font-size: 12px; color: var(--dim); }
.drop-btn { pointer-events: none; }
.drop-empty small { font-size: 11px; color: var(--dim); margin-top: 4px; }
.drop-preview { display: flex; align-items: center; gap: 16px; padding: 14px; }
.drop-preview img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; flex: none; box-shadow: 0 0 0 1px var(--line-strong); }
.drop-meta { min-width: 0; flex: 1; }
.drop-meta b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drop-meta span { font-size: 12px; color: var(--muted); }
.drop-x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); flex: none; transition: background .3s, color .3s; }
.drop-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.drop-x:hover { background: var(--ivory); color: var(--ink); }

.sample-submit { width: 100%; margin-top: 26px; height: 56px; }
.sample-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.sample-submit:disabled { opacity: .6; pointer-events: none; }
.sample-card .form-msg { text-align: center; }

.sample-done { position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: rgba(11, 22, 40, .97); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.done-ico { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); color: var(--ink); margin-bottom: 20px; box-shadow: 0 0 0 10px rgba(63, 176, 166, .12); }
.done-ico svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sample-done h3 { font-family: var(--serif); font-weight: 400; font-size: 40px; margin: 0 0 8px; }
.sample-done p { color: var(--muted); max-width: 340px; margin: 0 0 24px; }
.done-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 960px) {
  .sample-grid { grid-template-columns: 1fr; }
  .sample-copy { position: static; }
  .sample-steps { margin-top: 30px; }
}
@media (max-width: 560px) {
  .sample-card .field-row.three { grid-template-columns: 1fr 1fr; }
  .sample-card .field-row.three .field:last-child { grid-column: 1 / -1; }
  .sample-card .field-row { gap: 0 14px; }
}

/* ---------- logo everywhere ---------- */
.pl-logo { position: relative; overflow: hidden; width: min(380px, 70vw); line-height: 0; }
.pl-logo img { width: 100%; height: auto; display: block; }
.pl-shine { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(143, 220, 210, .45), transparent); mix-blend-mode: screen; pointer-events: none; transform: translateX(-120%); }
.pl-inner { gap: 28px; }
.mark-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.empty-mark { width: 64px; height: 62px; border: 0; transform: none; margin: 0 auto 24px; opacity: .9; }
.spin-mark { display: block; width: 46px; height: 44px; border: 0 !important; transform: none !important; animation: markPulse 1.6s var(--ease) infinite !important; }
@keyframes markPulse { 0%, 100% { opacity: .45; transform: scale(.92); } 50% { opacity: 1; transform: scale(1); } }
.v-loading span.spin-mark { width: 46px; height: 44px; }
.footer-logo { display: block; width: min(460px, 70vw); height: auto; opacity: .95; }
.brand-logo img { display: block; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.25; transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--sans); font-size: 22px; font-weight: 300; color: var(--gold); transition: transform .4s var(--ease); flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold-2); }
.faq-item p { margin: 0 0 24px; color: var(--muted); max-width: 640px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

.footer-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 40px; font-size: 13px; }
.footer-cats p { margin: 0 10px 0 0; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.footer-cats a { color: var(--muted); transition: color .3s; }
.footer-cats a:hover { color: var(--text); }
.footer-cats:empty { display: none; }

/* home: latest blog posts (styles shared with /css/pages.css) */
.home-blog { border-top: 1px solid var(--line); }
.home-blog .post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: clamp(20px, 2.6vw, 34px); }
.home-blog .post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .6s var(--ease), border-color .4s; }
.home-blog .post-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.home-blog .pc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.home-blog .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.home-blog .post-card:hover .pc-img img { transform: scale(1.05); }
.home-blog .pc-ph { display: grid; place-items: center; height: 100%; }
.home-blog .pc-ph .mark-img { width: 70px; height: 66px; opacity: .6; }
.home-blog .pc-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.home-blog .pc-meta { margin: 0 0 10px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.home-blog .pc-title { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.15; margin: 0 0 10px; }
.home-blog .pc-excerpt { color: var(--muted); font-size: 14px; margin: 0 0 18px; flex: 1; }
.home-blog .pc-more { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }

/* ---------- phones & tablets: denser grids, smaller card text ---------- */
@media (max-width: 640px) {
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .tc-info { padding-top: 10px; flex-direction: column; gap: 2px; }
  .tc-name { font-size: 18px; }
  .tc-meta { font-size: 9.5px; letter-spacing: .06em; margin-top: 3px; }
  .tc-cat { display: none; }
  .tc-badge, .tc-feat { display: none; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .cg-title { font-size: 20px; margin: 4px 0 6px; }
  .cg-brand { font-size: 8.5px; letter-spacing: .16em; }
  .cg-meta { font-size: 11px; gap: 4px 10px; }
  .cg-actions { flex-direction: column; gap: 6px; margin-top: 12px; }
  .cg-actions .btn { width: 100%; height: 36px; padding: 0 10px; font-size: 10px; }
  .filters { gap: 12px 20px; padding: 18px 0 26px; }
  .result-count { margin-left: 0; width: 100%; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) { .tc-cat { display: none; } }
/* phones: catalogues as a swipeable row instead of a long grid */
@media (max-width: 640px) {
  .catalog-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 0 0 10px; scrollbar-width: none; }
  .catalog-grid::-webkit-scrollbar { display: none; }
  .catalog-card { flex: 0 0 62%; scroll-snap-align: start; }
  .catalogues .section-head.split .section-sub::after { content: ' Swipe to see all →'; color: var(--gold-3); font-weight: 600; }
}
