/* ============================================================
   OBELISK AGENCY — Solar Crown
   ============================================================ */
@font-face { font-family: "Space Grotesk"; src: url("assets/fonts/SpaceGrotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: Alexandria; src: url("assets/fonts/Alexandria.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --burgundy: #4B1528;
  --wine: #3B101F;
  --cream: #F6EADD;
  --sand: #EFDCCB;
  --orange: #F28A4B;
  --orange-h: #E17E48;
  --pink: #DFA6B6;
  --copper: #964A38;
  --muted: #7B515B;
  --line: #C6AEAA;
  --ar: Alexandria, system-ui, sans-serif;
  --en: "Space Grotesk", system-ui, sans-serif;
  --body: var(--ar);
  --gutter: clamp(16px, 5.2vw, 80px);
  --max: 1320px;
  --cut: 12px;
  --cut-lg: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fwd: -1; /* direction of "forward" motion: left in RTL */
}
[dir="ltr"] { --body: var(--en); --fwd: 1; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--cream); color: var(--burgundy);
  font: 400 17px/1.9 var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
[dir="ltr"] body { line-height: 1.7; }
body.is-loading { overflow: hidden; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0; }
.en { font-family: var(--en); letter-spacing: .02em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--burgundy); }

.dark { background: var(--burgundy); color: var(--cream); }
.wine { background: var(--wine); color: var(--cream); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12px/1.4 var(--en); letter-spacing: .24em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.h-xl, .h-l, .h-m, .hero h1, .cta h2 { word-spacing: .06em; }
.h-xl { font-weight: 800; font-size: clamp(44px, 8vw, 124px); line-height: 1.22; margin: 0; }
.h-l { font-weight: 800; font-size: clamp(32px, 5vw, 76px); line-height: 1.3; margin: 0; }
.h-m { font-weight: 700; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.45; margin: 0; }
[dir="ltr"] .h-xl { line-height: 1.02; letter-spacing: -.02em; }
[dir="ltr"] .h-l { line-height: 1.06; letter-spacing: -.015em; }
[dir="ltr"] .h-m { line-height: 1.2; }
.lead { font-size: clamp(16px, 1.45vw, 19px); line-height: 2; opacity: .85; max-width: 58ch; }
[dir="ltr"] .lead { line-height: 1.7; }
.sec { position: relative; padding-block: clamp(90px, 12vw, 180px); }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 90px); }
.sec-head .row { display: flex; justify-content: space-between; align-items: end; gap: 28px 48px; flex-wrap: wrap; }

