/* berlab.ch, landing "Orbit": a night sky over a glowing planet, light sections below, the wordmark over the horizon at the
   end. One family (Inter, small labels in the system mono), one accent (planet blue). Built by tools/landing-studio/variants.py. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 600; font-display: swap; src: url(/fonts/inter.woff2) format("woff2"); }

:root {
  --night: #060b1d; --night-2: #0b1430; --sky: #1b3a9c; --glow: #8fb0ff;
  --bg: #eef2fb; --card: #ffffff; --ink: #0a1230; --ink-2: #2c3553; --soft: #5b6480; --line: rgba(10, 18, 48, .08); --line-2: rgba(10, 18, 48, .14);
  --accent: #3f6be8; --accent-ink: #2c4fc0; --accent-bg: rgba(63, 107, 232, .12); --slate: #4b5260; --ok: #1f9d6b;
  --bg-2: #e9eef9; --faint: #8b93ab; --line-3: rgba(10, 18, 48, .24);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --pad: clamp(20px, 4vw, 40px); --max: 1180px; --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
em { font-style: italic; font-synthesis: style; }

/* buttons: small mono capitals */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent;
  font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; transition: background .2s, border-color .2s, transform .15s, box-shadow .2s; }
.btn svg { width: 15px; height: 15px; }
.btn:active { transform: translateY(1px); }
.btn.light { background: #fff; color: var(--night); box-shadow: 0 6px 24px -8px rgba(143, 176, 255, .6); }
.btn.light:hover { background: #e9efff; }
.btn.dark { background: rgba(8, 14, 36, .72); color: #fff; border-color: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn.dark:hover { border-color: rgba(255, 255, 255, .32); }
.btn.sm { height: 34px; padding: 0 13px; font-size: 11.5px; }

/* header: a floating glass bar */
.top { position: fixed; z-index: 50; top: 14px; left: 0; right: 0; padding: 0 var(--pad); }
.bar { max-width: 1120px; margin: 0 auto; height: 52px; display: flex; align-items: center; gap: 26px; padding: 0 9px 0 18px; border-radius: 14px;
  background: rgba(6, 11, 29, .55); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); color: #fff; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.logo svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.nav { display: flex; gap: 2px; margin-right: auto; }
.nav a { padding: 6px 10px; border-radius: 7px; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .62); transition: color .15s, background .15s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.langs { display: flex; gap: 2px; font: 500 11.5px/1 var(--mono); letter-spacing: .06em; }
.langs a { padding: 5px 6px; border-radius: 6px; color: rgba(255, 255, 255, .45); }
.langs a[aria-current], .langs a:hover { color: #fff; }
.menu-btn { display: none; width: 38px; height: 38px; border: 0; border-radius: 9px; background: none; color: #fff; cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.menu-open .menu-btn span:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.sheet { display: none; }

/* hero: the night sky, the planet's glowing rim and the phone rising from it */
/* the hero always reaches the bottom of the window: the planet and the dashboard take whatever height is left */
.hero { position: relative; overflow: hidden; padding: 160px 0 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; text-align: center; color: #fff; isolation: isolate;
  background: radial-gradient(60% 40% at 50% 100%, rgba(63, 107, 232, .55), transparent 70%), linear-gradient(180deg, var(--night) 0%, var(--night-2) 42%, #12266b 70%, var(--sky) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.2px) 0 0 / 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.tag { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04);
  font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }
.hero h1 { margin: 26px auto 0; max-width: 1000px; font-size: clamp(44px, 6.2vw, 82px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; text-wrap: balance;
  text-shadow: 0 0 40px rgba(143, 176, 255, .25); }
.hero h1 em { font-weight: 400; letter-spacing: -.035em; color: #dbe6ff; }
.hero .lead { margin: 26px auto 0; max-width: 540px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .7); }
.hero .acts { display: flex; justify-content: center; gap: 10px; margin-top: 34px; flex-wrap: wrap; }
.ground { position: relative; flex: 1 0 560px; margin-top: 40px; }
.planet { position: absolute; z-index: 0; left: 50%; top: 150px; width: 2600px; height: 2600px; margin-left: -1300px; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, #eef2fb 88%, #dfe7fb 94%, #c2d2f8 97.5%, #9fb8f6 99.4%, #cfdcff 100%);
  box-shadow: 0 -2px 6px rgba(255, 255, 255, .9), 0 -10px 40px rgba(170, 196, 255, .9); }
/* the atmosphere above the rim: a gradient, not a shadow (shadows this wide are drawn in tiles that show their edges) */
.ground::before { content: ""; position: absolute; z-index: 0; left: 50%; top: -60px; width: 2400px; height: 520px; margin-left: -1200px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 62%, rgba(110, 150, 255, .75), rgba(63, 107, 232, .35) 45%, transparent 72%); }
/* Studio's dashboard rising from the planet (../parts/), in a glass frame lit by the planet's glow; its foot melts into the
   surface */
.stage { position: absolute; z-index: 2; left: 0; right: 0; top: 40px; width: min(1060px, calc(100% - 48px)); margin: 0 auto; }
.stage .shot { --tilt: 0deg; --grow: 1; background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .08)); border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 -20px 80px -10px rgba(143, 176, 255, .55), 0 40px 90px -40px rgba(6, 11, 29, .6); }
.stage .shot .bar i { background: rgba(255, 255, 255, .35); }
.ground::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 180px; pointer-events: none; background: linear-gradient(180deg, rgba(238, 242, 251, 0), var(--bg) 85%); }
/* the two notes floating over the planet */
.note { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 13px 18px 13px 13px; border-radius: 14px; text-align: left;
  background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .9); color: var(--ink); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -18px rgba(10, 18, 48, .35); }
.note b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.note small { display: block; font-size: 12.5px; color: var(--soft); }
.note > span:first-child { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; }
.note .ok { background: #e3f5ec; color: var(--ok); } .note .bl { background: #e6edff; color: var(--accent); }
.note svg { width: 17px; height: 17px; }
.n1 { left: max(24px, calc(50% - 690px)); top: 330px; }
.n2 { right: max(24px, calc(50% - 690px)); top: 290px; }

/* sections on the planet's light surface */
.sec { padding: clamp(90px, 12vh, 140px) 0 0; }
.head { max-width: 680px; }
.head h2 { margin: 0; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.04em; font-weight: 500; }
.head h2 em { font-weight: 400; color: var(--accent); }
.head p { margin: 18px 0 0; max-width: 560px; font-size: 17px; color: var(--soft); }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 46px; }
.feat, .vals li { position: relative; padding: 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(10, 18, 48, .04), 0 24px 50px -36px rgba(10, 18, 48, .35); }
.vals .i { width: 22px; height: 22px; color: var(--accent); }
.feat h3 { margin-top: 0; }
.feat h3, .vals h3 { margin: 18px 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.feat p, .vals p { margin: 0; font-size: 15px; color: var(--soft); }
.steps { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.steps li { padding: 26px 26px 28px; border-radius: 18px; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .55)); border: 1px solid var(--line); }
.steps span { font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--accent); }
.steps h3 { margin: 16px 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.steps p { margin: 0; font-size: 15px; color: var(--soft); }
.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 46px; }
.proj { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.proj:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.proj:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -40px rgba(10, 18, 48, .45); }
.proj .pic { overflow: hidden; background: #e3e8f4; }
.proj .pic img { width: 100%; height: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.proj:first-child .pic img { aspect-ratio: 16 / 10; }
.proj .txt { display: flex; flex-direction: column; gap: 10px; padding: 26px; }
.proj:first-child .txt { justify-content: center; padding: clamp(26px, 3vw, 40px); }
.proj b { font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.proj .txt > span:not(.tags):not(.more) { font-size: 15px; color: var(--soft); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags i { padding: 4px 10px; border-radius: 6px; background: #eef2fb; font: 500 11px/1.2 var(--mono); font-style: normal; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--accent); }
.more svg { width: 13px; height: 13px; }
.vals { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

/* Made for every screen: a night panel, the text on the left, the iPhone rising from a small horizon on the right */
.devbox { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(32px, 6vw, 80px); align-items: center;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 6vw, 72px) 0; border-radius: 28px; color: #fff; isolation: isolate;
  background: radial-gradient(55% 50% at 78% 100%, rgba(110, 150, 255, .55), transparent 70%), linear-gradient(180deg, var(--night) 0%, var(--night-2) 55%, #14287a 100%); }
.devbox::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; background: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.2px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }
.dtxt { padding-bottom: clamp(40px, 6vw, 72px); }
.dtxt h2 { margin: 0; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.06; letter-spacing: -.04em; font-weight: 500; }
.dtxt h2 em { font-weight: 400; color: #b9cbff; }
.dtxt p { margin: 18px 0 0; max-width: 480px; font-size: 16.5px; color: rgba(255, 255, 255, .7); }
.pts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.pts li { position: relative; padding-left: 20px; font-size: 15px; color: rgba(255, 255, 255, .62); }
.pts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 8px var(--glow); }
.pts b { display: block; color: #fff; font-weight: 600; }
.dphone { position: relative; align-self: end; height: clamp(360px, 38vw, 480px); }
.dphone .device { width: min(100%, 330px); margin: 0 auto; filter: drop-shadow(0 -10px 40px rgba(143, 176, 255, .45)); }

/* footer: the night again, the call to action, the links, and the wordmark rising over a second horizon */
.foot { position: relative; overflow: hidden; margin-top: clamp(80px, 11vh, 120px); padding: 260px 0 0; color: #fff; isolation: isolate;
  background: linear-gradient(180deg, var(--bg) 0, #d6def4 60px, #7d8fc9 150px, #26357a 230px, var(--night-2) 330px, var(--night) 55%, #10215e 100%); }
.foot .stars { top: 240px; height: calc(100% - 240px); -webkit-mask-image: linear-gradient(180deg, transparent, #000 120px); mask-image: linear-gradient(180deg, transparent, #000 120px); }
.cta { text-align: center; }
.cta h2 { margin: 0 auto; max-width: 15ch; font-size: clamp(36px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.045em; font-weight: 500; }
.cta p { margin: 20px auto 0; max-width: 500px; color: rgba(255, 255, 255, .68); font-size: 17px; }
.cta .acts { display: flex; justify-content: center; gap: 10px; margin-top: 34px; flex-wrap: wrap; }
.cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; margin-top: 110px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.cols .me p { margin: 12px 0 0; max-width: 280px; color: rgba(255, 255, 255, .55); }
.cols h4 { margin: 0 0 14px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cols ul a { color: rgba(255, 255, 255, .78); transition: color .15s; } .cols ul a:hover { color: #fff; }
.copy { display: flex; justify-content: space-between; gap: 16px; margin: 54px 0 0; font: 500 11.5px/1 var(--mono); letter-spacing: .06em; color: rgba(255, 255, 255, .4); }
.copy a { display: inline-flex; align-items: center; gap: 6px; } .copy a:hover { color: #fff; } .copy svg { width: 13px; height: 13px; }
.word { position: relative; height: clamp(150px, 22vw, 330px); margin-top: 30px; }
.word::before { content: ""; position: absolute; left: 50%; top: 66%; width: 2600px; height: 2600px; margin-left: -1300px; border-radius: 50%; z-index: 2;
  background: radial-gradient(50% 50% at 50% 50%, #eef2fb 88%, #dfe7fb 94%, #c2d2f8 97.5%, #9fb8f6 99.4%, #cfdcff 100%);
  box-shadow: 0 -2px 6px rgba(255, 255, 255, .9), 0 -10px 40px rgba(170, 196, 255, .85); }
.word::after { content: ""; position: absolute; z-index: 0; left: 50%; top: 10%; width: 2400px; height: 70%; margin-left: -1200px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 80%, rgba(110, 150, 255, .6), rgba(63, 107, 232, .25) 45%, transparent 72%); }
.word span { position: absolute; left: 0; right: 0; bottom: -.18em; z-index: 1; text-align: center; font-size: clamp(130px, 25vw, 380px); font-weight: 600; letter-spacing: -.07em; line-height: 1;
  background: linear-gradient(180deg, #ffffff 15%, #c9d7ff 55%, #6f93f5 85%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(143, 176, 255, .35)); }

/* reveals */
[data-r] { opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
[data-r].in { opacity: 1; transform: none; filter: none; }
.no-js [data-r] { opacity: 1; transform: none; filter: none; }

@media (max-width: 1100px) { .n1, .n2 { display: none; } .vals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .nav, .bar .langs, .bar .btn { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .sheet { display: block; position: fixed; z-index: 49; top: 74px; left: var(--pad); right: var(--pad); padding: 8px 18px 18px; border-radius: 14px; color: #fff;
    background: rgba(6, 11, 29, .94); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .35s var(--ease); }
  .menu-open .sheet { opacity: 1; transform: none; pointer-events: auto; }
  .sheet > a:not(.btn) { display: block; padding: 13px 2px; font: 500 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .sheet .langs { margin: 14px 0; } .sheet .btn { width: 100%; }
  .feats, .steps, .work { grid-template-columns: minmax(0, 1fr); }
  .devbox { grid-template-columns: minmax(0, 1fr); } .dtxt { padding-bottom: 0; } .dphone { height: 380px; }
  .proj:first-child { grid-template-columns: minmax(0, 1fr); }
  .cols { grid-template-columns: 1fr 1fr; } .cols .me { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hero { padding-top: 128px; }
  .hero h1 { font-size: 42px; } .hero .lead { font-size: 16px; }
  .ground { flex-basis: 330px; margin-top: 24px; } .planet { top: 120px; } .stage { top: 24px; }
  .vals { grid-template-columns: minmax(0, 1fr); }
  .copy { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } [data-r] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; } }
@media (max-width: 560px) { .word { height: 190px; } .word::before { top: 80%; } .word span { bottom: -.05em; } }
