/* Elaatmani Studio: monochrome, Plus Jakarta Sans, close to the original site but calmer and more structured. */
:root {
	--bg: #fafafa;
	--surface: #ffffff;
	--alt: #f2f2f1;
	--ink: #111111;
	--ink-2: #3f3f3f;
	--muted: #6b6b6b;
	--line: #e4e4e2;
	--dark: #0d0d0d;
	--dark-2: #1b1b1b;
	--accent: #16a34a; /* WhatsApp actions only */
	--radius: 18px;
	--radius-sm: 12px;
	--wrap: 1200px;
	--font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.ico { display: inline-block; vertical-align: -2px; flex: none; }

/* Type */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.display { font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: .92; font-size: clamp(44px, 7.4vw, 104px); margin: 0 0 24px; }
.display-sm { font-size: clamp(36px, 5.2vw, 68px); line-height: .98; }
.fade { background: linear-gradient(180deg, #1f1f1f 0%, #636363 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 680px; margin: 0 0 28px; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 16px; }
.h2-sm { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 18px; }
.h3 { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2b2b2b; }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost .ico, .btn-outline-light .ico, .foot-list a[href*="wa.me"] { color: var(--accent); }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,250,250,.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { font-weight: 800; letter-spacing: -0.02em; font-size: 20px; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.logo .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.logo-light { color: #fff; }
.nav { margin: 0 auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 5px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; }
.nav a { display: block; padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #525252; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--alt); color: var(--ink); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; width: 44px; height: 44px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(22,163,74,.15); }
.hero-art img { filter: grayscale(1) contrast(1.05); margin-left: auto; max-height: 520px; width: auto; }
.hero-facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-facts li { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.hero-facts strong { color: var(--ink); font-size: 15px; }

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 48px 0 88px; }
.section-alt { background: var(--alt); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .eyebrow { color: #9a9a9a; }
.section-head { margin-bottom: 40px; max-width: 760px; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }

/* Cards */
.cards { display: grid; gap: 16px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); margin-bottom: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.card p { margin: 0 0 12px; color: var(--ink-2); font-size: 16px; }
.card-n { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .1em; margin-bottom: 12px; }
.card-link { margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.card-link:hover { text-decoration: underline; }
.card-link-block { text-decoration: none; transition: border-color .15s, transform .15s; }
.card-link-block:hover { border-color: var(--ink); transform: translateY(-2px); }
.tags { list-style: none; padding: 0; margin: 4px 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--alt); color: var(--ink-2); }
.tags-lg li { font-size: 14px; padding: 6px 14px; background: var(--surface); border: 1px solid var(--line); }

/* Industries chips */
.chip-grid { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.chip { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.chip:hover { border-color: var(--ink); }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.work-img { display: block; aspect-ratio: 16 / 8.6; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--alt); }
.work-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.work:hover .work-img img { transform: scale(1.02); }
.work-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.work-body p { color: var(--ink-2); margin: 0 0 12px; font-size: 16px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.step { border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; }
.step p { margin: 0; color: #b5b5b5; font-size: 15px; }
.step-n { display: block; font-size: 13px; font-weight: 700; color: #8a8a8a; margin-bottom: 12px; letter-spacing: .1em; }
.steps-light .step { border-top-color: var(--line); }
.steps-light .step p { color: var(--ink-2); }
.steps-light .step-n { color: var(--muted); }

/* About / prose */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.prose p { margin: 0 0 16px; color: var(--ink-2); }
.prose-page { max-width: 760px; }
.prose-page h2 { font-size: 24px; margin: 32px 0 12px; }
.stack-list { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.stack-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 12px; color: var(--ink-2); }
.stack-list strong { color: var(--ink); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--dark); color: #fff; padding: 72px 0; }
.cta-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
.cta-inner .actions { justify-content: flex-end; }
.eyebrow-light { color: #9a9a9a; }
.muted-light { color: #b5b5b5; margin: 0; max-width: 620px; }

/* Page hero / crumbs */
.page-hero { padding: 40px 0 32px; }
.page-hero-tight { padding-bottom: 8px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.crumbs a { color: var(--muted); }

/* Solution layout */
.sol-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding-top: 24px; padding-bottom: 72px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: 14px; }
.toc-h { font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; padding: 0; margin: 0 0 20px; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 6px 14px; color: var(--ink-2); text-decoration: none; margin-left: -1px; border-left: 1px solid transparent; }
.toc li a:hover { color: var(--ink); border-left-color: var(--ink); }
.sol-body { min-width: 0; max-width: 820px; }
.sol-body > section { margin-bottom: 56px; }
.sol-body p { color: var(--ink-2); }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: var(--radius-sm); padding: 20px 24px; margin-bottom: 48px; }
.callout-h { font-weight: 800; margin: 0 0 6px; color: var(--ink) !important; }
.callout p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 24px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th, .data-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--alt); }
.data-table tbody th { font-weight: 700; white-space: nowrap; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table td { color: var(--ink-2); }
.flow { margin: 0; padding: 0; list-style: none; counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 10px 0 10px 48px; border-bottom: 1px dashed var(--line); color: var(--ink-2); }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 9px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.flow-sm li { padding-left: 42px; font-size: 15px; }
.flow-sm li::before { width: 26px; height: 26px; font-size: 12px; }
.checks { list-style: none; padding: 0; margin: 0 0 16px; }
.checks li { position: relative; padding: 8px 0 8px 30px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 14px; height: 8px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.cite { font-size: 11px; margin-left: 2px; }
.cite a { color: var(--muted); text-decoration: none; }
.ranked { padding-left: 22px; margin: 0 0 24px; }
.ranked li { padding: 6px 0; color: var(--ink-2); }
.ranked li::marker { font-weight: 800; color: var(--ink); }
.mvp { background: var(--alt); border-radius: var(--radius-sm); padding: 20px 24px; }
.mvp-h { font-weight: 700; margin: 0 0 10px; color: var(--ink) !important; }
.mvp .tags { margin: 0; }
.inline-cta { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 24px 28px; margin: 0 0 56px; display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.inline-cta p { margin: 0; color: #d4d4d4 !important; }
.inline-cta strong { color: #fff; }
.inline-cta .btn-dark { background: #fff; color: var(--ink); flex: none; }
.related-proof { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 24px; background: var(--surface); }
.related-proof p { margin: 0 0 10px; }
.sources ol { padding-left: 22px; font-size: 14px; color: var(--muted); }
.sources a { color: var(--muted); word-break: break-word; }

/* Hub */
.hub-card { padding: 32px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 32px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form .field { margin: 0 0 18px; border: 0; padding: 0; }
.form label, .form legend { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #d6d6d3; border-radius: 10px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; background: #fff; }
.pill input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.check label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.check input { margin-top: 5px; }
.req { color: #b91c1c; }
.notice { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; }
.notice p { margin: 0; }
.notice-ok { background: #ecfdf3; border: 1px solid #a7f3c4; }
.notice-err { background: #fef2f2; border: 1px solid #fecaca; }
.side-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.side-block p { font-size: 15px; }

/* Footer */
.site-footer { background: #0a0a0a; color: #d4d4d4; padding: 72px 0 24px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid #262626; }
.foot-h { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8a8a8a; margin: 0 0 14px; }
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { padding: 4px 0; }
.foot-list a { color: #e5e5e5; text-decoration: none; }
.foot-list a:hover { text-decoration: underline; }
.site-footer .muted { color: #9a9a9a; max-width: 320px; }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 20px; font-size: 13px; color: #8a8a8a; }
.foot-bottom a { color: #8a8a8a; }

/* Responsive */
@media (max-width: 1020px) {
	.cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.sol-layout { grid-template-columns: 1fr; gap: 0; }
	.toc { display: none; }
}
@media (max-width: 860px) {
	.nav { position: fixed; inset: 72px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 24px 20px; display: none; margin: 0; }
	.nav.open { display: block; }
	.nav ul { flex-direction: column; border: 0; background: none; padding: 0; }
	.nav a { font-size: 15px; padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
	.menu-toggle { display: inline-block; margin-left: auto; }
	.header-cta { display: none; }
	.hero-grid, .about-grid, .faq-wrap, .cta-inner, .contact-grid, .section-head.split, .work-grid, .cards-2 { grid-template-columns: 1fr; }
	.hero-art { display: none; }
	.cta-inner .actions { justify-content: flex-start; }
	.inline-cta { flex-direction: column; align-items: flex-start; }
	.section { padding: 64px 0; }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.cards-3, .cards-4, .steps, .footer-grid, .grid-2, .hero-facts { grid-template-columns: 1fr; }
	.card, .form-card { padding: 22px; }
	.data-table tbody th { white-space: normal; }
	.actions .btn { width: 100%; }
	.foot-bottom { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}

/* Blog posts */
.narrow { max-width: 780px; }
.post-title { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 16px; }
.post-meta { color: var(--muted); font-size: 14px; margin: 0; }
.post-meta a { color: var(--ink); }
.prose-post { padding: 8px 0 72px; font-size: 18px; }
.prose-post h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; margin: 44px 0 12px; color: var(--ink); }
.prose-post h3 { font-size: 20px; margin: 28px 0 8px; }
.prose-post ul, .prose-post ol { padding-left: 22px; color: var(--ink-2); }
.prose-post li { margin: 6px 0; }
.prose-post a { color: var(--ink); }
.prose-post table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 20px 0; display: block; overflow-x: auto; }
.prose-post th, .prose-post td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose-post th { background: var(--alt); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.prose-post .answer { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: var(--radius-sm); padding: 18px 22px; margin: 0 0 28px; color: var(--ink-2); }
.prose-post .answer strong { display: block; margin-bottom: 6px; color: var(--ink); }
.prose-post .toc { background: var(--alt); border-radius: var(--radius-sm); padding: 18px 22px; margin: 0 0 32px; font-size: 15px; }
.prose-post .toc ol { margin: 8px 0 0; }

/* Original logo (image wordmark) */
.logo img { height: 24px; width: auto; display: block; }
.site-footer .logo img { height: 28px; }
:root { --brand: #00d293; }
.pulse { background: var(--brand); box-shadow: 0 0 0 4px rgba(0,210,147,.18); }

/* ---------- Hero: "Walk through the door" ---------- */
:root { --mint: #00d293; --night: #0b0b0b; --paper: #f4f3ef; --ease-out: cubic-bezier(.16,1,.3,1); }
.btn-mint { background: var(--mint); color: #062b1f; }
.btn-mint:hover { background: #2ee3ab; }
.door { position: relative; height: 200vh; margin: 0 12px; }
.door-stage { position: sticky; top: 80px; height: calc(100vh - 92px); min-height: 560px; overflow: hidden; border-radius: 28px; background: radial-gradient(120% 90% at 50% 40%, #171717 0%, var(--night) 60%); color: var(--paper); isolation: isolate;
	--archW: clamp(220px, min(27vw, 46vh), 460px); --archH: calc(var(--archW) * 1.3); --p: 0; }
.door-meta { position: absolute; inset: 22px 28px auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #a7a7a2; z-index: 3; }
.door-brand { color: var(--paper); font-weight: 800; letter-spacing: .02em; text-transform: none; font-size: 15px; }
.door-brand em { font-style: normal; font-weight: 400; color: #a7a7a2; }
.door-services { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.door-services sup { color: var(--mint); font-size: 9px; margin-right: 5px; vertical-align: 4px; }
.door-clock { color: var(--paper); font-variant-numeric: tabular-nums; }

.door-title { position: absolute; inset: 0; margin: 0; z-index: 2; pointer-events: none; font-weight: 800; text-transform: uppercase; letter-spacing: -0.045em; line-height: .86; font-size: clamp(42px, 7.4vw, 132px); }
.door-l { position: absolute; display: block; overflow: hidden; padding: .04em 0 .08em; will-change: transform; }
.door-l .rise { display: inline-block; }
.door-l { white-space: nowrap; mix-blend-mode: difference; color: #fff; }
.door-l1 { left: 28px; top: calc(50% - var(--archH) / 2 + 4%); }
.door-l2 { right: 28px; top: calc(50% - var(--archH) / 2 + 4% + .95em); text-align: right; color: transparent; -webkit-text-stroke: 1.5px #fff; }
.door-l3 { left: 0; right: 0; text-align: center; top: calc(50% + var(--archH) / 2 - 1.05em); }
.mint-dot { display: inline-block; width: .16em; height: .16em; border-radius: 50%; background: var(--mint); margin-left: .06em; vertical-align: baseline; }

.door-arch { position: absolute; left: 50%; top: 50%; width: var(--archW); height: var(--archH); margin: calc(var(--archH) / -2) 0 0 calc(var(--archW) / -2); z-index: 1; transform-origin: 50% 58%; will-change: transform; }
.door-mask { position: absolute; inset: 0; overflow: hidden; background: #1c1c1c;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M12 130V70.2A44 44 0 1 1 88 70.2V130Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M12 130V70.2A44 44 0 1 1 88 70.2V130Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.door-mask img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - var(--p) * .18)); }
.door-tag { position: absolute; right: -4px; top: 18%; transform: translateX(100%); padding-left: 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #77776f; writing-mode: vertical-rl; opacity: max(0, calc(1 - var(--p, 0) * 6)); }

.door-foot { position: absolute; inset: auto 28px 24px; display: grid; grid-template-columns: minmax(0, 360px) 1fr auto; gap: 24px; align-items: end; z-index: 3; }
.door-lead { margin: 0; font-size: 15px; line-height: 1.55; color: #c9c9c3; }
.door-actions { display: flex; gap: 10px; justify-content: center; }
.door-cue { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #a7a7a2; text-decoration: none; }
.cue-line { width: 1px; height: 38px; background: linear-gradient(var(--mint), transparent); position: relative; overflow: hidden; }
.cue-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--paper); animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { to { top: 110%; } }

.door-caption { position: absolute; left: 50%; bottom: 12%; transform: translate(-50%, 24px); margin: 0; z-index: 4; width: min(90%, 900px); text-align: center; font-size: clamp(26px, 3.6vw, 54px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; opacity: 0; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.door-caption span:last-child { color: var(--mint); display: block; }
.door-stage::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.65) 100%); opacity: 0; transition: opacity .2s linear; }
.door.is-open .door-stage::after { opacity: 1; }

/* Entrance: pure CSS, plays on first paint, never waits for JS */
@keyframes door-rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes door-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes door-fade { from { opacity: 0; } to { opacity: 1; } }
.door-l .rise { animation: door-rise 1s var(--ease-out) backwards; }
.door-l2 .rise { animation-delay: .07s; }
.door-l3 .rise { animation-delay: .14s; }
.door-mask { animation: door-in 1.2s var(--ease-out) .1s backwards; }
.door-meta, .door-foot { animation: door-fade .6s ease .45s backwards; }
.door [data-fade] { opacity: max(0, calc(1 - var(--p, 0) * 4)); }

@media (max-width: 1020px) {
	.door-services { display: none; }
	.door-foot { grid-template-columns: 1fr auto; }
	.door-actions { justify-content: flex-start; grid-row: 2; }
	.door-cue { grid-row: 2; }
}
@media (max-width: 760px) {
	.door { height: 170vh; margin: 0 8px; }
	.door-stage { top: 68px; height: calc(100svh - 76px); min-height: 0; border-radius: 22px; padding: 16px 18px 16px; display: flex; flex-direction: column; }
	.door-meta, .door-title, .door-l, .door-arch, .door-foot { position: relative; inset: auto; left: auto; right: auto; top: auto; bottom: auto; margin: 0; }
	.door-meta { flex: none; }
	.door-place { display: none; }
	.door-title { flex: none; margin-top: 14px; font-size: min(9.2vw, 5.4svh); line-height: 1; }
	.door-l { display: block; mix-blend-mode: normal; text-align: left; }
	.door-l2 { text-align: right; }
	.door-arch { flex: none; align-self: center; width: min(64vw, calc((100svh - 76px - 330px) / 1.3)); height: auto; aspect-ratio: 100 / 130; margin: auto 0; transform-origin: 50% 55%; }
	.door-tag { display: none; }
	.door-foot { flex: none; display: block; }
	.door-lead, .door-cue { display: none; }
	.door-actions { display: flex; gap: 10px; }
	.door-actions .btn { flex: 1 1 auto; padding: 13px 12px; font-size: 12px; letter-spacing: .02em; }
	.door-caption { bottom: 14%; }
}
@media (max-width: 760px) and (max-height: 640px) {
	.door-services { display: none; }
	.door-title { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	.door { height: auto; }
	.door-stage { position: relative; top: 0; }
	.door-l .rise, .door-mask, .door-meta, .door-foot { animation: none; }
	.door-caption { display: none; }
	.cue-line::after, .btn-shine::after { animation: none; }
}