.line { display: block; overflow: hidden; padding-block: .06em .14em; margin-block: -.06em -.14em; }
.line > span { display: inline-block; will-change: transform; }
.word { display: inline-block; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--orange); --fg: var(--burgundy);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 0 28px; font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--fg);
  isolation: isolate; white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
  transition: background .25s var(--ease);
}
[dir="ltr"] .btn::before { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.btn:hover::before { background: var(--orange-h); }
.btn .arr { width: 20px; flex: none; transition: transform .35s var(--ease); }
[dir="ltr"] .btn .arr { transform: scaleX(-1); }
.btn:hover .arr { transform: translateX(-5px); }
[dir="ltr"] .btn:hover .arr { transform: scaleX(-1) translateX(-5px); }
.btn.ghost { --bg: transparent; --fg: currentColor; }
.btn.ghost::before, [dir="ltr"] .btn.ghost::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; clip-path: none; border-radius: 10px; }
.btn.ghost:hover::before { background: rgba(246, 234, 221, .08); }
.btn.cream { --bg: var(--cream); --fg: var(--burgundy); }
.btn.cream:hover::before { background: #fff; }
.btn.dark-btn { --bg: var(--burgundy); --fg: var(--cream); }
.btn.dark-btn:hover::before { background: var(--wine); }
.btn.full { width: 100%; justify-content: center; }

/* ---------- cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor, .cursor-dot { display: block; } }
.cursor {
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1.5px solid var(--orange);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
  display: grid; place-items: center; font: 700 11px/1 var(--en); letter-spacing: .14em; color: var(--burgundy);
}
.cursor span { opacity: 0; transition: opacity .2s; }
.cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--orange); border-color: var(--orange); }
.cursor.is-view span { opacity: 1; }
.cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(242, 138, 75, .15); }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--orange); }

/* ---------- preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--burgundy); color: var(--cream); }
.loader-panels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); pointer-events: none; }
.loader-panels i { background: var(--wine); transform-origin: top; transform: scaleY(0); }
.loader-inner { position: relative; display: grid; justify-items: center; gap: 26px; }
.loader-mark { width: 150px; overflow: visible; }
.loader-mark .ray { stroke: var(--orange); stroke-width: 4; stroke-linecap: round; fill: none; }
.loader-mark .body { fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-linejoin: round; }
.loader-mark .fill { fill: var(--orange); opacity: 0; }
.loader-word { direction: ltr; font: 700 clamp(28px, 4vw, 44px)/1.1 var(--en); letter-spacing: .32em; overflow: hidden; display: flex; padding-inline-start: .32em; }
.loader-word span { display: inline-block; transform: translateY(110%); }
.loader-count, .loader-tag { position: absolute; bottom: 28px; font: 500 13px/1 var(--en); letter-spacing: .2em; color: var(--pink); direction: ltr; }
.loader-count { inset-inline-start: var(--gutter); }
.loader-tag { inset-inline-end: var(--gutter); }

.curtain { position: fixed; inset: 0; z-index: 990; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.curtain i { background: var(--orange); transform: scaleY(0); transform-origin: bottom; }
.curtain i:nth-child(even) { background: var(--burgundy); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 100; padding-block: 20px; transition: transform .5s var(--ease), background .4s, padding .4s; }
.nav.is-scrolled { background: rgba(59, 16, 31, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; }
.nav.is-hidden { transform: translateY(-110%); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 4px; align-items: center; color: var(--cream); }
.nav-links a:not(.btn) { position: relative; padding: 8px 14px; font-weight: 500; font-size: 15px; line-height: 1.4; opacity: .9; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; background: var(--orange);
  transform: scaleX(0); transition: transform .4s var(--ease);
}
.nav-links a:not(.btn):hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-links .lang { font-family: var(--en); font-weight: 600; border: 1.5px solid rgba(246, 234, 221, .35); border-radius: 999px; padding: 6px 14px !important; margin-inline-start: 6px; }
.nav-links .lang:hover { border-color: var(--orange); color: var(--orange); }
[dir="rtl"] .nav-links .lang { font-family: var(--ar); }
.nav-links .lang::after { display: none; }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: 15px; margin-inline-start: 10px; }
.nav-mobile-actions { display: none; align-items: center; gap: 6px; }
.nav-mobile-actions .lang { color: var(--cream); font-weight: 600; padding: 6px 12px; border: 1.5px solid rgba(246, 234, 221, .35); border-radius: 999px; font-size: 14px; }
.burger { width: 48px; height: 48px; position: relative; color: var(--cream); }
.burger i { position: absolute; inset-inline: 12px; height: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:nth-child(1) { top: 19px; } .burger i:nth-child(2) { top: 28px; }
.menu-open .burger i:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--wine); color: var(--cream);
  display: grid; align-content: center; gap: 10px; padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at 8% 40px); transition: clip-path .7s var(--ease); visibility: hidden;
}
[dir="ltr"] .mobile-menu { clip-path: circle(0% at 92% 40px); }
.menu-open .mobile-menu { clip-path: circle(150% at 8% 40px); visibility: visible; }
[dir="ltr"] .menu-open .mobile-menu { clip-path: circle(150% at 92% 40px); }
.mobile-menu a { font-size: clamp(28px, 8vw, 46px); font-weight: 800; line-height: 1.5; }
.mobile-menu a span { font: 500 12px var(--en); letter-spacing: .2em; color: var(--orange); margin-inline-start: 12px; }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-mobile-actions { display: flex; }
  .nav-logo img { height: 38px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden;
  background: radial-gradient(60% 60% at 30% 55%, #6a1f37 0%, var(--burgundy) 45%, var(--wine) 100%);
  color: var(--cream); padding-block: 130px 90px;
}
[dir="ltr"] .hero { background: radial-gradient(60% 60% at 70% 55%, #6a1f37 0%, var(--burgundy) 45%, var(--wine) 100%); }
.hero-pattern {
  position: absolute; inset: -10%; opacity: .16; pointer-events: none;
  background: url("assets/patterns/inscriptions/burgundy-transparent.svg") repeat; background-size: 288px 256px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 0%, transparent 75%);
          mask-image: radial-gradient(70% 70% at 50% 50%, #000 0%, transparent 75%);
}
#obelisk3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; pointer-events: none; }
.hero .wrap > * { pointer-events: auto; }
.hero-copy { display: grid; gap: 34px; }
.hero h1 { font-weight: 900; font-size: clamp(44px, 7vw, 112px); line-height: 1.25; margin: 0; }
[dir="ltr"] .hero h1 { line-height: 1; letter-spacing: -.025em; }
.hero h1 .accent { color: var(--orange); }
.hero-en { font: 500 clamp(13px, 1.2vw, 16px)/1.6 var(--en); letter-spacing: .3em; text-transform: uppercase; color: var(--pink); }
.hero-rotator { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; font-size: clamp(18px, 2vw, 25px); font-weight: 500; line-height: 1.6; }
.rotator { position: relative; display: inline-block; height: 1.6em; overflow: hidden; vertical-align: bottom; min-width: 11em; }
.rotator b { position: absolute; inset-inline-start: 0; top: 0; color: var(--orange); font-weight: 800; white-space: nowrap; transform: translateY(110%); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-side { position: absolute; bottom: -40px; inset-inline-end: 0; }
.hero-badge { width: 128px; height: 128px; position: relative; display: grid; place-items: center; }
.hero-badge svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.hero-badge text { font: 600 10.5px var(--en); letter-spacing: .3em; fill: var(--cream); }
.hero-badge img { width: 44px; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: grid; justify-items: center; gap: 10px; font: 500 11px var(--en); letter-spacing: .3em; color: var(--pink);
}
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--orange), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  #obelisk3d { opacity: .38; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding-block: 30px; border-block: 1px solid rgba(246, 234, 221, .14); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-item { display: flex; align-items: center; gap: 40px; padding-inline: 20px; font: 700 clamp(36px, 6vw, 92px)/1.15 var(--en); white-space: nowrap; text-transform: uppercase; }
.marquee-item .ar-word { font-family: var(--ar); text-transform: none; }
.marquee-item .o { -webkit-text-stroke: 1.5px var(--cream); color: transparent; }
.marquee-item img { width: clamp(38px, 5vw, 70px); height: auto; }
.marquee.orange { background: var(--orange); color: var(--burgundy); border: 0; }
.marquee.orange .o { -webkit-text-stroke-color: var(--burgundy); }

/* ---------- manifesto ---------- */
.manifesto p { font-size: clamp(24px, 3.6vw, 52px); font-weight: 700; line-height: 1.75; margin-top: 34px; max-width: 26ch; }
[dir="ltr"] .manifesto p { line-height: 1.35; max-width: 30ch; }
.manifesto .word { color: rgba(75, 21, 40, .16); transition: color .2s; }
.manifesto .word.on { color: var(--burgundy); }
.manifesto .word.hl { color: var(--orange); }
.manifesto-foot { display: flex; gap: 30px 48px; flex-wrap: wrap; margin-top: 70px; align-items: center; }
.manifesto-foot .sig { display: flex; align-items: center; gap: 16px; line-height: 1.6; }
.manifesto-foot .sig .faces { display: flex; }
.manifesto-foot .sig img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: 50% 8%; background: var(--pink); border: 3px solid var(--cream); }
.manifesto-foot .sig img + img { margin-inline-start: -20px; }
.manifesto-foot .sig small { opacity: .7; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc {
  position: relative; padding: 36px 30px 30px; min-height: 460px; display: flex; flex-direction: column; gap: 22px;
  background: rgba(246, 234, 221, .04); border: 1px solid rgba(246, 234, 221, .14);
  clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-lg));
  overflow: hidden; transition: border-color .4s;
}
[dir="ltr"] .svc, [dir="ltr"] .pkg, [dir="ltr"] .pkg-banner, [dir="ltr"] .summary, [dir="ltr"] .person, [dir="ltr"] .p-visual {
  clip-path: polygon(0 0, calc(100% - var(--cut-lg)) 0, 100% var(--cut-lg), 100% 100%, 0 100%);
}
.svc::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 138, 75, .22), transparent 60%);
}
.svc:hover { border-color: rgba(242, 138, 75, .6); }
.svc:hover::after { opacity: 1; }
.svc-num { font: 600 12px/1.4 var(--en); letter-spacing: .2em; color: var(--orange); display: flex; justify-content: space-between; }
.svc-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); }
.svc-icon img { width: 46px; }
.svc h3 { margin: 0; font-size: 25px; font-weight: 800; line-height: 1.45; }
.svc ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; }
.svc li { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding-block: 14px; border-top: 1px solid rgba(246, 234, 221, .12); font-size: 15px; line-height: 1.6; }
.svc li b { font-weight: 700; color: var(--orange); white-space: nowrap; }
.svc li small { display: block; opacity: .6; font-size: 12.5px; margin-top: 2px; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } .svc { min-height: 0; } }

