:root {
  --bg: #f4f1ea;
  --surface: #fffdf8;
  --ink: #141317;
  --ink-2: #4b4a52;
  --ink-3: #85838c;
  --line: #e2ddd2;
  --accent: #ff4d2e;
  --live: #1fb35f;
  --blob-1: #ff8a5c;
  --blob-2: #8f6bff;
  --blob-3: #22c7e6;
  --mock: #16161b;
  --mock-2: #212128;
  --mock-ink: #e9e8ef;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d10;
    --surface: #15151a;
    --ink: #f1efe9;
    --ink-2: #b4b2bb;
    --ink-3: #7f7d88;
    --line: #26262d;
    --accent: #ff6a4d;
    --live: #3ddc84;
    --blob-1: #ff6a3d;
    --blob-2: #6b46ff;
    --blob-3: #00a8cc;
    --mock: #0a0a0d;
    --mock-2: #18181e;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; padding: .5rem 1rem; background: var(--ink); color: var(--bg); }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; }

/* Header: floating pill */
.top {
  position: fixed; z-index: 20; top: 1rem; left: 50%; transform: translateX(-50%);
  width: min(100% - 2rem, 40rem);
  display: flex; align-items: center; justify-content: space-between;
  padding: .4rem .4rem .4rem .5rem; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  box-shadow: 0 8px 30px -12px rgb(0 0 0 / .18);
}
.mark {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--ink); color: var(--bg); text-decoration: none;
  font: 800 .8rem/1 var(--sans); letter-spacing: .02em; transition: transform .4s var(--ease);
}
.mark:hover { transform: rotate(-12deg) scale(1.06); }
.top nav { display: flex; align-items: center; gap: .25rem; }
.top nav a { text-decoration: none; padding: .55rem .9rem; border-radius: 999px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.top nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.top nav .nav-cta { background: var(--accent); color: #fff; }
.top nav .nav-cta:hover { background: var(--ink); color: var(--bg); }

/* Blobs */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blobs i {
  position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%;
  filter: blur(70px); opacity: .55; mix-blend-mode: multiply;
  animation: drift 22s ease-in-out infinite alternate;
}
@media (prefers-color-scheme: dark) { .blobs i { mix-blend-mode: screen; opacity: .32; } }
.blobs i:nth-child(1) { background: var(--blob-1); top: -18vmax; left: -10vmax; }
.blobs i:nth-child(2) { background: var(--blob-2); top: -8vmax; right: -16vmax; animation-delay: -7s; animation-duration: 26s; }
.blobs i:nth-child(3) { background: var(--blob-3); bottom: -26vmax; left: 30%; animation-delay: -13s; animation-duration: 30s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vmax, 4vmax) scale(1.12); }
  100% { transform: translate(-4vmax, 7vmax) scale(.94); }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding-block: 7rem 4rem; isolation: isolate; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 18%, transparent) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; }
.hello { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.5rem; padding: .45rem .9rem .45rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); font-weight: 500; font-size: .9375rem; }
.wave { display: inline-block; transform-origin: 70% 70%; animation: wave 2.6s ease-in-out 1s infinite; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }

