/* bipark.ai: dark, leafy, lime. Four type sizes: 56/40 display, 24 title, 17 body, 14 small. */
:root {
  --bg: #0c110c; --bg-2: #121912; --card: #161f16; --card-2: #1b261b; --line: #263326; --line-2: #34452f;
  --ink: #f1f5ee; --sage: #cedbc7; --muted: #95a690; --lime: #91ed51; --lime-ink: #0c110c;
  --leaf-1: #18241a; --leaf-2: #1d2d1e; --leaf-3: #22361f;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --glass: rgba(18, 27, 18, .42); --glass-hi: rgba(26, 38, 25, .52); --glass-line: rgba(206, 219, 199, .16);
  --wrap: 1200px; --gut: 24px; --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--sage); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

/* the photo: a fixed layer behind everything, darkest on the left where the headline sits */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--bg) url(/assets/bg.webp) right top / cover no-repeat; }
.bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12, 17, 12, .78) 0%, rgba(12, 17, 12, .45) 48%, rgba(12, 17, 12, .12) 100%),
              linear-gradient(180deg, rgba(12, 17, 12, 0) 55%, rgba(12, 17, 12, .55) 100%); }
main, header, footer { position: relative; z-index: 1; }

/* header */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); background: rgba(12, 17, 12, .55); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--glass-line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: .03em; text-decoration: none; }
.mark b { font-weight: 700; } .mark b span { color: var(--lime); }
.mark svg { width: 22px; height: 22px; }
nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 500; }
nav a { text-decoration: none; color: var(--sage); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--lime); }

/* hero */
.hero { padding-block: 72px 32px; }
h1, h2, h3 { text-wrap: balance; }
h1 { color: var(--ink); font-size: 56px; line-height: 1.08; letter-spacing: -.025em; font-weight: 700; margin: 0; max-width: 16ch; }
h1 em { font-style: normal; color: var(--lime); }
.lede { font-size: 17px; color: var(--sage); margin: 20px 0 0; max-width: 56ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; font-size: 14px; }
.tags span { border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; color: var(--sage); }

/* gallery: two rows of real work drifting slowly in opposite directions; pointing at it pauses the drift and plays the card */
.gallery { position: relative; margin: 40px 0 8px; display: grid; gap: 20px; overflow: hidden; padding: 8px 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.row { display: flex; gap: 20px; width: max-content; animation: drift 110s linear infinite; }
.row.rev { animation-direction: reverse; animation-duration: 130s; }
.gallery:hover .row, .gallery:focus-within .row { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
.shot { position: relative; flex: none; width: 440px; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; padding: 0; cursor: zoom-in;
  background: var(--card); border: 1px solid var(--glass-line); box-shadow: 0 20px 50px -28px rgba(0, 0, 0, .8); transition: transform .25s ease, border-color .25s, box-shadow .25s; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s ease; }
.shot .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 16px 14px; text-align: left; color: var(--ink); font: 600 14px/1.3 var(--sans);
  background: linear-gradient(transparent, rgba(8, 12, 8, .86) 45%, rgba(8, 12, 8, .95)); transform: translateY(8px); opacity: 0; transition: opacity .25s, transform .25s; }
.shot .cap small { display: block; font-weight: 500; color: var(--lime); margin-bottom: 2px; font-size: 14px; }
.shot:hover, .shot:focus-visible { transform: translateY(-4px); border-color: var(--lime); box-shadow: 0 18px 40px -18px rgba(145, 237, 81, .35); }
.shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .35s; }
.shot.playing video { opacity: 1; }
.shot:hover .cap, .shot:focus-visible .cap { opacity: 1; transform: none; }

/* the three ways in */
.paths { padding-block: 64px 96px; }
h2 { color: var(--ink); font-size: 40px; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; margin: 0 0 32px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 32px; border-radius: var(--r); text-decoration: none;
  overflow: hidden; transition: border-color .2s, transform .2s, background .2s; }
.path::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(145, 237, 81, .16), transparent); opacity: 0; transition: opacity .3s; }
.path:hover, .path:focus-visible { border-color: var(--lime); transform: translateY(-3px); background: var(--glass-hi); }
.path:hover::after, .path:focus-visible::after { opacity: 1; }
.path svg.icon { width: 40px; height: 40px; margin-bottom: 28px; }
.path h3 { color: var(--ink); font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; margin: 0 0 12px; }
.path p { margin: 0 0 28px; color: var(--sage); }
.path .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 600; font-size: 14px; }
.path .go i { font-style: normal; transition: transform .2s; }
.path:hover .go i, .path:focus-visible .go i { transform: translateX(4px); }