/* ---------- featured horizontal ---------- */
.hscroll { position: relative; overflow: hidden; }
.hscroll-track { display: flex; gap: 24px; padding-inline: var(--gutter); width: max-content; align-items: center; will-change: transform; }
.hcard { position: relative; flex: none; height: min(62vh, 560px); overflow: hidden; border-radius: 20px; background: var(--burgundy); cursor: pointer; }
.hcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.hcard:hover img { transform: scale(1.05); }
.hcard-info { position: absolute; inset: auto 0 0 0; padding: 60px 22px 22px; color: var(--cream); background: linear-gradient(transparent, rgba(59, 16, 31, .92)); display: grid; gap: 4px; line-height: 1.5; }
.hcard-info b { font-size: 19px; font-weight: 800; }
.hcard-info span { font-size: 13px; opacity: .8; }
.tag { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.4; background: rgba(246, 234, 221, .94); color: var(--burgundy); }
.play {
  position: absolute; top: 16px; inset-inline-end: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); display: grid; place-items: center; transition: transform .4s var(--ease);
}
.play svg { width: 14px; fill: var(--burgundy); margin-left: 3px; }
.hcard:hover .play, .wcard:hover .play { transform: scale(1.15); }
.hscroll-end { flex: none; width: min(70vw, 420px); display: grid; gap: 24px; padding-inline: 30px; }

