/* The Launch Edge homepage, v2. A sibling of Justin Creative Studios: same paper and ink, pill controls, 24px cards,
   roman line then italic line. Its own: ultramarine as the one colour, a grotesk display, a hero you can play with.
   Idea: your whole morning, decided in four taps. Signature: 21 threads resolve as you scroll, then a circle of blue opens from the counter. */

@view-transition { navigation: auto; }

:root {
  --paper: #f5f2ec; --paper-2: #ece8e0; --surface: #fdfbf8;
  --ink: #1c1b18; --mute: #63605a; --line: rgba(28, 27, 24, .12);
  --blue: #2342f5; --blue-hi: #3a57ff; --blue-deep: #1a31c4; --on-blue: #f5f2ec; --on-blue-mute: rgba(245, 242, 236, .72);

  --sans: 'Hanken Grotesk', Arial, 'Helvetica Neue', sans-serif;
  --serif: 'Newsreader', 'Times New Roman', Georgia, serif;
  --mono: 'IBM Plex Mono', Menlo, 'Courier New', monospace;

  --pad: 20px; --sec: 96px; --r: 20px; --r-lg: 28px; --nav-h: 64px;
  --out: cubic-bezier(.16, 1, .3, 1);
  --soft: cubic-bezier(.22, .8, .24, 1);
}
@media (min-width: 700px) { :root { --pad: 40px; --sec: 128px; } }
@media (min-width: 1200px) { :root { --pad: 80px; --sec: 168px; --r: 24px; --r-lg: 32px; --nav-h: 72px; } }