h1 {
  font: 800 clamp(3.2rem, 11.5vw, 10rem)/.9 var(--sans);
  letter-spacing: -.055em; margin: 0 0 2rem; max-width: 12ch;
}
h1 .line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
h1 .line > span { display: inline-block; }
.js h1 .line > span { transform: translateY(105%); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
h1 .line:nth-child(3) > span { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.03em; color: var(--accent); }
@keyframes rise { to { transform: none; } }


.lede { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; max-width: 40ch; margin: 0 0 2.25rem; color: var(--ink-2); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .95rem 1.4rem; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--ink) 60%, transparent); }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-ghost { border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.now { display: flex; align-items: center; gap: .6rem; margin: 0; color: var(--ink-2); font-size: .9375rem; }
.now strong { font: 700 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--live); animation: pulse 2.2s ease-out infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 .55rem transparent; } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding-block: 1.1rem; transform: rotate(-1.2deg) scale(1.02); margin-block: 1rem; }
.track { display: flex; width: max-content; gap: 1.75rem; animation: scroll 38s linear infinite; font: 700 clamp(1.25rem, 2.6vw, 1.9rem)/1 var(--sans); letter-spacing: -.02em; }
.track i { font-style: normal; color: var(--accent); font-size: .7em; align-self: center; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Section heads */
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.kicker { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font: 600 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; }
h2 { font: 800 clamp(2.3rem, 6vw, 4.75rem)/1 var(--sans); letter-spacing: -.045em; margin: 0; max-width: 18ch; text-wrap: balance; }
h2 em { color: var(--ink-2); }

/* Work */
.work { padding-block: clamp(5rem, 12vw, 9rem) clamp(3rem, 6vw, 5rem); }
.showcase { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem); border-radius: 28px; overflow: hidden; isolation: isolate;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.card::before {
  content: ""; position: absolute; z-index: -1; inset: auto -20% -60% 30%; height: 120%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--a) 38%, transparent), transparent),
              radial-gradient(closest-side at 80% 30%, color-mix(in srgb, var(--b) 28%, transparent), transparent);
  filter: blur(30px); transition: transform .8s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--a) 55%, transparent); }
.card:hover::before { transform: translate(-6%, -8%) scale(1.1); }
.card-kind { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.25rem; font: 600 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.card-kind span { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--a); color: #fff; letter-spacing: 0; }
.card h3 { font: 800 clamp(2.2rem, 5vw, 3.75rem)/.95 var(--sans); letter-spacing: -.045em; margin: 0 0 .75rem; }
.tagline { font: italic 400 clamp(1.3rem, 2.6vw, 1.75rem)/1.25 var(--serif); margin: 0 0 1rem; background: linear-gradient(90deg, var(--a), var(--b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: light) { .tagline { filter: saturate(1.2) brightness(.85); } }
.card-summary { color: var(--ink-2); margin: 0 0 1.5rem; max-width: 46ch; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.75rem; }
.chips li { font: 500 .78rem/1 var(--mono); padding: .45rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--a) 12%, transparent); color: var(--ink); border: 1px solid color-mix(in srgb, var(--a) 25%, transparent); }
.visit { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; text-decoration: none; padding-bottom: .2rem; border-bottom: 2px solid var(--a); }
.visit span { transition: transform .3s var(--ease); }
.visit:hover span { transform: translate(3px, -3px); }
.card-visual { display: grid; place-items: center; min-height: 18rem; transition: transform .4s var(--ease); }
@media (min-width: 56rem) {
  .card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 3rem; min-height: 28rem; }
  .card:nth-child(even) .card-text { order: 2; }
}

