/* Shared by every page: brand, type, nav, buttons, hover glow, reveal, footer grove, project form. */
:root {
  --orange: #fe3c01;
  --black: #0a0a0a;
  --white: #ffffff;
  /* Apple devices resolve -apple-system/BlinkMacSystemFont to SF Pro; everyone else skips them and gets Inter
     (Inter files are only downloaded when actually used). */
  --font: -apple-system, BlinkMacSystemFont, InterVariable, Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--black); color: var(--white); }
body {
  font-family: var(--font);
  font-optical-sizing: auto;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Inter-only tweaks toward Helvetica: cv10 = G with spur, cv12/cv13 = compact f/t. Kept off SF Pro. */
html.inter body { font-feature-settings: "cv10", "cv12", "cv13"; }
a { color: inherit; text-decoration: none; }

/* 13px bold UI text, Helvetica Now is tighter than Inter at this size */
.ui { font-size: 13px; line-height: 1.385; letter-spacing: 0; white-space: nowrap; }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 10;
  display: flex; justify-content: center;
  padding: 28px 16px;
}
.logo { display: flex; padding: 0 10px; height: 32px; align-items: center; }
.logo svg { display: block; width: 26px; height: 26px; fill: var(--white); transition: fill .15s; }
.logo:hover svg { fill: var(--orange); }
.logo svg .leaf { transition: fill .15s; }
.logo:hover svg .leaf { fill: #3ecf5a; }

/* Pill from useparallel.dev "Join the waitlist" */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px;
  border-radius: 9999px; background: var(--white); color: var(--black);
  transition: background .15s ease, scale .12s cubic-bezier(.23, 1, .32, 1);
}
.btn:hover { background: #e8e8e8; }
.btn:active { scale: .96; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--black), 0 0 0 3px var(--orange); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
/* Cursor spotlight: text turns accent orange around the pointer, fading back to its base color. */
@property --r { syntax: "<length>"; inherits: false; initial-value: 0px; }
.glow {
  --base: var(--white); --x: 50%; --y: 50%;
  /* Base color painted separately: Safari draws a zero-size radial gradient as nothing, which hid the text on iPhones */
  background-color: var(--base);
  background-image: radial-gradient(circle var(--r) at var(--x) var(--y), var(--orange) 15%, transparent 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: --r .35s cubic-bezier(.23, 1, .32, 1);
  /* orange-fruit cursor (same mark as the logo), falls back to the normal text cursor */
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='14.5' r='8.5' fill='%23fe3c01'/%3E%3Cpath d='M12 4.5C12 1.8 15 .3 20 1c0 3-3.2 4.6-8 3.5Z' fill='%233ecf5a'/%3E%3C/svg%3E") 11 15, text;
}
@media (hover: hover) { .glow:hover { --r: 120px; } .credit .glow:hover { --r: 40px; } }
@media (prefers-reduced-motion: reduce) { .glow { transition: none; } }
@keyframes enter { from { opacity: 0; translate: 0 8px; filter: blur(6px); } }
@media (prefers-reduced-motion: reduce) { @keyframes enter { from { opacity: 0; } } }
.langs { position: fixed; right: 24px; bottom: 36px; z-index: 2; display: flex; gap: 12px; font-size: 13px; line-height: 1; font-weight: 500; color: #4a4a4a; animation: enter .9s .3s cubic-bezier(.23, 1, .32, 1) both; }
.langs a { transition: color .15s; } .langs a:hover { color: #bdbdbd; } .langs a[aria-current] { color: #8a8a8a; }
.sec { max-width: 1200px; margin: 0 auto; padding: 160px 48px; }
.eyebrow { margin: 0 0 20px; font-size: 13px; font-weight: 500; color: var(--orange); }
.big { margin: 0; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.sub { margin: 20px 0 0; max-width: 520px; font-size: 17px; line-height: 1.5; font-weight: 500; color: #8a8a8a; text-wrap: pretty; }
.reveal { opacity: 0; translate: 0 16px; filter: blur(6px); transition: opacity .9s, translate .9s, filter .9s; transition-timing-function: cubic-bezier(.23, 1, .32, 1); }
.reveal.in { opacity: 1; translate: 0; filter: none; }
@media (prefers-reduced-motion: reduce) { .reveal { translate: 0; filter: none; } }
/* Footer: giant outlined wordmark over a line-drawn orange grove (after outpacestudios.com/about).
   Leaves and fruit are drawn once into two masks; gray at rest, green leaves + orange fruit around the cursor. */
.foot { position: relative; height: 21vw; min-height: 140px; overflow: hidden; isolation: isolate; --mx: -999px; --my: -999px; }
.grove { position: absolute; inset: 0; z-index: -1; background: #2a2a2a;
  --fade: linear-gradient(transparent, #000 22%);
  -webkit-mask: var(--art) 0 0 / 100% 100% no-repeat, var(--fade); -webkit-mask-composite: source-in;
  mask: var(--art) 0 0 / 100% 100% no-repeat, var(--fade); mask-composite: intersect; }
.grove.leaves { --art: var(--leaves); } .grove.fruit { --art: var(--fruit); }
.grove.hot { --fade: radial-gradient(220px circle at var(--mx) var(--my), #000, transparent); }
.grove.leaves.hot { background: #3ecf5a; } .grove.fruit.hot { background: var(--orange); }
.word { position: absolute; top: -0.06em; left: 50%; translate: -50% 0; margin: 0; font-size: 27vw; line-height: 1; font-weight: 600; letter-spacing: -0.035em;
  color: var(--black); -webkit-text-stroke: 2px #2e2e2e; paint-order: stroke fill; /* fill hides the inner half of the stroke and the font's overlapping glyph contours (the e crossbar) */ white-space: nowrap; user-select: none; pointer-events: none; }
/* Same word again with an orange outline, shown only around the cursor */
.word-hot { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: radial-gradient(220px circle at var(--mx) var(--my), #000, transparent);
  mask: radial-gradient(220px circle at var(--mx) var(--my), #000, transparent); }
.word-hot .word { -webkit-text-stroke-color: var(--orange); }
/* Start a project: full-screen form, one question per screen. Questions adapted from outpacestudios.com. */
html:has(dialog.book[open]) { overflow: hidden; }
dialog.book { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--black); color: var(--white); }
dialog.book::backdrop { background: transparent; }
dialog.book[open] { animation: bk-in .5s cubic-bezier(.23, 1, .32, 1); }
@keyframes bk-in { from { opacity: 0; } }
.bk { position: relative; height: 100%; display: flex; flex-direction: column; max-width: 640px; margin: 0 auto; padding: 32px 24px; }
.bk-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 500; color: #4a4a4a; font-variant-numeric: tabular-nums; }
.bk-top b { color: var(--orange); font-weight: 500; }
.bk-x { display: grid; place-items: center; width: 36px; height: 36px; margin-right: -8px; border: 0; border-radius: 50%; background: none; color: #8a8a8a; cursor: pointer; transition: background .15s, color .15s; }
.bk-x:hover { background: #1a1a1a; color: var(--white); }
.bk-bar { height: 2px; margin-top: 16px; background: #1c1c1c; }
.bk-bar i { display: block; height: 100%; background: var(--orange); transform-origin: left; scale: var(--p, 0) 1; transition: scale .5s cubic-bezier(.23, 1, .32, 1); }
.bk-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.bk-step { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.bk-step.on { display: block; animation: enter .6s cubic-bezier(.23, 1, .32, 1) both; }
.bk-q { padding: 0; margin-bottom: 8px; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; }
.bk-note { margin: 0 0 28px; font-size: 15px; font-weight: 500; color: #8a8a8a; }
.bk-f { display: block; margin-top: 22px; }
.bk-f span { display: block; font-size: 13px; font-weight: 500; color: #8a8a8a; }
.bk-f input, .bk-f textarea { width: 100%; margin-top: 6px; padding: 8px 0 10px; border: 0; border-bottom: 1px solid #2a2a2a; border-radius: 0; background: none; color: var(--white); font: 500 20px/1.4 var(--font); outline: none; transition: border-color .2s; resize: none; }
.bk-f input::placeholder, .bk-f textarea::placeholder { color: #3a3a3a; }
.bk-f input:focus, .bk-f textarea:focus { border-color: var(--orange); }
.bk-f input:user-invalid { border-color: #ff6a4a; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: 999px; background: #141414; border: 1px solid #222; font-size: 15px; font-weight: 500; color: #cfcfcf; cursor: pointer; transition: background .15s, border-color .15s, color .15s, scale .12s cubic-bezier(.23, 1, .32, 1); }
.opt span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #333; transition: background .15s; }
.opt span:hover { background: #1a1a1a; color: var(--white); }
.opt span:active { scale: .97; }
.opt input:checked + span { border-color: var(--orange); color: var(--white); background: rgba(254, 60, 1, .08); }
.opt input:checked + span::before { background: var(--orange); }
.opt input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bk-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.bk-back { border: 0; background: none; color: #8a8a8a; font: 500 15px var(--font); cursor: pointer; padding: 8px 0; transition: color .15s; }
.bk-back:hover { color: var(--white); } .bk-back[hidden] { display: block; visibility: hidden; }
.bk-err { margin: 0 auto 0 0; font-size: 14px; font-weight: 500; color: #ff6a4a; }
.bk .btn { border: 0; font-family: inherit; cursor: pointer; } .bk .btn:disabled { opacity: .5; cursor: default; }
.bk-done { display: none; text-align: center; }
.bk.sent .bk-step, .bk.sent .bk-nav, .bk.sent .bk-bar { display: none; } .bk.sent .bk-count { visibility: hidden; }
.bk.sent .bk-done { display: block; animation: enter .7s cubic-bezier(.23, 1, .32, 1) both; }
.bk-done svg { width: 44px; height: 44px; margin-bottom: 24px; }
.bk-done p { margin: 14px 0 32px; font-size: 17px; font-weight: 500; color: #8a8a8a; }

/* Footer, after outpacestudios.com/about: brand · pages · pitch, then the giant wordmark over the grove */
.site-foot { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, minmax(0, 260px)) minmax(0, 1fr); column-gap: 24px; padding: 144px 24px 0; font-size: 13px; line-height: 1.385; font-weight: 500; }
.f-pitch .what b { font-weight: 600; }
.f-brand { grid-column: 2; display: flex; flex-direction: column; gap: 4px; }
.f-brand .f-logo svg { display: block; width: 22px; height: 22px; margin: 5px 0 9px; fill: var(--white); }
.f-brand > span, .f-pages a { height: 32px; line-height: 32px; }
.f-brand > span { color: #8a8a8a; }
.f-pages { grid-column: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-left: -10px; }
.f-pages a { padding: 0 10px; border-radius: 8px; transition: background .15s, opacity .15s; } .f-pages a:not([aria-current]) { opacity: .7; } .f-pages a:not([aria-current]):hover { opacity: 1; background: #1a1a1a; }
.f-pitch { grid-column: 4 / span 2; display: grid; grid-template-columns: 1fr 1fr; row-gap: 24px; padding-top: 6px; }
.f-pitch .what { grid-column: 1 / -1; max-width: 440px; margin: 0; text-wrap: pretty; } .f-pitch .what span { color: #8a8a8a; }
.f-pitch .btn { justify-self: start; height: 44px; }
.f-pitch .email { margin: 0; display: flex; flex-direction: column; justify-content: center; color: #8a8a8a; } .f-pitch .email a { color: var(--white); } .f-pitch .email a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-foot .foot { grid-column: 1 / -1; margin: 24px -24px 0; }
@media (max-width: 900px) {
  .site-foot { grid-template-columns: 1fr 1fr; row-gap: 32px; padding-top: 96px; }
  .f-brand { grid-column: 1; } .f-pages { grid-column: 2; } .f-pitch { grid-column: 1 / -1; }
}