@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300 500; font-display: swap; src: url(/fonts/hanken-grotesk-latin.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(/fonts/ibm-plex-mono-latin.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: 'Newsreader'; font-style: italic; font-weight: 300; font-display: swap; src: url(/fonts/newsreader-italic-latin.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; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
@media (min-width: 1200px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }
::selection { background: var(--blue); color: var(--on-blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(1360px + var(--pad) * 2); margin: 0 auto; padding-inline: var(--pad); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; line-height: 1.5; }
.tnum { font-variant-numeric: tabular-nums; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }

/* type: roman line, then an italic line. Grotesk display, serif italic for the emotional word. */
.disp { font-weight: 400; letter-spacing: -.045em; line-height: .94; text-wrap: balance; }
.disp em, .ital { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -.03em; font-size: 1.05em; }
.h2 { font-size: clamp(2.6rem, 1rem + 7vw, 7.5rem); }
.lede { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: var(--mute); max-width: 36ch; text-wrap: pretty; }

/* ---------- buttons: pills, with a circle of colour that grows from the pointer ---------- */
.btn { --bg: var(--blue); --fill: var(--ink); --fg: var(--on-blue);
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 58px; padding: 0 30px; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 500; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; transition: background-color .4s var(--soft), color .4s var(--soft); }
.btn:hover { background: var(--blue-deep); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform .35s var(--out); }
.btn:hover svg { transform: translateX(3px); }
.btn--paper { --bg: var(--paper); --fill: var(--ink); --fg: var(--ink); }
.btn--paper:hover { background: var(--ink); color: var(--paper); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; padding: 12px 4px; background: linear-gradient(currentColor, currentColor) 4px calc(100% - 9px) / calc(100% - 8px) 1px no-repeat; transition: background-size .5s var(--out); }
.link:hover { background-size: 0 1px; background-position: 100% calc(100% - 9px); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h); display: flex; align-items: center; color: var(--ink); transition: background-color .4s, color .4s, box-shadow .4s; }
.nav.is-solid { background: rgba(245, 242, 236, .84); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.nav.is-dark { color: var(--paper); }
.nav.is-ink.is-solid { background: rgba(28, 27, 24, .86); box-shadow: 0 1px 0 rgba(245, 242, 236, .14); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-weight: 500; font-size: 1.12rem; letter-spacing: -.03em; display: inline-flex; align-items: baseline; gap: .34em; }
.wordmark .mk { height: 1.7em; width: auto; align-self: center; margin-right: -.08em; overflow: visible; }
.wordmark .mk__a { fill: var(--ink); }
.wordmark .mk__f { fill: var(--blue); }
.wordmark i { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.14em; letter-spacing: -.01em; }
.nav__links { display: none; gap: 32px; font-size: 15px; }
.nav__links a { opacity: .66; transition: opacity .25s; }
.nav__links a:hover { opacity: 1; }
@media (min-width: 1000px) { .nav__links { display: flex; } }
.nav .btn { --bg: var(--blue); }
.nav.is-dark .btn { --bg: var(--paper); --fg: var(--ink); --fill: var(--ink); }
.nav.is-dark .btn:hover { color: var(--paper); }

/* ---------- hero (pinned): the signature ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; background: var(--paper); }
.hero__copy { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 5vh; }
.hero h1 { text-wrap: wrap; font-size: clamp(2.5rem, .8rem + 5.2vw, 6.6rem); margin-left: -.04em; }
.hero h1 .l { display: block; }

.hero__foot { display: grid; gap: 28px; margin-top: clamp(28px, 5vh, 56px); max-width: 560px; }
.hero__foot .lede { max-width: 34ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
@media (max-width: 699px) { .hero__cta .link { padding-left: 0; } }

/* intro lives in CSS so it never waits for JS (LCP) */
.hero h1 .w { display: inline-block; }
.js .hero h1 .w { overflow: hidden; padding: 0 .06em .2em; margin: 0 -.06em -.2em; }
.js .hero h1 .t { display: inline-block; transform: translateY(112%); animation: rise 1.5s var(--out) .1s forwards; }
.js .hero h1 .l:nth-child(2) .t { animation-delay: .24s; }
.js .strip[data-fade] { animation-name: fadein; }
.js [data-fade] { opacity: 0; animation: fadeup 1.1s var(--out) var(--d, .7s) forwards; }
.js .nav { animation: fadein 1.2s var(--out) .9s both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { to { transform: none; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes navin { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- the brief ---------- */
.sec { position: relative; padding-block: var(--sec); }
.decide__head { display: grid; gap: 28px; margin-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .decide__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 80px; } }

/* ---------- method: three words that fill as you scroll ---------- */
.method h2 { margin-bottom: clamp(36px, 6vw, 80px); }
.also { color: var(--mute); font-size: 15px; max-width: 52ch; margin-top: 28px; }
.also a { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color .3s; }
.also a:hover { border-color: var(--ink); }

/* ---------- proof: numbers that roll, names that drift ---------- */
.proof { background: var(--ink); color: var(--paper); padding-bottom: 0; }

/* ---------- about ---------- */
.about__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; } }


/* ---------- faq + notes ---------- */
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }

/* ---------- contact ---------- */
.contact { padding-bottom: calc(var(--sec) * .8); }
.contact h2 { font-size: clamp(3.2rem, .8rem + 11vw, 13rem); margin-bottom: clamp(36px, 6vw, 72px); }
.contact__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; } }
.points li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--mute); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.alt { margin-top: 20px; color: var(--mute); font-size: 15px; }
.alt a { color: var(--ink); border-bottom: 1px solid var(--line); }
.form { display: grid; gap: 14px; background: var(--surface); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); box-shadow: 0 1px 0 var(--line), 0 40px 70px -48px rgba(28, 27, 24, .4); }
.two { display: grid; gap: 14px; }
@media (min-width: 600px) { .two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: 12px; color: var(--mute); padding-left: 4px; }
.field input, .field textarea, .field select { width: 100%; background: var(--paper); border: 1px solid transparent; border-radius: 16px; padding: 15px 18px; font-size: 16px; transition: border-color .25s, background-color .25s; }
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--blue); background: #fff; }
.phone-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.form .btn { justify-self: start; border: 0; margin-top: 6px; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.sent { display: none; padding: 14px 18px; border-radius: 16px; background: var(--blue); color: var(--on-blue); }
.err { display: none; color: #9e2a22; font-size: 14.5px; }
.form .small { color: var(--mute); font-size: 13.5px; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding-top: clamp(56px, 8vw, 110px); overflow: hidden; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 28px; padding-block: 20px; border-top: 1px solid rgba(245, 242, 236, .16); color: rgba(245, 242, 236, .66); }
.legal nav { display: flex; gap: 24px; }
.legal a:hover { color: var(--paper); }
.bigmark { font-size: 15vw; font-weight: 400; line-height: .8; letter-spacing: -.07em; white-space: nowrap; padding-bottom: .24em; user-select: none; color: rgba(245, 242, 236, .1); }
.bigmark span { display: inline-block; }
.bigmark span::before { content: attr(data-t); }

/* ---------- reduced motion / no JS ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }
html:not(.js) .hero__hintX { display: none; }
.js [data-split] { visibility: hidden; }
.js [data-rise] { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--out) var(--rd, 0s), transform 1.2s var(--out) var(--rd, 0s); }
.js [data-rise].in { opacity: 1; transform: none; }

/* services + results */
.svcs { margin-top: clamp(36px, 6vw, 72px); }

/* ways to work together */
.svc-head { display: grid; gap: 28px; }
@media (min-width: 900px) { .svc-head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; align-items: end; } }

/* things I've built */
.work { background: var(--paper-2); }
.work__head { display: grid; gap: 28px; margin-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .work__head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; align-items: end; } }
.wcards { display: grid; gap: 20px; }
@media (min-width: 900px) { .wcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.wcard { display: block; }
.wcard figure { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 40px 70px -46px rgba(28, 27, 24, .5); }
.wcard img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.6s var(--out); }
.wcard:hover img, .wcard:focus-visible img { transform: scale(1.045); }
.wcard .visit { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 500; font-size: 14.5px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--out), transform .6s var(--out); }
.wcard .visit svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.wcard:hover .visit, .wcard:focus-visible .visit { opacity: 1; transform: none; }
@media (hover: none) { .wcard .visit { opacity: 1; transform: none; } }
.wcard .meta { padding: 20px 4px 0; display: grid; gap: 6px; }
.wcard .meta .mono { color: var(--blue); }
.wcard h3 { font-weight: 400; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); letter-spacing: -.04em; line-height: 1.04; }
.wcard p { color: var(--mute); max-width: 46ch; }
.also-built { margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.also-built > li { border-bottom: 1px solid var(--line); }
.also-built li > a, .also-built li.static { display: grid; gap: 4px 40px; padding-block: 22px; align-items: baseline; transition: padding .5s var(--out); }
.also-built li > a:hover { padding-left: 12px; }
@media (min-width: 900px) { .also-built li > a, .also-built li.static { grid-template-columns: 2fr 4fr 6fr; } }
.also-built .mono { color: var(--mute); }
.also-built .t { font-weight: 400; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.9rem); letter-spacing: -.03em; line-height: 1.1; }
.also-built .t svg { display: inline-block; width: .6em; height: .6em; fill: none; stroke: currentColor; stroke-width: 1.6; vertical-align: .05em; margin-left: 4px; }
.also-built .d { color: var(--mute); }

