/* ——— fonts (self-hosted, latin subset, variable weight) ——— */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 400; font-display: swap; src: url('assets/fonts/jost.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 500; font-stretch: 100%; font-display: swap; src: url('assets/fonts/instrument-sans.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/ibm-plex-mono-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ——— base ——— */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #faf8f5; color: #151210; font-family: 'Instrument Sans', sans-serif; }
a { color: #151210; text-decoration: none; transition: color 160ms cubic-bezier(.32,.72,0,1); }
a:hover { color: #0b7a7e; }
::selection { background: rgba(24,210,216,.28); }
:focus-visible { outline: 2px solid #0b7a7e; outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }

/* accessible accent text (brand hues, darkened to ≥4.5:1) */
/* decorative rules/borders keep the full-saturation brand colors */

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 20; background: #151210; color: #ffffff; padding: 10px 18px; border-radius: 0 0 10px 0; font-size: 14px; }
.skip-link:focus { left: 0; color: #ffffff; }

.page { position: relative; z-index: 1; }
.wrap { max-width: 1320px; margin: 0 auto; }

/* readability veil over the network: heaviest under the text column on the left,
   easing right so the filaments stay vivid where nothing has to be read */
.veil { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg,
    rgba(250,248,245,.94) 0%,
    rgba(250,248,245,.90) 30%,
    rgba(250,248,245,.70) 56%,
    rgba(250,248,245,.44) 78%,
    rgba(250,248,245,.34) 100%); }
/* single-column layout: text spans the full width, so the veil has to be even */
@media (max-width: 900px) { .veil { background: rgba(250,248,245,.82); } }

/* ——— type helpers ——— */
.mono { font-family: 'IBM Plex Mono', monospace; }
.eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #0b7a7e; margin-bottom: 24px; }
.display { font-family: Jost, sans-serif; font-weight: 300; letter-spacing: -0.02em; margin: 0; }

/* ——— nav ——— */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: 72px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid rgba(21,18,16,.08); }
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-brand img { height: 40px; width: 40px; object-fit: contain; }
.nav-brand span { font-family: Jost, sans-serif; font-weight: 300; font-size: 15px; letter-spacing: .32em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 13.5px; letter-spacing: .02em; }
.nav-links > a:not(.btn-pill) { color: rgba(21,18,16,.72); padding: 10px 0; }
.nav-links > a:not(.btn-pill):hover { color: #0b7a7e; }

/* ——— buttons ——— */
.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 30px; border-radius: 999px; background: #e0135c; color: #ffffff; font-size: 14.5px; font-weight: 500; box-shadow: 0 8px 30px rgba(224,19,92,.32); transition: background 160ms cubic-bezier(.32,.72,0,1); }
.btn:hover { background: #c90e51; color: #ffffff; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid rgba(21,18,16,.25); color: #151210; font-size: 14.5px; transition: border-color 160ms cubic-bezier(.32,.72,0,1), color 160ms cubic-bezier(.32,.72,0,1); }
.btn-ghost:hover { border-color: #0b7a7e; color: #0b7a7e; }
.btn-pill { display: inline-flex; align-items: center; white-space: nowrap; height: 38px; padding: 0 22px; border-radius: 999px; background: #151210; color: #ffffff; font-size: 13.5px; font-weight: 500; transition: background 160ms cubic-bezier(.32,.72,0,1); }
.btn-pill:hover { background: #c90e51; color: #ffffff; }

/* ——— sections ——— */
.section { padding: 150px 64px; border-top: 1px solid rgba(21,18,16,.08); }
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; padding: 160px 64px 80px; }
.hero h1 { font-family: Jost, sans-serif; font-weight: 300; font-size: clamp(56px, 8.4vw, 138px); line-height: 1.02; letter-spacing: -0.025em; margin: 0; max-width: 12ch; color: #151210; }
.hero .lede { font-size: 17px; line-height: 1.62; color: rgba(21,18,16,.64); max-width: 480px; margin: 36px 0 0; }
.hero-cta { display: flex; align-items: center; gap: 16px; margin-top: 44px; flex-wrap: wrap; }
.scroll-hint { margin-top: 96px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(21,18,16,.6); }

.h2 { font-family: Jost, sans-serif; font-weight: 300; font-size: clamp(40px, 5vw, 72px); line-height: 1.06; letter-spacing: -0.02em; margin: 0; }
.statement { font-family: Jost, sans-serif; font-weight: 300; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.28; letter-spacing: -0.01em; max-width: 21ch; margin: 0; text-wrap: pretty; }
.sub { font-size: 16px; line-height: 1.62; color: rgba(21,18,16,.64); max-width: 520px; margin: 28px 0 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(21,18,16,.08); border: 1px solid rgba(21,18,16,.08); border-radius: 16px; overflow: hidden; margin-top: 88px; }
.stat { background: #ffffff; padding: 36px 32px; }
.stat b { font-family: 'IBM Plex Mono', monospace; font-size: 30px; font-weight: 400; color: #151210; display: block; }
.stat span { font-size: 14px; line-height: 1.62; color: rgba(21,18,16,.6); margin-top: 10px; display: block; }

/* platform steps */
.rule-gradient { height: 3px; background: linear-gradient(90deg, #18d2d8, #f81868, #f8880f); border-radius: 3px; margin: 72px 0 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; margin-top: 48px; }
.step .num { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: rgba(21,18,16,.6); }
.step h3 { font-family: Jost, sans-serif; font-weight: 400; font-size: 24px; letter-spacing: -0.01em; margin: 14px 0 10px; }
.step p { font-size: 14.5px; line-height: 1.62; color: rgba(21,18,16,.6); margin: 0; }

/* products */
.portfolio-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 72px; }
.portfolio-head .aside { font-size: 15px; line-height: 1.62; color: rgba(21,18,16,.6); max-width: 380px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { border: 1px solid rgba(21,18,16,.1); border-radius: 16px; padding: 28px; background: #ffffff; transition: transform 160ms cubic-bezier(.32,.72,0,1), box-shadow 160ms cubic-bezier(.32,.72,0,1); }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(21,18,16,.12); }
.card.t-teal { border-top: 3px solid #18d2d8; }
.card.t-pink { border-top: 3px solid #f81868; }
.card.t-orange { border-top: 3px solid #f8880f; }
.card .tag { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(21,18,16,.6); }
.card h3 { font-family: Jost, sans-serif; font-weight: 400; font-size: 23px; letter-spacing: -0.01em; margin: 16px 0 10px; }
.card p { font-size: 14.5px; line-height: 1.62; color: rgba(21,18,16,.6); margin: 0; }

/* two-column feature sections */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 96px; }
.list { display: flex; flex-direction: column; }
.list.centered { justify-content: center; }
.list-item { display: flex; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(21,18,16,.1); }
.list-item .num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; }
.list-item .num.teal { color: #0b7a7e; }
.list-item .num.pink { color: #d10f55; }
.list-item span:last-child { font-size: 15.5px; line-height: 1.5; color: rgba(21,18,16,.8); }
.statement-lg { font-family: Jost, sans-serif; font-weight: 300; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.3; letter-spacing: -0.01em; margin: 0; text-wrap: pretty; }

/* sukshma */
.sukshma { background: #ffffff; }
.sukshma .eyebrow { color: #b06008; }
.sukshma h2 { font-family: Jost, sans-serif; font-weight: 300; font-size: clamp(48px, 6.4vw, 104px); line-height: 1; letter-spacing: -0.02em; margin: 0; }
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 80px; }
.layer { border-top: 1px solid rgba(21,18,16,.14); padding-top: 24px; }
.layer h3 { font-family: Jost, sans-serif; font-weight: 400; font-size: 22px; letter-spacing: -0.01em; margin: 0 0 10px; }
.layer p { font-size: 14.5px; line-height: 1.62; color: rgba(21,18,16,.6); margin: 0; }
.roadmap-label { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(21,18,16,.6); margin-bottom: 36px; }
.devices { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.device { border: 1px solid rgba(21,18,16,.1); border-radius: 16px; padding: 28px; background: #faf8f5; }
.device .num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #b06008; }
.device h3 { font-family: Jost, sans-serif; font-weight: 400; font-size: 21px; margin: 14px 0 10px; }
.device p { font-size: 14px; line-height: 1.62; color: rgba(21,18,16,.6); margin: 0; }
.research-note { font-size: 14px; color: rgba(21,18,16,.6); margin: 32px 0 0; font-family: 'IBM Plex Mono', monospace; }

/* road ahead */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 48px; }
.phase { padding-top: 24px; }
.phase.t-teal { border-top: 3px solid #18d2d8; }
.phase.t-pink { border-top: 3px solid #f81868; }
.phase.t-orange { border-top: 3px solid #f8880f; }
.phase .term { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(21,18,16,.6); }
.phase p { font-size: 15.5px; line-height: 1.62; color: rgba(21,18,16,.78); margin: 16px 0 0; }
.closing { font-family: Jost, sans-serif; font-weight: 300; font-size: clamp(26px, 3vw, 40px); line-height: 1.3; letter-spacing: -0.01em; max-width: 24ch; margin: 96px 0 0; text-wrap: pretty; }

/* footer */
.footer { padding: 150px 64px 64px; border-top: 1px solid rgba(21,18,16,.08); text-align: center; }
.footer img { height: 180px; width: 180px; object-fit: contain; margin: 0 auto; display: block; }
.footer h2 { font-family: Jost, sans-serif; font-weight: 300; font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.015em; margin: 56px 0 0; }
.footer .btn { margin-top: 40px; }
.footer-meta { display: flex; justify-content: center; gap: 12px; margin-top: 96px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .12em; color: rgba(21,18,16,.6); flex-wrap: wrap; }

/* ——— responsive ——— */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-links { gap: 20px; }
  .nav-links > a:not(.btn-pill) { display: none; }
  .hero, .section { padding-left: 24px; padding-right: 24px; }
  .section { padding-top: 96px; padding-bottom: 96px; }
  .hero { padding-top: 128px; }
  .stats, .steps, .layers, .phases { grid-template-columns: 1fr; gap: 32px; }
  .stats { gap: 1px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .footer { padding: 96px 24px 48px; }
  .footer img { height: 120px; width: 120px; }
}

/* ——— imagery (photos sourced from the Soma Technologies deck) ——— */
.figure { border-radius: 16px; overflow: hidden; display: block; }
.figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

.who-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.side-img { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.side-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-img { border-radius: 16px; overflow: hidden; aspect-ratio: 21/8; margin-top: 88px; }
.banner-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.list-img { border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; margin-bottom: 28px; }
.list-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ——— clickable product cards ——— */
a.card { display: block; color: #151210; overflow: hidden; }
a.card:hover { color: #151210; }
.card-thumb { margin: -28px -28px 22px; aspect-ratio: 3/2; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 420ms cubic-bezier(.32,.72,0,1); }
a.card:hover .card-thumb img { transform: scale(1.04); }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .08em; color: #0b7a7e; }
@media (prefers-reduced-motion: reduce) { .card-thumb img, a.card:hover .card-thumb img { transition: none; transform: none; } }

/* ——— application explainer pages ——— */
.page-hero { padding: 168px 64px 0; }
.page-hero .kicker { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #0b7a7e; margin-bottom: 24px; }
.page-hero h1 { font-family: Jost, sans-serif; font-weight: 300; font-size: clamp(44px, 6vw, 92px); line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
.standfirst { font-family: Jost, sans-serif; font-weight: 300; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.34; letter-spacing: -0.01em; color: rgba(21,18,16,.78); max-width: 34ch; margin: 32px 0 0; text-wrap: pretty; }
.hero-figure { border-radius: 16px; overflow: hidden; aspect-ratio: 21/9; margin-top: 72px; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 72px; }
.trio > div { border-top: 1px solid rgba(21,18,16,.14); padding-top: 22px; }
.trio h3 { font-family: Jost, sans-serif; font-weight: 400; font-size: 21px; letter-spacing: -0.01em; margin: 0 0 10px; }
.trio p { font-size: 14.5px; line-height: 1.62; color: rgba(21,18,16,.6); margin: 0; }
.quartet { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 56px; }
.more-apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 48px; }
@media (max-width: 900px) {
  .who-grid { grid-template-columns: 1fr; gap: 40px; }
  .trio { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: 128px 24px 0; }
  .banner-img { aspect-ratio: 16/9; }
  .hero-figure { aspect-ratio: 16/10; }
}
.quartet .device { background: #ffffff; }
a.device { display: block; color: #151210; }
a.device:hover { color: #151210; box-shadow: 0 12px 32px rgba(21,18,16,.12); transform: translateY(-2px); transition: transform 160ms cubic-bezier(.32,.72,0,1), box-shadow 160ms cubic-bezier(.32,.72,0,1); }
