/* =========================================================
   Maya Kaneti: luxury landing page
   Brand: yellow #f2b01c · sage #9fb6af · blue #bbdee4 · beige #ebdfd6
   ========================================================= */
:root {
  /* brand */
  --gold: #f2b01c;          /* brand yellow, used as accent only */
  --sage: #9fb6af;
  --sage-d: #4a655d;
  --blue: #bbdee4;
  --beige: #ebdfd6;

  /* neutrals derived from the brand */
  --ivory: #f8f4ef;
  --bone: #edf2f0;          /* light sage tint (no pink) */
  --ink: #131c1b;           /* deep sage-black */
  --text: #1d2826;
  --text-2: #5d6866;
  --line: rgba(19, 28, 27, .14);
  --line-dark: rgba(248, 244, 239, .14);

  --font: "Assistant", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); font-size: 18px; font-weight: 400; line-height: 1.75;
  color: var(--text); background: var(--ivory);
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -.015em; }
p { margin: 0 0 1.1em; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: min(var(--wrap), 100% - 48px); margin-inline: auto; position: relative; z-index: 2; }
.section { position: relative; padding: clamp(110px, 13vw, 190px) 0; }
.bone { background: var(--bone); }
.dark { background: var(--ink); color: var(--ivory); }
.center { text-align: center; }

/* film grain for a tactile, printed feel */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* static grain: no endless motion (WCAG 2.2.2) */
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ============ Intro ============ */
.intro {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: transform 1.1s var(--ease-io) .1s;
}
.intro-logo { width: min(320px, 60vw); opacity: 0; transform: translateY(14px); animation: introLogo 1.1s var(--ease) .15s forwards; }
.intro-line { width: 0; height: 1px; background: var(--gold); animation: introLine 1s var(--ease-io) .45s forwards; }
@keyframes introLogo { to { opacity: 1; transform: none; } }
@keyframes introLine { to { width: 140px; } }
body.loaded .intro { transform: translateY(-100%); }

/* ============ Type system ============ */
.kicker, .label {
  display: flex; align-items: center; gap: 14px; direction: ltr;
  font-size: 12.5px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
}
.label { justify-content: flex-end; color: var(--sage-d); margin-bottom: 30px; }
.label.center { justify-content: center; }
.label .idx { color: var(--gold); font-weight: 600; letter-spacing: .1em; }
.label .idx::after { content: ""; display: inline-block; width: 46px; height: 1px; background: currentColor; opacity: .5; vertical-align: middle; margin-left: 14px; }
.dark .label { color: var(--sage); }

.title { font-size: clamp(34px, 4.6vw, 64px); font-weight: 700; max-width: 18ch; }
.title.center { margin-inline: auto; }
.title em { font-style: normal; color: var(--sage-d); font-weight: 300; }
.dark .title em { color: var(--blue); }
.cases .title, .cases .title em { color: var(--ivory); }
.sub { font-size: clamp(18px, 1.5vw, 21px); color: var(--text-2); max-width: 44ch; margin-top: 26px; font-weight: 300; }

/* split-word reveal */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
[data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 45ms); }
[data-split].in .w > span { transform: none; }