/* Mockups (shared) */
.mock { width: min(100%, 26rem); color: var(--mock-ink); font: 500 .78rem/1.4 var(--mono); }
.mock-tk, .mock-konsole { background: var(--mock); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -25px rgb(0 0 0 / .55), 0 0 0 1px rgb(255 255 255 / .06); transform: rotate(-2deg); transition: transform .6s var(--ease); }
.card:hover .mock-tk, .card:hover .mock-konsole { transform: rotate(0) scale(1.02); }
.mock-bar { display: flex; align-items: center; gap: .35rem; padding: .65rem .8rem; background: var(--mock-2); }
.mock-bar i { width: .6rem; height: .6rem; border-radius: 50%; background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; }
.mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { margin-left: .5rem; color: #8d8c96; }
.mock-bar .live { margin-left: auto; font-size: .65rem; padding: .2rem .4rem; border-radius: 4px; background: #ff2d55; color: #fff; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .45; } }

/* Trading Konsole */
.mock-tk svg { display: block; width: 100%; height: 13rem; padding: .8rem .6rem .2rem; }
.mock-tk .up line, .mock-tk .up rect { stroke: #00dcff; fill: #00dcff; }
.mock-tk .dn line, .mock-tk .dn rect { stroke: #ff23b8; fill: #ff23b8; }
.mock-tk line { stroke-width: 1; }
.mock-tk g { transform-box: fill-box; transform-origin: bottom; }
.js .card.in .mock-tk g { animation: grow .5s var(--ease) both; animation-delay: var(--d); }
@keyframes grow { from { transform: scaleY(0); opacity: 0; } }
.mock-tk .gex { fill: #b48bff; opacity: .28; transform-box: fill-box; transform-origin: right; }
.js .card.in .mock-tk .gex { animation: slide .8s var(--ease) both; animation-delay: var(--d); }
@keyframes slide { from { transform: scaleX(0); } }
.mock-tk .flow { fill: none; stroke: #ffd166; stroke-width: 1.5; stroke-dasharray: 600; stroke-dashoffset: 600; }
.js .card.in .mock-tk .flow { animation: draw 2.4s .6s ease forwards; }
html:not(.js) .mock-tk .flow { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mock-tk .flip { stroke: #b48bff; stroke-dasharray: 4 4; stroke-width: 1; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -8; } }
.tk-ticker { display: flex; gap: 1.2rem; padding: .7rem .9rem; border-top: 1px solid #ffffff14; color: #8d8c96; white-space: nowrap; overflow: hidden; }
.tk-ticker span:nth-child(2) { color: #00dcff; }
.tk-ticker span:nth-child(3) { color: #3ddc84; }

/* Konsole */
.k-body { padding: .9rem; }
.k-body ul { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .4rem; }
.k-body li { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 8px; background: #ffffff0a; }
.js .card.in .k-body li { animation: pop .5s var(--ease) both; animation-delay: var(--d); }
@keyframes pop { from { opacity: 0; transform: translateX(-12px); } }
.k-body li b { font-weight: 600; }
.k-body li span { margin-left: auto; color: #8d8c96; }
.st { width: .55rem; height: .55rem; border-radius: 50%; background: #55555f; flex: none; }
.st.on { background: #2fd39b; box-shadow: 0 0 10px #2fd39b; }
.st.busy { background: #febc2e; animation: blink 1s steps(2) infinite; }
.k-term { padding: .7rem .8rem; border-radius: 8px; background: #000; color: #e9e8ef; }
.k-term .p { color: #7c5cff; }
.caret { display: inline-block; width: .5rem; height: 1em; margin-left: .2rem; vertical-align: -.15em; background: #e9e8ef; animation: blink 1s steps(2) infinite; }
.k-term em { display: block; margin-top: .35rem; font: inherit; color: #2fd39b; }

/* Pet Assistant */
.mock-pet { display: grid; place-items: center; }
.phone {
  position: relative; width: 15.5rem; padding: 2.2rem .9rem 1.2rem; border-radius: 2.4rem;
  background: #fff; color: #1d1b26; font-family: var(--sans); font-size: .82rem;
  box-shadow: 0 0 0 .5rem #1d1b26, 0 40px 70px -25px rgb(60 20 120 / .55);
  transform: rotate(4deg); transition: transform .6s var(--ease);
}
.card:hover .phone { transform: rotate(0) translateY(-4px); }
.notch { position: absolute; top: .55rem; left: 50%; width: 4.5rem; height: 1.1rem; translate: -50% 0; border-radius: 999px; background: #1d1b26; }
.pet-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.avatar { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: linear-gradient(135deg, #ffd6e7, #e6dbff); font-size: 1.4rem; }
.pet-head small, .pet-card small { display: block; color: #8a8696; font-size: .72rem; }
.pet-card { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; margin-bottom: .45rem; border-radius: 14px; background: #f5f1ff; border-bottom: 3px solid #e3d9ff; }
.pet-card span { font-size: 1.1rem; }
.bubble { max-width: 85%; padding: .55rem .75rem; margin-top: .5rem; border-radius: 16px; line-height: 1.35; }
.b1 { margin-left: auto; background: #8a4fd8; color: #fff; border-bottom-right-radius: 4px; }
.b2 { background: #f0eef5; border-bottom-left-radius: 4px; }
.js .card.in .pet-card, .js .card.in .bubble { animation: pop-up .55s var(--ease) both; }
.js .card.in .c1 { animation-delay: .1s; }
.js .card.in .c2 { animation-delay: .25s; }
.js .card.in .b1 { animation-delay: .7s; }
.js .card.in .b2 { animation-delay: 1.5s; }
@keyframes pop-up { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* Scrum Poker */
.mock-poker { display: grid; justify-items: center; gap: 1.5rem; }
.table { position: relative; width: 100%; height: 13rem; }
.pk {
  position: absolute; left: 50%; bottom: 3rem; width: 4.6rem; height: 6.6rem; margin-left: -2.3rem;
  perspective: 600px; transform-origin: 50% 260%;
  transform: rotate(calc((var(--i) - 2.5) * 13deg));
  transition: transform .6s var(--ease);
}
.card:hover .pk { transform: rotate(calc((var(--i) - 2.5) * 16deg)) translateY(-6px); }
.pk-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.pk-in span { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: flex-start; padding: .45rem .55rem; border-radius: 12px; backface-visibility: hidden; font: 800 1.35rem/1 var(--sans); box-shadow: 0 12px 24px -12px rgb(0 0 0 / .45); }
.front { background: #fff; color: #1d1b26; border: 2px solid #ffe2cf; }
.back { background: linear-gradient(135deg, var(--a), var(--b)); color: #fff; transform: rotateY(180deg); justify-content: center !important; align-items: center !important; }
.pk:nth-child(4) .front { background: var(--a); color: #fff; border-color: transparent; }
.js .pk-in { transform: rotateY(180deg); }
.js .card.in .pk-in { animation: flip .7s var(--ease) forwards; animation-delay: calc(var(--i) * 120ms + 300ms); }
@keyframes flip { to { transform: rotateY(0); } }
.votes { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1rem; font: 500 .8rem/1.3 var(--mono); color: var(--ink-2); }
.votes b { color: var(--ink); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-block: clamp(2rem, 6vw, 4rem); border-radius: 24px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: .4rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface); }
.stat strong { font: 800 clamp(2.75rem, 7vw, 5rem)/.9 var(--sans); letter-spacing: -.05em; background: linear-gradient(135deg, var(--ink), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--ink-2); font-size: .95rem; }
@media (min-width: 48rem) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* Story */
.story { padding-block: clamp(4rem, 10vw, 8rem); }
.chapters { list-style: none; padding: 0; position: relative; display: grid; gap: 0; }
.chapter { position: relative; display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .25rem 1.5rem; padding: 1.75rem 0 1.75rem; border-top: 1px solid var(--line); }
.chapter:last-child { border-bottom: 1px solid var(--line); }
.year { grid-row: span 2; font: 800 1.6rem/1.2 var(--sans); letter-spacing: -.03em; color: var(--accent); }
.chapter h3 { font: 700 clamp(1.35rem, 2.6vw, 1.85rem)/1.2 var(--sans); letter-spacing: -.03em; margin: 0; }
.chapter p { margin: 0; color: var(--ink-2); max-width: 56ch; }
@media (min-width: 52rem) {
  .chapter { grid-template-columns: 10rem minmax(0, 22rem) minmax(0, 1fr); align-items: baseline; gap: 2rem; padding-block: 2.25rem; transition: padding .4s var(--ease), background .4s; }
  .year { grid-row: auto; font-size: 2.6rem; }
  .chapter:hover { padding-inline: 1.5rem; background: var(--surface); border-radius: 16px; }
}

/* Principles */
.principles { padding-block: 0 clamp(4rem, 10vw, 7rem); }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.principle { position: relative; padding: 1.75rem; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; }
.principle:hover { transform: translateY(-4px) rotate(-.6deg); border-color: var(--accent); }
.num { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1.5rem; border-radius: 12px; background: var(--ink); color: var(--bg); font: 800 1rem/1 var(--sans); }
.principle:nth-child(2) .num { background: var(--accent); color: #fff; }
.principle h3 { font: 700 1.3rem/1.2 var(--sans); letter-spacing: -.025em; margin: 0 0 .5rem; }
.principle p { margin: 0; color: var(--ink-2); }

/* Contact */
.contact { position: relative; isolation: isolate; overflow: hidden; margin: 0 var(--gutter); padding-block: clamp(5rem, 12vw, 9rem); border-radius: 36px; background: var(--ink); color: var(--bg); }
.contact .blobs i { mix-blend-mode: screen; opacity: .45; }
@media (prefers-color-scheme: dark) { .contact .blobs i { mix-blend-mode: multiply; opacity: .5; } }
.contact-inner { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; }
.contact .kicker { color: var(--bg); }
.contact h2 { font-size: clamp(2.6rem, 8vw, 6.5rem); max-width: 14ch; }
.contact h2 em { color: var(--accent); }
.contact-inner > p:not(.kicker):not(.cta) { margin: 1.5rem 0 0; max-width: 46ch; color: color-mix(in srgb, var(--bg) 75%, var(--ink)); font-size: 1.125rem; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem; margin: 2.5rem 0 0; }
.mail { padding: 1.05rem 1.6rem; border-radius: 999px; background: var(--bg); color: var(--ink); font: 700 clamp(1.05rem, 2.6vw, 1.4rem)/1 var(--sans); letter-spacing: -.02em; text-decoration: none; transition: transform .3s var(--ease), background .2s, color .2s; word-break: break-all; }
.mail:hover { transform: scale(1.04); background: var(--accent); color: #fff; }
.copy { padding: 1rem 1.2rem; border-radius: 999px; cursor: pointer; background: transparent; color: var(--bg); border: 1.5px solid color-mix(in srgb, var(--bg) 40%, transparent); font: 600 .9rem/1 var(--sans); transition: border-color .2s, color .2s; }
.copy:hover { border-color: var(--accent); color: var(--accent); }
.links { list-style: none; display: flex; gap: 1.5rem; padding: 0; margin: 2rem 0 0; }
.links a { color: color-mix(in srgb, var(--bg) 80%, var(--ink)); font-weight: 500; }
.links a:hover { color: var(--accent); }

/* Footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 2rem 2.5rem; color: var(--ink-3); font-size: .875rem; }
.foot p { margin: 0; }
.foot a { color: inherit; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .5s, border-color .3s, padding .4s var(--ease), background .4s; }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transform: translateY(-4px); }
.js .principle.reveal.in:hover { transform: translateY(-4px) rotate(-.6deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .track { animation: none; }
}

/* Hero: compact intro with the products listed beside it; work in a 2x2 grid. */
.hero-split { min-height: auto; padding-block: 8.5rem 4.5rem; }
.split { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
.hero-split h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); max-width: 11ch; margin-bottom: 1.5rem; }
.hero-split .lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 42ch; margin-bottom: 1.75rem; }
.hero-split .hero-actions { margin-bottom: 1.75rem; }

.deck { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.deck a {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem;
  border-radius: 20px; text-decoration: none;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .3s;
}
.deck a:hover { transform: translateX(-.5rem); border-color: var(--a); box-shadow: 0 18px 40px -20px var(--a); }
.deck-dot { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 14px; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 6px 18px -6px var(--a); }
.deck-text { display: grid; gap: .1rem; min-width: 0; }
.deck-text b { font-size: 1.1rem; letter-spacing: -.02em; }
.deck-text small { color: var(--ink-2); font-size: .9rem; }
.deck-arrow { margin-left: auto; color: var(--ink-3); transition: transform .3s var(--ease), color .3s; }
.deck a:hover .deck-arrow { transform: translateX(4px); color: var(--a); }
.js .deck li { opacity: 0; transform: translateY(16px); animation: deck-in .7s var(--ease) forwards; animation-delay: calc(var(--i) * 110ms + 450ms); }
@keyframes deck-in { to { opacity: 1; transform: none; } }

@media (min-width: 60rem) {
  .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 4rem; }
  .deck li:nth-child(even) { margin-left: 2rem; }
  .deck li:nth-child(odd) { margin-right: 2rem; }
}

@media (min-width: 60rem) {
  .grid2 { grid-template-columns: 1fr 1fr; }
  .grid2 .card { grid-template-columns: minmax(0, 1fr); min-height: 0; align-content: start; gap: 1.75rem; }
  .grid2 .card:nth-child(even) .card-text { order: 0; }
  .grid2 .card-visual { order: -1; min-height: 17rem; }
  .grid2 .card h3 { font-size: clamp(2rem, 3vw, 2.75rem); }
}