/* whatsapp */
.wa-ic { width: 18px; height: 18px; flex: none; }
.wa-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.wa-row .mono { color: var(--mute); }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(28, 27, 24, .22); font-weight: 500; font-size: 15px; transition: background-color .3s, color .3s, border-color .3s; }
.wa-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.wa-pill { position: fixed; right: 20px; bottom: 20px; z-index: 55; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px 0 15px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; box-shadow: 0 1px 0 var(--line), 0 14px 30px -14px rgba(28, 27, 24, .45); transition: transform .5s var(--out), opacity .4s, background-color .3s, color .3s; }
.wa-pill:hover { background: var(--ink); color: var(--paper); }
.wa-pill.hide { transform: translateY(24px); opacity: 0; pointer-events: none; }
@media (max-width: 699px) { .wa-pill { width: 52px; height: 52px; padding: 0; justify-content: center; } .wa-pill span { display: none; } .wa-pill .wa-ic { width: 24px; height: 24px; } }

.hero__foot { max-width: 800px; }
.hero__foot .lede { max-width: 66ch; }


/* v4: experience, three offers, intake */
.proof { padding-bottom: var(--sec); }
.roles { margin-top: clamp(40px, 6vw, 80px); }
.role { display: grid; gap: 18px 40px; padding-block: clamp(28px, 4vw, 52px); border-top: 1px solid rgba(245, 242, 236, .16); }
.role:last-child { border-bottom: 1px solid rgba(245, 242, 236, .16); }
@media (min-width: 900px) { .role { grid-template-columns: minmax(0, 4fr) minmax(0, 3.4fr) minmax(0, 4.6fr); align-items: start; } }
.role__who .mono { color: rgba(245, 242, 236, .6); display: block; margin-bottom: 12px; }
.role h3 { font-weight: 400; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.6rem); letter-spacing: -.045em; line-height: 1; }
.role h3 small { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: .42em; letter-spacing: -.01em; color: rgba(245, 242, 236, .6); margin-left: .5em; white-space: nowrap; }
.role__what { color: rgba(245, 242, 236, .72); font-size: 16px; max-width: 38ch; }
.role__out { display: grid; gap: 0; }
.role__out li { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: 4px 20px; align-items: baseline; padding-block: 10px; border-top: 1px solid rgba(245, 242, 236, .1); }
.role__out li:first-child { border-top: 0; padding-top: 0; }
.role__out b { font-weight: 300; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.9rem); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.role__out span { color: rgba(245, 242, 236, .72); font-size: 15px; line-height: 1.4; }
.teach { margin-top: 28px; color: rgba(245, 242, 236, .7); max-width: 70ch; }
.teach .mono { color: rgba(245, 242, 236, .5); margin-right: 14px; }

.offers { display: grid; gap: 14px; margin-top: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.offer { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 36px); box-shadow: 0 1px 0 var(--line), 0 30px 50px -40px rgba(28, 27, 24, .35); transition: transform .6s var(--out), background-color .4s, color .4s; }
.offer .mono { color: var(--mute); transition: color .4s; }
.offer h3 { font-weight: 400; font-size: clamp(2rem, 1.2rem + 2vw, 3rem); letter-spacing: -.045em; line-height: 1; }
.offer p { color: var(--mute); font-size: 16px; max-width: 34ch; transition: color .4s; }
.offer .go { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 500; font-size: 15px; transition: color .3s, border-color .4s; }
.offer .go i { display: inline-block; font-style: normal; transition: transform .4s var(--out); }
.offer:hover, .offer:focus-visible { background: var(--ink); color: var(--paper); }
.offer:hover .mono, .offer:hover p { color: rgba(245, 242, 236, .7); }
.offer:hover .go { border-color: rgba(245, 242, 236, .2); }
.offer:hover .go i { transform: translateX(4px); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .field textarea { min-height: 160px; }
@media (min-width: 900px) { .offer { min-height: 340px; } }
