/* weevs.ai — minimal dark + gold-leaf */

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/PlayfairDisplay/PlayfairDisplay-Regular.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    src: url('/fonts/PlayfairDisplay/PlayfairDisplay-Italic.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    src: url('/fonts/Poppins/Poppins-Light.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/Poppins/Poppins-Bold.ttf') format('truetype');
    font-display: swap;
}

:root {
    --bg:        #000000;
    --bg-soft:   #0a0a0a;
    --surface:   #111111;
    --line:      #1f1f1f;
    --text:      #f4f1ea;
    --muted:     #8a8378;
    --gold:      #c9a86a;
    --gold-soft: #a8895a;
    --gold-bright: #e8c780;
    --max-w:     1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--gold-bright); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: var(--text);
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Top nav ───────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 18px 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    letter-spacing: 0.01em;
    color: var(--text);
}
.nav-brand img { width: 72px; height: 54px; opacity: 0.95; }
.nav-links {
    display: flex;
    gap: 38px;
    list-style: none;
}
.nav-links a {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.nav-links a:hover { color: var(--gold); }

@media (max-width: 760px) {
    .nav-links { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.86)),
        url('/img/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    pointer-events: none;
    z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.eyebrow {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    margin-bottom: 28px;
    font-weight: 400;
}

.hero h1 {
    font-size: clamp(44px, 7vw, 84px);
    line-height: 1.05;
    margin-bottom: 28px;
    max-width: 900px;
}
.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-lede {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.gold-rule {
    width: 72px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Accessibility: skip link + guaranteed visible keyboard focus */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--gold);
    color: #000;
    padding: 10px 18px;
    font-size: 13px;
    letter-spacing: 0.1em;
}
.skip-link:focus {
    left: 8px;
    top: 8px;
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 3px;
}
/* Programmatically-focused scroll targets (skip-link, in-page nav) shouldn't
   show a focus ring — they receive focus only after a click/scroll, not via keyboard tabbing. */
[tabindex="-1"]:focus {
    outline: none;
}

/* The name "Weevs" is always rendered in gold */
.weevs {
    color: var(--gold);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn:hover {
    background: var(--gold);
    color: #000;
}
.btn.btn-ghost {
    border-color: rgba(244, 241, 234, 0.45);
    color: var(--text);
}
.btn.btn-ghost:hover {
    border-color: var(--text);
    color: #000;
    background: var(--text);
}

/* ── Section base ─────────────────────────────────────────── */
.section {
    padding: 120px 0;
    border-top: 1px solid var(--line);
}
.section-header {
    text-align: center;
    margin-bottom: 80px;
}
.section-eyebrow {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.section-title {
    font-size: clamp(34px, 4.5vw, 52px);
    margin-bottom: 22px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-lede {
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto;
    font-size: 17px;
}

/* ── About / proof block ─────────────────────────────────── */
.about {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.about p {
    color: var(--text);
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 300;
}
.about p.muted {
    color: var(--muted);
    font-size: 16px;
}
.about-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(22px, 2.6vw, 28px);
    line-height: 1.45;
    color: var(--gold);
    margin: 40px auto;
    max-width: 640px;
}

/* ── Contact form ─────────────────────────────────────────── */
.contact-wrap {
    max-width: 640px;
    margin: 0 auto;
}
.flash {
    text-align: center;
    padding: 16px 20px;
    margin-bottom: 36px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 0.08em;
}
.flash.error {
    border-color: #8a3a3a;
    color: #d99b9b;
}
.field { margin-bottom: 26px; }
.field label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    padding: 10px 0;
    outline: none;
    transition: border-color 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    border-bottom-color: var(--gold);
}
.field textarea {
    resize: vertical;
    min-height: 110px;
    font-family: 'Poppins', sans-serif;
}
.field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23c9a86a' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 22px;
}
.field select option {
    background: var(--bg);
    color: var(--text);
}
.field.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}
.field.row > div { margin: 0; }
@media (max-width: 600px) {
    .field.row { grid-template-columns: 1fr; }
}
.form-submit {
    text-align: center;
    margin-top: 36px;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
    padding: 56px 0 40px;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.06em;
}
.footer .gold-rule { margin-bottom: 28px; }
.footer-mark {
    width: 56px;
    height: auto;
    margin: 0 auto 14px;
    opacity: 0.9;
}
.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    letter-spacing: 0.22em;
    color: var(--text);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--gold); }
