/* Page-specific layout for evenkeeled.dev.
   The portal design system carries 90% of the styling; this file only
   handles outer containers, section rhythm, and the hero. */

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}
.wrap--narrow { max-width: 720px; }

/* ─── Header ─────────────────────────────────────────────────────────── */
.site-header {
    background: var(--surface);
    border-bottom: var(--hairline-w) solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    min-height: 64px;
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
}
.wordmark {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.06em;
    color: var(--text);
    text-decoration: none;
}
.wordmark:hover { background: transparent; color: var(--brand); }
.wordmark .dot { color: var(--brand); }

.site-nav {
    display: flex;
    gap: var(--space-5);
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.site-nav a {
    color: var(--text-muted);
    text-decoration: none;
}
.site-nav a:hover { color: var(--brand); background: transparent; }
@media (max-width: 560px) {
    .site-nav { display: none; }
}

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
    padding: clamp(56px, 10vw, 112px) 0;
    background:
        linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
    border-bottom: var(--rule-w) solid var(--rule);
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent 0 14px,
        color-mix(in srgb, var(--brand) 5%, transparent) 14px 15px
    );
    pointer-events: none;
    z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero .display {
    margin: 0 0 var(--space-4);
    max-width: 18ch;
}
.hero-sub {
    font-size: clamp(16px, 1vw + 14px, 20px);
    color: var(--text-muted);
    max-width: 56ch;
    margin: 0 0 var(--space-6);
    line-height: 1.5;
}
.hero-actions {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

/* ─── Sections ───────────────────────────────────────────────────────── */
.section {
    padding: clamp(56px, 9vw, 96px) 0;
}
.section--alt {
    background: var(--surface-2);
    border-top: var(--rule-w) solid var(--rule);
    border-bottom: var(--rule-w) solid var(--rule);
}
.section .kicker { margin-bottom: var(--space-2); }
.section .h2 { margin-bottom: var(--space-6); }

/* ─── Pricing ────────────────────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    gap: var(--gap);
    grid-template-columns: 1fr;
    align-items: stretch;
}
@media (min-width: 720px) {
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pricing-card {
    display: flex;
    flex-direction: column;
}
.pricing-headline {
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    font-size: clamp(28px, 4vw + 8px, 40px);
    text-transform: uppercase;
    letter-spacing: var(--headline-ls);
    margin: 0 0 var(--space-1);
    line-height: 1;
}
.pricing-headline .unit {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-muted);
    text-transform: lowercase;
    letter-spacing: 0.04em;
    margin-left: var(--space-2);
}
.pricing-sub {
    color: var(--text-muted);
    margin-bottom: var(--space-4);
    font-size: var(--fs-small);
}
.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
}
.pricing-list li {
    padding-left: var(--space-5);
    position: relative;
    font-size: var(--fs-small);
    line-height: 1.5;
}
.pricing-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 10px;
    height: 2px;
    background: var(--brand);
}

/* ─── Contact ────────────────────────────────────────────────────────── */
.contact-intro {
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.contact-form .field-grid {
    grid-template-columns: 1fr;
}
@media (min-width: 720px) {
    .contact-form .field-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contact-form .field--full { grid-column: 1 / -1; }
}

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--rule);
    color: var(--surface);
    padding: var(--space-8) 0;
    border-top: var(--rule-w) solid var(--rule);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}
.footer-brand {
    font-family: var(--font-display);
    letter-spacing: 0.06em;
    margin: 0;
    text-transform: uppercase;
    font-size: 14px;
}
.footer-nav {
    display: flex;
    gap: var(--space-5);
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    flex-wrap: wrap;
}
.footer-nav a {
    color: var(--surface);
    text-decoration: none;
}
.footer-nav a:hover {
    color: var(--accent);
    background: transparent;
}