/* ---------- work wall ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters button { padding: 10px 22px; border-radius: 999px; border: 1.5px solid rgba(75, 21, 40, .25); font-weight: 600; font-size: 14px; line-height: 1.5; transition: background .3s, color .3s, border-color .3s; }
.filters button.is-on, .filters button:hover { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }
.wall { columns: 4 250px; column-gap: 18px; }
.wcard { position: relative; break-inside: avoid; margin-bottom: 18px; border-radius: 16px; overflow: hidden; cursor: pointer; background: var(--sand); transform: translateZ(0); }
.wcard img { width: 100%; height: auto; display: block; transition: transform .9s var(--ease); }
.wcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.wcard.is-playing video { opacity: 1; }
.wcard:hover img { transform: scale(1.04); }
.wcard .cap {
  position: absolute; inset: auto 0 0 0; padding: 50px 16px 16px; color: var(--cream); font-weight: 700; font-size: 15px; line-height: 1.5;
  background: linear-gradient(transparent, rgba(59, 16, 31, .92)); transform: translateY(30%); opacity: 0; transition: .45s var(--ease);
}
.wcard .cap small { display: block; font-size: 12px; font-weight: 500; color: var(--pink); margin-bottom: 2px; }
.wcard:hover .cap { transform: none; opacity: 1; }
.wcard .play { width: 38px; height: 38px; }
.wall-more { display: flex; justify-content: center; margin-top: 40px; }
@media (hover: none) { .wcard .cap { transform: none; opacity: 1; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(246, 234, 221, .16); }
.stat { padding: 44px 28px 10px; border-inline-start: 1px solid rgba(246, 234, 221, .16); display: grid; gap: 10px; align-content: start; }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat b { font: 700 clamp(46px, 5.6vw, 88px)/1 var(--en); color: var(--orange); display: flex; align-items: baseline; gap: 2px; direction: ltr; }
[dir="rtl"] .stat b { justify-content: flex-end; }
.stat b span, .p-stats b span { font: inherit; color: inherit; opacity: 1; }
.stat > span { font-size: 15px; line-height: 1.6; opacity: .82; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; } .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; } }

/* ---------- clients ---------- */
.clients { overflow: hidden; padding-block: 56px; }
.clients-track { display: flex; width: max-content; align-items: center; gap: 70px; animation: slide 45s linear infinite; }
[dir="ltr"] .clients-track { animation-name: slide-ltr; }
.clients:hover .clients-track { animation-play-state: paused; }
.clients-track img { height: 66px; width: auto; opacity: .62; transition: opacity .3s, transform .3s; }
.clients-track img:hover { opacity: 1; transform: scale(1.08); }
@keyframes slide { to { transform: translateX(50%); } }
@keyframes slide-ltr { to { transform: translateX(-50%); } }

