/* TECNOMAN studio homepage. Brand «Citadel»: ink #1C1B19, charcoal #2F2C28, gold #C1913F, paper #F7F3EB, Alexandria. */
:root {
  /* brand «Citadel / القلعة» */
  --ink: #1C1B19;
  --ink-2: #2F2C28;     /* charcoal */
  --ink-3: #3A3631;
  --gold: #C1913F;
  --gold-d: #93692A;    /* small gold on light: icons, rules */
  --gold-l: #E7D3A6;    /* pale gold: accents on ink */
  --fog: #EFE8DA;
  --paper: #F7F3EB;
  --text: #1C1B19;
  --muted: #645D52;     /* 5.9:1 on paper */
  --line: #E2D9C8;
  --line-dark: rgba(247,243,235,.12);
  --wa: #1FAF5A;
  --loss: #E8836B;
  --focus: #93692A;
  --r: 18px;
  --r-lg: 28px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  /* motion system (dlil 2.1 / 2.2) */
  --ease-out:   cubic-bezier(.22,1,.36,1);
  --ease-inout: cubic-bezier(.65,0,.35,1);
  --ease-snap:  cubic-bezier(.34,1.56,.64,1);
  --ease-lux:   cubic-bezier(.16,1,.3,1);
  --ease-in:    cubic-bezier(.55,0,1,.45);
  --d-1: 120ms;
  --d-2: 220ms;
  --d-3: 420ms;
  --d-4: 700ms;
  --d-5: 1100ms;
  --ease: var(--ease-out);
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html.lenis { scroll-behavior: auto; }
body {
  font-family: 'Alexandria', system-ui, sans-serif;
  font-weight: 400; color: var(--text); background: var(--paper);
  line-height: 1.7; font-size: 16px; overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.6; }
html[lang="ar"] body { letter-spacing: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.top, .hero, .story, .steps, .foot, .plan--featured, .card--ask { --focus: var(--gold-l); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 300; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
img { height: auto; }

/* ---------- type ---------- */
.h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.3; font-weight: 700; margin: 0; }
html[lang="en"] .h2 { line-height: 1.1; letter-spacing: -.025em; }
.h2 .soft { color: var(--muted); font-weight: 400; }
.h3 { font-size: 1.2rem; line-height: 1.4; font-weight: 600; margin: 0 0 .4rem; }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 900px; }
.sec-head--split { max-width: none; display: grid; gap: 20px; align-items: end; }
.sec-lede { margin: 0; color: var(--muted); max-width: 42ch; font-size: 1.05rem; }
@media (min-width: 900px) { .sec-head--split { grid-template-columns: 1.4fr 1fr; } }

/* word mask (line-mask reveal). Words only: Arabic letters stay joined. */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .14em; margin-block: -.14em; padding-inline: .02em; margin-inline: -.02em; }
.wi { display: inline-block; will-change: transform; }

/* the logo's yellow "bar", drawn as a stroke under one phrase */
.bar { position: relative; white-space: nowrap; display: inline-block; }
.bar__line { position: absolute; inset-inline: -.06em; bottom: -.08em; width: calc(100% + .12em); height: .32em; overflow: visible; pointer-events: none; z-index: -1; }
html[dir="rtl"] .bar__line { transform: scaleX(-1); }
.bar__line path { fill: none; stroke: var(--gold); stroke-width: 9; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero__title { position: relative; z-index: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 24px; border-radius: 99px; border: 0;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background-color var(--d-2) var(--ease), box-shadow var(--d-2), color var(--d-2), translate var(--d-2) var(--ease);
}
.btn > * { pointer-events: none; }
.btn:hover { translate: 0 -2px; }
.btn:active { translate: 0 0; }
.btn--sun { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(193,145,63,.55); }
.btn--sun:hover { background: #CFA052; }
.btn--ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(247,243,235,.35); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--paper); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 1.1rem; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; flex: none; }
.chip-btn {
  background: transparent; border: 1.5px solid rgba(247,243,235,.28); color: var(--paper); border-radius: 99px;
  min-height: 40px; padding: 0 14px; font-size: .9rem; font-weight: 500; transition: border-color var(--d-1);
}
.chip-btn:hover { border-color: var(--paper); }
.link {
  font-weight: 700; color: var(--text); text-decoration: none; padding-bottom: 2px;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 100% 2px;
  transition: background-size var(--d-3) var(--ease);
}
.link:hover { background-size: 0 2px; background-position: 100% 100%; }

/* ---------- preloader (2.8) ---------- */
.pre { display: none; }
html.pre .pre {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 250; background: var(--ink);
}
html.pre body { overflow: hidden; }
.pre__mark { display: grid; justify-items: center; gap: 26px; color: var(--paper); }
.pre__logo { width: 84px; height: 84px; }
.pre__track { position: relative; width: 84px; height: 2px; border-radius: 2px; background: rgba(193,145,63,.22); overflow: hidden; }
.pre__bar { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: right; }
html[dir="ltr"] .pre__bar { transform-origin: left; }.intro-wait .hero__copy > * { opacity: 0; }

