/* Theme: mattkrebs. Built-in styles for the one-page homepage. */
.s { --k: #000; --w: #F5F5F7; --m: #A1A1A6; --m2: #86868B; --blue: #2997FF; background: #000; color: var(--w); font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.s a { color: inherit; text-decoration: none; }
.s a:hover { color: inherit; }

/* nav */
.s-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1120px) / 2)); height: 56px; background: rgba(0,0,0,.6); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255,255,255,.08); }
.s-logo { display: flex; align-items: center; min-height: 44px; }
.s-logo img { height: 22px; width: auto; }
.s-nav nav { display: flex; align-items: center; gap: 4px; font-size: 13px; }
.s-nav nav a { padding: 12px; color: #D2D2D7; transition: color .2s; }
.s-nav nav a:hover { color: #fff; }
.s-nav .s-pill { margin-left: 6px; padding: 7px 14px; border-radius: 999px; background: #F5F5F7; color: #000; font-weight: 500; }
.s-nav .s-pill:hover { color: #000; background: #fff; }

/* hero */
.s-hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 80px; overflow: hidden; }
.s-glow { position: absolute; inset: -20%; background: radial-gradient(40% 35% at 70% 20%, rgba(41,151,255,.28), transparent 70%), radial-gradient(35% 30% at 25% 75%, rgba(94,92,230,.22), transparent 70%); filter: blur(20px); animation: s-drift 18s ease-in-out infinite alternate; }
@keyframes s-drift { to { transform: translate3d(-4%, 3%, 0) scale(1.06); } }
.s-hero-in { position: relative; max-width: 980px; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.s-sig { width: min(380px, 70vw); clip-path: inset(0 100% 0 0); animation: s-write 2.2s cubic-bezier(.65,0,.35,1) .25s forwards; }
.s-sig img { width: 100%; height: auto; display: block; }
@keyframes s-write { to { clip-path: inset(0 0 0 0); } }
.s-h1 { margin: 0; font-size: clamp(52px, 10vw, 128px); line-height: .98; font-weight: 700; letter-spacing: -.05em; opacity: 0; animation: s-up 1s cubic-bezier(.2,.8,.2,1) 1.6s forwards; }
.s-grad { background: linear-gradient(180deg, #FFFFFF 30%, #8E8E93 115%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s-lede { margin: 0; max-width: 640px; font-size: clamp(19px, 2.1vw, 24px); line-height: 1.4; color: var(--m); letter-spacing: -.012em; }
.s-hero .s-lede, .s-hero .s-cta { opacity: 0; animation: s-up 1s cubic-bezier(.2,.8,.2,1) 1.9s forwards; }
.s-hero .s-cta { animation-delay: 2.1s; }
@keyframes s-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.s-cta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }
.s-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: #0071E3; color: #fff !important; font: 500 17px var(--font, inherit); cursor: pointer; transition: transform .15s, background .2s; }
.s-btn:hover { background: #0077ED; }
.s-btn:active { transform: scale(.97); }
.s-btn:disabled { opacity: .6; cursor: progress; }
.s-btn-light { background: #F5F5F7; color: #1D1D1F !important; }
.s-btn-light:hover { background: #fff; }
.s-link { color: var(--blue) !important; font-size: 17px; }
.s-link:hover { text-decoration: underline; }
.s-scroll { position: absolute; bottom: 28px; left: 50%; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 14px; opacity: 0; animation: s-up 1s ease 2.6s forwards; }
.s-scroll span { position: absolute; top: 8px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: rgba(255,255,255,.7); animation: s-wheel 1.8s ease-in-out infinite; }
@keyframes s-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* statement */
.s-statement { padding: 18vh 24px; text-align: center; }
.s-statement p { margin: 0 auto; max-width: 1000px; font-size: clamp(40px, 6.5vw, 84px); line-height: 1.04; font-weight: 700; letter-spacing: -.045em; }
.s-statement span { color: #6E6E73; }

/* sections */
.s-sec { max-width: 1120px; margin: 0 auto; padding: 120px 24px; }
.s-head { margin-bottom: 56px; }
.s-eyebrow { font-size: 17px; font-weight: 600; color: var(--blue); margin-bottom: 14px; letter-spacing: -.01em; }
.s-h2 { margin: 0; font-size: clamp(44px, 6.5vw, 80px); line-height: 1.02; font-weight: 700; letter-spacing: -.045em; }
.s-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.s-card { background: #111113; border: 1px solid rgba(255,255,255,.07); border-radius: 28px; padding: 32px; min-height: 300px; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s; }
.s-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.16); background: #151518; }
.s-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.s-ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(41,151,255,.14); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.s-num { font-size: 14px; font-weight: 600; color: #48484A; font-variant-numeric: tabular-nums; }
.s-card h3 { margin: 48px 0 10px; font-size: 28px; font-weight: 700; letter-spacing: -.025em; }
.s-card p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--m); }

/* ventures */
.s-ventures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.s-venture { border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; min-height: 560px; }
.s-v-logo { flex: 1; display: flex; align-items: center; justify-content: center; padding: 56px 40px 24px; }
.s-v-logo img { max-width: min(320px, 75%); max-height: 150px; object-fit: contain; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.s-venture:hover .s-v-logo img { transform: scale(1.04); }
.s-v-body { padding: 0 40px 40px; }
.s-v-body h3 { margin: 0 0 12px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; font-weight: 700; letter-spacing: -.025em; }
.s-v-body p { margin: 0 0 24px; font-size: 17px; line-height: 1.5; }
.s-v-body .s-cta { justify-content: flex-start; }
.s-jet { background: radial-gradient(120% 80% at 50% 0%, #FFFFFF 0%, #EEF1FF 60%, #DDE3FF 100%); color: #1D1D1F; }
.s-jet p { color: #424245; }
.s-jet .s-link { color: #0066CC !important; }
.s-bud { background: radial-gradient(120% 80% at 50% 0%, #FFFBF2 0%, #FFF3DC 70%, #FFE6BE 100%); color: #1D1D1F; }
.s-bud p { color: #6E5A3A; }

/* contact */
.s-contact { background: linear-gradient(180deg, #000 0%, #0B0B0F 100%); border-top: 1px solid rgba(255,255,255,.06); }
.s-contact-in { max-width: 1120px; margin: 0 auto; padding: 120px 24px 140px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: start; }
.s-form { display: flex; flex-direction: column; gap: 16px; background: #111113; border: 1px solid rgba(255,255,255,.08); border-radius: 28px; padding: 32px; }
.s-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.s-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 500; color: var(--m2); }
.s-form input, .s-form textarea { width: 100%; box-sizing: border-box; border: 1px solid rgba(255,255,255,.1); background: #1C1C1E; color: #F5F5F7; border-radius: 14px; padding: 14px 16px; font: 17px/1.4 inherit; font-family: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
.s-form input:focus, .s-form textarea:focus { border-color: #0A84FF; box-shadow: 0 0 0 4px rgba(10,132,255,.25); }
.s-form textarea { resize: vertical; min-height: 140px; }
.s-form .s-btn { align-self: flex-start; margin-top: 6px; }
.s-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.s-err { margin: 0; color: #FF6961; font-size: 15px; }
.s-sent { background: #111113; border: 1px solid rgba(255,255,255,.08); border-radius: 28px; padding: 48px 32px; text-align: center; }
.s-check { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #30D158; color: #000; font-size: 30px; font-weight: 700; display: flex; align-items: center; justify-content: center; animation: s-pop .5s cubic-bezier(.2,.9,.3,1.4); }
@keyframes s-pop { from { transform: scale(.4); opacity: 0; } }
.s-sent h3 { margin: 0 0 6px; font-size: 28px; letter-spacing: -.02em; }
.s-sent p { margin: 0; color: var(--m); font-size: 17px; }

/* footer */
.s-foot { max-width: 1120px; margin: 0 auto; padding: 32px 24px 40px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: var(--m2); }
.s-foot img { height: 20px; width: auto; opacity: .85; }
.s-hub { color: var(--m2) !important; }
.s-hub:hover { color: #fff !important; }

/* scroll reveals (where supported) */
@supports (animation-timeline: view()) {
  .s-reveal { animation: s-reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  @keyframes s-reveal { from { opacity: 0; transform: translateY(40px) scale(.985); } to { opacity: 1; transform: none; } }
  .s-statement p span { animation: s-dim linear both; animation-timeline: view(); animation-range: cover 20% cover 45%; }
  @keyframes s-dim { from { color: #2C2C2E; } to { color: #F5F5F7; } }
}

.s :focus-visible { outline: 3px solid rgba(41,151,255,.7); outline-offset: 3px; border-radius: 12px; }
@media (max-width: 640px) {
  .s-nav nav a:not(.s-pill) { display: none; }
  .s-sec { padding: 88px 20px; }
  .s-venture { min-height: 460px; }
  .s-v-body { padding: 0 26px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .s-sig, .s-h1, .s-hero .s-lede, .s-hero .s-cta, .s-scroll { animation: none !important; opacity: 1 !important; clip-path: none !important; }
  .s-glow, .s-scroll span { animation: none; }
  .s-reveal, .s-statement p span { animation: none !important; }
}

/* ventures: logo tags */
.s-tags { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.s-tag { display: flex; flex-direction: column; gap: 18px; }
.s-tag-logo { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; padding: 12% 14%; border-radius: 24px; background: radial-gradient(120% 90% at 50% 0%, #fff 0%, var(--tint) 100%); opacity: .95; transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
.s-tag-logo img { width: 100%; height: 100%; object-fit: contain; filter: saturate(.85); transition: filter .4s, transform .6s cubic-bezier(.2,.8,.2,1); }
a.s-tag:hover .s-tag-logo, a.s-tag:focus-visible .s-tag-logo { opacity: 1; transform: translateY(-4px); box-shadow: 0 24px 60px -20px rgba(41,151,255,.35); }
a.s-tag:hover .s-tag-logo img { filter: none; transform: scale(1.04); }
.s-tag.is-static .s-tag-logo { opacity: .92; }
.s-tag-cap { display: flex; flex-direction: column; gap: 3px; padding: 0 4px; }
.s-tag-name { font-size: 17px; font-weight: 600; color: #F5F5F7; letter-spacing: -.01em; }
.s-tag-line { font-size: 15px; color: var(--m2); }
.s-tag-url { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 14px; color: var(--blue); }
a.s-tag:hover .s-tag-url { text-decoration: underline; }
.s-foot-links { display: flex; gap: 20px; }
@media (max-width: 640px) { .s-tags { gap: 28px; } .s-tag-logo { aspect-ratio: 2 / 1; padding: 9% 16%; border-radius: 20px; } }
html { scroll-padding-top: 72px; }