/* ---------- packages ---------- */
.tabs { display: inline-flex; padding: 6px; border-radius: 999px; background: rgba(75, 21, 40, .08); gap: 4px; position: relative; flex-wrap: wrap; }
.tabs button { position: relative; z-index: 1; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.4; transition: color .35s; }
.tabs button.is-on { color: var(--cream); }
.tabs .pill { position: absolute; z-index: 0; top: 6px; left: 6px; border-radius: 999px; background: var(--burgundy); transition: all .55s var(--ease); }
.pkg-panel { display: none; }
.pkg-panel.is-on { display: block; }
.pkg-banner {
  position: relative; overflow: hidden; padding: clamp(30px, 4vw, 52px); margin-bottom: 20px; color: var(--cream);
  background: var(--burgundy); clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-lg));
}
.pkg-banner::before { content: ""; position: absolute; inset: 0; opacity: .14; background: url("assets/patterns/inscriptions/burgundy-transparent.svg"); background-size: 220px auto; }
.pkg-banner > * { position: relative; }
.pkg-banner h3 { margin: 14px 0 10px; font-size: clamp(30px, 4.2vw, 54px); font-weight: 900; line-height: 1.3; }
[dir="ltr"] .pkg-banner h3 { line-height: 1.05; }
.pkg-banner p { opacity: .85; line-height: 1.8; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1200px; }
.pkg {
  position: relative; padding: 38px 32px 32px; display: flex; flex-direction: column; gap: 22px; min-height: 460px;
  clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-lg)); transform-style: preserve-3d;
}
.pkg.cream { background: var(--sand); }
.pkg.pink { background: var(--pink); }
.pkg.orange { background: var(--orange); }
.pkg .name { font: 700 clamp(32px, 3.2vw, 44px)/1.1 var(--en); }
.pkg .price { display: flex; align-items: baseline; gap: 10px; padding-bottom: 22px; border-bottom: 1.5px solid rgba(75, 21, 40, .2); line-height: 1.1; }
.pkg .price b { font-size: clamp(44px, 4.4vw, 62px); font-weight: 900; }
.pkg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pkg li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.6; }
.pkg li:first-child { font-weight: 800; font-size: 18px; }
.pkg li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .65em; background: var(--burgundy); transform: rotate(45deg); }
.pkg .btn { margin-top: auto; }
.pkg .hot { position: absolute; top: 24px; inset-inline-end: 24px; padding: 6px 14px; border-radius: 999px; background: var(--burgundy); color: var(--cream); font-size: 12px; font-weight: 700; line-height: 1.4; }
.pkg .per { font-size: 13px; line-height: 1.6; opacity: .75; margin-top: -10px; }
.pkg-note { margin-top: 20px; padding: 24px 28px; background: rgba(75, 21, 40, .06); border-radius: 12px; display: grid; gap: 6px; }
.pkg-note b { font-size: 17px; line-height: 1.5; }
.pkg-note span { font-size: 14.5px; line-height: 1.8; opacity: .8; }
.single-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.single { padding: 26px; border-radius: 14px; background: var(--sand); display: grid; gap: 8px; align-content: start; transition: transform .4s var(--ease), background .3s; }
.single:hover { transform: translateY(-6px); background: var(--pink); }
.single small { font: 600 11px/1.4 var(--en); letter-spacing: .18em; color: var(--copper); }
.single h4 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.5; }
.single .note { font-size: 13.5px; line-height: 1.5; opacity: .7; }
.single .p { margin-top: 10px; font-size: 26px; font-weight: 900; line-height: 1.2; }
.single .p em { font-style: normal; font-size: 13px; font-weight: 500; opacity: .7; margin-inline-start: 6px; }
.single .p em.from { margin: 0; margin-inline-end: 6px; }
.single .btn { margin-top: 12px; min-height: 46px; justify-self: start; font-size: 14px; padding: 0 20px; }
@media (max-width: 960px) { .pkg-grid { grid-template-columns: 1fr; } .pkg { min-height: 0; } }

/* ---------- builder ---------- */
.builder { display: grid; grid-template-columns: 1.35fr .9fr; gap: 32px; align-items: start; }
.b-list { display: grid; gap: 34px; }
.b-group h4 { margin: 0 0 14px; display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--pink); line-height: 1.4; }
.b-group h4 .en { font-size: 11px; letter-spacing: .2em; color: var(--orange); }
.b-items { display: grid; gap: 12px; }
.b-item {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 14px;
  background: rgba(246, 234, 221, .05); border: 1px solid rgba(246, 234, 221, .12); transition: background .3s, border-color .3s;
}
.b-item.is-on { background: rgba(242, 138, 75, .12); border-color: rgba(242, 138, 75, .55); }
.b-txt { display: grid; gap: 4px; line-height: 1.5; }
.b-item b { font-size: 16.5px; }
.b-item small { font-size: 13px; opacity: .75; }
.b-item .pr { color: var(--orange); font-weight: 700; }
.b-item .nodisc { display: inline-block; font-style: normal; font-size: 11px; margin-inline-start: 8px; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(246, 234, 221, .3); }
.stepper { display: flex; align-items: center; gap: 4px; background: rgba(0, 0, 0, .18); border-radius: 999px; padding: 4px; direction: ltr; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 600; line-height: 1; transition: background .25s, transform .2s; }
.stepper button:hover { background: rgba(246, 234, 221, .12); }
.stepper button:active { transform: scale(.88); }
.stepper button.plus { background: var(--orange); color: var(--burgundy); }
.stepper button.plus:hover { background: var(--orange-h); }
.stepper input { width: 46px; text-align: center; background: transparent; border: 0; color: var(--cream); font: 700 17px var(--en); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.toggle { position: relative; width: 58px; height: 32px; border-radius: 999px; background: rgba(0, 0, 0, .25); transition: background .3s; direction: ltr; }
.toggle i { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); transition: transform .4s var(--ease); }
.toggle[aria-pressed="true"] { background: var(--orange); }
.toggle[aria-pressed="true"] i { transform: translateX(26px); background: var(--burgundy); }

