/* MakeMyAtlas — built on the Sitesfare "Prism" template.
   Soft grey studio (#e6e7e9), a warm light drifting behind the page, glass UI, Inter Tight display
   at tight tracking, brand orange for the one hot accent and product blue for the route.
   GetLayers scenes: "Atlas Floors" (hero) and "Prism Bubbles" (features). See getlayers.json. */
@font-face { font-family: "Inter Tight"; src: url(/assets/fonts/inter-tight.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #e6e7e9; --bg2: #eeeff1; --bg3: #dcdde0;
  --tx: #0e0e10; --tx2: #4a4b50; --tx3: #7c7d83; --tx4: #cdced2;
  --primary: #f26a21; --accent: #1a73e8;
  --radius: 16px; --radius-lg: 22px;
  --ff-head: "Inter Tight", "Inter", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --glass-bg: rgba(255,255,255,.52); --glass-line: rgba(255,255,255,.75);
  --ease: cubic-bezier(.2,0,0,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; font-size: 16px; overflow-x: clip; }
body { background: var(--bg); color: var(--tx); font-family: var(--ff-body); line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
.ic { display: inline-block; vertical-align: middle; flex: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 2.5rem; }
@media (max-width: 700px) { .wrap { padding: 0 1.4rem; } }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

/* the warm light behind everything */
.lm-light { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; opacity: .9; }

/* glass */
.glass { background: var(--glass-bg); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 20px 40px -28px rgba(20,20,22,.35); }

/* type */
.label { display: inline-flex; align-items: center; font: 500 .7rem/1 var(--ff-body); letter-spacing: .18em; text-transform: uppercase; color: rgba(14,14,16,.6); }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); margin-right: .6em; }
h2 { font-family: var(--ff-head); font-weight: 300; letter-spacing: -.035em; line-height: 1.04; font-size: clamp(2.2rem, 4.4vw, 3.9rem); text-wrap: balance; color: var(--tx); margin-top: 1rem; }
h3 { font-family: var(--ff-head); font-weight: 500; letter-spacing: -.02em; color: var(--tx); }
.sec-head { margin-bottom: 3.2rem; max-width: 760px; }
.sec-sub { margin-top: 1rem; font-size: 1.05rem; color: var(--tx2); max-width: 560px; line-height: 1.7; }
section { padding: 7rem 0; position: relative; }
section.tight { padding: 2rem 0 5rem; }
@media (max-width: 700px) { section { padding: 5rem 0; } }

/* buttons — Prism: black pill with a white arrow disc, and a hairline outline pill */
.btn-primary { display: inline-flex; align-items: center; gap: .9rem; padding: .55rem .55rem .55rem 1.35rem; border-radius: 999px; font-size: .92rem; font-weight: 500; background: var(--tx); color: #fff; transition: transform .2s; }
.btn-primary::after { content: "\2192"; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #fff; color: var(--tx); transition: transform .3s ease; }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:hover::after { transform: rotate(-45deg); }
.btn-outline { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: 999px; font-size: .92rem; font-weight: 500; border: 1px solid rgba(17,17,17,.22); color: var(--tx); transition: border-color .2s, background .2s; }
.btn-outline:hover { border-color: var(--tx); background: rgba(255,255,255,.5); }

/* nav */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.3rem 0; transition: padding .3s, background .3s; }
#nav.scrolled { padding: .85rem 0; background: rgba(230,231,233,.62); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.nav-inner { display: flex; align-items: center; gap: 2rem; }
.brand { font-family: var(--ff-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -.04em; display: inline-flex; align-items: center; gap: .5rem; color: var(--tx); }
.brand-pin { width: 14px; height: 18px; background: var(--primary); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18'%3E%3Cpath d='M7 0C3.1 0 0 3 0 6.8 0 11.9 7 18 7 18s7-6.1 7-11.2C14 3 10.9 0 7 0zm0 9.4A2.6 2.6 0 1 1 7 4.2a2.6 2.6 0 0 1 0 5.2z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18'%3E%3Cpath d='M7 0C3.1 0 0 3 0 6.8 0 11.9 7 18 7 18s7-6.1 7-11.2C14 3 10.9 0 7 0zm0 9.4A2.6 2.6 0 1 1 7 4.2a2.6 2.6 0 0 1 0 5.2z'/%3E%3C/svg%3E") center/contain no-repeat; }
.nav-links { display: flex; gap: 2rem; list-style: none; margin-left: 1rem; }
.nav-links a { font-size: .9rem; color: var(--tx); opacity: .72; transition: opacity .2s; }
.nav-links a:hover, .nav-links a.on { opacity: 1; }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .95rem; border-radius: 999px; font-size: .78rem; color: var(--tx2); white-space: nowrap; box-shadow: none; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 2s ease-in-out infinite; }
.status b { color: var(--tx); font-weight: 500; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.nav-cta { padding: .55rem 1.3rem; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--tx); box-shadow: none; transition: background .2s, color .2s; }
.nav-cta:hover { background: var(--tx); color: #fff; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; }
.burger span { display: block; width: 24px; height: 2px; background: var(--tx); border-radius: 2px; }
.mnav { display: none; position: fixed; inset: 0; z-index: 150; background: var(--bg); flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.mnav.open { display: flex; }
.mnav a { font-family: var(--ff-head); font-size: 1.8rem; letter-spacing: -.04em; color: var(--tx); }
.mnav-close { position: absolute; top: 1.3rem; right: 1.5rem; color: var(--tx2); }
@media (max-width: 1100px) { .status { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 860px) { .nav-links, .nav-cta { display: none; } .burger { display: flex; } }

/* hero — copy on the left, the 3D model rising out of the light on the right, a giant wordmark at the base */
#hero { min-height: 100svh; padding: 8rem 0 7rem; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
#hero > .wrap { width: 100%; }
.hero-left { position: relative; z-index: 2; max-width: 600px; }
.avail { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.5rem; font-size: .85rem; color: var(--tx2); }
.avail-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tx); animation: blink 2s ease-in-out infinite; }
.hero-name { font-family: var(--ff-head); font-weight: 600; font-size: clamp(3rem, 6.4vw, 6rem); line-height: .98; letter-spacing: -.04em; color: var(--tx); margin-bottom: 1.4rem; }
.hero-name .ln { display: block; }
.role { margin-bottom: 1.8rem; }
.role-chip { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .95rem; border-radius: 999px; font-size: .92rem; color: var(--tx); box-shadow: none; }
.role-chip .ic { color: var(--primary); }
.hero-desc { font-size: 1.05rem; color: var(--tx2); line-height: 1.8; max-width: 470px; margin-bottom: 2.3rem; }
.hero-actions { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-socials { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .84rem; font-weight: 500; color: var(--tx2); }
.hero-socials span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-socials .ic { color: var(--primary); }
.hero-scene { position: absolute; z-index: 1; right: -5vw; top: 0; bottom: 0; width: min(62vw, 980px); pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 20%, #000 74%, transparent 97%), linear-gradient(to right, transparent, #000 22%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 4%, #000 20%, #000 74%, transparent 97%), linear-gradient(to right, transparent, #000 22%); mask-composite: intersect; }
.hero-scene iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; opacity: 0; transition: opacity 1.2s ease; }
.hero-scene.is-live iframe { opacity: 1; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 60% 55%; transition: opacity 1s ease .3s; }
.hero-scene.is-live .hero-poster { opacity: 0; }
#hero::after { content: attr(data-wordmark); position: absolute; left: 50%; bottom: -.16em; transform: translateX(-50%); z-index: 3;
  font-family: var(--ff-head); font-weight: 600; font-size: clamp(5rem, 15.5vw, 16rem); letter-spacing: -.05em; line-height: 1; text-transform: uppercase; white-space: nowrap;
  color: rgba(255,255,255,.34); -webkit-text-stroke: 1px rgba(255,255,255,.2); pointer-events: none; }
@media (min-width: 921px) { .hero-scene { pointer-events: auto; } }
@media (max-width: 920px) {
  #hero { flex-direction: column; min-height: 0; padding: 7rem 0 0; }
  .hero-scene { position: relative; order: 2; right: auto; width: 100%; height: 92vw; max-height: 560px; margin-top: .5rem;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
  #hero::after { font-size: 19vw; }
}
@media (max-width: 520px) { .hero-name { font-size: clamp(2.6rem, 12.5vw, 3.6rem); } }

/* hero reveal — lines rise through a clip (descenders protected), then the rest follows */
.hero-left .ln { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero-name .ln { overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero-name .ln > span { display: inline-block; transition: transform 1s var(--ease); }
body:not(.ready) .hero-name .ln > span { transform: translateY(105%); }
body:not(.ready) .hero-left > .ln { opacity: 0; transform: translateY(14px); }
.hero-name .ln:nth-child(2) > span { transition-delay: .11s; }
.ready .hero-left > .role { transition-delay: .25s; } .ready .hero-left > .hero-desc { transition-delay: .32s; }
.ready .hero-left > .hero-actions { transition-delay: .4s; } .ready .hero-left > .hero-socials { transition-delay: .48s; }

/* about — sticky visual + story */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: start; }
.about-sticky { position: sticky; top: 7rem; }
.about-visual { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; position: relative; display: grid; place-items: center; overflow: hidden; }
.about-visual .phone { width: 52%; }
.about-caption { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; padding: .7rem 1rem; border-radius: 12px; font-size: .82rem; font-weight: 500; display: flex; align-items: center; gap: .5rem; box-shadow: none; }
.about-caption .ic { color: var(--accent); }
.about-content h2 { margin-bottom: 1.6rem; }
.about-text { font-size: 1rem; color: var(--tx2); line-height: 1.9; margin-bottom: 1.4rem; }
.about-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 2rem 0 1.4rem; font-size: .88rem; color: var(--tx2); }
.about-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.about-meta .ic { color: var(--primary); }
.about-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.atag { padding: .4rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 500; background: rgba(255,255,255,.45); border: 1px solid rgba(17,17,17,.1); color: var(--tx2); }
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; gap: 3rem; } .about-sticky { position: static; } .about-visual { aspect-ratio: auto; padding: 2rem 0 5rem; } .about-visual .phone { width: min(58%, 260px); } }

/* phone frame */
.phone { border-radius: 34px; padding: 7px; background: #0e0e10; box-shadow: 0 30px 60px -24px rgba(14,14,16,.45); }
.phone img { border-radius: 28px; width: 100%; }

/* features (Prism "skills") — chips + three glass cards, Prism Bubbles behind */
#features { overflow: hidden; isolation: isolate; }
#features > .wrap { position: relative; z-index: 1; }
.chips { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 3rem; max-width: 900px; }
.chip { display: inline-flex; align-items: center; gap: .55rem; padding: .62rem 1.2rem; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--tx);
  background: rgba(255,255,255,.5); border: 1px solid rgba(17,17,17,.14); transition: background .2s, color .2s, transform .2s; }
.chip:hover { background: var(--tx); color: #fff; transform: translateY(-2px); }
.chip span:first-child { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { border-radius: 20px; padding: 1.8rem; transition: border-color .35s, transform .35s; }
.card:hover { border-color: rgba(242,106,33,.45); transform: translateY(-3px); }
.card-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(242,106,33,.12); color: var(--primary); margin-bottom: 1.2rem; }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { font-size: .92rem; color: var(--tx2); line-height: 1.65; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }
.sf-scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity 1.6s ease;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 38%, rgba(0,0,0,.55) 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 38%, rgba(0,0,0,.55) 62%, transparent 100%); }
.sf-scene.is-live { opacity: .7; }
.sf-scene iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; }
@media (max-width: 860px) { .sf-scene.is-live { opacity: .4; } }

/* live demo */
.live { border-radius: var(--radius-lg); padding: 1rem; margin-bottom: 2rem; }
.live-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.live-tabs button { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--tx); background: rgba(255,255,255,.55); border: 1px solid rgba(17,17,17,.1); transition: background .2s, color .2s; }
.live-tabs button.on { background: var(--tx); color: #fff; border-color: var(--tx); }
.live-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #dfe1e4; }
.live-frame.tall { aspect-ratio: 16 / 8.5; }
.live-frame img { width: 100%; height: 100%; object-fit: cover; }
.live-frame .play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; background: linear-gradient(180deg, rgba(230,231,233,0), rgba(14,14,16,.14)); }
.live-frame .play span { display: inline-flex; align-items: center; gap: .9rem; padding: .55rem .55rem .55rem 1.35rem; border-radius: 999px; background: var(--tx); color: #fff; font-weight: 500; font-size: .95rem; box-shadow: 0 20px 40px -18px rgba(14,14,16,.5); }
.live-frame .play span::after { content: "\25B6"; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #fff; color: var(--tx); font-size: .7rem; }
iframe.fade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 1s ease; }
iframe.fade.ready { opacity: 1; }
.live-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .8rem; padding: 0 .3rem; font-size: .82rem; color: var(--tx3); }
@media (max-width: 700px) { .live-frame, .live-frame.tall { aspect-ratio: 4 / 5; } }