/* ---------- curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 260; background: var(--ink); clip-path: inset(100% 0 0 0); pointer-events: none; visibility: hidden; }
.curtain.is-on { visibility: visible; pointer-events: auto; }

/* ---------- custom cursor (desktop only, added by JS) ---------- */
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor summary { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity var(--d-2); }
.cursor.is-on { opacity: 1; }
.cursor.is-hide { opacity: 0; }
.cursor__dot {
  position: absolute; left: 0; top: 0; width: 8px; height: 8px; translate: -50% -50%; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 1.5px rgba(28,27,25,.35);
  transition: width var(--d-3) var(--ease), height var(--d-3) var(--ease), background-color var(--d-2), border-color var(--d-2);
  border: 1.5px solid transparent;
}
.cursor.is-link .cursor__dot { width: 44px; height: 44px; background: transparent; border-color: var(--gold); box-shadow: none; }
.cursor.is-open .cursor__dot { width: 96px; height: 96px; background: var(--gold); box-shadow: none; }
.cursor__lbl { position: absolute; left: 0; top: 0; translate: -50% -50%; color: var(--ink); font-weight: 700; font-size: .92rem; opacity: 0; transition: opacity var(--d-2); white-space: nowrap; }
.cursor.is-open .cursor__lbl { opacity: 1; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50; background: rgba(28,27,25,.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line-dark); color: var(--paper);
}
.top__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand__mark { width: 30px; height: 30px; flex: none; overflow: visible; }
.m-w { fill: currentColor; }
.m-t { fill: var(--gold); }
html[lang="en"] .brand__name { letter-spacing: .2em; font-size: 1rem; }.nav { display: none; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: rgba(247,243,235,.78); padding: 8px 12px; border-radius: 99px; font-size: .95rem; transition: color var(--d-1), background-color var(--d-1); }
.nav a:hover { color: var(--paper); background: rgba(247,243,235,.08); }
.top__actions { display: flex; gap: 8px; align-items: center; margin-inline-start: auto; }
@media (min-width: 980px) { .nav { display: flex; } .top__actions { margin-inline-start: 12px; } }

/* ---------- hero ---------- */
.hero {
  background: var(--ink); color: var(--paper); position: relative; overflow: hidden;
  padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 104px);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .55;
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 55%); mask-image: linear-gradient(to left, transparent 0%, #000 55%);
}
html[dir="ltr"] .hero__bg img { -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 55%); mask-image: linear-gradient(to right, transparent 0%, #000 55%); }
.hero::before { /* faint drafting grid */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .45;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 0%, transparent 75%);
}
.hero__gl { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity var(--d-3) var(--ease); }
.gl-on .hero__gl { opacity: 1; }
.hero__grid { position: relative; z-index: 2; display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.3fr .7fr; } }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: rgba(247,243,235,.72); font-size: .95rem; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(193,145,63,.22); }
.hero__title { font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: 1.25; font-weight: 700; margin: 0; }
@media (min-width: 980px) { .hero__title { font-size: clamp(2.6rem, 5.6vw, 6.5rem); } }
html[lang="en"] .hero__title { line-height: 1.04; letter-spacing: -.035em; }
.hero__lede { margin: 22px 0 0; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(247,243,235,.74); max-width: 46ch; }

