/* lotusion.com — semantic tokens only. */

@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/Inter-400.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/Inter-500.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/Inter-600.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/Inter-700.woff2) format('woff2'); }

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: calc(var(--lx-header-h) + var(--lx-space-4)); }
body { margin: 0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv05' 1; }

.wrap { width: 100%; max-width: calc(var(--lx-container) * 0.8); margin-inline: auto;
  padding-inline: var(--lx-space-5); }
@media (max-width: 600px) { .wrap { padding-inline: var(--lx-space-4); } }

/* --- header — the motion navbar component owns the bar ------------------ */
.mark { display: block; height: 26px; width: auto; aspect-ratio: 3500 / 745; flex: none;
  color: var(--lx-text); background: currentColor;
  -webkit-mask: url(/assets/lotusion-wordmark.svg) center / contain no-repeat;
          mask: url(/assets/lotusion-wordmark.svg) center / contain no-repeat; }

.nav-soon { color: var(--lx-text-faint); cursor: default; }
.nav-soon sup { font-size: .62em; letter-spacing: .08em; text-transform: uppercase;
  margin-left: 2px; }

/* --- type -------------------------------------------------------------- */
h1, h2, h3 { margin: 0; color: var(--lx-text); font-weight: 700; }
h1 { font-size: var(--lx-text-3xl); letter-spacing: -0.028em; line-height: 1.08; max-width: 22ch; }
h2 { font-size: var(--lx-text-2xl); letter-spacing: -0.02em; line-height: 1.2; max-width: 26ch; }
h3 { font-size: var(--lx-text-lg); letter-spacing: -0.012em; line-height: 1.35; font-weight: 600; }
p { margin: 0; line-height: 1.68; color: var(--lx-text-soft); max-width: 68ch; }
.lede { font-size: var(--lx-text-lg); color: var(--lx-text); line-height: 1.55; max-width: 56ch; }
.dim { color: var(--lx-text-faint); }
.muted { color: var(--lx-text-faint); }
.eyebrow { font-size: var(--lx-text-xs); letter-spacing: .12em; text-transform: uppercase;
  color: var(--lx-text-faint); font-weight: 600; }

section { padding-block: var(--lx-space-8); }
@media (max-width: 600px) {
  section { padding-block: var(--lx-space-7); }
  .band { padding: var(--lx-space-5); }
  .hero-full { min-height: auto; padding-block: var(--lx-space-8); }
}
.stack > * + * { margin-top: var(--lx-space-4); }
.stack-lg > * + * { margin-top: var(--lx-space-6); }
.sec-head { display: grid; gap: var(--lx-space-3); }
.sec-sub { font-size: var(--lx-text-lg); color: var(--lx-text-soft); max-width: 60ch; }

/* --- hero -------------------------------------------------------------- */
.hero { padding-block: var(--lx-space-8); }
.hero-sm { padding-block: var(--lx-space-8) var(--lx-space-7); }

/* The home hero: centred, over a field that answers the pointer. */
.hero-full { position: relative; display: grid; place-items: center;
  min-height: min(86vh, 820px); padding-block: var(--lx-space-9); }

/* NOT `overflow: hidden`. The field is deliberately taller than the hero so its
   fade can finish in open air — clipping it drew a hard horizontal edge across
   the page exactly where the box ended, which is the opposite of fading. */
.hero-full .hero-field { inset: 0 0 -240px 0; }

.hero-centre { text-align: center; display: grid; justify-items: center; }
.hero-centre h1 { max-width: 16ch; }
.hero-centre .lede { max-width: 58ch; }
.hero-sm .hero-centre h1 { max-width: 22ch; }
.actions-centre { justify-content: center; }

/* The field is decoration and carries no meaning, so it is not gated on
   [data-motion] — with scripting dead it is simply a static grid. */
.hero-field { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  --lx-cell: 56px;
  background-image:
    linear-gradient(to right, var(--lx-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--lx-line) 1px, transparent 1px);
  background-size: var(--lx-cell) var(--lx-cell);
  /* Transparent by 88% of the field's own height, so the last of the grid is
     already gone before the element ends. A mask that only reaches transparent
     at 100% leaves a faint but visible edge. */
  --lx-field-fade: radial-gradient(ellipse 96% 74% at 50% 30%,
     #000 0%, rgba(0, 0, 0, 0.62) 40%, rgba(0, 0, 0, 0.22) 64%, transparent 88%);
  -webkit-mask-image: var(--lx-field-fade);
          mask-image: var(--lx-field-fade);
}

.hero-cell { position: absolute; width: var(--lx-cell); height: var(--lx-cell);
  background: var(--lx-primary-soft); opacity: 0;
  transform: translate3d(var(--lx-cell-x, 0), var(--lx-cell-y, 0), 0);
  transition: transform var(--lx-dur-fast) var(--lx-ease), opacity var(--lx-dur) var(--lx-ease); }
.hero-field[data-live='true'] .hero-cell { opacity: 1; }

/* The rotator cross-fades. Reduced motion keeps the fade — it is colour and
   opacity, which tokens.css deliberately lets through — and only the movement
   would have been cut anyway. */
.rotator { transition: opacity var(--lx-dur) var(--lx-ease); }
.rotator[data-swapping='true'] { opacity: 0; }

/* --- cards ------------------------------------------------------------- */
.cards-3, .cards-2 { display: grid; gap: var(--lx-space-4); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.cards-4 { display: grid; gap: var(--lx-space-3);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr)); }
.card { background: var(--lx-surface); border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius-lg); padding: var(--lx-space-5);
  display: grid; gap: var(--lx-space-3); align-content: start;
  transition: border-color var(--lx-dur-fast) var(--lx-ease); }