/* projects (demo venues) */
.proj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.proj { border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .35s, transform .35s; }
.proj:hover { border-color: rgba(242,106,33,.45); transform: translateY(-3px); }
.proj-img { display: block; margin: .7rem .7rem 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #dfe1e4; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj:hover .proj-img img { transform: scale(1.03); }
.proj-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.proj-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.proj-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(242,106,33,.12); color: var(--primary); text-transform: uppercase; letter-spacing: .05em; }
.tag.alt { background: rgba(26,115,232,.1); color: var(--accent); }
.proj-year { font-size: .78rem; color: var(--tx3); white-space: nowrap; }
.proj h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.proj p { font-size: .9rem; color: var(--tx2); line-height: 1.65; margin-bottom: 1.1rem; }
.proj-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.proj-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.proj-links a { font-size: .87rem; font-weight: 600; color: var(--primary); }
.proj-links a.alt { color: var(--accent); }
.proj-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.qr { width: 92px; flex: none; text-align: center; font-size: .66rem; line-height: 1.3; color: var(--tx3); }
.qr svg { width: 92px; height: 92px; display: block; border-radius: 10px; background: #fff; margin-bottom: .35rem; }
@media (max-width: 768px) { .proj-grid { grid-template-columns: 1fr; } .qr { display: none; } }

/* how it works — Prism work rows */
.work-list { display: flex; flex-direction: column; }
.work-item { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 2rem; padding: 2.2rem 1rem; margin: 0 -1rem; border-bottom: 1px solid var(--tx4); border-radius: 0; position: relative; transition: background .25s, border-radius .25s; }
.work-item:first-child { border-top: 1px solid var(--tx4); }
.work-item:hover { background: rgba(255,255,255,.45); border-radius: var(--radius); border-color: transparent; }
.work-meta { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.work-num { font-size: .75rem; font-weight: 600; color: var(--tx3); letter-spacing: .1em; }
.work-cat { padding: .25rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; background: rgba(242,106,33,.12); color: var(--primary); border: 1px solid rgba(242,106,33,.2); }
.work-title { font-size: 1.5rem; margin-bottom: .3rem; }
.work-client { font-size: .92rem; color: var(--tx2); line-height: 1.6; }
.work-year { font-size: .86rem; color: var(--tx3); text-align: right; }
@media (max-width: 920px) { .work-item { grid-template-columns: auto 1fr; } .work-year { display: none; } }

/* positioning — Prism experience grid */
.exp-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6rem; }
.exp-sticky { position: sticky; top: 7rem; align-self: start; }
.exp-list { display: flex; flex-direction: column; gap: 2.6rem; }
.exp-item { padding-bottom: 2.6rem; border-bottom: 1px solid var(--tx4); }
.exp-item:last-child { border-bottom: 0; }
.exp-date { font-size: .76rem; font-weight: 700; color: var(--primary); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .55rem; }
.exp-role { font-size: 1.35rem; margin-bottom: .25rem; }
.exp-company { font-size: .92rem; font-weight: 500; color: var(--accent); margin-bottom: .7rem; }
.exp-desc { font-size: .96rem; color: var(--tx2); line-height: 1.8; }
@media (max-width: 920px) { .exp-grid { grid-template-columns: 1fr; gap: 2.5rem; } .exp-sticky { position: static; } }

/* embed */
.edu-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.5rem; align-items: stretch; }
.edu-title { font-size: 1.7rem; line-height: 1.15; margin: 1rem 0 .8rem; }
.code { background: #0e0e10; color: #d9dbe0; border-radius: 20px; padding: 1.6rem; font: .82rem/1.8 var(--ff-mono); white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 30px 60px -30px rgba(14,14,16,.5); }
.code .k { color: #ffb38a; } .code .s { color: #a5d6a7; } .code .c { color: #7c7d83; }
@media (max-width: 860px) { .edu-grid { grid-template-columns: 1fr; } }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.faq { border-radius: 18px; padding: 1.3rem 1.5rem; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-family: var(--ff-head); font-weight: 500; font-size: 1.05rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; color: var(--primary); transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: .8rem; font-size: .93rem; color: var(--tx2); line-height: 1.7; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contact-large { font-family: var(--ff-head); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -.04em; line-height: 1.04; margin: 1rem 0 0; }
.contact-large em { font-style: normal; color: var(--primary); }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.6rem; }
.contact-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.55); border: 1px solid var(--glass-line); color: var(--primary); flex: none; }
.contact-label { font-size: .7rem; font-weight: 700; color: var(--tx3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .15rem; }
.contact-value { font-size: .97rem; font-weight: 500; color: var(--tx); }
.contact-value:hover { color: var(--primary); }
.contact-form { border-radius: 22px; padding: 1.8rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; font-size: .74rem; font-weight: 600; color: var(--tx2); letter-spacing: .06em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--glass-line); background: rgba(255,255,255,.6); color: var(--tx); font: 400 .95rem var(--ff-body); text-transform: none; letter-spacing: 0; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(242,106,33,.6); box-shadow: 0 0 0 3px rgba(242,106,33,.1); }
.field textarea { min-height: 120px; resize: vertical; }
.submit { padding: .95rem 2rem; border-radius: 999px; background: var(--tx); color: #fff; font-weight: 600; font-size: .95rem; transition: background .2s; }
.submit:hover { background: var(--primary); }
.note { font-size: .78rem; color: var(--tx3); }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }
@media (max-width: 560px) { .contact-form .row { grid-template-columns: 1fr; } }