/* the live workshop */
.studio {
  margin-top: clamp(28px, 4vw, 40px); padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--r-lg); background: rgba(47,44,40,.78); border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  max-width: 560px;
}
.studio__hint { margin: 0 0 8px; font-size: .92rem; color: rgba(247,243,235,.64); }
.studio__field input {
  width: 100%; border: 0; border-bottom: 2px solid rgba(247,243,235,.22); background: transparent; color: var(--paper);
  font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 600; padding: 6px 0 10px; border-radius: 0; outline: none;
  transition: border-color var(--d-2);
}
.studio__field input::placeholder { color: rgba(247,243,235,.3); font-weight: 400; }
.studio__field input:focus { border-bottom-color: var(--gold); }
.studio__field input:focus-visible { outline: none; box-shadow: 0 2px 0 0 var(--gold); }
.sectors { border: 0; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sector { position: relative; }
.sector input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sector__in {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 10px;
  border-radius: 14px; border: 1.5px solid rgba(247,243,235,.16); color: rgba(247,243,235,.8); font-weight: 500;
  transition: background-color var(--d-2), border-color var(--d-2), color var(--d-2); cursor: pointer;
}
.sector__in svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sector:hover .sector__in { border-color: rgba(247,243,235,.4); }
.sector input:checked + .sector__in { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.sector input:focus-visible + .sector__in { outline: 3px solid var(--gold); outline-offset: 2px; }
.studio__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.studio__actions .btn { flex: 1 1 200px; }

/* stage + phone */
.hero__stage { --pw: min(310px, 76vw); position: relative; display: grid; justify-items: center; padding-bottom: 8px; }
.stage__glow {
  position: absolute; width: min(520px, 110%); aspect-ratio: 1; border-radius: 50%; top: 4%;
  background: radial-gradient(circle at 50% 50%, rgba(193,145,63,.32), rgba(193,145,63,0) 65%);
  pointer-events: none; transition: opacity var(--d-3);
}
.gl-on .stage__glow { opacity: 0; }
.phone {
  position: relative; width: var(--pw); aspect-ratio: 9 / 19;
  background: #0E0D0B; border-radius: calc(var(--pw) * .15); padding: calc(var(--pw) * .035);
  box-shadow: 0 0 0 1.5px rgba(247,243,235,.14), 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 9px rgba(247,243,235,.03);
  animation: rise 1s .15s var(--ease) both;
  transition: background-color var(--d-3), box-shadow var(--d-3);
  transform-style: preserve-3d;
}
.phone.is-shake { animation: shake .5s var(--ease-snap); }
@keyframes shake { 0%, 100% { rotate: 0deg; } 25% { rotate: -2deg; } 60% { rotate: 1.4deg; } }
.phone__notch { position: absolute; z-index: 3; top: calc(var(--pw) * .055); left: 50%; translate: -50% 0; width: 30%; height: calc(var(--pw) * .07); background: #0E0D0B; border-radius: 99px; transition: opacity var(--d-2); }
.phone__screen { position: relative; display: block; height: 100%; border-radius: calc(var(--pw) * .118); overflow: hidden; background: #0E0D0B; transition: opacity var(--d-3); }
.phone .phone__screen iframe { top: calc(var(--pw) * .13); }
.phone__screen .phone__fallback { top: calc(var(--pw) * .13); }
.phone__fallback {
  position: absolute; inset: 0; display: grid; place-items: center; color: #B9AE98;
  background: repeating-linear-gradient(135deg, var(--fog) 0 14px, #E6DDCB 14px 28px);
}
.phone__fallback .brand__mark { width: 44px; height: 44px; }
.is-loaded > .phone__fallback { display: none; }
.is-loaded > iframe { background: #fff; }
[data-fit] iframe { position: absolute; top: 0; left: 0; border: 0; width: 390px; height: 844px; background: transparent; transform-origin: 0 0; }

/* 3D mode: the body is drawn by three.js, the real screen is projected onto it with matrix3d */
.gl-on .phone { background-color: transparent; box-shadow: none; animation: none; }
.gl-on .phone.is-shake { animation: none; }
.gl-on .phone__notch { opacity: 0; }
.gl-on .phone__screen {
  position: absolute; left: 0; top: 0; width: 390px; height: 855px; border-radius: 50px;
  transform-origin: 0 0; will-change: transform; backface-visibility: hidden;
}
.gl-on .phone__screen::before { content: ""; position: absolute; z-index: 2; top: 14px; left: 50%; translate: -50% 0; width: 30%; height: 26px; border-radius: 99px; background: #0E0D0B; }
.gl-on .phone .phone__screen iframe, .gl-on .phone__screen .phone__fallback { top: 54px; }

.stage__cap { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: .88rem; color: rgba(247,243,235,.6); }
.live { width: 8px; height: 8px; border-radius: 50%; background: #3BE07D; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(59,224,125,.6); } 70% { box-shadow: 0 0 0 8px rgba(59,224,125,0); } 100% { box-shadow: 0 0 0 0 rgba(59,224,125,0); } }
@keyframes rise { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }

/* whatsapp notification bubble */
.bubble {
  position: absolute; z-index: 4; bottom: 16%; inset-inline-start: calc(50% + var(--pw) * .22);
  display: flex; gap: 10px; align-items: flex-start; width: 250px; padding: 12px 14px;
  background: var(--paper); color: var(--ink); border-radius: 18px; border-start-end-radius: 6px;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.6);
  animation: rise .8s .9s var(--ease) both;
}
.bubble.is-pop { animation: pop .5s var(--ease-snap); }
@keyframes pop { 0% { scale: .9; } 60% { scale: 1.04; } 100% { scale: 1; } }
.bubble__ico { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; }
.bubble__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--paper); stroke-width: 2; }
.bubble__body { display: grid; min-width: 0; font-size: .82rem; line-height: 1.5; }
.bubble__title { font-weight: 600; font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bubble__text { color: var(--muted); }
@media (max-width: 979px) { .bubble { position: relative; inset: auto; margin-top: -70px; width: min(300px, 86vw); } }

/* ---------- scroll story 27% -> 0% ---------- */
.story { background: var(--ink); color: var(--paper); position: relative; border-top: 1px solid var(--line-dark); }
.story__pin { padding-block: clamp(72px, 10vw, 120px); }
.story .h2 .soft { color: rgba(247,243,235,.55); }
.story__title { margin-bottom: clamp(28px, 4vw, 48px); max-width: 900px; }
.story__grid { display: grid; gap: 28px; }
.story__visual { order: -1; position: sticky; top: 76px; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 14px 0; background: var(--ink); }
.scenes { list-style: none; margin: 0; padding: 0; display: grid; }
.scene { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; opacity: .35; transition: opacity var(--d-3) var(--ease); }
.scene.is-on { opacity: 1; }
.scene__k { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-l); font-size: .95rem; font-weight: 500; }
.scene__k::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.story[data-scene="1"] .scene.is-on .scene__k { color: var(--loss); }
.story[data-scene="3"] .scene.is-on .scene__k { color: var(--gold); }
.scene__t { font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.3; font-weight: 700; margin: 8px 0 10px; }
html[lang="en"] .scene__t { line-height: 1.12; letter-spacing: -.02em; }
.scene p { margin: 0; color: rgba(247,243,235,.72); max-width: 44ch; font-size: 1.05rem; }
.story__src { color: rgba(247,243,235,.45); }

.coin { --cut: 0deg; --alt: 0; position: relative; width: clamp(110px, 30vw, 420px); aspect-ratio: 1; }
.coin__disc, .coin__alt { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; }
.coin__disc { opacity: calc(1 - var(--alt)); }
.coin__disc {
  background: radial-gradient(circle at 34% 28%, #F1DFB5 0%, #C1913F 42%, #93692A 78%, #6E4E1F 100%);
  -webkit-mask-image: conic-gradient(from 0deg, transparent 0 var(--cut), #000 var(--cut));
  mask-image: conic-gradient(from 0deg, transparent 0 var(--cut), #000 var(--cut));
}
.coin__disc::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(247,243,235,.22); }
.coin__alt { opacity: var(--alt); background: radial-gradient(circle at 40% 30%, #3A3631, #1C1B19 70%); }
.coin__disc img, .coin__alt img { width: 100%; height: 100%; object-fit: cover; }
.coin__ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.coin__ring circle { fill: none; stroke-width: 2.4; }
.coin__track { stroke: rgba(247,243,235,.12); }
.coin__arc { stroke: var(--loss); stroke-linecap: round; stroke-dasharray: 0 100; }
.coin__note {
  position: absolute; inset-inline-start: 50%; bottom: 4%; display: flex; gap: 10px; align-items: center;
  width: max-content; max-width: 260px; padding: 10px 14px; border-radius: 16px; border-start-end-radius: 5px;
  background: var(--paper); color: var(--ink); font-size: .82rem; line-height: 1.45; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6);
  opacity: var(--alt); translate: 0 calc((1 - var(--alt)) * 16px); scale: calc(.9 + var(--alt) * .1);
}
.coin__note b { font-weight: 600; }
.meter { display: grid; gap: 4px; }
.meter__num { font-size: clamp(2.6rem, 9vw, 6.5rem); font-weight: 700; line-height: 1; color: var(--loss); font-variant-numeric: tabular-nums; transition: color var(--d-3); }
.story[data-scene="0"] .meter__num { color: var(--paper); }
.story[data-scene="2"] .meter__num, .story[data-scene="3"] .meter__num { color: var(--gold); }
.meter__lbl { color: rgba(247,243,235,.62); font-size: .95rem; }
@media (max-width: 979px) { .coin__note { display: none; } }

@media (min-width: 980px) {
  .story__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .story__visual { order: 0; position: relative; top: auto; grid-template-columns: 1fr; justify-items: center; background: none; padding: 0; }
  .meter { justify-items: center; text-align: center; }
  .coin__note { display: flex; }
}
/* pinned mode (desktop + motion): scenes stack and crossfade */
html.story-pin .story__pin { height: 100vh; padding-block: 92px 28px; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
html.story-pin .story__title { margin-bottom: 24px; }
html.story-pin .scenes { position: relative; min-height: 280px; }
html.story-pin .scene { position: absolute; inset: 0; min-height: 0; padding: 0; transition: none; }
html.story-pin .coin { width: min(400px, 44vh); }
html.story-pin .meter__num { font-size: clamp(3rem, 7vh, 5.5rem); }

/* ---------- why ---------- */
.why { background: var(--fog); padding-block: clamp(72px, 10vw, 140px); }
.bento { display: grid; gap: 14px; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile--chat { grid-column: span 6; }
  .tile--map, .tile--trust { grid-column: span 3; }
}
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .tile--chat { grid-column: 1 / span 7; grid-row: span 2; }
  .tile--map { grid-column: 8 / span 5; }
  .tile--trust { grid-column: 8 / span 5; }
}
.tile { position: relative; background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.tile__p { margin: 0; color: var(--muted); max-width: 52ch; }
.src { margin: auto 0 0; padding-top: 18px; font-size: .78rem; color: #8A90AD; }
.chat {
  margin-top: 22px; padding: 20px; border-radius: 20px; flex: 1;
  background: #E9E3DA radial-gradient(circle at 20% 20%, rgba(247,243,235,.5) 0 2px, transparent 3px) 0 0 / 22px 22px;
  display: flex; align-items: flex-end;
}
.chat__msg {
  position: relative; background: #DCF8C6; color: #1A2A1A; padding: 12px 14px 22px; border-radius: 14px; border-start-end-radius: 4px;
  font-size: .9rem; line-height: 1.65; max-width: 280px; margin-inline-start: auto; box-shadow: 0 1px 1px rgba(0,0,0,.08);
}
.chat__time { position: absolute; bottom: 4px; inset-inline-end: 10px; font-style: normal; font-size: .7rem; color: #4F8A5B; }
.pin svg, .lock svg { width: 52px; height: 52px; fill: none; stroke: var(--gold-d); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.pin svg path { fill: rgba(193,145,63,.12); }
.tile--trust { --focus: var(--gold-l); background: var(--ink-2); color: var(--paper); border-color: var(--ink-2); }
.tile--trust .tile__p { color: rgba(247,243,235,.82); }
.tile--trust .lock svg { stroke: var(--gold); }

/* ---------- designs by category ---------- */
.designs { background: var(--paper); padding-block: clamp(72px, 10vw, 140px); }
.trio {
  position: relative; margin: 0 0 clamp(28px, 4vw, 48px); aspect-ratio: 3 / 1; border-radius: var(--r-lg); overflow: hidden;
  background: radial-gradient(ellipse 60% 90% at 50% 110%, rgba(193,145,63,.32), transparent 70%), var(--ink);
}
.trio img, .trio__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trio__art { padding: 6% 10%; }
.trio__art .c { stroke: var(--gold-l); }
.trio__art .y { stroke: var(--gold); }
@media (min-width: 980px) { .trio { aspect-ratio: 4 / 1; } }
@media (max-width: 640px) { .trio { aspect-ratio: 2 / 1; } }

.designs__layout { display: grid; gap: 18px; }
.designs__side { display: grid; gap: 14px; min-width: 0; }

/* two-mode switch: by industry / by motion */
.modes {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 99px;
  background: var(--fog); border: 1px solid var(--line); isolation: isolate;
}
.mode {
  position: relative; z-index: 1; min-height: 42px; padding: 0 12px; border: 0; border-radius: 99px; background: transparent;
  color: var(--muted); font-weight: 500; font-size: .93rem; transition: color var(--d-3) var(--ease);
}
.mode[aria-pressed="true"] { color: var(--paper); font-weight: 600; }
.mode:not([aria-pressed="true"]):hover { color: var(--ink); }
.mode__thumb {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; inset-inline-start: 4px; width: calc(50% - 4px);
  border-radius: 99px; background: var(--ink); box-shadow: 0 6px 16px -8px rgba(28,27,25,.6);
  transition: inset-inline-start var(--d-4) var(--ease-lux);
}
.designs[data-mode="motion"] .mode__thumb { inset-inline-start: 50%; }
.mode__thumb::after { content: ""; position: absolute; inset-inline: 38%; bottom: 5px; height: 2px; border-radius: 2px; background: var(--gold); }

.cats {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 6px;
  scroll-snap-type: x proximity; overscroll-behavior-x: contain;
}
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--paper);
  color: var(--text); font-weight: 500; font-size: .95rem; text-align: start;
  transition: background-color var(--d-2) var(--ease), border-color var(--d-2), color var(--d-2);
}
.cats[data-mode="motion"] .cat { padding-inline-start: 10px; }
.cat:hover { border-color: var(--ink); }
.cat[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); --mg: var(--gold-l); --mg-2: var(--gold); }
.cat__n { font-size: .78rem; min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 99px; background: var(--fog); color: var(--muted); padding: 0 6px; font-weight: 600; }
.cat[aria-pressed="true"] .cat__n { background: var(--gold); color: var(--ink); }
.designs__intro { margin: 0 0 18px; color: var(--muted); font-size: 1.05rem; max-width: 60ch; min-height: 1.7em; display: flex; align-items: center; gap: 14px; }
.designs__intro > .mg { --mg-s: 1.35; margin-inline: 4px; }

@media (min-width: 980px) {
  .designs__layout { grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
  .designs__side { position: sticky; top: 100px; gap: 18px; }
  .cats { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 0; border-top: 1px solid var(--line); }
  .cat {
    width: 100%; min-height: 56px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--line);
    border-radius: 0; background: transparent; font-size: 1.04rem; position: relative;
  }
  .cats[data-mode="motion"] .cat { padding-inline-start: 4px; }
  .cat__name { flex: 1; }
  .cat::before { content: ""; position: absolute; inset-inline-start: -18px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--gold); scale: 0; transition: scale var(--d-2) var(--ease-snap); }
  .cat:hover { color: var(--gold-d); border-color: var(--line); }
  .cat[aria-pressed="true"] { background: transparent; color: var(--ink); font-weight: 700; border-color: var(--line); --mg: var(--ink); --mg-2: var(--gold); }
  .cat[aria-pressed="true"]::before { scale: 1; }
}

/* ---------- motion glyphs: tiny looping demos of each motion type (CSS only) ----------
   The resting pose (no animation) is itself a readable picture, so reduced motion shows a still icon. */
.mg {
  --mg: var(--gold-d); --mg-2: var(--gold); --mg-s: 1;
  position: relative; flex: none; display: inline-block; width: 26px; height: 26px; color: var(--mg);
  scale: var(--mg-s);
}
.mg i { position: absolute; display: block; animation-timing-function: var(--ease-inout); animation-iteration-count: infinite; }
.is-idle .mg i { animation-play-state: paused; }

/* 3D on scroll: a card turning in depth */
.mg--scroll-3d { perspective: 70px; }
.mg--scroll-3d i {
  inset: 3px 7px; border: 1.7px solid currentColor; border-radius: 4px;
  background: linear-gradient(var(--mg-2), var(--mg-2)) 50% 78% / 40% 2px no-repeat;
  transform: rotateY(-38deg) rotateX(12deg); animation: mg-3d 3.6s linear infinite;
}
@keyframes mg-3d { from { transform: rotateY(0) rotateX(12deg); } to { transform: rotateY(360deg) rotateX(12deg); } }

/* exploded view: three layers lift apart and lock back */
.mg--exploded i { left: 4px; right: 4px; height: 4px; border-radius: 3px; background: currentColor; animation-name: mg-ex-a; animation-duration: 2.6s; }
.mg--exploded i:nth-child(1) { top: 4px; border-radius: 9px 9px 2px 2px; height: 5px; }
.mg--exploded i:nth-child(2) { top: 11px; background: var(--mg-2); left: 3px; right: 3px; animation-name: mg-ex-b; }
.mg--exploded i:nth-child(3) { top: 18px; animation-name: mg-ex-c; }
@keyframes mg-ex-a { 0%, 15%, 85%, 100% { transform: translateY(3px); } 40%, 60% { transform: translateY(-1px) rotate(-7deg); } }
@keyframes mg-ex-b { 0%, 15%, 85%, 100% { transform: none; } 40%, 60% { transform: translateX(2px) scaleX(1.1); } }
@keyframes mg-ex-c { 0%, 15%, 85%, 100% { transform: translateY(-3px); } 40%, 60% { transform: translateY(1px) rotate(5deg); } }

/* morphing: one shape becomes another */
.mg--morphing i {
  inset: 5px; background: currentColor; border-radius: 50% 50% 40% 40% / 30% 30% 70% 70%;
  animation: mg-mo 4.2s var(--ease-inout) infinite;
}
@keyframes mg-mo {
  0%, 100% { border-radius: 50%; transform: rotate(0) scale(.92); background: var(--mg); }
  33% { border-radius: 3px; transform: rotate(45deg) scale(.78); background: var(--mg-2); }
  66% { border-radius: 50% 50% 40% 40% / 30% 30% 70% 70%; transform: rotate(0) scale(.9); background: var(--mg); }
}

/* infinite zoom: frames flying out of a tunnel */
.mg--infinite-zoom { overflow: hidden; border-radius: 5px; }
.mg--infinite-zoom i { inset: 2px; border: 1.6px solid currentColor; border-radius: 4px; animation: mg-zo 2.7s linear infinite; }
.mg--infinite-zoom i:nth-child(1) { transform: scale(.25); }
.mg--infinite-zoom i:nth-child(2) { transform: scale(.55); animation-delay: -.9s; border-color: var(--mg-2); }
.mg--infinite-zoom i:nth-child(3) { transform: scale(.9); animation-delay: -1.8s; }
@keyframes mg-zo { 0% { transform: scale(.08); opacity: 0; } 25% { opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* horizontal journey: a strip travelling sideways through a window */
.mg--horizontal { height: 20px; margin-block: 3px; border: 1.7px solid currentColor; border-radius: 5px; overflow: hidden; }
.mg--horizontal i { top: 4px; bottom: 4px; width: 6px; border-radius: 2px; background: currentColor; animation: mg-ho 2.4s linear infinite; }
.mg--horizontal i:nth-child(1) { left: -6px; }
.mg--horizontal i:nth-child(2) { left: 4px; background: var(--mg-2); }
.mg--horizontal i:nth-child(3) { left: 14px; }
.mg--horizontal i:nth-child(4) { left: 24px; }
@keyframes mg-ho { from { transform: translateX(0); } to { transform: translateX(10px); } }
[dir="rtl"] .mg--horizontal i { animation-direction: reverse; }

/* pinned: the frame holds still while the story inside scrolls */
.mg--pinned { border: 1.7px solid currentColor; border-radius: 5px; overflow: hidden; }
.mg--pinned i:nth-child(1), .mg--pinned i:nth-child(2) { left: 5px; right: 8px; height: 2.5px; border-radius: 2px; background: currentColor; animation: mg-pi 2.8s linear infinite; }
.mg--pinned i:nth-child(1) { top: 7px; }
.mg--pinned i:nth-child(2) { top: 14px; right: 11px; animation-delay: -1.4s; }
.mg--pinned i:nth-child(3) { top: 3px; inset-inline-end: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--mg-2); animation: none; }
@keyframes mg-pi { 0% { transform: translateY(14px); opacity: 0; } 20%, 70% { opacity: 1; } 100% { transform: translateY(-14px); opacity: 0; } }

/* parallax depth: layers drifting at different speeds */
.mg--parallax { overflow: hidden; border-radius: 5px; }
.mg--parallax i { animation: mg-pa 3.2s var(--ease-inout) infinite alternate; }
.mg--parallax i:nth-child(1) { top: 4px; left: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--mg-2); --pa: -1.5px; }
.mg--parallax i:nth-child(2) { left: -4px; right: -4px; bottom: 7px; height: 8px; border-radius: 8px 8px 0 0; border: 1.6px solid currentColor; border-bottom: 0; --pa: 3px; }
.mg--parallax i:nth-child(3) { left: -6px; right: -6px; bottom: 2px; height: 3px; border-radius: 2px; background: currentColor; --pa: 6px; }
@keyframes mg-pa { from { transform: translateX(calc(var(--pa) * -1)); } to { transform: translateX(var(--pa)); } }

@media (prefers-reduced-motion: reduce) { .mg i { animation: none !important; } }
.no-motion .mg i { animation: none !important; }

/* motion badges on cards (buttons: jump to that motion type) */
.mbadges { list-style: none; margin: 2px 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mbadge {
  --mg: var(--gold-l); --mg-2: var(--gold); --mg-s: .7;
  display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding-block: 0; padding-inline: 6px 12px; border: 0; border-radius: 99px;
  background: var(--ink); color: var(--paper); font-size: .8rem; font-weight: 500;
  transition: background-color var(--d-2) var(--ease), color var(--d-2);
}
.mbadge .mg { margin: -4px -3px; }
.mbadge .mg i { animation-play-state: paused; }
.mbadge:hover .mg i, .mbadge:focus-visible .mg i, .mbadge.is-on .mg i { animation-play-state: running; }
.mbadge:hover { background: var(--ink-2); }
.mbadge.is-on { background: var(--gold); color: var(--ink); --mg: var(--ink); --mg-2: var(--paper); }
.designs.is-idle .mbadge .mg i { animation-play-state: paused; }

.cards { display: grid; gap: 22px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
/* posters are landscape (16:10): two columns read better than three */
.card { display: flex; flex-direction: column; min-width: 0; }
.card__txt { padding-top: 18px; display: grid; gap: 4px; justify-items: start; }
.card__p { margin: 0 0 8px; color: var(--muted); }
.card .tags { margin: 0 0 12px; }
.card__frame {
  display: block; border-radius: 22px; background: var(--ink); padding: 0 8px 8px; text-decoration: none;
  transition: translate var(--d-3) var(--ease), box-shadow var(--d-3) var(--ease);
}
.card__frame:hover { translate: 0 -6px; box-shadow: 0 30px 60px -30px rgba(28,27,25,.5); }
.tpl__bar { display: flex; gap: 6px; padding: 12px 8px; }
.tpl__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(247,243,235,.3); }
.tpl__bar i:first-child { background: var(--gold); }
.tpl__screen { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--fog); }
.tpl__screen iframe { pointer-events: none; }
.tpl__screen--shot { aspect-ratio: 16 / 10; background: var(--ink-2); }
.tpl__screen--shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tpl__screen--shot iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; opacity: 0; transition: opacity var(--d-4) var(--ease); background: #fff; }
.tpl__screen--shot.is-live iframe { opacity: 1; }
.card__frame:focus-visible { outline-offset: 4px; }
.card__art {
  position: relative; aspect-ratio: 4 / 3.3; border-radius: 22px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(ellipse 80% 70% at 70% 100%, rgba(193,145,63,.16), transparent 70%), var(--fog);
  border: 1px solid var(--line);
}
.card__art svg { width: 34%; fill: none; stroke: var(--gold-d); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: rotate var(--d-3) var(--ease), scale var(--d-3) var(--ease); }
.card:hover .card__art svg { rotate: -6deg; scale: 1.06; }
.cards:has(.card--live) .card__art { aspect-ratio: 16 / 11.6; }
.card__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card--ask .card__art { background: var(--ink); border-color: var(--ink); }
.card--ask .card__art svg { stroke: var(--gold); width: 22%; }
@media (max-width: 699px) { .cards .card--ask .card__art { aspect-ratio: 16 / 6; } .card--ask .card__art svg { width: 14%; } }
.tags { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .8rem; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.more {
  margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
}
.more__t { margin: 0; font-weight: 600; }
.more__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.more__list li { padding: 6px 14px; border-radius: 99px; background: var(--fog); font-size: .92rem; }

/* ---------- lab ---------- */
.lab { background: var(--fog); padding-block: clamp(72px, 10vw, 140px); }
.lab__grid { display: grid; gap: 22px; }
@media (min-width: 860px) { .lab__grid { grid-template-columns: repeat(3, 1fr); } }
.exp__stage { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 18px; touch-action: pan-y; }
.exp__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.exp--tea .exp__stage { background: radial-gradient(ellipse 70% 50% at 50% 78%, rgba(244,169,59,.28), transparent 70%), #1A1310; }
.exp--fabric .exp__stage { background: #2B1424; }
.exp--mirror .exp__stage { background: linear-gradient(180deg, #F7F1F4, #EADFE6); display: grid; place-items: center; --mx: 30%; --my: 30%; }
.exp__p { margin: 0; color: var(--muted); }
.mirror { position: relative; width: 58%; aspect-ratio: 1 / 1.7; border-radius: 999px 999px 14px 14px; padding: 8px; background: linear-gradient(135deg, #D9BD86, #B8935A 45%, #E7D2A4 70%, #A9844C); box-shadow: 0 30px 50px -30px rgba(46,26,43,.6); }
.mirror__glass, .mirror__sheen { position: absolute; inset: 8px; border-radius: 999px 999px 8px 8px; }
.mirror__glass { background: radial-gradient(ellipse 70% 40% at 50% 85%, rgba(156,79,122,.45), transparent 70%), linear-gradient(180deg, #E9DCE6, #CDB6C8); }
.mirror__sheen {
  background: radial-gradient(circle 46% at var(--mx) var(--my), rgba(247,243,235,.75), rgba(247,243,235,0) 60%),
              linear-gradient(115deg, transparent 30%, rgba(247,243,235,.35) 45%, transparent 55%);
  mix-blend-mode: soft-light;
  transition: background-position var(--d-2);
}
.js-motion .exp--mirror .exp__stage:not(:hover) .mirror__sheen { animation: sweep 6s var(--ease-inout) infinite alternate; }
@keyframes sweep { 0% { --mx: 20%; } 100% { --mx: 80%; } }
@property --mx { syntax: '<percentage>'; inherits: true; initial-value: 30%; }
@property --my { syntax: '<percentage>'; inherits: true; initial-value: 30%; }

/* ---------- steps ---------- */
.steps { background: var(--ink); color: var(--paper); padding-block: clamp(72px, 10vw, 140px); }
.steps .h2 .soft { color: rgba(247,243,235,.55); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.flow__step { position: relative; padding: 0 0 36px; padding-inline-start: 64px; }
.flow__step::before { content: ""; position: absolute; inset-inline-start: 21px; top: 48px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold-l), rgba(231,211,166,.1)); }
.flow__step:last-child::before { display: none; }
.flow__n {
  position: absolute; inset-inline-start: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 1.1rem;
  background: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--gold-l); color: var(--paper);
}
.flow__step:nth-child(2) .flow__n { background: var(--gold); color: var(--ink); box-shadow: none; }
.flow__step p { margin: 0; color: rgba(247,243,235,.7); max-width: 40ch; }
.flow__step .h3 { font-size: 1.25rem; padding-top: 6px; }
@media (min-width: 980px) {
  .flow { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .flow__step { padding: 72px 0 0; }
  .flow__step::before { inset-inline-start: 56px; inset-inline-end: -20px; top: 21px; bottom: auto; width: auto; height: 2px; background: linear-gradient(to left, var(--gold-l), rgba(231,211,166,.15)); }
  html[dir="ltr"] .flow__step::before { background: linear-gradient(to right, var(--gold-l), rgba(231,211,166,.15)); }
}

/* ---------- packages ---------- */
.pricing { background: var(--paper); padding-block: clamp(72px, 10vw, 140px); }
.plans { display: grid; gap: 14px; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { display: flex; flex-direction: column; background: var(--fog); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); }
.plan--featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan__name { font-size: 1.25rem; font-weight: 600; margin: 0; }
.plan__for { margin: 4px 0 20px; color: var(--muted); font-size: .95rem; }
.plan--featured .plan__for { color: rgba(247,243,235,.65); }
.plan__list { list-style: none; margin: 0 0 24px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .96rem; }
.plan--featured .plan__list { border-top-color: var(--line-dark); }
.plan__list li { position: relative; padding-inline-start: 26px; }
.plan__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 14px; height: 4px; border-radius: 4px; background: var(--gold-d); }
.plan--featured .plan__list li::before { background: var(--gold); }
.plan .btn { width: 100%; margin-top: auto; }
.plan .btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.plan .btn--line:hover { background: var(--ink); color: var(--paper); }
.plans__foot { margin: 22px 0 0; color: var(--muted); font-size: .92rem; max-width: 80ch; }

/* ---------- faq ---------- */
.faq { background: var(--fog); padding-block: clamp(72px, 10vw, 140px); }
.faq__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 60px; } .faq .h2 { position: sticky; top: 100px; align-self: start; } }
.qa details { border-bottom: 1px solid #D7DAE6; }
.qa details:first-child { border-top: 1px solid #D7DAE6; }
.qa summary { list-style: none; cursor: pointer; padding: 22px 0; padding-inline-end: 44px; position: relative; font-size: 1.12rem; font-weight: 600; line-height: 1.5; transition: color var(--d-1); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; inset-inline-end: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: linear-gradient(var(--gold-d), var(--gold-d)) center / 14px 2px no-repeat, linear-gradient(var(--gold-d), var(--gold-d)) center / 2px 14px no-repeat;
  transition: transform var(--d-3) var(--ease);
}
.qa details[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--gold-d); }
.qa details p { margin: 0 0 24px; color: var(--muted); max-width: 62ch; }

/* ---------- contact ---------- */
.contact { --focus: var(--ink); background: var(--gold); color: var(--ink); padding-block: clamp(72px, 10vw, 130px); position: relative; overflow: hidden; }
.contact::after { content: ""; position: absolute; inset-inline-start: -80px; bottom: -120px; width: 420px; height: 330px; border: 26px solid rgba(28,27,25,.07); border-radius: 48px; pointer-events: none; }
.contact__in { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .contact__in { grid-template-columns: 1.35fr .65fr; gap: 56px; } }
.contact .btn--sun { background: var(--ink); color: var(--paper); box-shadow: 0 14px 30px -14px rgba(28,27,25,.6); }
.contact .btn--sun:hover { background: var(--ink-2); }
.contact__title { margin: 0 0 30px; font-size: clamp(2.2rem, 5.2vw, 4.2rem); line-height: 1.25; font-weight: 700; }
html[lang="en"] .contact__title { line-height: 1.05; letter-spacing: -.03em; }
.contact__links { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.contact__links a { color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1.5px solid rgba(28,27,25,.45); padding-bottom: 2px; direction: ltr; unicode-bidi: isolate; }
.contact__links a:hover { border-bottom-color: var(--ink); }
.contact__note { margin: 18px 0 0; color: var(--ink); font-size: .95rem; }
.contact__fig {
  position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(193,145,63,.35), transparent 70%), var(--ink);
}
.contact__fig::before { /* Citadel monogram, visible until the image arrives */
  content: ""; position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; translate: -50% -50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M0 2H4.2V5.9H10.6V10.8A5.6 5.6 0 0 0 5 16.4V28H0Z' fill='%23F7F3EB'/%3E%3Cpath d='M28 2H23.8V5.9H17.4V10.8A5.6 5.6 0 0 1 23 16.4V28H28Z' fill='%23F7F3EB'/%3E%3Cpath d='M7 0H9.4V1.7H11V0H17V1.7H18.6V0H21V5.1H16.6V28H11.4V5.1H7Z' fill='%23C1913F'/%3E%3C/svg%3E") center / contain no-repeat;
}.contact__fig img { position: relative; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .contact__fig { aspect-ratio: 16 / 10; } }

/* ---------- footer ---------- */
.foot { position: relative; background: var(--ink); color: rgba(247,243,235,.7); padding-block: 36px 100px; overflow: hidden; }
.foot__tex { position: absolute; inset: 0; pointer-events: none; }
.foot__tex img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.foot__in { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot .brand { color: var(--paper); }
.foot p { margin: 0; font-size: .9rem; }
.foot__tools { display: flex; flex-wrap: wrap; gap: 8px; margin-inline-start: auto; }

/* ---------- floating whatsapp ---------- */
.fab {
  position: fixed; z-index: 60; inset-inline-end: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: var(--paper); display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(31,175,90,.75); transition: scale var(--d-2) var(--ease-snap);
}
.fab:hover { scale: 1.07; }
.fab svg { width: 30px; height: 30px; fill: none; stroke: var(--paper); stroke-width: 1.8; stroke-linejoin: round; }

/* ---------- reduced motion / motion off ---------- */
.no-motion *, .no-motion *::before, .no-motion *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  .phone, .bubble, .live { animation: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 420px) {
  .top__actions .btn { display: none; }
  .sector__in { flex-direction: column; gap: 2px; min-height: 64px; font-size: .9rem; }
}