.card:hover { border-color: var(--lx-line-strong); }
.card-lg { padding: var(--lx-space-6); }
.card-sm { padding: var(--lx-space-4); }
.card h3 { max-width: none; }
.feat-n { font-size: var(--lx-text-xs); font-weight: 700; letter-spacing: .14em;
  color: var(--lx-primary-quiet); }
.card p { font-size: var(--lx-text-base); }

.ico-well { display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--lx-radius-md); background: var(--lx-primary-soft);
  color: var(--lx-primary-quiet); }
.ico { width: 20px; height: 20px; }

.avatar { display: inline-grid; place-items: center; width: 52px; height: 52px;
  border-radius: var(--lx-radius-pill); background: var(--lx-primary-soft);
  color: var(--lx-primary-quiet); font-weight: 700; letter-spacing: .04em; }
.role { color: var(--lx-text-faint); font-size: var(--lx-text-sm); }

/* --- product showcase --------------------------------------------------- */
.venture { display: grid; gap: var(--lx-space-6); align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.venture + .venture { margin-top: var(--lx-space-8); }
.venture-alt { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.venture-alt .shot { order: 1; }
.shot { display: block; border-radius: var(--lx-radius-lg); overflow: hidden;
  border: 1px solid var(--lx-line); background: var(--lx-surface-sunken);
  box-shadow: var(--lx-shadow-2); transition: border-color var(--lx-dur-fast) var(--lx-ease); }
.shot:hover { border-color: var(--lx-line-strong); }
.shot-empty { display: grid; place-items: center; aspect-ratio: 1200 / 707;
  background: repeating-linear-gradient(135deg, var(--lx-surface-sunken) 0 16px,
    var(--lx-surface) 16px 32px); }
.shot-empty span { font-size: var(--lx-text-xl); font-weight: 700; color: var(--lx-text-faint);
  letter-spacing: .04em; }

/* --- steps ------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--lx-space-4);
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.steps li { background: var(--lx-surface); border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius-lg); padding: var(--lx-space-5);
  display: grid; gap: var(--lx-space-3); align-content: start; }
.steps h3 { max-width: none; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: var(--lx-radius-pill); background: var(--lx-primary-soft);
  color: var(--lx-primary-quiet); font-weight: 700; font-size: var(--lx-text-sm); }

/* --- band -------------------------------------------------------------- */
.band { background: var(--lx-primary-soft); border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius-xl); padding: var(--lx-space-6) var(--lx-space-7);
  display: grid; grid-template-columns: 1fr auto; gap: var(--lx-space-6);
  align-items: center; }
.band-text { display: grid; gap: var(--lx-space-3); }
.band h2 { max-width: 30ch; }
.band p { max-width: 78ch; }

/* --- bits -------------------------------------------------------------- */
.pill { display: inline-flex; align-items: center; padding: 3px var(--lx-space-3);
  border-radius: var(--lx-radius-pill); font-size: var(--lx-text-xs); font-weight: 600;
  background: var(--lx-surface-raised); color: var(--lx-text-soft);
  border: 1px solid var(--lx-line); letter-spacing: .03em; vertical-align: middle; }
.pill-ok { background: var(--lx-ok-soft); color: var(--lx-ok); border-color: transparent; }

a { color: var(--lx-primary-quiet); }
.btn { display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--lx-tap); padding-inline: var(--lx-space-5);
  border-radius: var(--lx-radius-md); background: var(--lx-primary);
  color: var(--lx-primary-on); text-decoration: none; font-size: var(--lx-text-base);
  font-weight: 600; border: 1px solid transparent; white-space: nowrap;
  transition: background var(--lx-dur-fast) var(--lx-ease); }
.btn:hover { background: var(--lx-primary-hover); }
.btn-quiet { background: transparent; color: var(--lx-text); border-color: var(--lx-control-line); }
.btn-quiet:hover { background: var(--lx-surface-raised); }
.actions { display: flex; gap: var(--lx-space-3); flex-wrap: wrap; }

