/* powerbipark.com: dark, leafy, Power BI Park 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;
  --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); }

/* leaves: a fixed layer behind everything */
.leaves { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.leaves svg { display: block; width: 100%; height: auto; }
.leaves .glow { position: absolute; width: 900px; height: 900px; left: 50%; top: -420px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(145, 237, 81, .10), rgba(145, 237, 81, 0)); }
main, header, footer { position: relative; z-index: 1; }

/* header */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(12, 17, 12, .72); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--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 drifting rows of real work */
.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 90s linear infinite; }
.row.rev { animation-direction: reverse; animation-duration: 110s; }
.gallery:hover .row, .gallery:focus-within .row { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
.shot { position: relative; flex: none; width: 420px; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; padding: 0; cursor: zoom-in;
  background: var(--card); border: 1px solid var(--line); 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, .92)); 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:hover img, .shot:focus-visible img { transform: scale(1.03); }
.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;
  background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, transform .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); }
.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); }

/* 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); background: var(--card); border: 1px solid var(--line); }
.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: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); 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 { width: 100%; height: auto; max-height: 78vh; object-fit: contain; background: #000; }
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; gap: 20px; }

@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; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .hero, .page-hero { padding-top: 40px; }
  nav { display: none; }
  .shot { width: 300px; }
  nav .opt { display: 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; }
}
