/* dankest.llc — dark studio theme.
   Accent: dank green #46d17e → teal #27c2a0.
   Copyright © 2025–2026 Dankest, LLC. */

:root {
    --accent: #46d17e;
    --accent-2: #27c2a0;
    --accent-ink: #0a0d13;
    --ink: #f4f7fb;
    --body: #aab4c2;
    --muted: #71798a;
    --line: #1e2532;
    --line-2: #29313f;
    --bg: #0a0d13;
    --bg-alt: #0e1219;
    --bg-card: #121823;
    --bg-card-2: #161d2a;
    --grad: linear-gradient(105deg, var(--accent) 0%, var(--accent-2) 100%);
    --glow: 0 0 0 1px rgba(70, 209, 126, 0.18), 0 14px 40px rgba(0, 0, 0, 0.5);
    --radius: 14px;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    --maxw: min(1200px, 92vw);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --mono: 'SF Mono', 'Fira Code', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--body);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
code { font-family: var(--mono); font-size: 0.88em; background: #0c1119; border: 1px solid var(--line-2); border-radius: 5px; padding: 0.12em 0.42em; color: var(--accent); }

/* ─── Buttons ─── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 0.95rem; padding: 0.72em 1.35em; border-radius: 10px;
    border: 1.5px solid transparent; cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--grad); color: var(--accent-ink); box-shadow: 0 6px 20px rgba(70, 209, 126, 0.28); }
.btn--primary:hover { box-shadow: 0 10px 28px rgba(39, 194, 160, 0.4); }
.btn--outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 0.9em 1.7em; font-size: 1.02rem; }

.card__ico svg { width: 24px; height: 24px; }

/* ─── Nav ─── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10, 13, 19, 0.82); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: 0.85rem 0; display: flex; align-items: center; gap: 2rem; }
.nav__brand { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 1.32rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.nav__brand img { width: 30px; height: 30px; }
.nav__tld { color: var(--accent); }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; }
.nav__links a { color: var(--body); font-weight: 500; font-size: 0.95rem; }
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--accent); font-weight: 600; }
.nav__cta { display: flex; gap: 0.6rem; }
.nav__mobile { display: none; position: relative; }
.nav__mobile summary { list-style: none; cursor: pointer; color: var(--ink); display: grid; place-items: center; padding: 0.3rem; }
.nav__mobile summary::-webkit-details-marker { display: none; }
.nav__mobile__panel { position: absolute; right: 0; top: 2.8rem; z-index: 60; display: flex; flex-direction: column; min-width: 230px; padding: 0.5rem; background: var(--bg-card); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); }
.nav__mobile__panel a { padding: 0.65rem 0.8rem; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 0.98rem; }
.nav__mobile__panel a:hover { background: var(--bg-card-2); color: var(--accent); }

/* ─── Hero ─── */
.hero { position: relative; overflow: hidden; padding: 6rem 0 4.5rem; text-align: center;
    background:
        radial-gradient(820px 360px at 78% -12%, rgba(39, 194, 160, 0.14), transparent 60%),
        radial-gradient(820px 360px at 8% -8%, rgba(70, 209, 126, 0.14), transparent 58%);
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 4vw; }
.hero__inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--accent); margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; margin-bottom: 1.2rem; color: #fff; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--body); max-width: 680px; margin: 0 auto 2rem; }
.hero__actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ─── Trust strip ─── */
.strip { border-block: 1px solid var(--line); background: var(--bg-alt); }
.strip__inner { max-width: var(--maxw); margin: 0 auto; padding: 2rem 4vw; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.strip__inner div { display: flex; flex-direction: column; gap: 0.2rem; }
.strip__inner b { font-size: 1.9rem; font-weight: 800; color: var(--ink); }
.strip__inner b .grad, .strip__inner b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip__inner span { font-size: 0.85rem; color: var(--muted); }

/* ─── Sections ─── */
.section { max-width: var(--maxw); margin: 0 auto; padding: 5rem 4vw; }
.section--alt { max-width: none; background: var(--bg-alt); border-block: 1px solid var(--line); }
.section--alt > * { max-width: var(--maxw); margin-inline: auto; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section__head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; text-wrap: balance; }
.section__head p { font-size: 1.1rem; color: var(--body); }
.section__cta { text-align: center; margin-top: 2.6rem; display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }

/* ─── Card grid ─── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--bg-card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.7rem; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(70, 209, 126, 0.4); box-shadow: var(--shadow); }
.card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.96rem; color: var(--body); }
.card__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem; background: linear-gradient(135deg, rgba(70,209,126,0.16), rgba(39,194,160,0.16)); color: var(--accent); font-size: 1.2rem; }

/* ─── Project cards ─── */
.proj { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.7rem; transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.proj:hover { transform: translateY(-3px); border-color: rgba(70, 209, 126, 0.4); box-shadow: var(--shadow); }
.proj__top { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-bottom: 0.7rem; }
.proj__brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.proj__logo { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 8px; background: #fff; border-radius: 8px; }
.proj__logo img { height: 19px; width: auto; display: block; }
/* Centered project cards (Projects + home "What we build"): plain logo, name, justified copy */
.grid--centered .proj { text-align: center; align-items: center; }
.grid--centered .proj__brand { flex-direction: column; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; }
.grid--centered .proj__logo { height: auto; padding: 0; background: none; border-radius: 0; }
.grid--centered .proj__logo img { height: 56px; }
.grid--centered .proj p { text-align: justify; width: 100%; }
.grid--centered .proj__links { justify-content: center; }
.proj__name { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.proj p { color: var(--body); font-size: 0.96rem; flex: 1; }
.proj__links { margin-top: 1.1rem; display: flex; gap: 1.1rem; flex-wrap: wrap; }
.proj__links a { font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.35em; }
.proj--flag { background: linear-gradient(160deg, rgba(70,209,126,0.08), rgba(39,194,160,0.04)); border-color: rgba(70, 209, 126, 0.35); }

/* ─── Badges ─── */
.badge { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.32em 0.7em; border-radius: 999px; }
.badge--live { color: var(--accent); background: rgba(70, 209, 126, 0.14); }
.badge--soon { color: #f0c674; background: rgba(240, 198, 116, 0.14); }
.badge--legacy { color: #8ea2c0; background: rgba(142, 162, 192, 0.14); }
.tag { display: inline-block; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.7rem; font-weight: 700; color: var(--accent); background: rgba(70, 209, 126, 0.1); padding: 0.3em 0.7em; border-radius: 999px; margin-bottom: 1rem; }

/* ─── Prose ─── */
.prose { max-width: 760px; margin: 0 auto; }
.prose .lead { font-size: 1.25rem; color: var(--ink); line-height: 1.6; margin-bottom: 1.6rem; }
.prose h2 { font-size: 1.55rem; margin: 2.6rem 0 0.8rem; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; }
.prose p { color: var(--body); margin-bottom: 1.1rem; font-size: 1.05rem; }
.prose ul { list-style: none; margin: 0 0 1.4rem; }
.prose li { position: relative; padding-left: 1.6rem; color: var(--body); margin-bottom: 0.6rem; }
.prose li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.prose strong { color: var(--ink); }
.prose a { font-weight: 600; }

/* ─── Subhero (interior page headers) ─── */
.subhero { padding: 3rem 4vw 2.5rem; border-bottom: 1px solid var(--line);
    background:
        radial-gradient(700px 280px at 85% -30%, rgba(39, 194, 160, 0.12), transparent 60%),
        radial-gradient(700px 280px at 0% -20%, rgba(70, 209, 126, 0.12), transparent 58%);
}
.subhero__inner { max-width: var(--maxw); margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.subhero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 0.7rem; }
.subhero__tag { font-size: 1.15rem; color: var(--body); max-width: 700px; }

/* ─── Timeline (2014 → today) ─── */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 1.8rem; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 0.4rem; bottom: 0.4rem; width: 2px; background: linear-gradient(var(--accent), var(--accent-2)); opacity: 0.5; }
.tl { position: relative; padding-bottom: 1.8rem; }
.tl::before { content: ''; position: absolute; left: -1.8rem; top: 0.35em; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.tl__year { font-family: var(--mono); font-size: 0.82rem; color: var(--accent); font-weight: 700; }
.tl h3 { font-size: 1.1rem; margin: 0.15rem 0 0.3rem; }
.tl p { color: var(--body); font-size: 0.98rem; }

/* ─── Team ─── */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 880px; margin: 0 auto; }
.member { background: var(--bg-card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.7rem; }
.member__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.member__avatar { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; color: var(--accent-ink); background: var(--grad); }
.member__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.member__name { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.member__role { font-size: 0.85rem; color: var(--accent); font-weight: 600; }
.member p { color: var(--body); font-size: 0.96rem; margin-bottom: 0.7rem; }
.member__cred { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.member__cred span { font-family: var(--mono); font-size: 0.76rem; color: var(--body); background: var(--bg-card-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 0.25em 0.6em; }
.member__social { display: flex; gap: 0.7rem; margin-top: 1rem; }
.member__social a { color: var(--muted); display: inline-flex; }
.member__social a:hover { color: var(--accent); }
.member__social svg { width: 18px; height: 18px; }

/* ─── Callout band ─── */
.callout { max-width: none; background: var(--grad); padding: 4.5rem 4vw; text-align: center; }
.callout__inner { max-width: 720px; margin: 0 auto; }
.callout h2 { color: var(--accent-ink); font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 1rem; }
.callout p { color: rgba(10, 13, 19, 0.82); font-size: 1.1rem; margin-bottom: 1.8rem; font-weight: 500; }
.callout .btn--primary { background: var(--accent-ink); color: #fff; box-shadow: none; }
.callout .btn--primary:hover { background: #050709; }
.callout .btn--outline { border-color: rgba(10, 13, 19, 0.4); color: var(--accent-ink); }
.callout .btn--outline:hover { border-color: var(--accent-ink); color: var(--accent-ink); }

/* ─── News ─── */
.post { max-width: 760px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 2rem; }
.post__meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.6rem; }
.post h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.post p { color: var(--body); margin-bottom: 1rem; }

/* ─── Contact ─── */
.contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 820px; margin: 0 auto; }
.contact__card { background: var(--bg-card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.8rem; }
.contact__card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.contact__card p { color: var(--body); font-size: 0.96rem; margin-bottom: 0.8rem; }
.contact__card a.big { font-size: 1.05rem; font-weight: 700; }

/* ─── Footer ─── */
.footer { background: #07090e; border-top: 1px solid var(--line); padding: 3.5rem 4vw 2rem; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 2.8fr; gap: 2.5rem; }
.footer__logo { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 0.8rem; }
.footer__logo img { width: 26px; height: 26px; }
.footer__brand p { font-size: 0.92rem; max-width: 260px; color: var(--muted); margin-bottom: 1rem; }
.footer__social { display: flex; gap: 0.8rem; }
.footer__social a { color: var(--muted); }
.footer__social a:hover { color: var(--accent); }
.footer__social svg { width: 20px; height: 20px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.footer__cols h4 { color: var(--ink); font-size: 0.95rem; margin-bottom: 0.8rem; }
.footer__cols a { display: block; color: var(--muted); font-size: 0.9rem; padding: 0.22rem 0; }
.footer__cols a:hover { color: var(--accent); }
.footer__bar { max-width: var(--maxw); margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .grid, .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .team, .contact, .footer__inner { grid-template-columns: 1fr; }
    .nav__links { display: none; }
    .nav__cta { margin-left: auto; }
    .nav__mobile { display: block; }
}
@media (max-width: 560px) {
    .strip__inner { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
    .grid, .grid--2, .grid--4 { grid-template-columns: 1fr; }
    .footer__cols { grid-template-columns: repeat(2, 1fr); }
    .nav__cta .btn { padding: 0.6em 1em; font-size: 0.88rem; }
}