/* ============ Buttons ============ */
.btn {
  --bg: var(--ink); --fg: var(--ivory); --hover: var(--gold); --hover-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 20px 36px; border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
  font: 500 17px/1 var(--font); letter-spacing: .02em; color: var(--fg); background: var(--bg);
  overflow: hidden; isolation: isolate; transition: color .6s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover);
  transform: translateY(101%); transition: transform .7s var(--ease);
}
.btn:hover { color: var(--hover-fg); }
.btn:hover::before { transform: none; }
.btn .arrow { display: inline-block; transition: transform .6s var(--ease); font-weight: 300; }
.btn:hover .arrow { transform: translateX(-8px); }
.btn-gold { --bg: var(--gold); --fg: var(--ink); --hover: var(--ivory); --hover-fg: var(--ink); }
.btn-ink { --bg: var(--ink); --fg: var(--ivory); --hover: var(--gold); --hover-fg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: currentColor; --hover: var(--gold); --hover-fg: var(--ink); box-shadow: inset 0 0 0 1px currentColor; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.btn-sm { padding: 13px 24px; font-size: 15px; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn:focus-visible, .field input:focus-visible, summary:focus-visible, .nav-btn:focus-visible, .play:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ============ Header ============ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; color: var(--ivory);
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px clamp(24px, 4vw, 56px);
  transition: background .6s var(--ease), padding .6s var(--ease), color .6s, transform .8s var(--ease), box-shadow .6s;
}
.logo { position: relative; display: block; height: 30px; }
.logo img { height: 30px; width: auto; transition: opacity .6s; }
.logo .logo-dark { position: absolute; top: 0; left: 0; opacity: 0; }
.site-header.scrolled { padding-block: 16px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); background: rgba(19, 28, 27, .72); }
.site-header.light { background: rgba(248, 244, 239, .86); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.light .logo-light { opacity: 0; }
.site-header.light .logo-dark { opacity: 1; }
.site-header.hide { transform: translateY(-100%); }

/* ============ Hero ============ */
.hero { min-height: 100svh; padding: 170px 0 120px; overflow: hidden; text-align: center; }
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 85% 0%, rgba(187, 222, 228, .17), transparent 70%),
    radial-gradient(50% 40% at 10% 35%, rgba(159, 182, 175, .15), transparent 70%),
    radial-gradient(40% 30% at 50% 100%, rgba(242, 176, 28, .08), transparent 70%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-kicker { color: var(--sage); margin-bottom: 44px; gap: 18px; }
.hero-kicker i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.hero-title { font-size: clamp(56px, 10vw, 150px); font-weight: 800; line-height: .98; letter-spacing: -.035em; margin-bottom: 38px; }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-title .line, .hero-sub .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line { padding-bottom: .16em; }
.hero-title .underline { position: relative; }
.hero-title .underline::after {
  content: ""; position: absolute; right: 0; left: 0; bottom: -.04em; height: .055em; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform 1.4s var(--ease) 1.2s;
}
body.loaded .hero-title .underline::after { transform: scaleX(1); }
.hero-title .line > span, .hero-sub .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.4s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .1s; }
.hero-sub { font-size: clamp(21px, 2.3vw, 32px); font-weight: 300; line-height: 1.4; }
.hero-sub .line:nth-child(1) > span { transition-delay: .3s; }
.hero-sub .line:nth-child(2) > span { transition-delay: .4s; }
.hero-sub .muted { color: var(--blue); }
body.loaded .hero-title .line > span, body.loaded .hero-sub .line > span { transform: none; }