/* --- footer — the house signature, shared across Lotusion products ------ */
.site-foot { border-top: 1px solid var(--lx-line); padding-block: var(--lx-space-7);
  background: var(--lx-surface-sunken); margin-top: var(--lx-space-7); }
/* Three columns, and contact spans all three. Left in the auto-fit flow it
   dropped to a second row occupying one column, so the block ended a third of
   the way across and the footer read as unfinished. */
.foot-cols { display: grid; gap: var(--lx-space-6) var(--lx-space-5);
  align-items: start; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.foot-contact { grid-column: 1 / -1; }
.foot-contact ul { grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lx-space-3) var(--lx-space-5); }
@media (max-width: 760px) {
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-contact ul { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .foot-cols { grid-template-columns: 1fr; }
}
.site-foot ul { list-style: none; padding: 0; margin: var(--lx-space-4) 0 0;
  display: grid; gap: var(--lx-space-3); }
.site-foot a { color: var(--lx-text-soft); text-decoration: none; font-size: var(--lx-text-sm); }
.site-foot a:hover { color: var(--lx-text); }
.site-foot li { font-size: var(--lx-text-sm); line-height: 1.5; }
.foot-rule { height: 1px; background: var(--lx-line); margin-block: var(--lx-space-6); }
.foot-sig { color: var(--lx-text-soft); font-size: var(--lx-text-sm); }
.foot-bar { display: flex; align-items: center; gap: var(--lx-space-5);
  flex-wrap: wrap; margin-top: var(--lx-space-4); }
.fine { font-size: var(--lx-text-sm); color: var(--lx-text-faint); }

.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--lx-radius-pill);
  border: 1px solid var(--lx-control-line); background: var(--lx-surface); }
.seg button { appearance: none; border: 0; cursor: pointer; background: transparent;
  color: var(--lx-text-soft); font: inherit; font-size: var(--lx-text-sm); font-weight: 500;
  padding: var(--lx-space-2) var(--lx-space-4); border-radius: var(--lx-radius-pill);
  min-height: 34px; }
.seg button:hover { color: var(--lx-text); }
.seg button[aria-pressed='true'] { background: var(--lx-primary); color: var(--lx-primary-on);
  font-weight: 600; }

/* --- narrow ------------------------------------------------------------ */
@media (max-width: 900px) {
  .hero-grid, .hero-grid-b, .venture, .venture-alt { grid-template-columns: 1fr; }
  .venture-alt .shot { order: 0; }
  .hero .hero-media { order: -1; }
  .band { grid-template-columns: 1fr; }
  .site-nav { gap: 0; }
  .site-nav a { padding-inline: var(--lx-space-2); }
}

/* --- product shot, per theme ------------------------------------------- */
/* Vuhom ships light and dark. Showing its dark screenshot on our light page
   made it look like a product that has only one. */
.shot-img { display: block; width: 100%; height: auto; }
.shot-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .shot-light { display: none; }
  .shot-dark { display: block; }
}
html[data-theme='light'] .shot-light { display: block; }
html[data-theme='light'] .shot-dark { display: none; }
html[data-theme='dark'] .shot-light { display: none; }
html[data-theme='dark'] .shot-dark { display: block; }

/* --- founders ----------------------------------------------------------- */
.person { appearance: none; text-align: left; font: inherit; cursor: pointer;
  width: 100%; justify-items: start; }
.person .avatar { position: relative; overflow: hidden; padding: 0; }
.person .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The initials sit under the photograph, so a failed image still reads. */
.avatar-initials { position: absolute; inset: 0; display: grid; place-items: center;
  z-index: -1; }
/* The whole card opens the portrait; a separate link inside a button was a
   control inside a control. */
/* The whole card opens the portrait. A link inside a button was a control
   inside a control, and only the link looked clickable. */
.person:hover { border-color: var(--lx-primary); }
.person:focus-visible { outline: 2px solid var(--lx-primary); outline-offset: 2px; }

.portrait { position: fixed; inset: 0; z-index: var(--lx-z-modal);
  display: grid; place-items: center; padding: var(--lx-space-5); }
.portrait[hidden] { display: none; }
/* No scrim token exists in the family, and inventing one would put a literal
   in a component. Heavy glass is the nearest declared surface and it answers
   prefers-reduced-transparency without extra rules. */
.portrait-scrim { position: absolute; inset: 0; background: var(--lx-glass-heavy);
  backdrop-filter: var(--lx-blur-heavy); }
.portrait-card { position: relative; display: grid; gap: var(--lx-space-5);
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr); align-items: center;
  max-width: 620px; padding: var(--lx-space-6);
  background: var(--lx-surface-raised); border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius-xl); box-shadow: var(--lx-shadow-3); }