/* frosted glass: the photo shows through, blurred */
.path, .panel, .tags span, .soon, dialog.lb {
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 24px 60px -34px rgba(0, 0, 0, .7); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .path, .panel, .tags span, .soon, dialog.lb { background: rgba(16, 23, 16, .9); } }

/* inner pages */
.page-hero { padding-block: 72px 40px; }
.soon { display: inline-block; margin-bottom: 20px; font-size: 14px; font-weight: 600; color: var(--lime); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-bottom: 96px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 32px; }
.grid3 .shot, .grid2 .shot { width: auto; }
.panel { padding: 32px; border-radius: var(--r); }
.panel h3 { color: var(--ink); font-size: 24px; line-height: 1.25; margin: 0 0 12px; }
.panel p { margin: 0 0 24px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none;
  background: var(--lime); color: var(--lime-ink); border: 0; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--sage); border: 1px solid var(--line-2); cursor: default; }
.btn.ghost:hover { filter: none; transform: none; }
.contact { padding-bottom: 96px; }

/* lightbox */
dialog.lb { padding: 0; border-radius: var(--r); color: var(--sage); max-width: min(1280px, 94vw); width: 100%; }
dialog.lb::backdrop { background: rgba(5, 8, 5, .82); backdrop-filter: blur(4px); }
dialog.lb img, dialog.lb video { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; background: #000; }
dialog.lb [hidden] { display: none; }
dialog.lb .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; font-size: 14px; }
dialog.lb .bar b { color: var(--ink); font-weight: 600; }
dialog.lb .bar small { color: var(--lime); margin-right: 10px; font-size: 14px; }
dialog.lb button { font: 600 14px var(--sans); color: var(--sage); background: transparent; border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 12px; cursor: pointer; }
dialog.lb button:hover { color: var(--ink); border-color: var(--lime); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--sage); text-decoration: none; } footer a:hover { color: var(--ink); }
footer .links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
footer .tm { flex-basis: 100%; margin: 0; }

@media (max-width: 900px) {
  h1 { font-size: 40px; } h2 { font-size: 32px; }
  .cards, .grid3 { grid-template-columns: 1fr; } .grid2 { grid-template-columns: 1fr; }
  .path { min-height: 0; }
  nav ul { gap: 16px; }
}
.menu, nav .book { display: none; }
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .bg { background-position: 72% top; }
  .shot { width: 300px; }
  .shot .cap { font-size: 14px; padding: 24px 12px 10px; }
}
/* touch screens have no hover, so the card titles stay visible */
@media (hover: none) { .shot .cap { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .row { animation: none; }
  .gallery { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .shot, .shot img, .path, .path .go i, .btn { transition: none; }
}

/* ---- consulting sections: proof, about, quotes, offers, steps, faq, cta, videos, prose ---- */
.hero-actions, .links-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink);
  border: 1px solid var(--glass-line); background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: border-color .15s; }