/* demos page + misc */
.page-head { padding: 10rem 0 2.5rem; }
.page-title { font-family: var(--ff-head); font-weight: 600; font-size: clamp(2.6rem, 5.5vw, 4.8rem); letter-spacing: -.045em; line-height: 1; margin-top: 1.1rem; }
.cta { border-radius: 24px; padding: 3rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.cta .hero-actions { margin: 0; }
.legal { padding-top: 10rem; padding-bottom: 6rem; max-width: 800px; }
.legal h2 { font-size: 1.5rem; font-weight: 500; margin: 2.2rem 0 .6rem; }
.legal p { color: var(--tx2); line-height: 1.8; }
.legal a { color: var(--primary); }

/* footer */
#footer { border-top: 1px solid var(--glass-line); padding: 4rem 0 2rem; }
.foot { display: grid; grid-template-columns: 1.2fr 2fr; gap: 3rem; }
.foot-brand p { margin-top: 1rem; max-width: 340px; font-size: .9rem; color: var(--tx2); line-height: 1.7; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.foot-cols h4 { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); margin-bottom: .9rem; }
.foot-cols a { display: block; font-size: .9rem; color: var(--tx2); margin: .45rem 0; transition: color .2s; }
.foot-cols a:hover { color: var(--primary); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(17,17,17,.08); font-size: .82rem; color: var(--tx3); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .foot-cols { grid-template-columns: 1fr 1fr; } }

/* below-the-fold reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-left .ln, .hero-name .ln > span { transition: none !important; opacity: 1 !important; transform: none !important; }
  .status i, .avail-dot { animation: none; }
}

/* ── integration guide (/guide) ─────────────────────────────────────── */
.ghero { padding: 9rem 0 1.5rem; }
.gtrack { display: inline-flex; gap: .4rem; margin-top: 2rem; padding: .35rem; border-radius: 999px; background: rgba(255,255,255,.5); border: 1px solid var(--glass-line); }
.gtrack button { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--tx2); }
.gtrack button small { font-size: .74rem; color: var(--tx3); font-weight: 400; }
.gtrack button.on { background: var(--tx); color: #fff; } .gtrack button.on small { color: rgba(255,255,255,.65); }
.gprog { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; font-size: .85rem; color: var(--tx2); flex-wrap: wrap; }
.gbar { width: min(320px, 60vw); height: 6px; border-radius: 99px; background: rgba(17,17,17,.08); overflow: hidden; }
.gbar i { display: block; height: 100%; width: 0; background: var(--primary); border-radius: 99px; transition: width .5s var(--ease); }
.gprog button { font-size: .8rem; color: var(--tx3); text-decoration: underline; text-underline-offset: 3px; }
.glayout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 3rem; align-items: start; }
.gside { position: sticky; top: 6rem; }
.gside-in { max-height: calc(100vh - 8rem); overflow: auto; padding-right: .3rem; }
.grail { list-style: none; display: flex; flex-direction: column; gap: .15rem; }
.grail[hidden], .gstep[hidden] { display: none; }
.grail a { display: flex; gap: .65rem; align-items: center; padding: .48rem .7rem; border-radius: 12px; font-size: .86rem; color: var(--tx2); line-height: 1.3; transition: background .2s, color .2s; }
.grail a:hover { background: rgba(255,255,255,.5); color: var(--tx); }
.grail a.cur { background: rgba(255,255,255,.75); color: var(--tx); font-weight: 500; }
.rn { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 600; background: rgba(17,17,17,.07); color: var(--tx2); }
.grail a.done .rn { background: var(--primary); color: #fff; font-size: 0; }
.grail a.done .rn::before { content: "\2713"; font-size: .72rem; }
.gside-cta { display: flex; align-items: center; gap: .5rem; margin-top: 1.2rem; padding: .7rem .9rem; border-radius: 12px; font-size: .86rem; font-weight: 600; color: var(--primary); background: rgba(242,106,33,.08); }
.gmain { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.gstep { background: var(--glass-bg); border: 1px solid var(--glass-line); border-radius: 22px; padding: 1.8rem 2rem 2rem; scroll-margin-top: 6rem;
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 20px 40px -32px rgba(20,20,22,.35); }
.gstep header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.gnum { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tx); color: #fff; font: 600 1rem var(--ff-head); }
.gstep header > div { flex: 1; min-width: 0; }
.gstep h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 500; letter-spacing: -.03em; margin: 0; line-height: 1.15; }
.gtime { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; color: var(--tx3); margin-top: .2rem; }
.gdone { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 500; border: 1px solid rgba(17,17,17,.16); color: var(--tx2); transition: background .2s, color .2s, border-color .2s; }
.gdone:hover { border-color: var(--tx); color: var(--tx); }
.gdone.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.gbody { font-size: .98rem; color: var(--tx2); line-height: 1.75; }
.gbody > * + * { margin-top: 1rem; }
.gbody b { color: var(--tx); font-weight: 600; }
.gbody a { color: var(--primary); font-weight: 500; }
.gbody ol, .gbody ul.keys { padding-left: 1.3rem; } .gbody ol li, .gbody ul.keys li { margin: .3rem 0; }
.gbody code { font: .86em var(--ff-mono); background: rgba(17,17,17,.06); padding: .1em .38em; border-radius: 6px; color: var(--tx); }
kbd { font: 600 .78em var(--ff-mono); padding: .12em .45em; border-radius: 6px; background: #fff; border: 1px solid rgba(17,17,17,.15); border-bottom-width: 2px; color: var(--tx); }
.need { list-style: none; display: grid; gap: .7rem; }
.need li { display: flex; gap: .7rem; align-items: flex-start; }
.need .ic { color: var(--primary); margin-top: .3rem; }
.gfig { margin: 1.3rem 0 0; }
.gfig img { width: 100%; border-radius: 14px; border: 1px solid rgba(17,17,17,.08); background: #fff; box-shadow: 0 18px 36px -24px rgba(14,14,16,.45); }
.gfig figcaption { font-size: .82rem; color: var(--tx3); margin-top: .55rem; }
.gplay { position: relative; display: block; width: 100%; padding: 0; text-align: left; cursor: pointer; }
.gbadge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem; border-radius: 999px; background: var(--tx); color: #fff; font-size: .88rem; font-weight: 500; box-shadow: 0 16px 30px -14px rgba(14,14,16,.6); transition: opacity .25s, transform .25s; }
.gplay:hover .gbadge { transform: translate(-50%, -50%) scale(1.04); }
.gplay.playing .gbadge { left: auto; top: auto; right: .8rem; bottom: .8rem; transform: none; padding: .45rem .8rem; font-size: .76rem; background: rgba(14,14,16,.78); }
.gplay video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 14px; background: #fff; display: none; }
.gplay.playing video { display: block; }
.gzoom { display: block; cursor: zoom-in; }
.callout { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: 14px; font-size: .9rem; line-height: 1.6; background: rgba(26,115,232,.07); border: 1px solid rgba(26,115,232,.18); color: var(--tx2); }
.callout .ic { color: var(--accent); margin-top: .2rem; }
.callout.warn { background: rgba(242,106,33,.08); border-color: rgba(242,106,33,.25); } .callout.warn .ic { color: var(--primary); }
.gcode { position: relative; }
.gcode pre { background: #0e0e10; color: #e4e5e8; border-radius: 14px; padding: 1.1rem 1.2rem; font: .8rem/1.75 var(--ff-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.gcode pre b { color: #ffb38a; font-weight: 500; }
.copy { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.gcode .copy { position: absolute; top: .6rem; right: .6rem; }
.copy.ok { background: var(--primary); border-color: var(--primary); }
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.tabs button { padding: .45rem .95rem; border-radius: 999px; font-size: .84rem; font-weight: 500; color: var(--tx2); background: rgba(255,255,255,.55); border: 1px solid rgba(17,17,17,.1); }
.tabs button.on { background: var(--tx); color: #fff; border-color: var(--tx); }
.pane { display: none; } .pane.on { display: block; }
.dl-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .7rem; }
.dl { display: flex; gap: .7rem; align-items: center; padding: .8rem 1rem; border-radius: 14px; background: rgba(255,255,255,.6); border: 1px solid var(--glass-line); color: var(--tx) !important; transition: border-color .2s; }
.dl:hover { border-color: rgba(242,106,33,.5); }
.dl .ic { color: var(--primary); } .dl b { display: block; font-size: .88rem; } .dl small { display: block; font-size: .74rem; color: var(--tx3); font-weight: 400; }
.flow { display: flex; align-items: stretch; gap: .5rem; flex-wrap: wrap; }
.flow > div { flex: 1 1 140px; padding: .9rem 1rem; border-radius: 14px; background: rgba(255,255,255,.6); border: 1px solid var(--glass-line); }
.flow > div.hl { background: var(--tx); color: #fff; } .flow > div.hl b { color: #fff; } .flow > div.hl small { color: rgba(255,255,255,.65); }
.flow b { display: block; font-size: .92rem; } .flow small { display: block; font-size: .76rem; color: var(--tx3); line-height: 1.4; margin-top: .2rem; }
.flow > span { align-self: center; color: var(--primary); font-weight: 600; }
.gtable { width: 100%; border-collapse: collapse; font-size: .86rem; }
.gtable th { text-align: left; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tx3); font-weight: 600; padding: .5rem .6rem; border-bottom: 1px solid var(--tx4); }
.gtable td { padding: .6rem; border-bottom: 1px solid rgba(17,17,17,.07); vertical-align: top; }
.builder { border-radius: 18px; padding: 1.2rem; }
.b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.b-grid label { display: flex; flex-direction: column; gap: .3rem; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tx3); }
.b-grid label[hidden] { display: none; }
.b-grid select { padding: .6rem .7rem; border-radius: 10px; border: 1px solid var(--glass-line); background: rgba(255,255,255,.75); font: .9rem var(--ff-body); color: var(--tx); text-transform: none; letter-spacing: 0; }
.b-checks { display: flex; gap: 1.2rem; flex-wrap: wrap; margin: .9rem 0; font-size: .88rem; color: var(--tx2); }
.b-checks input { accent-color: var(--primary); margin-right: .35rem; }
.b-out { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; padding: .7rem; border-radius: 12px; background: #0e0e10; }
.b-out code { flex: 1 1 260px; color: #ffb38a !important; background: none !important; font-size: .78rem !important; overflow-wrap: anywhere; }
.btn-primary.small, .btn-outline.small { font-size: .8rem; padding: .4rem .4rem .4rem 1rem; }
.btn-outline.small { padding: .5rem .9rem; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-primary.small { background: var(--primary); } .btn-primary.small::after { width: 1.6rem; height: 1.6rem; }
.b-frame { margin-top: .9rem; height: 520px; border-radius: 14px; overflow: hidden; background: #dfe1e4; }
.b-frame iframe { width: 100%; height: 100%; border: 0; }
.gstamp { font-size: .8rem; color: var(--tx3); text-align: center; padding: 1rem 0 0; }
@media (max-width: 1000px) {
  .glayout { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .gside { position: sticky; top: 4.2rem; z-index: 20; margin: 0 -1.4rem; padding: .5rem 1.4rem; background: rgba(230,231,233,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .gside-in { max-height: none; overflow-x: auto; overflow-y: hidden; }
  .grail { flex-direction: row; gap: .3rem; width: max-content; }
  .grail a { white-space: nowrap; padding: .4rem .65rem; font-size: .8rem; }
  .gside-cta { display: none; }
}
@media (max-width: 640px) {
  .gstep { padding: 1.3rem 1.1rem 1.5rem; border-radius: 18px; }
  .gstep header { flex-wrap: wrap; } .gstep header > div { flex: 1 1 calc(100% - 56px); } .gdone { margin-left: 56px; padding: .4rem .8rem; font-size: .78rem; }
  .b-grid { grid-template-columns: 1fr 1fr; }
  .gtrack button small { display: none; }
}