.hero-rule { width: 1px; height: 0; background: linear-gradient(var(--gold), transparent); margin: 46px 0 40px; transition: height 1.4s var(--ease) .7s; }
body.loaded .hero-rule { height: 80px; }
.hero-lead { max-width: 58ch; color: rgba(248, 244, 239, .7); font-weight: 300; font-size: clamp(17px, 1.4vw, 20px); margin-bottom: 70px; }
.fade { opacity: 0; transform: translateY(30px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
body.loaded .hero .fade { opacity: 1; transform: none; }
body.loaded .hero-lead { transition-delay: .8s; }
body.loaded .hero-video { transition-delay: 1s; }
body.loaded .hero-cta { transition-delay: 1.15s; }

.hero-video { position: relative; width: min(1040px, 100%); }
.frame-line { position: absolute; inset: -18px; border: 1px solid rgba(242, 176, 28, .3); pointer-events: none; }
.frame-line::before, .frame-line::after { content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--gold); border-style: solid; }
.frame-line::before { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.frame-line::after { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }

.hero-cta { margin-top: 70px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.micro { margin: 0; font-size: 14px; letter-spacing: .04em; color: rgba(248, 244, 239, .5); }

/* ============ Video ============ */
.video-wrap { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1110; cursor: pointer; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.video-wrap:not(.playing):hover video { transform: scale(1.035); }
.video-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(19, 28, 27, .05) 40%, rgba(19, 28, 27, .55)); transition: opacity .6s; }
.video-wrap.playing::after { opacity: 0; }
.video-wrap.vertical { aspect-ratio: 9 / 16; border-radius: 999px 999px 0 0; }
.play {
  position: absolute; top: 50%; left: 50%; z-index: 3; width: 104px; height: 104px; margin: -52px 0 0 -52px;
  display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: var(--ivory);
  background: rgba(19, 28, 27, .25); border: 1px solid rgba(248, 244, 239, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .8s var(--ease), background .6s, border-color .6s, color .6s, opacity .5s;
}
.play svg { width: 26px; height: 26px; fill: currentColor; transform: translateX(2px); }
.video-wrap:hover .play { transform: scale(1.08); background: var(--gold); border-color: var(--gold); color: var(--ink); }
.video-wrap.playing .play, .video-wrap.playing .video-label { opacity: 0; pointer-events: none; }
.vertical .play { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.vertical .play svg { width: 20px; height: 20px; }
.video-label { position: absolute; bottom: 22px; right: 26px; z-index: 3; font-size: 13px; letter-spacing: .14em; color: rgba(248, 244, 239, .85); transition: opacity .5s; }

/* ============ Proof ============ */
.proof .label { justify-content: center; }
.proof .title { max-width: 22ch; }
.marquee {
  margin: clamp(60px, 7vw, 90px) 0; padding: 34px 0; overflow: hidden;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { font-size: clamp(26px, 3vw, 40px); font-weight: 300; letter-spacing: -.01em; white-space: nowrap; color: var(--text); }
.marquee i { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(50%); } }

.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 330px)); justify-content: center; gap: clamp(28px, 6vw, 100px); margin-bottom: clamp(100px, 11vw, 160px); }
.proof-grid .testi:nth-child(2) { margin-top: 110px; }
.testi { margin: 0; position: relative; }
.testi .video-wrap { z-index: 1; }
.testi::before {
  content: ""; position: absolute; top: 0; right: 0; left: 0; aspect-ratio: 9 / 16;
  border: 1px solid rgba(242, 176, 28, .5); border-radius: 999px 999px 0 0; pointer-events: none;
  transform: translate(-16px, 16px); transition: transform 1s var(--ease);
}
.testi:hover::before { transform: translate(0, 0); }
.testi figcaption { margin-top: 34px; display: flex; flex-direction: column; gap: 4px; line-height: 1.35; }
.testi figcaption strong { font-size: 21px; font-weight: 600; }
.testi figcaption span { font-size: 14px; color: var(--text-2); letter-spacing: .02em; }
.dark .testi figcaption span { color: rgba(248, 244, 239, .55); }

/* ============ Forms ============ */
.form-block {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 7vw, 120px); align-items: end;
  padding: clamp(40px, 6vw, 80px) 0 0; border-top: 1px solid var(--line);
}
.form-copy h3 { font-size: clamp(28px, 3vw, 42px); font-weight: 700; margin-bottom: 14px; }
.form-copy p { margin: 0; color: var(--text-2); font-weight: 300; font-size: 19px; }
.form-block.on-dark { border-color: var(--line-dark); }
.on-dark .form-copy p { color: rgba(248, 244, 239, .6); }