.portrait-img { width: 100%; height: auto; border-radius: var(--lx-radius-lg);
  display: block; }
.portrait-x { position: absolute; top: var(--lx-space-3); right: var(--lx-space-3);
  width: var(--lx-tap); height: var(--lx-tap); display: grid; place-items: center;
  background: transparent; border: 0; border-radius: var(--lx-radius-pill);
  color: var(--lx-text-soft); cursor: pointer; }
.portrait-x:hover { background: var(--lx-surface-sunken); color: var(--lx-text); }
.portrait-x svg { width: 20px; height: 20px; }
.portrait-text { display: grid; gap: var(--lx-space-2); }
@media (max-width: 620px) {
  .portrait-card { grid-template-columns: 1fr; }
}

/* --- the lotus, as a mask so 13 KB does not ship inline on every page --- */
.lotus { display: block; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: url(/assets/lotus.svg) center / contain no-repeat;
          mask: url(/assets/lotus.svg) center / contain no-repeat; }

/* --- one hero per page, not one hero five times ------------------------- */

/* About — the story. Oversized, left, with a rule the eye starts from. */
.hero-story { padding-block: var(--lx-space-9) var(--lx-space-7); }
.hero-story h1 { font-size: clamp(2.75rem, 1.6rem + 4.4vw, 4.5rem); max-width: 12ch;
  letter-spacing: -0.035em; }
.hero-story .eyebrow { padding-bottom: var(--lx-space-4);
  border-bottom: 1px solid var(--lx-line); }
.hero-story .lede { max-width: 46ch; }
@media (min-width: 900px) {
  .hero-story .stack-lg > p:not(.eyebrow):not(.lede) { max-width: 62ch; }
}

/* Startup Studio — an index. The heading sits against a hairline column rule. */
.hero-index { padding-block: var(--lx-space-8) var(--lx-space-6); }
.hero-index .wrap { border-left: 2px solid var(--lx-primary);
  padding-left: var(--lx-space-5); }
.hero-index h1 { max-width: 15ch; }

/* Build with Us — offset. The lede steps in from the heading. */
.hero-offset h1 { max-width: 17ch; }
.hero-offset .lede, .hero-offset .actions { margin-left: clamp(0px, 8vw, 132px); }
.hero-offset .lede { max-width: 44ch; }

/* Careers — quiet. Smaller, tighter, no ceremony. */
.hero-quiet { padding-block: var(--lx-space-7) var(--lx-space-6); }
.hero-quiet h1 { font-size: var(--lx-text-2xl); max-width: 24ch; }

/* Contact — centred but narrow, so the form below is the subject. */
.hero-centre-narrow { text-align: center; }
.hero-centre-narrow .wrap { max-width: 62ch; }
.hero-centre-narrow h1 { max-width: none; margin-inline: auto; }
.hero-centre-narrow .lede { margin-inline: auto; }

/* --- contact ------------------------------------------------------------ */
.contact-grid { display: grid; gap: var(--lx-space-4);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info .ci-row { display: flex; gap: var(--lx-space-4); align-items: flex-start; }
.ci-k { font-size: var(--lx-text-xs); text-transform: uppercase; letter-spacing: .12em;
  color: var(--lx-text-faint); font-weight: 600; }
.contact-info a { text-decoration: none; }

.contact-form { display: grid; gap: var(--lx-space-4);
  grid-template-columns: 1fr 1fr; margin-top: var(--lx-space-5); }
.field { display: grid; gap: var(--lx-space-2); margin: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: var(--lx-text-sm); font-weight: 600; color: var(--lx-text); }
.req { font-weight: 400; color: var(--lx-text-faint); font-size: var(--lx-text-xs); }
.field input, .field textarea { font: inherit; font-size: var(--lx-text-base);
  color: var(--lx-text); background: var(--lx-surface-sunken);
  border: 1px solid var(--lx-control-line); border-radius: var(--lx-radius-md);
  padding: var(--lx-space-3) var(--lx-space-4); min-height: var(--lx-tap);
  width: 100%; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--lx-text-faint); }
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--lx-primary); outline-offset: 2px; }
/* Validation on blur or submit, never on arrival. */
.field input[aria-invalid='true'], .field textarea[aria-invalid='true'] {
  border-color: var(--lx-danger); }
.trap { position: absolute; left: -9999px; }
.form-note { font-size: var(--lx-text-sm); min-height: 1.5em; }
.form-note[data-state='ok'] { color: var(--lx-ok); }
.form-note[data-state='err'] { color: var(--lx-danger); }
@media (max-width: 520px) { .contact-form { grid-template-columns: 1fr; } }

.band-quote { text-align: center; grid-template-columns: 1fr; }
.band-quote .band-text { justify-items: center; }
.band-quote h2 { max-width: 26ch; margin-inline: auto; }
.band-quote p { margin-inline: auto; }