.chip:hover { border-color: var(--lime); }
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 8px; margin-bottom: 8px; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--glass-line); background: var(--glass-line); }
.proof div { padding: 18px 20px; background: rgba(14, 21, 14, .62); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.proof b { display: block; color: var(--ink); font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.proof span { color: var(--muted); font-size: 14px; }
section.about, section.quotes, section.offers, section.steps, section.faq, section.videos, section.cta { padding-bottom: 72px; }
.about-card { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: start; padding: 40px; }
.about-card h2 { margin: 0 0 16px; } .about-card p { max-width: 70ch; margin: 0 0 14px; }
.avatar { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--lime), 0 0 0 9px rgba(145, 237, 81, .14); }
.about .next { color: var(--sage); font-size: 14px; } .about .next b { color: var(--ink); }
.quotes .grid3, .offers .grid3 { padding-bottom: 0; }
.quotes figure { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.quotes blockquote { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.6; }
.quotes figcaption b { display: block; color: var(--ink); font-size: 14px; } .quotes figcaption span { color: var(--muted); font-size: 14px; }
.more { margin: 20px 0 0; font-size: 14px; color: var(--muted); } .more a { color: var(--lime); font-weight: 600; text-decoration: none; } .more a:hover { text-decoration: underline; }
.tag { display: inline-block; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--lime); }
.offer ul { margin: 0; padding-left: 18px; color: var(--sage); } .offer li { margin: 6px 0; } .offer li::marker { color: var(--lime); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; margin-bottom: 16px; font-weight: 700; font-size: 14px;
  color: var(--lime-ink); background: var(--lime); }
.steps h3 { font-size: 17px; } .steps p { margin: 0; }
.faq details { padding: 0; margin-bottom: 12px; } .faq summary { cursor: pointer; list-style: none; padding: 20px 24px; color: var(--ink); font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: "+"; color: var(--lime); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; } .faq details p { margin: 0; padding: 0 24px 22px; max-width: 75ch; }
.faq summary:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px; }
.cta-card h2 { margin: 0 0 8px; } .cta-card p { margin: 0; }
.videos ul { list-style: none; margin: 0; padding: 0; }
.videos li a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--glass-line); text-decoration: none; color: var(--ink); font-weight: 500; }
.videos li a:hover span { color: var(--lime); } .videos li small { color: var(--muted); font-size: 14px; white-space: nowrap; }
.prose { max-width: 760px; } .prose h2 { font-size: 24px; margin: 36px 0 8px; } .prose p { max-width: 70ch; } .prose a { color: var(--lime); }
@media (max-width: 900px) {
  .proof { grid-template-columns: repeat(2, 1fr); } .grid4 { grid-template-columns: 1fr 1fr; }
  .about-card { grid-template-columns: 1fr; padding: 28px; } .avatar { width: 112px; height: 112px; }
}
@media (max-width: 640px) { .grid4 { grid-template-columns: 1fr; } .proof b { font-size: 20px; } .cta-card { padding: 28px; } }
.clients { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 20px; color: var(--muted); font-size: 14px; }
.clients ul { display: flex; flex-wrap: wrap; gap: 10px 32px; list-style: none; margin: 0; padding: 0; }
.clients li { color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: .01em; opacity: .85; }

/* ---- phones: a menu, an even scrim over the photo, tighter spacing, swipe rows instead of tall stacks ---- */
@media (max-width: 640px) {
  .bg::after { background: linear-gradient(180deg, rgba(12, 17, 12, .78) 0%, rgba(12, 17, 12, .62) 45%, rgba(12, 17, 12, .8) 100%); }
  h1 { font-size: 36px; } h2 { font-size: 28px; margin-bottom: 20px; }
  .hero, .page-hero { padding-block: 36px 24px; }
  .top .wrap { height: 60px; }
  .menu { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 10px; font: 600 14px var(--sans); color: var(--ink); cursor: pointer;
    background: transparent; border: 1px solid var(--glass-line); }
  .menu[aria-expanded="true"] { border-color: var(--lime); }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--glass-line); }
  .top.open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .top.open nav { display: block; }
  nav ul { flex-direction: column; gap: 0; padding: 4px var(--gut) 20px; font-size: 17px; }
  nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--glass-line); }
  nav a:hover, nav a[aria-current="page"] { color: var(--lime); border-bottom-color: var(--glass-line); }
  nav .book { display: block; margin-top: 16px; }
  nav .book .btn { display: flex; justify-content: center; padding: 14px; font-size: 17px; color: var(--lime-ink); border: 0; }
  .proof div { padding: 14px 16px; }
  .gallery { margin-top: 28px; }
  .paths { padding-block: 40px 48px; }
  .cards { gap: 12px; }
  .path, .panel, .about-card, .cta-card { padding: 22px; }
  .path svg.icon { width: 32px; height: 32px; margin-bottom: 14px; }
  .path h3 { font-size: 20px; margin-bottom: 8px; } .path p { margin-bottom: 16px; }
  .panel h3 { font-size: 20px; }
  .avatar { width: 88px; height: 88px; }
  section.about, section.quotes, section.offers, section.steps, section.faq, section.videos, section.cta, .grid2 { padding-bottom: 48px; }
  .grid2, .grid3 { gap: 12px; } .grid3 { padding-bottom: 24px; }
  .steps li { display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; padding: 18px 22px; }
  .steps .num { grid-row: span 2; margin: 0; }
  .steps h3 { margin: 4px 0; font-size: 17px; }
  .faq summary { padding: 16px 20px; } .faq details p { padding: 0 20px 18px; }
  .snap { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .snap::-webkit-scrollbar { display: none; }
  .snap > * { flex: 0 0 86%; scroll-snap-align: start; }
  dialog.lb { max-width: calc(100vw - 16px); }
  dialog.lb .bar { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
}