.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; position: relative; }
.lead-form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 10px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.field { position: relative; display: block; }
.field input {
  width: 100%; padding: 26px 0 12px; border: 0; border-bottom: 1px solid rgba(19, 28, 27, .3); border-radius: 0;
  background: transparent; font: 400 19px var(--font); color: inherit; transition: border-color .5s;
}
.field::after { content: ""; position: absolute; right: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease); }
.field:focus-within::after { transform: none; }
.field input:focus { outline: none; }
.field span { position: absolute; right: 0; top: 24px; color: var(--text-2); font-weight: 300; pointer-events: none; transition: all .5s var(--ease); }
.field input:focus + span, .field input:not(:placeholder-shown) + span { top: 0; font-size: 12px; letter-spacing: .14em; color: var(--sage-d); }
.field input:user-invalid { border-bottom-color: #c0604f; }
.on-dark .field input { border-bottom-color: rgba(248, 244, 239, .3); }
.on-dark .field span { color: rgba(248, 244, 239, .55); }
.on-dark .field input:focus + span, .on-dark .field input:not(:placeholder-shown) + span { color: var(--gold); }

.lead-form.sent > *:not(.thanks) { display: none; }
.thanks { grid-column: 1 / -1; padding: 10px 0; animation: thanks 1s var(--ease); }
.thanks .check { width: 52px; height: 52px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold); margin-bottom: 18px; }
.closing .thanks .check { margin-inline: auto; }
.thanks h4 { margin: 0 0 6px; font-size: 26px; font-weight: 700; }
.thanks p { margin: 0; opacity: .7; }
@keyframes thanks { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ============ Process ============ */
.process-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(50px, 8vw, 140px); align-items: start; }
.process-head { position: sticky; top: 130px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.step { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.step::before { content: ""; position: absolute; inset: 0 -30px; background: var(--ivory); opacity: 0; z-index: 0; transition: opacity .6s var(--ease); }
.step:hover::before { opacity: 1; }
.step > * { position: relative; z-index: 1; }
.num {
  display: inline-grid; place-items: center; width: 54px; height: 66px;
  font-size: 20px; font-weight: 800; color: var(--ink); background: var(--gold);
  border-radius: 99px 99px 8px 8px; direction: ltr;
  transition: transform .7s var(--ease);
}
.step:hover .num { transform: translateY(-4px); }
.step h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; margin-bottom: 12px; transition: transform .7s var(--ease); }
.step:hover h3 { transform: translateX(-10px); }
.step p { margin: 0; color: var(--text-2); font-weight: 300; max-width: 52ch; }

/* ============ Cases ============ */
.cases { overflow: hidden; }
.cases-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 70px; }
.carousel-wrap { margin-bottom: clamp(100px, 11vw, 160px); }
.carousel {
  display: flex; gap: 48px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  --car-pad: max(24px, calc((100% - var(--wrap)) / 2 + 16px));
  padding: 20px var(--car-pad) 20px;
  scroll-padding-inline: var(--car-pad); /* keep side spacing when snapping (RTL) */
}
.carousel::-webkit-scrollbar { display: none; }
.carousel .testi { flex: 0 0 clamp(250px, 24vw, 310px); scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 12px; }
.nav-btn {
  width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent;
  color: var(--ivory); font-size: 20px; font-weight: 300; cursor: pointer;
  transition: background .6s var(--ease), border-color .6s, color .6s;
}
.nav-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ============ About ============ */
.about { background: linear-gradient(180deg, var(--ivory) 0%, #e7f2f3 100%); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(60px, 9vw, 150px); align-items: center; }
.about-visual { position: relative; width: 100%; max-width: 470px; aspect-ratio: 4 / 5.4; justify-self: center; }
.arch-outline { position: absolute; inset: 0; border: 1px solid var(--sage); border-radius: 999px 999px 0 0; transform: translate(-26px, 26px); }
.arch-photo { position: absolute; inset: 0; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--blue); }
.arch-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transform: scale(1.12); transition: transform 2.2s var(--ease); }
.arch-photo.in img { transform: scale(1); }
.mini-photo { position: absolute; left: -14%; bottom: 10%; width: 36%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 0 0; outline: 8px solid var(--ivory); }
.mini-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.about-copy p { color: var(--text-2); font-weight: 300; font-size: 19px; }
.about-copy .title { margin-bottom: 40px; max-width: 16ch; }
.pull { margin: 40px 0 26px; padding: 6px 28px 6px 0; border-right: 1px solid var(--gold); font-size: clamp(21px, 1.9vw, 26px); font-weight: 400; line-height: 1.55; color: var(--text); }
.about-copy .signature { direction: ltr; text-align: right; font-size: 13px; letter-spacing: .4em; text-transform: uppercase; color: var(--sage-d); font-weight: 500; }

/* image curtain reveal */
.img-reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-io); transition-delay: var(--d, 0s); }
.img-reveal.in { clip-path: inset(0 0 0 0); }