.summary {
  position: sticky; top: 100px; padding: 32px; color: var(--burgundy); background: var(--cream);
  clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-lg)); display: grid; gap: 20px;
}
.summary h4 { margin: 0; font-size: 22px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; line-height: 1.4; }
.summary h4 .en { font-size: 11px; letter-spacing: .2em; color: var(--copper); }
.s-lines { display: grid; gap: 10px; max-height: 240px; overflow: auto; font-size: 14.5px; line-height: 1.5; }
.s-lines .ln { display: flex; justify-content: space-between; gap: 12px; }
.s-lines .ln span:first-child { opacity: .8; }
.s-empty { opacity: .6; font-size: 14px; text-align: center; padding: 14px 0; line-height: 1.7; }
.meter { display: grid; gap: 12px; padding: 18px 18px 30px; border-radius: 12px; background: rgba(75, 21, 40, .06); }
.meter-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.meter-bar { position: relative; height: 10px; border-radius: 999px; background: rgba(75, 21, 40, .12); }
.meter-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--orange)); transition: width .6s var(--ease); }
[dir="rtl"] .meter-bar i { background: linear-gradient(270deg, var(--pink), var(--orange)); }
.meter-marks { position: relative; height: 0; }
.meter-marks span { position: absolute; top: -2px; transform: translateX(50%); font: 600 11px var(--en); opacity: .7; display: grid; justify-items: center; gap: 2px; }
[dir="ltr"] .meter-marks span { transform: translateX(-50%); }
.meter-marks span i { width: 2px; height: 8px; background: currentColor; opacity: .5; margin-top: -14px; }
.meter.is-unlocked { background: var(--burgundy); color: var(--cream); }
.meter.is-unlocked .meter-bar { background: rgba(246, 234, 221, .18); }
.meter.is-max { background: var(--orange); color: var(--burgundy); }
.meter.is-max .meter-bar i { background: var(--burgundy); }
.s-totals { display: grid; gap: 10px; padding-top: 16px; border-top: 1.5px dashed rgba(75, 21, 40, .25); font-size: 15px; line-height: 1.5; }
.s-totals .ln { display: flex; justify-content: space-between; gap: 12px; }
.s-totals .disc { color: var(--copper); font-weight: 700; }
.s-totals .old { text-decoration: line-through; opacity: .55; }
.s-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.s-total b { font-size: clamp(34px, 3.4vw, 48px); font-weight: 900; line-height: 1.1; }
.s-hint { font-size: 13px; line-height: 1.7; padding: 12px 14px; border-radius: 10px; background: rgba(242, 138, 75, .18); display: none; }
.s-hint.is-on { display: block; }
.s-actions { display: grid; gap: 10px; }
.s-actions .row { display: flex; gap: 10px; }
.s-actions .row .btn { flex: 1; justify-content: center; padding: 0 14px; color: var(--burgundy); }
.burst { position: fixed; pointer-events: none; z-index: 999; width: 8px; height: 8px; }
@media (max-width: 960px) { .builder { grid-template-columns: 1fr; } .summary { position: relative; top: 0; } }

.b-dock {
  position: fixed; bottom: 12px; inset-inline: 12px; z-index: 80; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px 12px 18px; border-radius: 16px; background: var(--cream); color: var(--burgundy); box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  transform: translateY(140%); transition: transform .5s var(--ease); line-height: 1.4;
}
.b-dock.is-on { transform: none; }
.b-dock b { font-size: 20px; font-weight: 900; }
.b-dock small { display: block; font-size: 12px; opacity: .7; }
.b-dock .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
@media (max-width: 960px) { .b-dock { display: flex; } }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.process::before { content: ""; position: absolute; top: 35px; inset-inline: 0; height: 2px; background: rgba(75, 21, 40, .15); }
.process .fillline { position: absolute; top: 35px; inset-inline-start: 0; height: 2px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: right; }
[dir="ltr"] .process .fillline { transform-origin: left; }
.step { position: relative; padding-inline-end: 28px; display: grid; gap: 14px; align-content: start; }
.step-dot { width: 70px; height: 70px; border-radius: 50%; background: var(--cream); border: 2px solid var(--burgundy); display: grid; place-items: center; position: relative; z-index: 1; }
.step-dot img { width: 40px; }
.step b { font: 700 13px/1.4 var(--en); letter-spacing: .2em; color: var(--orange); margin-top: 6px; }
.step h4 { margin: 0; font-size: 23px; font-weight: 800; line-height: 1.4; }
.step p { font-size: 15px; line-height: 1.8; opacity: .8; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 40px; }
  .process::before, .process .fillline { top: 0; bottom: 0; width: 2px; height: auto; inset-inline-start: 34px; inset-inline-end: auto; }
  .process .fillline, [dir="ltr"] .process .fillline { transform: scaleY(0); transform-origin: top; }
  .step { grid-template-columns: 70px 1fr; column-gap: 22px; }
  .step > :not(.step-dot) { grid-column: 2; }
  .step-dot { grid-row: span 3; }
}

