:root {
  color-scheme: dark;
  --bg: #111218;
  --surface: #1a1c25;
  --text: #faf8f5;
  --muted: #c0c1ce;
  --line: #343644;
  --accent: #d2f584;
  font: 16px/1.55 "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.05; letter-spacing: -.045em; }
p { color: var(--muted); }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: 12px; left: 12px; padding: .75rem; background: var(--bg); transform: translateY(-200%); }
.skip:focus { transform: none; }
.top, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.top { min-height: 80px; border-bottom: 1px solid var(--line); }
.top nav, .footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.top nav a, .footer a, .back { color: var(--muted); font-size: .9rem; font-weight: 650; }
:is(.top nav, .footer, .support) a:hover, .back:hover { color: var(--accent); }
.brand { display: inline-flex; align-items: center; font-size: 1.12rem; font-weight: 800; letter-spacing: -.035em; }
.brand > span:first-child { display: grid; place-items: center; width: 34px; height: 34px; margin-right: .65rem; border-radius: 10px; color: var(--bg); background: var(--accent); }
.brand-domain { color: var(--muted); }
.home-hero, .project-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4.5rem); }
.home-hero { padding-block: clamp(3rem, 8vw, 6rem); }
h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); }
h1 em { color: var(--accent); font-style: normal; }
.eyebrow { color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-hero .eyebrow, .project-copy .eyebrow { margin-bottom: .8rem; }
.intro { margin-top: 1.15rem; max-width: 46ch; font-size: clamp(1rem, 2vw, 1.2rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-top: 1.45rem; }
.button { display: inline-flex; align-items: center; min-height: 46px; padding: .65rem 1rem; border: 1px solid var(--line); border-radius: 10px; font-weight: 750; }
.button:hover { border-color: var(--accent); color: var(--accent); }
.button.primary { color: #101416; background: var(--accent); border-color: var(--accent); }
.button.primary:hover { color: #101416; filter: brightness(.92); }
.hero-feature { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); min-height: 260px; aspect-ratio: 1.35; }
.hero-feature img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.hero-feature div { position: absolute; bottom: 0; inset-inline: 0; display: flex; justify-content: space-between; align-items: end; min-height: 45%; padding: 1.3rem; background: linear-gradient(transparent, #090e12); }
.hero-feature strong { font-size: clamp(1.15rem, 3vw, 1.8rem); }
.hero-feature span { font-size: 1.4rem; }
.section { margin-bottom: clamp(3.5rem, 8vw, 6.5rem); scroll-margin-top: 1.25rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .65rem 1rem; margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.85rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.23rem, 2.3vw, 1.68rem); }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog { margin-top: 1rem; }
.related { margin-top: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mint { --accent: #a6f4c9; --tint: #164735; }
.amber { --accent: #ffcf80; --tint: #583514; }
.lime { --accent: #d2f584; --tint: #394e21; }
.sky { --accent: #a9ddff; --tint: #243c64; }
.pink { --accent: #ffbfde; --tint: #592e49; }
.purple { --accent: #dbbbff; --tint: #442d65; }
.card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .2s, transform .2s; }
.card:hover, .hero-feature:hover { border-color: var(--accent); }
.card:hover { transform: translateY(-3px); }
.card-art, .project-art { background: radial-gradient(ellipse at 50% 75%, var(--tint), #151721 85%); display: grid; place-items: center; overflow: hidden; }
.card-art { height: 180px; padding: 18px 22px 0; }
.featured .card-art { height: 215px; }
.card-art img { width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center top; }
.card-info { display: flex; justify-content: space-between; gap: .5rem; padding: 1.2rem 1.3rem; }
.card-info h3 { margin-top: .35rem; }
.card-info p { margin-top: .4rem; font-size: .9rem; }
.arrow { color: var(--accent); font-size: 1.4rem; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(215px, 100%), 1fr)); gap: 1rem; }
.services article { padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; }
.services p { margin-top: .65rem; }
.support { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: clamp(1.25rem, 4vw, 2.45rem); margin-bottom: clamp(3rem, 8vw, 5rem); border-radius: 20px; border: 1px solid #434a3a; background: linear-gradient(120deg, #212a20, var(--surface)); }
.support p { margin-top: .65rem; }
.support .actions { margin-top: 0; }
.footer { border-top: 1px solid var(--line); padding-block: 1.65rem 2rem; }
.footer a.footer-name { color: var(--text); }
.back { display: inline-block; margin-block: 1.6rem 1rem; }
.project-hero { margin-bottom: clamp(3rem, 8vw, 6rem); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--surface); gap: 0; }
.project-copy { padding: clamp(1.4rem, 5vw, 3.5rem); }
.project-copy h1 { font-size: clamp(2.6rem, 5.5vw, 4.65rem); }
.app-icon { border-radius: 16px; margin-bottom: 1rem; object-fit: cover; }
.tagline { font-size: clamp(1.1rem, 2.1vw, 1.55rem); color: var(--accent); font-weight: 750; margin-top: .85rem; }
.note { margin-top: .8rem; font-size: .9rem; }
.project-art { align-self: stretch; padding: clamp(1rem, 3vw, 2.5rem); }
.project-art img { max-height: 475px; width: 100%; object-fit: contain; filter: drop-shadow(0 14px 20px #06070b85); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1rem; margin-top: 1.25rem; }
.gallery figure { display: grid; align-content: space-between; gap: 1rem; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.gallery img { max-height: 490px; width: 100%; margin-inline: auto; object-fit: contain; }
.gallery figcaption { color: var(--muted); font-size: .9rem; }
.links { width: min(100%, 520px); margin: 3rem auto 5rem; }
.links h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.link-list { display: grid; gap: .65rem; margin-top: 1.5rem; }
.link-list a { padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.link-list a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 820px) {
  .home-hero, .project-hero { grid-template-columns: minmax(0, 1fr); }
  .hero-feature { max-height: 380px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-art img { max-height: 410px; }
}
@media (max-width: 500px) {
  .wrap { width: calc(100% - 28px); }
  .top { min-height: 72px; gap: .4rem 1rem; padding-block: .7rem; }
  .top nav { gap: .75rem; }
  .cards { grid-template-columns: 1fr; }
  .card-art { height: 160px; }
  .featured .card-art { height: 185px; }
  .hero-feature { min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .card:hover { transform: none; }
}
.card-cover { padding: 0; }
.card-cover img { object-fit: cover; object-position: center; }