/* ============ Fit ============ */
.fit-title { max-width: 30ch; font-size: clamp(30px, 3.6vw, 50px); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; margin: clamp(70px, 8vw, 110px) 0 clamp(90px, 10vw, 140px); border-top: 1px solid var(--line); }
.fit-col { padding: 50px clamp(24px, 4vw, 60px) 10px; }
.fit-col.yes { border-left: 1px solid var(--line); padding-right: 0; }
.fit-col.no { padding-left: 0; }
.fit-col h3 { display: flex; align-items: center; gap: 16px; font-size: 26px; font-weight: 600; margin-bottom: 26px; }
.mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; font-weight: 300; font-size: 22px; line-height: 1; }
.yes .mark { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.no .mark { color: var(--text-2); }
.fit-col ul { list-style: none; margin: 0; padding: 0; }
.fit-col li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.fit-col li:last-child { border-bottom: 0; }
.no li { color: var(--text-2); font-weight: 300; }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 8vw, 130px); align-items: start; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; position: relative; padding: 32px 0 32px 60px; font-size: clamp(19px, 1.7vw, 23px); font-weight: 500; transition: color .5s; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--sage-d); }
.accordion summary::before, .accordion summary::after { content: ""; position: absolute; left: 6px; top: 50%; width: 20px; height: 1px; background: var(--text); transition: transform .6s var(--ease), background .4s; }
.accordion summary::after { transform: rotate(90deg); }
.accordion details[open] summary::after { transform: rotate(0); }
.accordion details[open] summary::before, .accordion details[open] summary::after { background: var(--gold); }
.ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.ans > p { overflow: hidden; margin: 0; color: var(--text-2); font-weight: 300; max-width: 60ch; }
.accordion details[open] .ans { grid-template-rows: 1fr; }
.accordion details[open] .ans > p { padding-bottom: 32px; }