/* ---------- owners ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.person {
  position: relative; overflow: hidden; min-height: 680px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px; color: var(--cream); background: var(--burgundy);
  clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-lg));
}
.person::before { content: ""; position: absolute; inset: 0; opacity: .16; background: url("assets/patterns/solar-relief/burgundy-transparent.svg"); background-size: 200px auto; }
.person .sun { position: absolute; top: 6%; left: 50%; width: 460px; height: 460px; margin-left: -230px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 138, 75, .55), transparent 65%); }
.person .ph { position: absolute; top: 40px; left: 50%; width: min(88%, 520px); height: auto; transform: translateX(-50%); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); transition: transform 1s var(--ease); }
.person:hover .ph { transform: translateX(-50%) scale(1.03); }
.person .meta { position: relative; z-index: 2; display: grid; gap: 10px; justify-items: start; padding: 90px 24px 24px; margin: -32px; background: linear-gradient(transparent, rgba(59, 16, 31, .96) 45%); }
.badge { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--orange); color: var(--burgundy); font-size: 13px; font-weight: 800; line-height: 1.4; }
.badge.dark { background: var(--burgundy); color: var(--cream); }
.person .meta h3 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); font-weight: 900; line-height: 1.3; }
[dir="ltr"] .person .meta h3 { line-height: 1.05; }
.person .craft { font-size: 12px; letter-spacing: .22em; color: var(--pink); }
.person .meta .btn { margin-top: 8px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .person { min-height: 600px; } }

/* about page */
.about-hero { min-height: 88svh; display: grid; align-items: end; padding-block: 150px 80px; position: relative; overflow: hidden; }
.about-hero .bg-word { position: absolute; top: 16%; inset-inline: 0; text-align: center; font: 700 clamp(90px, 22vw, 340px)/1 var(--en); color: transparent; -webkit-text-stroke: 1px rgba(246, 234, 221, .16); white-space: nowrap; pointer-events: none; direction: ltr; }
.about-hero .wrap { position: relative; display: grid; gap: 30px; }
.profile { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 5vw, 90px); align-items: start; }
.profile.rev { grid-template-columns: 1.05fr .95fr; }
.profile.rev .p-visual { order: 2; }
.p-visual {
  position: sticky; top: 100px; aspect-ratio: 1 / 1.05; overflow: hidden; background: var(--burgundy);
  clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-lg));
}
.p-visual::before { content: ""; position: absolute; inset: 0; opacity: .2; background: url("assets/patterns/inscriptions/burgundy-transparent.svg"); background-size: 220px auto; }
.p-visual .sun { position: absolute; top: 10%; left: 50%; width: 80%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(242, 138, 75, .65), transparent 65%); }
.p-visual img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 94%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.p-visual .p-name { position: absolute; top: 24px; inset-inline-end: 24px; font: 700 12px var(--en); letter-spacing: .25em; color: var(--cream); writing-mode: vertical-rl; }
.p-body { display: grid; gap: 34px; }
.p-head { display: grid; gap: 14px; justify-items: start; }
.p-body .role { font-size: 13px; letter-spacing: .22em; color: var(--copper); }
.p-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.p-stats div { padding: 24px; border-radius: 14px; background: var(--sand); display: grid; gap: 8px; }
.p-stats b { font: 700 clamp(38px, 4vw, 56px)/1 var(--en); color: var(--burgundy); direction: ltr; display: flex; align-items: baseline; }
[dir="rtl"] .p-stats b { justify-content: flex-end; }
.p-stats > div > span { font-size: 14px; line-height: 1.6; opacity: .75; }
.p-sub { margin: 0 0 14px; font-size: 15px; color: var(--copper); line-height: 1.4; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 8px 16px; border-radius: 999px; border: 1.5px solid rgba(75, 21, 40, .2); font-size: 14px; font-weight: 600; line-height: 1.5; }
.tl-item { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding-block: 22px; border-top: 1px solid rgba(75, 21, 40, .15); }
.tl-item .y { font-size: 13px; font-weight: 700; color: var(--copper); line-height: 1.7; }
.tl-item h5 { margin: 0 0 6px; font-size: 18px; font-weight: 800; line-height: 1.5; }
.tl-item p { font-size: 14.5px; line-height: 1.8; opacity: .8; }
.p-links { display: flex; flex-wrap: wrap; gap: 10px; }
.p-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; background: var(--burgundy); color: var(--cream); font-weight: 600; font-size: 14px; line-height: 1.5; transition: background .3s, transform .3s; }
.p-links a:hover { background: var(--orange); color: var(--burgundy); transform: translateY(-3px); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 34px; border: 1px solid rgba(246, 234, 221, .16); display: grid; gap: 14px; align-content: start; }
.value img { width: 54px; filter: brightness(0) invert(.92) sepia(.2); }
.value h4 { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.45; }
.value p { opacity: .8; font-size: 15px; line-height: 1.8; }
.mockups { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.mockups img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.mockups img:first-child { grid-row: span 2; }
@media (max-width: 900px) {
  .profile, .profile.rev { grid-template-columns: 1fr; }
  .profile.rev .p-visual { order: 0; }
  .p-visual { position: relative; top: 0; }
  .values { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- CTA / footer ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding-block: clamp(110px, 14vw, 200px) 0; }
.cta .wrap { display: grid; justify-items: center; gap: 32px; }
.cta h2 { font-size: clamp(44px, 8.4vw, 140px); font-weight: 900; line-height: 1.25; margin: 0; }
[dir="ltr"] .cta h2 { line-height: 1; letter-spacing: -.02em; }
.cta h2 .accent { color: var(--orange); }
.cta-rays { position: absolute; top: 50%; left: 50%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px; opacity: .14; pointer-events: none; }
.footer-big { margin-top: clamp(80px, 10vw, 140px); overflow: hidden; direction: ltr; }
.footer-big span { display: block; font: 700 clamp(80px, 23.5vw, 400px)/.8 var(--en); letter-spacing: -.02em; text-align: center; color: var(--orange); transform: translateY(14%); }
.cta .wrap.footer-row { display: flex; justify-content: space-between; gap: 30px 40px; flex-wrap: wrap; padding-block: 44px; border-top: 1px solid rgba(246, 234, 221, .14); text-align: start; }
.footer-row .col { display: grid; gap: 10px; align-content: start; line-height: 1.5; }
.footer-row .col b { font: 600 11px var(--en); letter-spacing: .22em; color: var(--orange); }
.footer-row a { opacity: .85; transition: opacity .2s, color .2s; }
.footer-row a:hover { opacity: 1; color: var(--orange); }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; background: rgba(30, 8, 16, .94); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb-box { position: relative; max-width: min(1200px, 100%); transform: scale(.92); transition: transform .5s var(--ease); display: grid; justify-items: center; gap: 14px; }
.lb.is-open .lb-box { transform: none; }
.lb-box video, .lb-box img { max-height: 82svh; max-width: 100%; width: auto; border-radius: 14px; }
.lb-cap { color: var(--cream); font-weight: 700; line-height: 1.5; text-align: center; }
.lb-cap span { font-weight: 400; opacity: .7; }
.lb-close { position: absolute; top: 18px; inset-inline-end: 18px; width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: var(--burgundy); font-size: 26px; display: grid; place-items: center; z-index: 2; }

.toast { position: fixed; bottom: 24px; left: 50%; z-index: 600; transform: translate(-50%, 160%); padding: 14px 22px; border-radius: 12px; background: var(--burgundy); color: var(--cream); font-weight: 600; line-height: 1.5; transition: transform .5s var(--ease); box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
.toast.is-on { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.stat b .unit, .p-stats b .unit { font: 700 .42em/1 var(--ar); margin-inline: 6px; align-self: center; }
.hero-side { display: none; }
[dir="ltr"] .hero h1 { font-size: clamp(44px, 6.2vw, 100px); }
.person .ph { top: 24px; width: min(82%, 500px); }
@media (max-width: 600px) { .rotator { min-width: 100%; } }

/* ===== v3: one line for the rotator, uniform work grid ===== */
.hero-rotator { align-items: center; }
.rotator { display: inline-grid; height: 1.6em; line-height: 1.6em; vertical-align: middle; }
.rotator b { position: static; grid-area: 1 / 1; line-height: 1.6em; }

.hcard { aspect-ratio: 4 / 5; }
.hcard img.bg, .wcard img.bg { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(22px) saturate(1.1) brightness(.55); transform: none !important; }
.hcard img.fg, .wcard img.fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hcard:hover img.fg, .wcard:hover img.fg { transform: scale(1.03); }

.wall { columns: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wcard { margin: 0; aspect-ratio: 4 / 5; background: var(--wine); }
.wcard video { object-fit: contain; background: transparent; }
@media (max-width: 1100px) { .wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .wall { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ===== v4: branded thumbnails ===== */
.hcard img.thumb, .wcard img.thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wcard .play, .hcard .play { top: auto; bottom: 18px; inset-inline-end: 18px; }
.wcard.is-playing .play { opacity: 0; }

/* ===== v5: owners' photos shown whole (nothing cropped) ===== */
.person { min-height: 0; justify-content: flex-end; }
.person .ph { position: relative; top: auto; left: auto; transform: none; width: 100%; height: 440px; max-width: none; object-fit: contain; object-position: center bottom; margin: 0 0 22px; z-index: 1; }
.person:hover .ph { transform: scale(1.02); }
.person .meta { margin: 0; padding: 0; background: none; }
@media (max-width: 860px) { .person .ph { height: 320px; } }
.p-visual img { width: 96%; max-height: 92%; object-fit: contain; object-position: bottom; }