/* ============ Closing ============ */
.closing { overflow: hidden; text-align: center; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing-avatar { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; margin-bottom: 50px; box-shadow: 0 0 0 1px var(--gold), 0 0 0 12px var(--ink), 0 0 0 13px rgba(242, 176, 28, .35); }
.closing-avatar.img-reveal { clip-path: inset(100% 0 0 0 round 50%); }
.closing-avatar.img-reveal.in { clip-path: inset(0 0 0 0 round 50%); }
.closing-avatar img { width: 100%; height: 100%; object-fit: cover; }
.closing-title { font-size: clamp(34px, 4.8vw, 68px); font-weight: 700; max-width: 20ch; }
.closing-title em { display: block; font-style: normal; color: var(--gold); font-weight: 300; }
.closing-lead { margin: 34px 0 60px; color: rgba(248, 244, 239, .65); font-weight: 300; font-size: 19px; }
.lead-form.inline { grid-template-columns: 1fr 1fr; align-items: end; width: min(760px, 100%); text-align: right; }
.lead-form.inline .btn { grid-column: 1 / -1; justify-self: center; margin-top: 18px; }

/* ============ Footer ============ */
.site-footer { background: #0d1413; color: rgba(248, 244, 239, .66); text-align: center; padding: 70px 24px 120px; font-size: 13px; letter-spacing: .06em; }
.footer-logo { height: 46px; width: auto; margin: 0 auto; opacity: .9; }
.footer-rule { width: 40px; height: 1px; background: var(--gold); margin: 28px auto; }
.site-footer p { margin: 0; }

/* ============ Sticky CTA ============ */
.sticky-cta {
  position: fixed; z-index: 55; bottom: 22px; left: 50%; transform: translate(-50%, 160%);
  display: inline-flex; gap: 12px; align-items: center; padding: 17px 30px;
  background: var(--ink); color: var(--ivory); text-decoration: none; font-size: 16px; font-weight: 500;
  box-shadow: 0 20px 40px -18px rgba(19, 28, 27, .7), inset 0 0 0 1px rgba(242, 176, 28, .45);
  transition: transform .9s var(--ease), background .5s, color .5s; white-space: nowrap;
}
.sticky-cta:hover { background: var(--gold); color: var(--ink); }
.sticky-cta.show { transform: translate(-50%, 0); }

/* ============ WhatsApp floating button ============ */
.wa-float {
  position: fixed; z-index: 56; left: 24px; bottom: 22px;
  display: flex; align-items: center; height: 60px; padding: 0; border-radius: 99px;
  background: var(--ink); color: var(--gold); text-decoration: none; direction: ltr;
  box-shadow: 0 18px 40px -16px rgba(19, 28, 27, .7), inset 0 0 0 1px rgba(242, 176, 28, .55);
  opacity: 0; transform: translateY(20px) scale(.9);
  transition: opacity .9s var(--ease) 1.6s, transform .9s var(--ease) 1.6s, background .5s, color .5s, box-shadow .5s;
}
body.loaded .wa-float { opacity: 1; transform: none; }
.wa-icon { width: 60px; height: 60px; display: grid; place-items: center; flex: none; }
.wa-icon svg { width: 26px; height: 26px; fill: currentColor; }
.wa-label {
  max-width: 0; overflow: hidden; white-space: nowrap; direction: rtl;
  font-size: 15px; font-weight: 500; color: var(--ivory);
  transition: max-width .7s var(--ease), padding .7s var(--ease), color .5s;
}
.wa-float:hover { background: var(--gold); color: var(--ink); box-shadow: 0 18px 40px -16px rgba(242, 176, 28, .7); }
.wa-float:hover .wa-label { max-width: 220px; padding-right: 22px; color: var(--ink); }
.wa-float::after {
  content: ""; position: absolute; left: 0; top: 0; width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid var(--gold); opacity: 0; pointer-events: none; animation: waRing 6s var(--ease) 3s 3;
}
@keyframes waRing { 0% { opacity: .7; transform: scale(1); } 25% { opacity: 0; transform: scale(1.6); } 100% { opacity: 0; transform: scale(1.6); } }
.wa-float:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ============ Scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.steps .step:nth-child(2) { --d: .06s; } .steps .step:nth-child(3) { --d: .12s; }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .process-grid, .about-grid, .faq-grid, .form-block { grid-template-columns: 1fr; }
  .process-head { position: static; }
  .about-visual { max-width: 380px; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .container { width: calc(100% - 40px); }
  .site-header { padding: 18px 20px; }
  .site-header.scrolled { padding-block: 12px; }
  .logo, .logo img { height: 24px; }
  .hero { padding: 130px 0 90px; }
  .hero-title { font-size: clamp(46px, 13.5vw, 64px); }
  .hero-kicker { font-size: 10.5px; letter-spacing: .2em; gap: 10px; margin-bottom: 34px; }
  .hero-sub { font-size: 21px; }
  .hero-lead { margin-bottom: 50px; }
  .frame-line { inset: -10px; }
  .play { width: 80px; height: 80px; margin: -40px 0 0 -40px; }
  .vertical .play { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
  .video-label { display: none; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .proof-grid .testi:nth-child(2) { margin-top: 60px; }
  .testi::before { transform: translate(-8px, 8px); }
  .testi figcaption strong { font-size: 17px; }
  .testi figcaption span { font-size: 12.5px; }
  .lead-form, .lead-form.inline { grid-template-columns: 1fr; }
  .lead-form .btn, .lead-form.inline .btn { justify-self: stretch; }
  .step { grid-template-columns: 62px 1fr; padding: 30px 0; }
  .num { width: 46px; height: 56px; font-size: 18px; }
  .cases-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .carousel { gap: 24px; }
  .carousel .testi { flex-basis: 64vw; }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-col, .fit-col.yes, .fit-col.no { padding: 40px 0 0; border-left: 0; }
  .mini-photo { left: -6%; width: 34%; outline-width: 6px; }
  .arch-outline { transform: translate(-14px, 14px); }
  .about-visual { width: 84%; }
  .label { margin-bottom: 22px; font-size: 11px; }
  .wa-float { left: 16px; bottom: 18px; height: 54px; }
  .wa-icon, .wa-float::after { width: 54px; height: 54px; }
  .wa-float:hover .wa-label { max-width: 0; padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none; }
  .reveal, .fade { opacity: 1; transform: none; }
  .img-reveal, .closing-avatar.img-reveal { clip-path: none; }
  [data-split] .w > span, .hero-title .line > span, .hero-sub .line > span { transform: none; }
  .hero-rule { height: 80px; }
}

/* ============ Accessibility (IS 5568 / WCAG AA) ============ */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; top: 12px; right: 12px; z-index: 200; padding: 14px 22px;
  background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none;
  transform: translateY(-200%); transition: transform .3s;
}
.skip-link:focus { transform: none; outline: 2px solid var(--ink); outline-offset: 2px; }
main:focus { outline: none; }
.site-header:focus-within { transform: none; }
.marquee { position: relative; }
.marquee.paused .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-toggle {
  position: absolute; left: 14px; top: 50%; z-index: 3; width: 36px; height: 36px; margin-top: -18px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--ivory); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; transition: background .3s, border-color .3s;
}
.marquee-toggle:hover { border-color: var(--gold); }
.marquee-toggle:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
.i-pause, .i-play { display: block; width: 10px; height: 12px; }
.i-pause { border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.i-play { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid currentColor; margin-left: 3px; }
.footer-links { margin-top: 14px; }
.footer-links a { color: rgba(248, 244, 239, .75); text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--gold); }
